diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..af94e9d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+**/Objects
+**/AutoBackups
\ No newline at end of file
diff --git a/B4A/Mazapa_Reparto.b4a b/B4A/Mazapa_Reparto.b4a
index 3229893..39678a1 100644
--- a/B4A/Mazapa_Reparto.b4a
+++ b/B4A/Mazapa_Reparto.b4a
@@ -3004,12 +3004,12 @@ Module9=C_DetalleVenta
NumberOfFiles=1470
NumberOfLibraries=29
NumberOfModules=31
-Version=13.1
+Version=12.8
@EndOfDesignText@
#Region Project Attributes
#ApplicationLabel: MAZAPA Reparto
#VersionCode: 1
- #VersionName: 5.06.01
+ #VersionName: 5.06.02
'Aun no la subo, suvela
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
diff --git a/B4A/Mazapa_Reparto.b4a.meta b/B4A/Mazapa_Reparto.b4a.meta
index 6aad3a2..beb45b5 100644
--- a/B4A/Mazapa_Reparto.b4a.meta
+++ b/B4A/Mazapa_Reparto.b4a.meta
@@ -94,6 +94,6 @@ ModuleClosedNodes6=
ModuleClosedNodes7=
ModuleClosedNodes8=
ModuleClosedNodes9=
-NavigationStack=C_Principal,B4XPage_Appear,604,6,Main,Globals,22,0,C_Principal,Subir_Click,758,0,C_Principal,envioinfo,1039,6,C_Principal,connecta_Click,1803,0,C_Principal,cargadedia,1214,0,Diseñador Visual,login.bal,-100,3,Starter,JobDone,149,0,B4XMainPage,i_engrane_Click,623,6,B4XMainPage,b_server_Click,682,0
+NavigationStack=C_Principal,B4XPage_Appear,604,6,Main,Globals,22,0,C_Principal,Subir_Click,758,0,C_Principal,envioinfo,1039,6,C_Principal,connecta_Click,1803,0,C_Principal,cargadedia,1214,0,Diseñador Visual,login.bal,-100,3,Starter,JobDone,149,0,B4XMainPage,i_engrane_Click,623,6,B4XMainPage,b_server_Click,682,0,B4XMainPage,Class_Globals,26,0
SelectedBuild=0
-VisibleModules=1,2,6,7,16,31,29,30,17,13
+VisibleModules=29,2,6,7,16,31,30,17,13
diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml
index 66838ae..eaf9677 100644
--- a/B4A/Objects/AndroidManifest.xml
+++ b/B4A/Objects/AndroidManifest.xml
@@ -63,7 +63,6 @@
=_mlength) {
//BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")";
if (_index>_mlength) {
-__c.LogImpl("931064066","Index too large",0);};
+__c.LogImpl("94849666","Index too large",0);};
//BA.debugLineNum = 46;BA.debugLine="Append(Data)";
_append(_data);
}else {
@@ -221,7 +221,7 @@ public String _set(int _index,byte[] _data) throws Exception{
if (_index>=_mlength) {
//BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")";
if (_index>_mlength) {
-__c.LogImpl("931129602","Index too large",0);};
+__c.LogImpl("94915202","Index too large",0);};
//BA.debugLineNum = 59;BA.debugLine="Append(Data)";
_append(_data);
}else {
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java
index 39879d7..6dd57da 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java
@@ -58,7 +58,7 @@ 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 _monthsnames = null;
+public anywheresoftware.b4a.objects.collections.List _months = null;
public reparto_mazapa.keymon.lat.b4xdialog _mdialog = null;
public boolean _closeonselection = false;
public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null;
@@ -171,8 +171,8 @@ _lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper();
_lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper();
//BA.debugLineNum = 30;BA.debugLine="Private pnlDialog As B4XView";
_pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper();
- //BA.debugLineNum = 31;BA.debugLine="Public MonthsNames As List";
-_monthsnames = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 31;BA.debugLine="Private months As List";
+_months = new anywheresoftware.b4a.objects.collections.List();
//BA.debugLineNum = 32;BA.debugLine="Private mDialog As B4XDialog";
_mdialog = new reparto_mazapa.keymon.lat.b4xdialog();
//BA.debugLineNum = 33;BA.debugLine="Public CloseOnSelection As Boolean = True";
@@ -221,8 +221,8 @@ anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _daysfont = null;
int _day = 0;
int _row = 0;
//BA.debugLineNum = 62;BA.debugLine="Private Sub DrawDays";
- //BA.debugLineNum = 63;BA.debugLine="lblMonth.Text = MonthsNames.Get(month - 1)";
-_lblmonth.setText(BA.ObjectToCharSequence(_monthsnames.Get((int) (_month-1))));
+ //BA.debugLineNum = 63;BA.debugLine="lblMonth.Text = months.Get(month - 1)";
+_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1))));
//BA.debugLineNum = 64;BA.debugLine="lblYear.Text = year";
_lblyear.setText(BA.ObjectToCharSequence(_year));
//BA.debugLineNum = 65;BA.debugLine="SetYearsButtonState";
@@ -348,8 +348,8 @@ _pnldialog.setTag(this);
_month = __c.DateTime.GetMonth(__c.DateTime.getNow());
//BA.debugLineNum = 43;BA.debugLine="year = DateTime.GetYear(DateTime.Now)";
_year = __c.DateTime.GetYear(__c.DateTime.getNow());
- //BA.debugLineNum = 44;BA.debugLine="MonthsNames = DateUtils.GetMonthsNames";
-_monthsnames = _dateutils._getmonthsnames(ba);
+ //BA.debugLineNum = 44;BA.debugLine="months = DateUtils.GetMonthsNames";
+_months = _dateutils._getmonthsnames(ba);
//BA.debugLineNum = 45;BA.debugLine="selectedDate = DateTime.Now";
_selecteddate = __c.DateTime.getNow();
//BA.debugLineNum = 46;BA.debugLine="setDate(selectedDate)";
@@ -403,8 +403,8 @@ _month = __c.DateTime.GetMonth(_date);
_selectday(__c.DateTime.GetDayOfMonth(_date));
//BA.debugLineNum = 111;BA.debugLine="lblYear.Text = year";
_lblyear.setText(BA.ObjectToCharSequence(_year));
- //BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = MonthsNames.Get(month - 1)";
-_lblmonth.setText(BA.ObjectToCharSequence(_monthsnames.Get((int) (_month-1))));
+ //BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = months.Get(month - 1)";
+_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1))));
//BA.debugLineNum = 113;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java
index b515c73..60f9436 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java
@@ -355,7 +355,7 @@ if (_passwordmode && _multiline) {
//BA.debugLineNum = 90;BA.debugLine="Multiline = False";
_multiline = __c.False;
//BA.debugLineNum = 91;BA.debugLine="Log(\"Multiline not supported with password mode.";
-__c.LogImpl("947644696","Multiline not supported with password mode.",0);
+__c.LogImpl("921430296","Multiline not supported with password mode.",0);
};
//BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font";
_createtextfieldall(_passwordmode,_passedlabel.getFont(),_xui.PaintOrColorToColor((Object)(_lbl.getTextColor())));
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java
index 1e22657..af3ad10 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java
@@ -272,7 +272,7 @@ _imageviewheight = (float) (_mbitmap.getHeight());
break; }
default: {
//BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)";
-__c.LogImpl("950003995","Invalid resize mode: "+_mresizemode,0);
+__c.LogImpl("923789595","Invalid resize mode: "+_mresizemode,0);
break; }
}
;
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java
index 47178c6..3ae9c3d 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java
@@ -277,7 +277,7 @@ this.state = -1;
//BA.debugLineNum = 664;BA.debugLine="Dim FileName As String = \"kmt.db\"";
_filename = "kmt.db";
//BA.debugLineNum = 666;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)";
-parent.__c.LogImpl("31769477","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
+parent.__c.LogImpl("837421061","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
//BA.debugLineNum = 667;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 1;
@@ -369,7 +369,7 @@ _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 903;BA.debugLine="f.Position=0";
_f.setPosition((int) (0));
//BA.debugLineNum = 904;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
-__c.LogImpl("32687003",_f.GetString("RUTAA"),0);
+__c.LogImpl("838338587",_f.GetString("RUTAA"),0);
//BA.debugLineNum = 905;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from";
_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
//BA.debugLineNum = 906;BA.debugLine="If a.RowCount>0 Then";
@@ -397,12 +397,12 @@ _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 917;BA.debugLine="If c.RowCount = 0 Then";
if (_c.getRowCount()==0) {
//BA.debugLineNum = 919;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
-__c.LogImpl("32687018",_f.GetString("RUTAA"),0);
+__c.LogImpl("838338602",_f.GetString("RUTAA"),0);
//BA.debugLineNum = 920;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,_a.GetString("ID_ALMACEN"),_f.GetString("RUTAA"),_fechatabulador3+" "+_stime}));
}else {
//BA.debugLineNum = 923;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
-__c.LogImpl("32687022",_f.GetString("RUTAA"),0);
+__c.LogImpl("838338606",_f.GetString("RUTAA"),0);
//BA.debugLineNum = 924;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]}));
};
@@ -412,7 +412,7 @@ _f.Close();
//BA.debugLineNum = 929;BA.debugLine="a.Close";
_a.Close();
//BA.debugLineNum = 930;BA.debugLine="Log(\"Processed item \" & i)";
-__c.LogImpl("32687029","Processed item "+BA.NumberToString(_i),0);
+__c.LogImpl("838338613","Processed item "+BA.NumberToString(_i),0);
}
};
//BA.debugLineNum = 932;BA.debugLine="et_buspc.Text = \"\"";
@@ -434,7 +434,7 @@ return "";
public String _b_server_click() throws Exception{
//BA.debugLineNum = 683;BA.debugLine="Private Sub b_server_Click";
//BA.debugLineNum = 684;BA.debugLine="Log(\"Guardar servidor\")";
-__c.LogImpl("31900545","Guardar servidor",0);
+__c.LogImpl("837552129","Guardar servidor",0);
//BA.debugLineNum = 685;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER")}));
//BA.debugLineNum = 686;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA";
@@ -445,11 +445,11 @@ _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*Str
_starter._server /*String*/ = _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ;
//BA.debugLineNum = 689;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con";
if (_logger) {
-__c.LogImpl("31900550","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
+__c.LogImpl("837552134","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
//BA.debugLineNum = 690;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 691;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
-__c.LogImpl("31900552",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("837552136",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
//BA.debugLineNum = 692;BA.debugLine="reinicializaReqManager";
_reinicializareqmanager();
//BA.debugLineNum = 693;BA.debugLine="p_appUpdate.Visible = False";
@@ -628,7 +628,7 @@ parent._f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.Ab
//BA.debugLineNum = 968;BA.debugLine="f.Position=0";
parent._f.setPosition((int) (0));
//BA.debugLineNum = 969;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
-parent.__c.LogImpl("32752545",parent._f.GetString("RUTAA"),0);
+parent.__c.LogImpl("838404129",parent._f.GetString("RUTAA"),0);
//BA.debugLineNum = 971;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr";
parent._a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
//BA.debugLineNum = 972;BA.debugLine="If a.RowCount>0 Then";
@@ -653,7 +653,7 @@ case 17:
this.state = 18;
;
//BA.debugLineNum = 975;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
-parent.__c.LogImpl("32752551",parent._a.GetString("ID_ALMACEN"),0);
+parent.__c.LogImpl("838404135",parent._a.GetString("ID_ALMACEN"),0);
//BA.debugLineNum = 977;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE";
_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS")));
@@ -723,7 +723,7 @@ parent._f.Close();
//BA.debugLineNum = 993;BA.debugLine="a.Close";
parent._a.Close();
//BA.debugLineNum = 994;BA.debugLine="Log(\"Processed item \" & i)";
-parent.__c.LogImpl("32752570","Processed item "+BA.NumberToString(_i),0);
+parent.__c.LogImpl("838404154","Processed item "+BA.NumberToString(_i),0);
if (true) break;
if (true) break;
@@ -732,7 +732,7 @@ case 28:
this.state = 29;
;
//BA.debugLineNum = 996;BA.debugLine="Log(\"Finished processing all items\")";
-parent.__c.LogImpl("32752572","Finished processing all items",0);
+parent.__c.LogImpl("838404156","Finished processing all items",0);
//BA.debugLineNum = 997;BA.debugLine="P_CIEGO.Visible = False";
parent._p_ciego.setVisible(parent.__c.False);
//BA.debugLineNum = 998;BA.debugLine="et_buspc.Text = \"\"";
@@ -912,7 +912,7 @@ this.state = 10;
//BA.debugLineNum = 244;BA.debugLine="StartService(Tracker)";
parent.__c.StartService(ba,(Object)(parent._tracker.getObject()));
//BA.debugLineNum = 245;BA.debugLine="Log(\"Start Tracker\")";
-parent.__c.LogImpl("31376267","Start Tracker",0);
+parent.__c.LogImpl("837027851","Start Tracker",0);
if (true) break;
case 9:
@@ -1015,7 +1015,7 @@ this.state = 27;
//BA.debugLineNum = 268;BA.debugLine="Starter.distanciaGeo = \"500000000000\"";
parent._starter._distanciageo /*String*/ = "500000000000";
//BA.debugLineNum = 269;BA.debugLine="Log(\"Esto es la distancia si esta desactivada l";
-parent.__c.LogImpl("31376291","Esto es la distancia si esta desactivada la Geo: "+parent._starter._distanciageo /*String*/ ,0);
+parent.__c.LogImpl("837027875","Esto es la distancia si esta desactivada la Geo: "+parent._starter._distanciageo /*String*/ ,0);
//BA.debugLineNum = 270;BA.debugLine="B4XSwitch2.Value = False";
parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.False);
if (true) break;
@@ -1026,7 +1026,7 @@ this.state = 27;
//BA.debugLineNum = 272;BA.debugLine="Starter.distanciaGeo = \"50\"";
parent._starter._distanciageo /*String*/ = "50";
//BA.debugLineNum = 273;BA.debugLine="Log(\"Esto es la distancia si esta activada la G";
-parent.__c.LogImpl("31376295","Esto es la distancia si esta activada la Geo: "+parent._starter._distanciageo /*String*/ ,0);
+parent.__c.LogImpl("837027879","Esto es la distancia si esta activada la Geo: "+parent._starter._distanciageo /*String*/ ,0);
//BA.debugLineNum = 274;BA.debugLine="B4XSwitch2.Value = True";
parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.True);
if (true) break;
@@ -1302,11 +1302,11 @@ _server = "http://keymon.net:1781";
//BA.debugLineNum = 217;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 218;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
-__c.LogImpl("31310819",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("836962403",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
//BA.debugLineNum = 219;BA.debugLine="Label1.Text = Application.VersionName";
_label1.setText(BA.ObjectToCharSequence(__c.Application.getVersionName()));
//BA.debugLineNum = 221;BA.debugLine="Log(\"provider\")";
-__c.LogImpl("31310822","provider",0);
+__c.LogImpl("836962406","provider",0);
//BA.debugLineNum = 222;BA.debugLine="Provider.Initialize";
_provider._initialize /*String*/ (ba);
//BA.debugLineNum = 224;BA.debugLine="Subs.guardaAppInfo";
@@ -1325,7 +1325,7 @@ _c.setPosition((int) (0));
//BA.debugLineNum = 1137;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then";
if ((_c.GetString("CAT_VA_VALOR")).equals(BA.NumberToString(1))) {
//BA.debugLineNum = 1138;BA.debugLine="Log(Value)";
-__c.LogImpl("33473413",BA.ObjectToString(_value),0);
+__c.LogImpl("839124997",BA.ObjectToString(_value),0);
//BA.debugLineNum = 1139;BA.debugLine="If Value Then";
if (_value) {
//BA.debugLineNum = 1140;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HAB";
@@ -1738,11 +1738,11 @@ _fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]);
//BA.debugLineNum = 772;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\"";
_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)];
//BA.debugLineNum = 773;BA.debugLine="Log(fecha3)";
-__c.LogImpl("32424852",_fecha3,0);
+__c.LogImpl("838076436",_fecha3,0);
//BA.debugLineNum = 774;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1";
_hora = __c.Regex.Split("\\.",_fecha[(int) (1)]);
//BA.debugLineNum = 775;BA.debugLine="Log(hora(0))";
-__c.LogImpl("32424854",_hora[(int) (0)],0);
+__c.LogImpl("838076438",_hora[(int) (0)],0);
};
//BA.debugLineNum = 780;BA.debugLine="Private cI As Cursor";
_ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
@@ -1830,7 +1830,7 @@ _clv_pick_ciego._clear();
//BA.debugLineNum = 842;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\"";
_q_buscar = "%"+_et_buspc.getText()+"%";
//BA.debugLineNum = 843;BA.debugLine="Log(q_buscar)";
-__c.LogImpl("32621447",_q_buscar,0);
+__c.LogImpl("838273031",_q_buscar,0);
//BA.debugLineNum = 844;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE";
_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*/ .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[]{_q_buscar,_q_buscar})));
//BA.debugLineNum = 845;BA.debugLine="If c.RowCount > 0 Then";
@@ -2036,7 +2036,7 @@ final int groupLen25 = group25.getSize()
for (; index25 < groupLen25;index25++){
_records = (Object[])(group25.Get(index25));
//BA.debugLineNum = 411;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res";
-__c.LogImpl("31507357","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
+__c.LogImpl("837158941","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
//BA.debugLineNum = 412;BA.debugLine="Private lat, lon As Double";
_lat = 0;
_lon = 0;
@@ -2108,7 +2108,7 @@ _cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Column
//BA.debugLineNum = 445;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then";
if ((_cat_pa_pass).equals(_et_codigo.getText())) {
//BA.debugLineNum = 446;BA.debugLine="Log(CAT_PA_PASS)";
-__c.LogImpl("31507392",_cat_pa_pass,0);
+__c.LogImpl("837158976",_cat_pa_pass,0);
//BA.debugLineNum = 447;BA.debugLine="p_validacion.Visible = False";
_p_validacion.setVisible(__c.False);
//BA.debugLineNum = 448;BA.debugLine="et_codigo.Text = \"\"";
@@ -2144,9 +2144,9 @@ _records = (Object[])(group73.Get(index73));
//BA.debugLineNum = 466;BA.debugLine="Dim CUENTA As String = records(result.Columns";
_cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]);
//BA.debugLineNum = 467;BA.debugLine="Log(CUENTA)";
-__c.LogImpl("31507413",_cuenta,0);
+__c.LogImpl("837158997",_cuenta,0);
//BA.debugLineNum = 468;BA.debugLine="Log(id)";
-__c.LogImpl("31507414",_id,0);
+__c.LogImpl("837158998",_id,0);
//BA.debugLineNum = 469;BA.debugLine="If CUENTA = 0 Then";
if ((_cuenta).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 470;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P";
@@ -2182,7 +2182,7 @@ _cmd.Initialize();
//BA.debugLineNum = 489;BA.debugLine="cmd.Name = \"update_PICKCIEGO_MAZAPA\"";
_cmd.Name /*String*/ = "update_PICKCIEGO_MAZAPA";
//BA.debugLineNum = 490;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))";
-__c.LogImpl("31507436","FECHA"+_c.GetString("PC_FECHA"),0);
+__c.LogImpl("837159020","FECHA"+_c.GetString("PC_FECHA"),0);
//BA.debugLineNum = 491;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CANT")),(Object)(_c.GetString("PC_ID_PROD")),(Object)(_c.GetString("PC_ALMACEN")),(Object)(_c.GetString("PC_RUTA")),(Object)(_c.GetString("PC_FECHA")),(Object)("REPARTO")};
//BA.debugLineNum = 492;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")";
@@ -2293,7 +2293,7 @@ _c2.setPosition((int) (0));
if (_c2.getRowCount()>0) {
_c2.GetString("USUARIO");};
//BA.debugLineNum = 551;BA.debugLine="Log(CUENTA & \"----------------------!!\")";
-__c.LogImpl("31507497",_cuenta+"----------------------!!",0);
+__c.LogImpl("837159081",_cuenta+"----------------------!!",0);
//BA.debugLineNum = 552;BA.debugLine="If CUENTA = \"0\" Then";
if ((_cuenta).equals("0")) {
//BA.debugLineNum = 554;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E";
@@ -2331,7 +2331,7 @@ _cmd.Name /*String*/ = "update_MontoCuenta_MAZAPArep";
//BA.debugLineNum = 575;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_MONTO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_c.GetString("EML_RUTA")),(Object)(_c.GetString("EML_USUARIO")),(Object)(_c.GetString("EML_FECHA_PED")),(Object)("REPARTO")};
//BA.debugLineNum = 577;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt";
-__c.LogImpl("31507523",_c.GetString("EML_MONTO")+" "+_c.GetString("EML_ALMACEN")+" "+_c.GetString("EML_RUTA")+" "+_c.GetString("EML_USUARIO"),0);
+__c.LogImpl("837159107",_c.GetString("EML_MONTO")+" "+_c.GetString("EML_ALMACEN")+" "+_c.GetString("EML_RUTA")+" "+_c.GetString("EML_USUARIO"),0);
//BA.debugLineNum = 578;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")";
_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_MC"));
//BA.debugLineNum = 579;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \"";
@@ -2392,7 +2392,7 @@ _et_server.setText(BA.ObjectToCharSequence(_value));
//BA.debugLineNum = 701;BA.debugLine="reqManager.Initialize(Me, Value)";
_reqmanager._initialize /*String*/ (ba,this,BA.ObjectToString(_value));
//BA.debugLineNum = 702;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)";
-__c.LogImpl("31966085",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red);
+__c.LogImpl("837617669",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red);
//BA.debugLineNum = 703;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False);
//BA.debugLineNum = 704;BA.debugLine="End Sub";
@@ -2442,9 +2442,9 @@ if (_a.getRowCount()>0) {
_a.setPosition((int) (0));
};
//BA.debugLineNum = 1048;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
-__c.LogImpl("32949128",_a.GetString("ID_ALMACEN"),0);
+__c.LogImpl("838600712",_a.GetString("ID_ALMACEN"),0);
//BA.debugLineNum = 1049;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
-__c.LogImpl("32949129",_f.GetString("CAT_CL_RUTA"),0);
+__c.LogImpl("838600713",_f.GetString("CAT_CL_RUTA"),0);
//BA.debugLineNum = 1051;BA.debugLine="If et_codigo.Text = \"KMTS1\" Then";
if ((_et_codigo.getText()).equals("KMTS1")) {
//BA.debugLineNum = 1052;BA.debugLine="p_validacion.Visible = False";
@@ -2478,9 +2478,9 @@ public String _reinicializareqmanager() throws Exception{
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 708;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)";
if (_logger) {
-__c.LogImpl("32031618",_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
+__c.LogImpl("837683202",_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
//BA.debugLineNum = 709;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
-__c.LogImpl("32031619",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("837683203",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
//BA.debugLineNum = 710;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java
index ff3cc9d..964de92 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java
@@ -199,7 +199,7 @@ _idtolower = _id.toLowerCase();
//BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then";
if (_idtob4xpage._containskey /*boolean*/ ((Object)(_idtolower))) {
//BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo";
-__c.LogImpl("935782659",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
+__c.LogImpl("99568259",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
//BA.debugLineNum = 145;BA.debugLine="Return";
if (true) return "";
};
@@ -314,7 +314,7 @@ _screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))
//BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then";
if (_screenorientation==-1) {
//BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus";
-__c.LogImpl("935651605","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
+__c.LogImpl("99437205","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
};
};
}
@@ -371,12 +371,12 @@ if (true) return "";};
//BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then";
if (_xui.getIsB4i() && (_gettoppage()).equals(_pi) == false) {
//BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")";
-__c.LogImpl("936044804","Only top page can be closed",0);
+__c.LogImpl("99830404","Only top page can be closed",0);
//BA.debugLineNum = 214;BA.debugLine="Return";
if (true) return "";
}else if(_xui.getIsB4i() && _mstackofpageids._getsize /*int*/ ()==1) {
//BA.debugLineNum = 216;BA.debugLine="Log(\"First page cannot be closed\")";
-__c.LogImpl("936044807","First page cannot be closed",0);
+__c.LogImpl("99830407","First page cannot be closed",0);
//BA.debugLineNum = 217;BA.debugLine="Return";
if (true) return "";
};
@@ -591,9 +591,9 @@ _pi = (reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get
//BA.debugLineNum = 400;BA.debugLine="If pi = Null Then";
if (_pi== null) {
//BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)";
-__c.LogImpl("936700163","Error: page id not found: "+_id,0);
+__c.LogImpl("910485763","Error: page id not found: "+_id,0);
//BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore";
-__c.LogImpl("936700164","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
+__c.LogImpl("910485764","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
};
//BA.debugLineNum = 404;BA.debugLine="Return pi";
if (true) return _pi;
@@ -728,7 +728,7 @@ _addpageandcreate("MainPage",(Object)(_mainpage));
//BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then";
if (_logevents==__c.False) {
//BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t";
-__c.LogImpl("935586075","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
+__c.LogImpl("99371675","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
};
//BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then";
if (_nonmainpagewasadded) {
@@ -749,7 +749,7 @@ if (_logevents) {
//BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac";
_msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(_stackstring))+"");
//BA.debugLineNum = 643;BA.debugLine="Log(msg)";
-__c.LogImpl("937814275",_msg,0);
+__c.LogImpl("911599875",_msg,0);
};
//BA.debugLineNum = 645;BA.debugLine="End Sub";
return "";
@@ -801,7 +801,7 @@ __c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0
break; }
default: {
//BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")";
-__c.LogImpl("937289998","Too many parameters",0);
+__c.LogImpl("911075598","Too many parameters",0);
break; }
}
;
@@ -842,7 +842,7 @@ if (true) return __c.CallSubNew3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_pa
break; }
default: {
//BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")";
-__c.LogImpl("937355534","Too many parameters",0);
+__c.LogImpl("911141134","Too many parameters",0);
break; }
}
;
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java
index c009107..cd5eae1 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java
@@ -391,7 +391,7 @@ _count = (int) (_count+1);
}
};
//BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &";
-__c.LogImpl("955771167","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0);
+__c.LogImpl("929556767","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0);
//BA.debugLineNum = 228;BA.debugLine="AllItems = Items";
_allitems = _items;
//BA.debugLineNum = 229;BA.debugLine="Return Array(prefixList, substringList, AllItems)";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java
index 53d628f..282139d 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java
@@ -167,13 +167,13 @@ __c.File.MakeDir(_dirp,"/md");
//BA.debugLineNum = 548;BA.debugLine="Dir = \"/md\"";
_dir = "/md";
//BA.debugLineNum = 549;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)";
-__c.LogImpl("320774920","creado en promotoria "+_dirp+_dir,0);
+__c.LogImpl("856492040","creado en promotoria "+_dirp+_dir,0);
}
catch (Exception e9) {
ba.setLastException(e9); //BA.debugLineNum = 551;BA.debugLine="Dir = \"\"";
_dir = "";
//BA.debugLineNum = 552;BA.debugLine="Log(\"creado en raiz\")";
-__c.LogImpl("320774923","creado en raiz",0);
+__c.LogImpl("856492043","creado en raiz",0);
};
//BA.debugLineNum = 555;BA.debugLine="Try";
try { //BA.debugLineNum = 556;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")";
@@ -181,13 +181,13 @@ __c.File.MakeDir(_dirp+_dir,"/reduccion");
//BA.debugLineNum = 557;BA.debugLine="Dir2 = \"/reduccion\"";
_dir2 = "/reduccion";
//BA.debugLineNum = 558;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)";
-__c.LogImpl("320774929","creado en promotoria "+_dirp+_dir+_dir2,0);
+__c.LogImpl("856492049","creado en promotoria "+_dirp+_dir+_dir2,0);
}
catch (Exception e17) {
ba.setLastException(e17); //BA.debugLineNum = 560;BA.debugLine="Dir = \"\"";
_dir = "";
//BA.debugLineNum = 561;BA.debugLine="Log(\"creado en raiz\")";
-__c.LogImpl("320774932","creado en raiz",0);
+__c.LogImpl("856492052","creado en raiz",0);
};
//BA.debugLineNum = 564;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
@@ -475,7 +475,7 @@ parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.Ab
//BA.debugLineNum = 144;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
//BA.debugLineNum = 145;BA.debugLine="Log(c.GetString(\"PLACA\"))";
-parent.__c.LogImpl("317629187",parent._c.GetString("PLACA"),0);
+parent.__c.LogImpl("853346307",parent._c.GetString("PLACA"),0);
//BA.debugLineNum = 146;BA.debugLine="l_placa.Text = c.GetString(\"PLACA\")";
parent._l_placa.setText(BA.ObjectToCharSequence(parent._c.GetString("PLACA")));
//BA.debugLineNum = 147;BA.debugLine="c.Close";
@@ -508,7 +508,7 @@ case 3:
//C
this.state = 6;
//BA.debugLineNum = 153;BA.debugLine="Log(\"inicializamos Camara\")";
-parent.__c.LogImpl("317629195","inicializamos Camara",0);
+parent.__c.LogImpl("853346315","inicializamos Camara",0);
if (true) break;
case 5:
@@ -542,7 +542,7 @@ case 9:
//C
this.state = 16;
//BA.debugLineNum = 164;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting WRITE";
-parent.__c.LogImpl("317629206","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0);
+parent.__c.LogImpl("853346326","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0);
//BA.debugLineNum = 165;BA.debugLine="Dim rp As RuntimePermissions";
_rp = new anywheresoftware.b4a.objects.RuntimePermissions();
//BA.debugLineNum = 166;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_";
@@ -558,16 +558,16 @@ _permission = (String) result[0];
_result = (Boolean) result[1];
;
//BA.debugLineNum = 168;BA.debugLine="Log($\"PERMISSION_WRITE_EXTERNAL_STORAGE = ${Resu";
-parent.__c.LogImpl("317629210",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0);
+parent.__c.LogImpl("853346330",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0);
if (true) break;
case 11:
//C
this.state = 12;
//BA.debugLineNum = 170;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting MANAG";
-parent.__c.LogImpl("317629212","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0);
+parent.__c.LogImpl("853346332","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0);
//BA.debugLineNum = 171;BA.debugLine="Log(\"On Entry MANAGE_EXTERNAL_STORAGE = \" & MES1";
-parent.__c.LogImpl("317629213","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0);
+parent.__c.LogImpl("853346333","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0);
//BA.debugLineNum = 172;BA.debugLine="If Not(MES1.HasPermission) Then";
if (true) break;
@@ -593,7 +593,7 @@ this.state = 15;
_res = (Integer) result[0];
;
//BA.debugLineNum = 175;BA.debugLine="Log(\"Getting permission\")";
-parent.__c.LogImpl("317629217","Getting permission",0);
+parent.__c.LogImpl("853346337","Getting permission",0);
//BA.debugLineNum = 176;BA.debugLine="MES1.GetPermission";
parent._mes1._getpermission /*String*/ ();
//BA.debugLineNum = 177;BA.debugLine="Wait For MES_StorageAvailable";
@@ -798,7 +798,7 @@ _teclado.HideKeyboard(ba);
_fototomada = _nombrefoto3;
};
//BA.debugLineNum = 265;BA.debugLine="Log(\"tome foto\")";
-__c.LogImpl("317891355","tome foto",0);
+__c.LogImpl("853608475","tome foto",0);
//BA.debugLineNum = 266;BA.debugLine="Dim filename As String = fototomada";
_filename = _fototomada;
//BA.debugLineNum = 267;BA.debugLine="Dim Dirp As String = File.DirInternal";
@@ -813,13 +813,13 @@ __c.File.MakeDir(_dirp,"/md");
//BA.debugLineNum = 272;BA.debugLine="Dir = \"/md\"";
_dir = "/md";
//BA.debugLineNum = 273;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)";
-__c.LogImpl("317891363","creado en promotoria "+_dirp+_dir,0);
+__c.LogImpl("853608483","creado en promotoria "+_dirp+_dir,0);
}
catch (Exception e32) {
ba.setLastException(e32); //BA.debugLineNum = 275;BA.debugLine="Dir = \"\"";
_dir = "";
//BA.debugLineNum = 276;BA.debugLine="Log(\"creado en raiz\")";
-__c.LogImpl("317891366","creado en raiz",0);
+__c.LogImpl("853608486","creado en raiz",0);
};
//BA.debugLineNum = 279;BA.debugLine="Try";
try { //BA.debugLineNum = 280;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")";
@@ -827,30 +827,30 @@ __c.File.MakeDir(_dirp+_dir,"/reduccion");
//BA.debugLineNum = 281;BA.debugLine="Dir2 = \"/reduccion\"";
_dir2 = "/reduccion";
//BA.debugLineNum = 282;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)";
-__c.LogImpl("317891372","creado en promotoria "+_dirp+_dir+_dir2,0);
+__c.LogImpl("853608492","creado en promotoria "+_dirp+_dir+_dir2,0);
}
catch (Exception e40) {
ba.setLastException(e40); //BA.debugLineNum = 284;BA.debugLine="Dir = \"\"";
_dir = "";
//BA.debugLineNum = 285;BA.debugLine="Log(\"creado en raiz\")";
-__c.LogImpl("317891375","creado en raiz",0);
+__c.LogImpl("853608495","creado en raiz",0);
};
//BA.debugLineNum = 288;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)";
_camex._savepicturetofile /*String*/ (_data,_dirp+_dir,_filename);
//BA.debugLineNum = 289;BA.debugLine="camEx.StartPreview 'restart preview";
_camex._startpreview /*String*/ ();
//BA.debugLineNum = 291;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi";
-__c.LogImpl("317891381","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0);
+__c.LogImpl("853608501","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0);
//BA.debugLineNum = 292;BA.debugLine="p_camara.Visible = False";
_p_camara.setVisible(__c.False);
//BA.debugLineNum = 294;BA.debugLine="Log(nombrefoto)";
-__c.LogImpl("317891384",_nombrefoto,0);
+__c.LogImpl("853608504",_nombrefoto,0);
//BA.debugLineNum = 295;BA.debugLine="Log(nombrefoto1)";
-__c.LogImpl("317891385",_nombrefoto1,0);
+__c.LogImpl("853608505",_nombrefoto1,0);
//BA.debugLineNum = 296;BA.debugLine="Log(nombrefoto2)";
-__c.LogImpl("317891386",_nombrefoto2,0);
+__c.LogImpl("853608506",_nombrefoto2,0);
//BA.debugLineNum = 297;BA.debugLine="Log(nombrefoto3)";
-__c.LogImpl("317891387",_nombrefoto3,0);
+__c.LogImpl("853608507",_nombrefoto3,0);
//BA.debugLineNum = 299;BA.debugLine="If nombrefoto <> \"0\" Then";
if ((_nombrefoto).equals("0") == false) {
//BA.debugLineNum = 300;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File";
@@ -919,7 +919,7 @@ return "";
public String _camera1_ready(boolean _success) throws Exception{
//BA.debugLineNum = 224;BA.debugLine="Sub Camera1_Ready (Success As Boolean)";
//BA.debugLineNum = 225;BA.debugLine="Log(\"Camara ready\")";
-__c.LogImpl("317825793","Camara ready",0);
+__c.LogImpl("853542913","Camara ready",0);
//BA.debugLineNum = 226;BA.debugLine="If Success Then";
if (_success) {
//BA.debugLineNum = 227;BA.debugLine="camEx.SetJpegQuality(90)";
@@ -931,12 +931,12 @@ _camex._commitparameters /*String*/ ();
//BA.debugLineNum = 230;BA.debugLine="camEx.StartPreview";
_camex._startpreview /*String*/ ();
//BA.debugLineNum = 231;BA.debugLine="Log(camEx.GetPreviewSize)";
-__c.LogImpl("317825799",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0);
+__c.LogImpl("853542919",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0);
}else {
//BA.debugLineNum = 233;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True);
//BA.debugLineNum = 234;BA.debugLine="Log(\"Cannot open camera\")";
-__c.LogImpl("317825802","Cannot open camera",0);
+__c.LogImpl("853542922","Cannot open camera",0);
};
//BA.debugLineNum = 236;BA.debugLine="End Sub";
return "";
@@ -946,7 +946,7 @@ public String _cb_deratras_selectedindexchanged(int _index) throws Exception{
//BA.debugLineNum = 537;BA.debugLine="itemselect4 = cb_deratras.SelectedItem";
_itemselect4 = _cb_deratras._getselecteditem /*String*/ ();
//BA.debugLineNum = 538;BA.debugLine="Log(itemselect4)";
-__c.LogImpl("320709378",_itemselect4,0);
+__c.LogImpl("856426498",_itemselect4,0);
//BA.debugLineNum = 539;BA.debugLine="End Sub";
return "";
}
@@ -955,7 +955,7 @@ public String _cb_derdel_selectedindexchanged(int _index) throws Exception{
//BA.debugLineNum = 532;BA.debugLine="itemselect3 = cb_derdel.SelectedItem";
_itemselect3 = _cb_derdel._getselecteditem /*String*/ ();
//BA.debugLineNum = 533;BA.debugLine="Log(itemselect3)";
-__c.LogImpl("320643842",_itemselect3,0);
+__c.LogImpl("856360962",_itemselect3,0);
//BA.debugLineNum = 534;BA.debugLine="End Sub";
return "";
}
@@ -964,7 +964,7 @@ public String _cb_izqatras_selectedindexchanged(int _index) throws Exception{
//BA.debugLineNum = 527;BA.debugLine="itemselect2 = cb_izqatras.SelectedItem";
_itemselect2 = _cb_izqatras._getselecteditem /*String*/ ();
//BA.debugLineNum = 528;BA.debugLine="Log(itemselect2)";
-__c.LogImpl("320578306",_itemselect2,0);
+__c.LogImpl("856295426",_itemselect2,0);
//BA.debugLineNum = 529;BA.debugLine="End Sub";
return "";
}
@@ -973,7 +973,7 @@ public String _cb_izqdel_selectedindexchanged(int _index) throws Exception{
//BA.debugLineNum = 522;BA.debugLine="itemselect1 = cb_izqdel.SelectedItem";
_itemselect1 = _cb_izqdel._getselecteditem /*String*/ ();
//BA.debugLineNum = 523;BA.debugLine="Log(itemselect1)";
-__c.LogImpl("320512770",_itemselect1,0);
+__c.LogImpl("856229890",_itemselect1,0);
//BA.debugLineNum = 524;BA.debugLine="End Sub";
return "";
}
@@ -1291,7 +1291,7 @@ parent._camex._initialize /*String*/ (ba,parent._p_cam,parent._frontcamera,paren
//BA.debugLineNum = 217;BA.debugLine="frontCamera = camEx.Front";
parent._frontcamera = parent._camex._front /*boolean*/ ;
//BA.debugLineNum = 218;BA.debugLine="Log(\"inicializamos Camara\")";
-parent.__c.LogImpl("317760262","inicializamos Camara",0);
+parent.__c.LogImpl("853477382","inicializamos Camara",0);
if (true) break;
case 5:
@@ -1321,14 +1321,14 @@ Object[] _records = null;
String _k = "";
//BA.debugLineNum = 747;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 748;BA.debugLine="Log(\"JOBDONE CLIENTE . \" & Job.Success)";
-__c.LogImpl("320905985","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0);
+__c.LogImpl("856623105","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0);
//BA.debugLineNum = 749;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
//BA.debugLineNum = 752;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error";
-__c.LogImpl("320905989","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue);
+__c.LogImpl("856623109","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue);
}else {
//BA.debugLineNum = 754;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("320905991","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+__c.LogImpl("856623111","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
//BA.debugLineNum = 755;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 756;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
@@ -1340,11 +1340,11 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
//BA.debugLineNum = 759;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24));
//BA.debugLineNum = 760;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
-__c.LogImpl("320905997",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
+__c.LogImpl("856623117",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
//BA.debugLineNum = 762;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLAC";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE, RUTA FROM CHECKLIST2")));
//BA.debugLineNum = 763;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)";
-__c.LogImpl("320906000",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
+__c.LogImpl("856623120",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
//BA.debugLineNum = 764;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 765;BA.debugLine="For i = 0 To c.RowCount -1";
@@ -1393,7 +1393,7 @@ final int groupLen29 = group29.getSize()
for (; index29 < groupLen29;index29++){
_k = BA.ObjectToString(group29.Get(index29));
//BA.debugLineNum = 783;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
-__c.LogImpl("320906020",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
+__c.LogImpl("856623140",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -1415,11 +1415,11 @@ int _i = 0;
reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
//BA.debugLineNum = 724;BA.debugLine="Sub mandaPendientes";
//BA.debugLineNum = 725;BA.debugLine="Log(\"MandaPendientes\")";
-__c.LogImpl("320840449","MandaPendientes",0);
+__c.LogImpl("856557569","MandaPendientes",0);
//BA.debugLineNum = 727;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLACA,";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4 FROM CHECKLIST2")));
//BA.debugLineNum = 728;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)";
-__c.LogImpl("320840452",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
+__c.LogImpl("856557572",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
//BA.debugLineNum = 729;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 730;BA.debugLine="For i = 0 To c.RowCount -1";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java
index f91a85c..518b497 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java
@@ -466,13 +466,13 @@ _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Dou
};
};
//BA.debugLineNum = 246;BA.debugLine="Log(cuenta0)";
-__c.LogImpl("33735676",_cuenta0,0);
+__c.LogImpl("839387260",_cuenta0,0);
//BA.debugLineNum = 247;BA.debugLine="Log(Cuenta1)";
-__c.LogImpl("33735677",_cuenta1,0);
+__c.LogImpl("839387261",_cuenta1,0);
//BA.debugLineNum = 248;BA.debugLine="Log(Cuenta2)";
-__c.LogImpl("33735678",_cuenta2,0);
+__c.LogImpl("839387262",_cuenta2,0);
//BA.debugLineNum = 249;BA.debugLine="Log(Cuenta3)";
-__c.LogImpl("33735679",_cuenta3,0);
+__c.LogImpl("839387263",_cuenta3,0);
//BA.debugLineNum = 251;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +";
_l_total.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True)));
//BA.debugLineNum = 252;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2";
@@ -499,7 +499,7 @@ _printer1._disconnect /*String*/ ();
//BA.debugLineNum = 271;BA.debugLine="Printer1.Connect";
_printer1._connect /*boolean*/ ();
//BA.debugLineNum = 272;BA.debugLine="Log(\"2\")";
-__c.LogImpl("33735702","2",0);
+__c.LogImpl("839387286","2",0);
};
//BA.debugLineNum = 275;BA.debugLine="Dim pag As Cursor = Starter.skmt.ExecQuery(\"selec";
_pag = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
@@ -564,12 +564,12 @@ if ((_c.GetString("HABILITADO")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 309;BA.debugLine="Starter.distanciaGeo = \"500000000000\"";
_starter._distanciageo /*String*/ = "500000000000";
//BA.debugLineNum = 310;BA.debugLine="Log(\"Esto es la distancia si esta desactivada l";
-__c.LogImpl("33735740","Esto es la distancia si esta desactivada la Geo: "+_starter._distanciageo /*String*/ ,0);
+__c.LogImpl("839387324","Esto es la distancia si esta desactivada la Geo: "+_starter._distanciageo /*String*/ ,0);
}else if((_c.GetString("HABILITADO")).equals(BA.NumberToString(1))) {
//BA.debugLineNum = 312;BA.debugLine="Starter.distanciaGeo = \"50\"";
_starter._distanciageo /*String*/ = "50";
//BA.debugLineNum = 313;BA.debugLine="Log(\"Esto es la distancia si esta activada la G";
-__c.LogImpl("33735743","Esto es la distancia si esta activada la Geo: "+_starter._distanciageo /*String*/ ,0);
+__c.LogImpl("839387327","Esto es la distancia si esta activada la Geo: "+_starter._distanciageo /*String*/ ,0);
};
}else {
};
@@ -603,7 +603,7 @@ _b_noentrega.setVisible(__c.False);
_hist.setVisible(__c.False);
};
//BA.debugLineNum = 335;BA.debugLine="Log(distance)";
-__c.LogImpl("33735765",BA.NumberToString(_distance),0);
+__c.LogImpl("839387349",BA.NumberToString(_distance),0);
//BA.debugLineNum = 336;BA.debugLine="Tar.Visible = True";
_tar.setVisible(__c.True);
//BA.debugLineNum = 337;BA.debugLine="gest.Visible = True";
@@ -694,7 +694,7 @@ if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")).
//BA.debugLineNum = 107;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2")));
//BA.debugLineNum = 108;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")";
-__c.LogImpl("33670041","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0);
+__c.LogImpl("839321625","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0);
}else {
//BA.debugLineNum = 110;BA.debugLine="l_atiende2.Text = \" \"";
_l_atiende2.setText(BA.ObjectToCharSequence(" "));
@@ -890,7 +890,7 @@ _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*St
//BA.debugLineNum = 350;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude());
//BA.debugLineNum = 351;BA.debugLine="Log(\"Coords set to: \" & B4XPages.MainPage.lat_gp";
-__c.LogImpl("33866629","Coords set to: "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ +" and "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,0);
+__c.LogImpl("839518213","Coords set to: "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ +" and "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,0);
};
//BA.debugLineNum = 354;BA.debugLine="If LATITUD.Length < 5 Then";
if (_latitud.length()<5) {
@@ -901,7 +901,7 @@ _l2 = new anywheresoftware.b4a.gps.LocationWrapper();
//BA.debugLineNum = 360;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPag";
_l1.Initialize2(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ );
//BA.debugLineNum = 361;BA.debugLine="Log($\"Coordenadas de la tienda - lat:${LATITUD},";
-__c.LogImpl("33866639",("Coordenadas de la tienda - lat:"+__c.SmartStringFormatter("",(Object)(_latitud))+", lon:"+__c.SmartStringFormatter("",(Object)(_longitud))+""),0);
+__c.LogImpl("839518223",("Coordenadas de la tienda - lat:"+__c.SmartStringFormatter("",(Object)(_latitud))+", lon:"+__c.SmartStringFormatter("",(Object)(_longitud))+""),0);
//BA.debugLineNum = 362;BA.debugLine="l2.Initialize2(LATITUD, LONGITUD)";
_l2.Initialize2(_latitud,_longitud);
//BA.debugLineNum = 367;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is";
@@ -916,7 +916,7 @@ _c.setPosition((int) (0));
_habi = _c.GetString("HABILITADO");
};
//BA.debugLineNum = 386;BA.debugLine="Log(\"DISTANCIA \"&distance)";
-__c.LogImpl("33866664","DISTANCIA "+BA.NumberToString(_distance),0);
+__c.LogImpl("839518248","DISTANCIA "+BA.NumberToString(_distance),0);
};
//BA.debugLineNum = 389;BA.debugLine="Dim sDate,sTime As String";
_sdate = "";
@@ -1155,12 +1155,12 @@ Object[] _records = null;
String _k = "";
//BA.debugLineNum = 1035;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 1036;BA.debugLine="Log(Job.Success)";
-__c.LogImpl("34980737",BA.ObjectToString(_job._success /*boolean*/ ),0);
+__c.LogImpl("840632321",BA.ObjectToString(_job._success /*boolean*/ ),0);
//BA.debugLineNum = 1037;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
}else {
//BA.debugLineNum = 1040;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("34980741","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+__c.LogImpl("840632325","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
//BA.debugLineNum = 1041;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 1042;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
@@ -1172,7 +1172,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
//BA.debugLineNum = 1045;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24));
//BA.debugLineNum = 1046;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
-__c.LogImpl("34980747",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
+__c.LogImpl("840632331",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
//BA.debugLineNum = 1047;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"}));
//BA.debugLineNum = 1048;BA.debugLine="For Each records() As Object In resultado.Rows";
@@ -1192,7 +1192,7 @@ final int groupLen13 = group13.getSize()
for (; index13 < groupLen13;index13++){
_k = BA.ObjectToString(group13.Get(index13));
//BA.debugLineNum = 1050;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
-__c.LogImpl("34980751",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
+__c.LogImpl("840632335",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -1217,7 +1217,7 @@ reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
//BA.debugLineNum = 1016;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI";
_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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1")));
//BA.debugLineNum = 1017;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)";
-__c.LogImpl("34915202",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
+__c.LogImpl("840566786",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
//BA.debugLineNum = 1018;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 1019;BA.debugLine="For i=0 To c.RowCount -1";
@@ -1282,12 +1282,12 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_
//BA.debugLineNum = 925;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )}));
//BA.debugLineNum = 926;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)";
-__c.LogImpl("34653062","Impresora conectada",__c.Colors.Green);
+__c.LogImpl("840304646","Impresora conectada",__c.Colors.Green);
//BA.debugLineNum = 928;BA.debugLine="impresoraConectada = True";
_impresoraconectada = __c.True;
}else {
//BA.debugLineNum = 932;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
-__c.LogImpl("34653068","Error conectando la impresora",__c.Colors.Red);
+__c.LogImpl("840304652","Error conectando la impresora",__c.Colors.Red);
//BA.debugLineNum = 933;BA.debugLine="errorImpresora = errorImpresora + 1";
_errorimpresora = (int) (_errorimpresora+1);
//BA.debugLineNum = 934;BA.debugLine="If errorImpresora > 1 Then";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java
index 3cf70e8..a40a8d7 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java
@@ -251,7 +251,7 @@ case 18:
this.state = 19;
;
//BA.debugLineNum = 489;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this";
-parent.__c.LogImpl("35832727",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0);
+parent.__c.LogImpl("841484311",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0);
//BA.debugLineNum = 490;BA.debugLine="Wait For(distanciaEntreCoords(distancia2, locAc";
parent.__c.WaitFor("complete", ba, this, parent._distanciaentrecoords(_distancia2,_locactual,_thisloc1));
this.state = 33;
@@ -262,14 +262,14 @@ this.state = 19;
_r = (anywheresoftware.b4a.objects.collections.List) result[0];
;
//BA.debugLineNum = 491;BA.debugLine="LogColor($\"R: ${r.Get(0)} - ${r.Get(1)} - ${r.G";
-parent.__c.LogImpl("35832729",("R: "+parent.__c.SmartStringFormatter("",_r.Get((int) (0)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (1)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (2)))+""),parent.__c.Colors.Green);
+parent.__c.LogImpl("841484313",("R: "+parent.__c.SmartStringFormatter("",_r.Get((int) (0)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (1)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (2)))+""),parent.__c.Colors.Green);
//BA.debugLineNum = 492;BA.debugLine="Private tId As Int = r.Get(0)";
_tid = (int)(BA.ObjectToNumber(_r.Get((int) (0))));
//BA.debugLineNum = 493;BA.debugLine="Private tMap As Map = distOrderedMap.Get(tId)";
_tmap = new anywheresoftware.b4a.objects.collections.Map();
_tmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ ((Object)(_tid))));
//BA.debugLineNum = 494;BA.debugLine="LogColor(\"|\" & tId & \"| - \" &distOrderedMap.Get";
-parent.__c.LogImpl("35832732","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue);
+parent.__c.LogImpl("841484316","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue);
//BA.debugLineNum = 495;BA.debugLine="Private tempNDD As String = tMap.Get(\"nomDirDis";
_tempndd = BA.ObjectToString(_tmap.Get((Object)("nomDirDist")));
//BA.debugLineNum = 496;BA.debugLine="Private indexD As Int = tempNDD.IndexOf(\"Distan";
@@ -295,7 +295,7 @@ case 24:
this.state = 25;
;
//BA.debugLineNum = 498;BA.debugLine="Log(tempNDD)";
-parent.__c.LogImpl("35832736",_tempndd,0);
+parent.__c.LogImpl("841484320",_tempndd,0);
//BA.debugLineNum = 499;BA.debugLine="tempNDD = tempNDD & $\"Dist: $1.1{(r.Get(1)/1000";
_tempndd = _tempndd+("Dist: "+parent.__c.SmartStringFormatter("1.1",(Object)(((double)(BA.ObjectToNumber(_r.Get((int) (1))))/(double)1000)))+" kms, Tiempo aprox: "+parent.__c.SmartStringFormatter("1.0",(Object)((((double)(BA.ObjectToNumber(_r.Get((int) (2))))*2)/(double)60)))+" min.");
//BA.debugLineNum = 500;BA.debugLine="Private esteCliente As Map = CreateMap(\"distanc";
@@ -511,7 +511,7 @@ _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitu
};
};
//BA.debugLineNum = 109;BA.debugLine="Log(Starter.cedisLocation)";
-__c.LogImpl("35308476",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0);
+__c.LogImpl("840960060",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0);
//BA.debugLineNum = 110;BA.debugLine="End Sub";
return "";
}
@@ -538,7 +538,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 116;BA.debugLine="Log(entro)";
-parent.__c.LogImpl("35373955",parent._entro,0);
+parent.__c.LogImpl("841025539",parent._entro,0);
//BA.debugLineNum = 117;BA.debugLine="If rutaGenerada Or entro = 3 Then ' Si ya generam";
if (true) break;
@@ -598,7 +598,7 @@ _clientesmapao._initialize /*String*/ (ba);
//BA.debugLineNum = 43;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\"";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints");
//BA.debugLineNum = 44;BA.debugLine="Log(\"Coordenadas del almacen: \" & Starter.cedisLo";
-__c.LogImpl("35242888","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0);
+__c.LogImpl("840894472","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0);
//BA.debugLineNum = 45;BA.debugLine="End Sub";
return "";
}
@@ -711,7 +711,7 @@ _tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"A
//BA.debugLineNum = 596;BA.debugLine="coords.InsertAt(0,tmpList)";
_coords.InsertAt((int) (0),(Object)(_tmplist.getObject()));
//BA.debugLineNum = 597;BA.debugLine="Log(\"=================================\")";
-parent.__c.LogImpl("36160390","=================================",0);
+parent.__c.LogImpl("841811974","=================================",0);
//BA.debugLineNum = 599;BA.debugLine="Private coordsStr As String = \"\"";
_coordsstr = "";
//BA.debugLineNum = 600;BA.debugLine="For Each tienda As List In coords";
@@ -782,7 +782,7 @@ case 10:
this.state = 11;
;
//BA.debugLineNum = 608;BA.debugLine="Log(coordsStr)";
-parent.__c.LogImpl("36160401",_coordsstr,0);
+parent.__c.LogImpl("841811985",_coordsstr,0);
//BA.debugLineNum = 609;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp";
parent.__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor."),parent.__c.False);
//BA.debugLineNum = 610;BA.debugLine="Dim j As HttpJob";
@@ -792,7 +792,7 @@ _j._initialize /*String*/ (ba,"trip",parent);
//BA.debugLineNum = 612;BA.debugLine="j.Download($\"http://keymon.lat:9002/ruteador?m=OS";
_j._download /*String*/ (("http://keymon.lat:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""));
//BA.debugLineNum = 613;BA.debugLine="Log($\"http://keymon.lat:9002/ruteador?m=OSRM&r=${";
-parent.__c.LogImpl("36160406",("http://keymon.lat:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""),0);
+parent.__c.LogImpl("841811990",("http://keymon.lat:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""),0);
//BA.debugLineNum = 614;BA.debugLine="Wait For (j) JobDone(j As HttpJob)";
parent.__c.WaitFor("jobdone", ba, this, (Object)(_j));
this.state = 35;
@@ -825,7 +825,7 @@ _jp.Initialize(_j._getstring /*String*/ ());
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = _jp.NextObject();
//BA.debugLineNum = 619;BA.debugLine="Log(m)";
-parent.__c.LogImpl("36160412",BA.ObjectToString(_m),0);
+parent.__c.LogImpl("841811996",BA.ObjectToString(_m),0);
//BA.debugLineNum = 620;BA.debugLine="If m.Get(\"code\") = \"OK\" Then";
if (true) break;
@@ -840,7 +840,7 @@ case 16:
//C
this.state = 17;
//BA.debugLineNum = 621;BA.debugLine="Log(\"===== OK\")";
-parent.__c.LogImpl("36160414","===== OK",0);
+parent.__c.LogImpl("841811998","===== OK",0);
//BA.debugLineNum = 622;BA.debugLine="rutaGenerada = True";
parent._rutagenerada = parent.__c.True;
//BA.debugLineNum = 623;BA.debugLine="Dim puntos As Int = m.Get(\"puntos\")";
@@ -976,7 +976,7 @@ this.state = 29;
//BA.debugLineNum = 649;BA.debugLine="c.Close";
parent._c.Close();
//BA.debugLineNum = 650;BA.debugLine="Log($\"Distancia total: $1.1{distance/1000} kms,";
-parent.__c.LogImpl("36160443",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs)"),0);
+parent.__c.LogImpl("841812027",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs)"),0);
//BA.debugLineNum = 651;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distance/10";
parent._l_rutainfo.setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_puntos-1))+"")));
//BA.debugLineNum = 652;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9";
@@ -1001,7 +1001,7 @@ case 31:
//C
this.state = 32;
//BA.debugLineNum = 659;BA.debugLine="LogColor(\"**************** Error! ************";
-parent.__c.LogImpl("36160452","**************** Error! ******************",parent.__c.Colors.Red);
+parent.__c.LogImpl("841812036","**************** Error! ******************",parent.__c.Colors.Red);
if (true) break;
case 32:
@@ -1157,7 +1157,7 @@ _jp.Initialize(_j._getstring /*String*/ ());
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = _jp.NextObject();
//BA.debugLineNum = 274;BA.debugLine="Log($\"Respuesta: ${m.Get(\"code\")}\"$)";
-parent.__c.LogImpl("35701644",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0);
+parent.__c.LogImpl("841353228",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0);
//BA.debugLineNum = 275;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then";
if (true) break;
@@ -1182,7 +1182,7 @@ _distanciatotal = BA.ObjectToString(_rutas2.Get((Object)("distance")));
//BA.debugLineNum = 283;BA.debugLine="tiempo = rutas2.Get(\"duration\")";
_tiempo = BA.ObjectToString(_rutas2.Get((Object)("duration")));
//BA.debugLineNum = 284;BA.debugLine="Log($\"Distancia total: ${distanciaTotal}, Tiemp";
-parent.__c.LogImpl("35701654",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0);
+parent.__c.LogImpl("841353238",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0);
if (true) break;
case 7:
@@ -1195,7 +1195,7 @@ case 9:
//C
this.state = 10;
//BA.debugLineNum = 287;BA.debugLine="Log(\"Error!\")";
-parent.__c.LogImpl("35701657","Error!",0);
+parent.__c.LogImpl("841353241","Error!",0);
if (true) break;
case 10:
@@ -1398,7 +1398,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 129;BA.debugLine="Log(Value)";
-parent.__c.LogImpl("35439490",BA.ObjectToString(_value),0);
+parent.__c.LogImpl("841091074",BA.ObjectToString(_value),0);
//BA.debugLineNum = 130;BA.debugLine="ListView1.Clear";
parent._listview1.Clear();
//BA.debugLineNum = 131;BA.debugLine="Sleep(50)";
@@ -1467,7 +1467,7 @@ _lrt = BA.ObjectToString(_value);
//BA.debugLineNum = 146;BA.debugLine="laRuta = lrt.SubString(6) 'Quitamos el texto \"Ru";
parent._laruta = _lrt.substring((int) (6));
//BA.debugLineNum = 147;BA.debugLine="Log($\"Original: ${Value} - Mod: |${lrt.SubString";
-parent.__c.LogImpl("35439508",("Original: "+parent.__c.SmartStringFormatter("",_value)+" - Mod: |"+parent.__c.SmartStringFormatter("",(Object)(_lrt.substring((int) (6))))+"| - laRuta: "+parent.__c.SmartStringFormatter("",(Object)(parent._laruta))+""),0);
+parent.__c.LogImpl("841091092",("Original: "+parent.__c.SmartStringFormatter("",_value)+" - Mod: |"+parent.__c.SmartStringFormatter("",(Object)(_lrt.substring((int) (6))))+"| - laRuta: "+parent.__c.SmartStringFormatter("",(Object)(parent._laruta))+""),0);
//BA.debugLineNum = 148;BA.debugLine="rutaacambiar = laRuta";
parent._rutaacambiar = parent._laruta;
//BA.debugLineNum = 149;BA.debugLine="c2 = Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB";
@@ -1667,9 +1667,9 @@ anywheresoftware.b4a.objects.collections.List _tmplist = null;
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _coords = null;
//BA.debugLineNum = 666;BA.debugLine="Sub todosAVisitar As List";
//BA.debugLineNum = 667;BA.debugLine="Log(laRuta)";
-__c.LogImpl("36225921",_laruta,0);
+__c.LogImpl("841877505",_laruta,0);
//BA.debugLineNum = 668;BA.debugLine="Log(entro)";
-__c.LogImpl("36225922",_entro,0);
+__c.LogImpl("841877506",_entro,0);
//BA.debugLineNum = 669;BA.debugLine="Private sqlDeRuta As String = \"\"";
_sqlderuta = "";
//BA.debugLineNum = 670;BA.debugLine="If entro = 3 Then sqlDeRuta = $\"and CAT_CL_RUTA =";
@@ -1694,7 +1694,7 @@ _avisitar.Add((Object)(_tmplist.getObject()));
}
;
//BA.debugLineNum = 679;BA.debugLine="Log(aVisitar)";
-__c.LogImpl("36225933",BA.ObjectToString(_avisitar),0);
+__c.LogImpl("841877517",BA.ObjectToString(_avisitar),0);
//BA.debugLineNum = 680;BA.debugLine="Return aVisitar";
if (true) return _avisitar;
//BA.debugLineNum = 681;BA.debugLine="End Sub";
@@ -1774,7 +1774,7 @@ this.state = 1;
//BA.debugLineNum = 301;BA.debugLine="Private coordsInicio As String = $\"${Starter.cedi";
_coordsinicio = (""+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"");
//BA.debugLineNum = 302;BA.debugLine="Log($\"Coordenadas de inicio: ${Starter.cedisLocat";
-parent.__c.LogImpl("35767170",("Coordenadas de inicio: "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""),0);
+parent.__c.LogImpl("841418754",("Coordenadas de inicio: "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""),0);
//BA.debugLineNum = 303;BA.debugLine="Private rutaCompleta As String = coordsInicio";
_rutacompleta = _coordsinicio;
//BA.debugLineNum = 304;BA.debugLine="Private preRuta As String = coordsInicio";
@@ -1822,7 +1822,7 @@ case 4:
this.state = 5;
;
//BA.debugLineNum = 317;BA.debugLine="Log($\"a visitar: ${aVisitar.Keys.Size}\"$)";
-parent.__c.LogImpl("35767185",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0);
+parent.__c.LogImpl("841418769",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0);
//BA.debugLineNum = 318;BA.debugLine="For Each k As Object In aVisitar.Keys";
if (true) break;
@@ -2057,7 +2057,7 @@ _tiempo0 = (double)(BA.ObjectToNumber(_rutas20.Get((Object)("duration"))));
//BA.debugLineNum = 370;BA.debugLine="tiempo0 = ((tiempo0 * 2) ) 'Tiempo X 2 (es muy";
_tiempo0 = ((_tiempo0*2));
//BA.debugLineNum = 371;BA.debugLine="Log($\"Distancia total ruta inicial: $1.1{dista";
-parent.__c.LogImpl("35767239",("Distancia total ruta inicial: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal0/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60/(double)60))+" hrs)"),0);
+parent.__c.LogImpl("841418823",("Distancia total ruta inicial: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal0/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60/(double)60))+" hrs)"),0);
if (true) break;
case 35:
@@ -2070,7 +2070,7 @@ case 37:
//C
this.state = 38;
//BA.debugLineNum = 375;BA.debugLine="Log(\"Error!\")";
-parent.__c.LogImpl("35767243","Error!",0);
+parent.__c.LogImpl("841418827","Error!",0);
if (true) break;
case 38:
@@ -2201,7 +2201,7 @@ _rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.Ab
//BA.debugLineNum = 408;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")";
_distanciatotal = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("distance"))));
//BA.debugLineNum = 409;BA.debugLine="Log(\"distancia ruta 2:\" & (distanciaTotal) & \"|";
-parent.__c.LogImpl("35767277","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0);
+parent.__c.LogImpl("841418861","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0);
//BA.debugLineNum = 410;BA.debugLine="distanciaTotal = distanciaTotal + distanciaTota";
_distanciatotal = _distanciatotal+_distanciatotal0;
//BA.debugLineNum = 411;BA.debugLine="tiempo = rutas2.Get(\"duration\")";
@@ -2209,7 +2209,7 @@ _tiempo = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("duration"))));
//BA.debugLineNum = 412;BA.debugLine="tiempo = (((tiempo + tiempo0) * 2) + tiempoVisi";
_tiempo = (((_tiempo+_tiempo0)*2)+_tiempovisitas);
//BA.debugLineNum = 413;BA.debugLine="Log($\"Distancia total: $1.1{distanciaTotal/1000";
-parent.__c.LogImpl("35767281",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs)"),0);
+parent.__c.LogImpl("841418865",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs)"),0);
//BA.debugLineNum = 414;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distanciaTo";
parent._l_rutainfo.setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+"")));
//BA.debugLineNum = 415;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9";
@@ -2234,7 +2234,7 @@ case 52:
//C
this.state = 53;
//BA.debugLineNum = 422;BA.debugLine="LogColor(\"**************** Error! ************";
-parent.__c.LogImpl("35767290","**************** Error! ******************",parent.__c.Colors.Red);
+parent.__c.LogImpl("841418874","**************** Error! ******************",parent.__c.Colors.Red);
if (true) break;
case 53:
@@ -2253,7 +2253,7 @@ _wps = new anywheresoftware.b4a.objects.collections.Map();
//BA.debugLineNum = 429;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\"";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints");
//BA.debugLineNum = 430;BA.debugLine="Log(\"BORRAMOS WAYPOINTS\")";
-parent.__c.LogImpl("35767298","BORRAMOS WAYPOINTS",0);
+parent.__c.LogImpl("841418882","BORRAMOS WAYPOINTS",0);
//BA.debugLineNum = 431;BA.debugLine="For Each k As Object In clientesMapaO.Keys 'Guard";
if (true) break;
@@ -2301,7 +2301,7 @@ _r1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObj
//BA.debugLineNum = 434;BA.debugLine="r1.Get(\"codigo\")";
_r1.Get((Object)("codigo"));
//BA.debugLineNum = 435;BA.debugLine="Log(listaWayPoints.Get(r) & \"|\" & r1.Get(\"coord";
-parent.__c.LogImpl("35767303",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0);
+parent.__c.LogImpl("841418887",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0);
//BA.debugLineNum = 436;BA.debugLine="wps = listaWayPoints.Get(r)";
_wps = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._listawaypoints.Get(_r)));
//BA.debugLineNum = 437;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info set";
@@ -2349,7 +2349,7 @@ _cs2 = new anywheresoftware.b4a.objects.CSBuilder();
//BA.debugLineNum = 450;BA.debugLine="entro = 3";
parent._entro = BA.NumberToString(3);
//BA.debugLineNum = 451;BA.debugLine="Log(\"Generamos ListView1 en traeRutaDia\")";
-parent.__c.LogImpl("35767319","Generamos ListView1 en traeRutaDia",0);
+parent.__c.LogImpl("841418903","Generamos ListView1 en traeRutaDia",0);
//BA.debugLineNum = 453;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice")));
//BA.debugLineNum = 454;BA.debugLine="If c.RowCount > 0 Then";
@@ -2431,14 +2431,14 @@ int _distancia = 0;
anywheresoftware.b4a.objects.collections.Map _estecliente = null;
//BA.debugLineNum = 515;BA.debugLine="Sub traeTodosAVisitar As B4XOrderedMap 'ignore";
//BA.debugLineNum = 516;BA.debugLine="Log(\"Iniciamos traeTodosAVisitar\")";
-__c.LogImpl("35898241","Iniciamos traeTodosAVisitar",0);
+__c.LogImpl("841549825","Iniciamos traeTodosAVisitar",0);
//BA.debugLineNum = 519;BA.debugLine="Private thisLoc, ubicacionInicial As Location";
_thisloc = new anywheresoftware.b4a.gps.LocationWrapper();
_ubicacioninicial = new anywheresoftware.b4a.gps.LocationWrapper();
//BA.debugLineNum = 520;BA.debugLine="ubicacionInicial = Starter.cedisLocation";
_ubicacioninicial = _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ;
//BA.debugLineNum = 521;BA.debugLine="LogColor(ubicacionInicial, Colors.Gray)";
-__c.LogImpl("35898246",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray);
+__c.LogImpl("841549830",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray);
//BA.debugLineNum = 522;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(gestion) as";
_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 sum(gestion) as hayVisitados from kmt_info")));
//BA.debugLineNum = 523;BA.debugLine="If c.RowCount > 0 Then";
@@ -2452,7 +2452,7 @@ _ubicacioninicial = _tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapp
//BA.debugLineNum = 528;BA.debugLine="c.Close";
_c.Close();
//BA.debugLineNum = 529;BA.debugLine="LogColor(ubicacionInicial, Colors.Red)";
-__c.LogImpl("35898254",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red);
+__c.LogImpl("841549838",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red);
//BA.debugLineNum = 530;BA.debugLine="thisLoc.Initialize";
_thisloc.Initialize();
//BA.debugLineNum = 531;BA.debugLine="clientesMapaO.Clear";
@@ -2514,7 +2514,7 @@ _c.Close();
//BA.debugLineNum = 562;BA.debugLine="c2.Close";
_c2.Close();
//BA.debugLineNum = 563;BA.debugLine="Log(c.RowCount & \" rutas, \" & clientesMapaO.Size";
-__c.LogImpl("35898288",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0);
+__c.LogImpl("841549872",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0);
//BA.debugLineNum = 566;BA.debugLine="Return clientesMapaO";
if (true) return _clientesmapao;
//BA.debugLineNum = 567;BA.debugLine="End Sub";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java
index df93e6f..ad79c7c 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java
@@ -103,7 +103,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null;
//BA.debugLineNum = 651;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 653;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
-__c.LogImpl("322216707","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("857933827","b_prodMas_Click",__c.Colors.Magenta);
//BA.debugLineNum = 654;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 655;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -119,14 +119,14 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
//BA.debugLineNum = 662;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&";
-__c.LogImpl("322216716","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("857933836","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 663;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0";
if ((_lacant.getText()).equals("")) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 665;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4";
_maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))));
//BA.debugLineNum = 667;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
-__c.LogImpl("322216721",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("857933841",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
//BA.debugLineNum = 670;BA.debugLine="Private minimoadesc As String";
_minimoadesc = "";
//BA.debugLineNum = 671;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\"";
@@ -151,7 +151,7 @@ if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) {
//BA.debugLineNum = 686;BA.debugLine="If laCant.Text + 1 <= maxProds Then";
if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
//BA.debugLineNum = 687;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)";
-__c.LogImpl("322216741",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
+__c.LogImpl("857933861",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
//BA.debugLineNum = 688;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$";
_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+"")));
//BA.debugLineNum = 689;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro";
@@ -167,7 +167,7 @@ _b4xpage_appear();
//BA.debugLineNum = 703;BA.debugLine="If laCant.Text + 1 <= maxProds Then";
if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
//BA.debugLineNum = 704;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)";
-__c.LogImpl("322216758",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
+__c.LogImpl("857933878",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
//BA.debugLineNum = 705;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$";
_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+"")));
//BA.debugLineNum = 706;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro";
@@ -219,7 +219,7 @@ String _maxprods = "";
//BA.debugLineNum = 929;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 931;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
-__c.LogImpl("322544387","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("858261507","b_prodMas_Click",__c.Colors.Magenta);
//BA.debugLineNum = 932;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 933;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -235,30 +235,30 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag())));
//BA.debugLineNum = 940;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta";
-__c.LogImpl("322544396","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("858261516","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 941;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
if ((_lacantc.getText()).equals("")) {
_lacantc.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 943;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es";
_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))));
//BA.debugLineNum = 944;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)";
-__c.LogImpl("322544400",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
+__c.LogImpl("858261520",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
//BA.debugLineNum = 945;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)";
-__c.LogImpl("322544401",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
+__c.LogImpl("858261521",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
//BA.debugLineNum = 946;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
-__c.LogImpl("322544402",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("858261522",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
//BA.debugLineNum = 948;BA.debugLine="Log(maxProds)";
-__c.LogImpl("322544404",_maxprods,0);
+__c.LogImpl("858261524",_maxprods,0);
//BA.debugLineNum = 951;BA.debugLine="If esteTag.Get(7) <> \"1\" Then";
if ((_estetag.Get((int) (7))).equals((Object)("1")) == false) {
//BA.debugLineNum = 954;BA.debugLine="If laCantc.Text + 1 <= maxProds Then";
if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
//BA.debugLineNum = 955;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)";
-__c.LogImpl("322544411",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
+__c.LogImpl("858261531",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
//BA.debugLineNum = 956;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$";
_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+"")));
//BA.debugLineNum = 958;BA.debugLine="Log(laCantc.Text)";
-__c.LogImpl("322544414",_lacantc.getText(),0);
+__c.LogImpl("858261534",_lacantc.getText(),0);
//BA.debugLineNum = 959;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+") WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'"));
//BA.debugLineNum = 967;BA.debugLine="B4XPage_Appear";
@@ -283,9 +283,9 @@ float _preciou = 0f;
//BA.debugLineNum = 507;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 508;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
-__c.LogImpl("322151170","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("857868290","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 509;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("322151171","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("857868291","b_prodMenos_Click",__c.Colors.Magenta);
//BA.debugLineNum = 510;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 511;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -301,7 +301,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
//BA.debugLineNum = 516;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get(";
-__c.LogImpl("322151178","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("857868298","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 517;BA.debugLine="Private minimoadesc As String";
_minimoadesc = "";
//BA.debugLineNum = 518;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\"";
@@ -378,9 +378,9 @@ _c2.setPosition((int) (0));
//BA.debugLineNum = 563;BA.debugLine="If c2.GetString(\"HVD_RECHAZO\") = \"0\" Then";
if ((_c2.GetString("HVD_RECHAZO")).equals("0")) {
//BA.debugLineNum = 566;BA.debugLine="Log(\"ES PROMO\")";
-__c.LogImpl("322151228","ES PROMO",0);
+__c.LogImpl("857868348","ES PROMO",0);
//BA.debugLineNum = 567;BA.debugLine="Log(esteTag.Get(3))";
-__c.LogImpl("322151229",BA.ObjectToString(_estetag.Get((int) (3))),0);
+__c.LogImpl("857868349",BA.ObjectToString(_estetag.Get((int) (3))),0);
//BA.debugLineNum = 568;BA.debugLine="result = Msgbox2(\"Si se modifica una promoci";
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
//BA.debugLineNum = 569;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Qui";
@@ -388,7 +388,7 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
//BA.debugLineNum = 570;BA.debugLine="prodsMap.Remove(esteTag.Get(3))";
_prodsmap.Remove(_estetag.Get((int) (3)));
//BA.debugLineNum = 574;BA.debugLine="LogColor(esteTag.Get(3),Colors.Blue)";
-__c.LogImpl("322151236",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue);
+__c.LogImpl("857868356",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue);
//BA.debugLineNum = 577;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)"));
//BA.debugLineNum = 578;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT";
@@ -396,7 +396,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENT
//BA.debugLineNum = 581;BA.debugLine="c.Close";
_c.Close();
//BA.debugLineNum = 582;BA.debugLine="LogColor(prodsMap, Colors.red)";
-__c.LogImpl("322151244",BA.ObjectToString(_prodsmap),__c.Colors.Red);
+__c.LogImpl("857868364",BA.ObjectToString(_prodsmap),__c.Colors.Red);
//BA.debugLineNum = 583;BA.debugLine="reconstruirPedido = True";
_reconstruirpedido = __c.True;
//BA.debugLineNum = 584;BA.debugLine="promoABorrar = esteTag.Get(3)";
@@ -414,7 +414,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje
if ((double)(Double.parseDouble(_lacant.getText()))<0) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 591;BA.debugLine="Log(\"NO ES promo\")";
-__c.LogImpl("322151253","NO ES promo",0);
+__c.LogImpl("857868373","NO ES promo",0);
//BA.debugLineNum = 592;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'"));
//BA.debugLineNum = 593;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr";
@@ -432,7 +432,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje
if ((double)(Double.parseDouble(_lacant.getText()))<0) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 600;BA.debugLine="Log(\"NO ES promo\")";
-__c.LogImpl("322151262","NO ES promo",0);
+__c.LogImpl("857868382","NO ES promo",0);
//BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), BCAJAS = 0, CANTC = 0 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'"));
//BA.debugLineNum = 602;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro";
@@ -451,7 +451,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje
if ((double)(Double.parseDouble(_lacant.getText()))<0) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 611;BA.debugLine="Log(\"NO ES promo\")";
-__c.LogImpl("322151273","NO ES promo",0);
+__c.LogImpl("857868393","NO ES promo",0);
//BA.debugLineNum = 616;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\"";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))})));
@@ -491,7 +491,7 @@ _b4xpage_appear();
//BA.debugLineNum = 636;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
//BA.debugLineNum = 637;BA.debugLine="Log(\"PU: \" & preciou)";
-__c.LogImpl("322151299","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("857868419","PU: "+BA.NumberToString(_preciou),0);
//BA.debugLineNum = 648;BA.debugLine="End Sub";
return "";
}
@@ -507,9 +507,9 @@ float _preciou = 0f;
//BA.debugLineNum = 973;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 974;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
-__c.LogImpl("322609922","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("858327042","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 975;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("322609923","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("858327043","b_prodMenos_Click",__c.Colors.Magenta);
//BA.debugLineNum = 976;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 977;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -525,22 +525,22 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag())));
//BA.debugLineNum = 982;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get";
-__c.LogImpl("322609930","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("858327050","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 983;BA.debugLine="Log(esteTag)";
-__c.LogImpl("322609931",BA.ObjectToString(_estetag),0);
+__c.LogImpl("858327051",BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 985;BA.debugLine="If esteTag.Get(7) = \"1\" Then";
if ((_estetag.Get((int) (7))).equals((Object)("1"))) {
//BA.debugLineNum = 986;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\"";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS, CONSECUTIVO FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))})));
//BA.debugLineNum = 987;BA.debugLine="Log(c3.RowCount)";
-__c.LogImpl("322609935",BA.NumberToString(_c3.getRowCount()),0);
+__c.LogImpl("858327055",BA.NumberToString(_c3.getRowCount()),0);
//BA.debugLineNum = 988;BA.debugLine="Log(esteTag.Get(8))";
-__c.LogImpl("322609936",BA.ObjectToString(_estetag.Get((int) (8))),0);
+__c.LogImpl("858327056",BA.ObjectToString(_estetag.Get((int) (8))),0);
//BA.debugLineNum = 989;BA.debugLine="If c3.RowCount > 0 Then";
if (_c3.getRowCount()>0) {
//BA.debugLineNum = 990;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")";
-__c.LogImpl("322609938","AQUI VEMOS SI ACTUALIZAMOS",0);
+__c.LogImpl("858327058","AQUI VEMOS SI ACTUALIZAMOS",0);
//BA.debugLineNum = 991;BA.debugLine="c3.Position = 0";
_c3.setPosition((int) (0));
//BA.debugLineNum = 992;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then";
@@ -553,7 +553,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI
};
};
//BA.debugLineNum = 998;BA.debugLine="Log(\"entre al if o algo asi \")";
-__c.LogImpl("322609946","entre al if o algo asi ",0);
+__c.LogImpl("858327066","entre al if o algo asi ",0);
//BA.debugLineNum = 999;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
if ((_lacantc.getText()).equals("")) {
_lacantc.setText(BA.ObjectToCharSequence(0));};
@@ -570,7 +570,7 @@ if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) {
//BA.debugLineNum = 1009;BA.debugLine="If laCantc.Text > 0 Then";
if ((double)(Double.parseDouble(_lacantc.getText()))>0) {
//BA.debugLineNum = 1010;BA.debugLine="Log(\"entre al if o algo asi \")";
-__c.LogImpl("322609958","entre al if o algo asi ",0);
+__c.LogImpl("858327078","entre al if o algo asi ",0);
//BA.debugLineNum = 1011;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
if ((_lacantc.getText()).equals("")) {
_lacantc.setText(BA.ObjectToCharSequence(0));};
@@ -596,7 +596,7 @@ _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec
//BA.debugLineNum = 1027;BA.debugLine="If c3.RowCount > 0 Then";
if (_c3.getRowCount()>0) {
//BA.debugLineNum = 1028;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")";
-__c.LogImpl("322609976","AQUI VEMOS SI ACTUALIZAMOS",0);
+__c.LogImpl("858327096","AQUI VEMOS SI ACTUALIZAMOS",0);
//BA.debugLineNum = 1029;BA.debugLine="c3.Position = 0";
_c3.setPosition((int) (0));
//BA.debugLineNum = 1030;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then";
@@ -609,7 +609,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI
};
};
//BA.debugLineNum = 1036;BA.debugLine="Log(\"entre al if o algo asi \")";
-__c.LogImpl("322609984","entre al if o algo asi ",0);
+__c.LogImpl("858327104","entre al if o algo asi ",0);
//BA.debugLineNum = 1037;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
if ((_lacantc.getText()).equals("")) {
_lacantc.setText(BA.ObjectToCharSequence(0));};
@@ -627,7 +627,7 @@ _b4xpage_appear();
//BA.debugLineNum = 1048;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
//BA.debugLineNum = 1049;BA.debugLine="Log(\"PU: \" & preciou)";
-__c.LogImpl("322609997","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("858327117","PU: "+BA.NumberToString(_preciou),0);
//BA.debugLineNum = 1050;BA.debugLine="End Sub";
return "";
}
@@ -858,7 +858,7 @@ _textcolor = __c.Colors.Black;
//BA.debugLineNum = 174;BA.debugLine="clv_pedido.Add(CreateListItem2(c3.GetString(\"P";
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
//BA.debugLineNum = 175;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P";
-__c.LogImpl("321626987","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
+__c.LogImpl("857344107","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
}else {
//BA.debugLineNum = 177;BA.debugLine="Private bgColor, textColor As Int";
_bgcolor = 0;
@@ -868,7 +868,7 @@ _bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132));
//BA.debugLineNum = 179;BA.debugLine="textColor = Colors.black";
_textcolor = __c.Colors.Black;
//BA.debugLineNum = 180;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P";
-__c.LogImpl("321626992","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
+__c.LogImpl("857344112","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
//BA.debugLineNum = 181;BA.debugLine="clv_pedido.Add(CreateListItem(c3.GetString(\"PE";
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
};
@@ -904,7 +904,7 @@ _c4.setPosition((int) (0));
//BA.debugLineNum = 198;BA.debugLine="cantres = c4.GetString(\"PE_CANT\")";
_cantres = (int)(Double.parseDouble(_c4.GetString("PE_CANT")));
//BA.debugLineNum = 199;BA.debugLine="Log(c4.GetString(\"PE_CANT\"))";
-__c.LogImpl("321627011",_c4.GetString("PE_CANT"),0);
+__c.LogImpl("857344131",_c4.GetString("PE_CANT"),0);
}else {
//BA.debugLineNum = 201;BA.debugLine="cantres = 0";
_cantres = (int) (0);
@@ -1058,9 +1058,9 @@ if ((double)(Double.parseDouble(_arti3))<0) {
_arti = BA.NumberToString(0);
};
//BA.debugLineNum = 296;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)";
-__c.LogImpl("321627108",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0);
+__c.LogImpl("857344228",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0);
//BA.debugLineNum = 297;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)";
-__c.LogImpl("321627109",_arti+","+_arti1+","+_arti2+","+_arti3,0);
+__c.LogImpl("857344229",_arti+","+_arti1+","+_arti2+","+_arti3,0);
//BA.debugLineNum = 298;BA.debugLine="If Cuenta + Cuenta1 + Cuenta2 + Cuenta3 < 0 Then";
if ((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))<0) {
//BA.debugLineNum = 299;BA.debugLine="L_TOTAL.Text = 0";
@@ -1368,7 +1368,7 @@ return "";
public String _p_prods_click() throws Exception{
//BA.debugLineNum = 924;BA.debugLine="Sub p_prods_Click";
//BA.debugLineNum = 925;BA.debugLine="Log(Sender.As(Panel).tag)";
-__c.LogImpl("322478849",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0);
+__c.LogImpl("858195969",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0);
//BA.debugLineNum = 926;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java
index 2670bfd..13b7df8 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java
@@ -147,7 +147,7 @@ String _flash = "";
//BA.debugLineNum = 129;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances";
_f = _camex._getfocusdistances /*float[]*/ ();
//BA.debugLineNum = 130;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))";
-__c.LogImpl("323658498",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0);
+__c.LogImpl("859375618",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0);
//BA.debugLineNum = 131;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM";
_flashmodes = new anywheresoftware.b4a.objects.collections.List();
_flashmodes = _camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ ();
@@ -307,7 +307,7 @@ _camex._commitparameters /*String*/ ();
//BA.debugLineNum = 55;BA.debugLine="camEx.StartPreview";
_camex._startpreview /*String*/ ();
//BA.debugLineNum = 56;BA.debugLine="Log(camEx.GetPreviewSize)";
-__c.LogImpl("323265285",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0);
+__c.LogImpl("858982405",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0);
}else {
//BA.debugLineNum = 58;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True);
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java
index d2b242e..ab4a6d5 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java
@@ -93,7 +93,7 @@ anywheresoftware.b4a.objects.collections.Map _cym = null;
//BA.debugLineNum = 385;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 387;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
-__c.LogImpl("324576003","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("860293123","b_prodMas_Click",__c.Colors.Magenta);
//BA.debugLineNum = 388;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 389;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -109,18 +109,18 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
//BA.debugLineNum = 396;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&";
-__c.LogImpl("324576012","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("860293132","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 397;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0";
if ((_lacant.getText()).equals("")) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 399;BA.debugLine="Private maxProds as string = esteTag.Get(1) + est";
_maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))));
//BA.debugLineNum = 401;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
-__c.LogImpl("324576017",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("860293137",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
//BA.debugLineNum = 403;BA.debugLine="If laCant.Text + 1 <= maxProds Then";
if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
//BA.debugLineNum = 404;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)";
-__c.LogImpl("324576020",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
+__c.LogImpl("860293140",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
//BA.debugLineNum = 405;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$";
_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+"")));
//BA.debugLineNum = 406;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod";
@@ -150,9 +150,9 @@ anywheresoftware.b4a.objects.collections.Map _cym = null;
//BA.debugLineNum = 342;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 343;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
-__c.LogImpl("324510466","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("860227586","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 344;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("324510467","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("860227587","b_prodMenos_Click",__c.Colors.Magenta);
//BA.debugLineNum = 345;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 346;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -168,11 +168,11 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
//BA.debugLineNum = 351;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get(";
-__c.LogImpl("324510474","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("860227594","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 352;BA.debugLine="If esteTag.Get(3) <> \"1\" Then 'Si es PROMO entonc";
if ((_estetag.Get((int) (3))).equals((Object)("1")) == false) {
//BA.debugLineNum = 353;BA.debugLine="Log(\"ES PROMO\")";
-__c.LogImpl("324510476","ES PROMO",0);
+__c.LogImpl("860227596","ES PROMO",0);
//BA.debugLineNum = 354;BA.debugLine="result = Msgbox2(\"Si se modifica una promoción,";
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
//BA.debugLineNum = 355;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Quitam";
@@ -184,7 +184,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENT
//BA.debugLineNum = 358;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' WHERE HVD_cliente in (Select CUENTA from cuentaa) AND HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"'"));
//BA.debugLineNum = 359;BA.debugLine="LogColor(prodsMap, Colors.red)";
-__c.LogImpl("324510482",BA.ObjectToString(_prodsmap),__c.Colors.Red);
+__c.LogImpl("860227602",BA.ObjectToString(_prodsmap),__c.Colors.Red);
//BA.debugLineNum = 360;BA.debugLine="reconstruirPedido = True";
_reconstruirpedido = __c.True;
//BA.debugLineNum = 361;BA.debugLine="promoABorrar = esteTag.Get(3)";
@@ -207,7 +207,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunap
//BA.debugLineNum = 370;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
//BA.debugLineNum = 371;BA.debugLine="Log(\"PU: \" & preciou)";
-__c.LogImpl("324510494","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("860227614","PU: "+BA.NumberToString(_preciou),0);
//BA.debugLineNum = 377;BA.debugLine="Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2))";
_subs._prodrechazo /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2))));
//BA.debugLineNum = 378;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p";
@@ -327,7 +327,7 @@ _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE")));
//BA.debugLineNum = 114;BA.debugLine="Log($\"VENTA: ${vc.RowCount}\"$)";
-__c.LogImpl("324051767",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0);
+__c.LogImpl("859768887",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0);
//BA.debugLineNum = 115;BA.debugLine="If vc.RowCount > 0 Then";
if (_vc.getRowCount()>0) {
//BA.debugLineNum = 118;BA.debugLine="textColor = Colors.RGB(0,87,142)";
@@ -613,13 +613,13 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _z = null;
String _cantidad2 = "";
//BA.debugLineNum = 429;BA.debugLine="Sub cuentaProds(accion As String)";
//BA.debugLineNum = 431;BA.debugLine="Log(\"*********************************************";
-__c.LogImpl("324641538","*******************************************************",0);
+__c.LogImpl("860358658","*******************************************************",0);
//BA.debugLineNum = 432;BA.debugLine="Private cantRechazada As Int = 0";
_cantrechazada = (int) (0);
//BA.debugLineNum = 433;BA.debugLine="If Not(reconstruirPedido) Then";
if (__c.Not(_reconstruirpedido)) {
//BA.debugLineNum = 434;BA.debugLine="Log(\"*********** CUENTAPRODS - NO RECONSTRUIR\")";
-__c.LogImpl("324641541","*********** CUENTAPRODS - NO RECONSTRUIR",0);
+__c.LogImpl("860358661","*********** CUENTAPRODS - NO RECONSTRUIR",0);
//BA.debugLineNum = 435;BA.debugLine="prodsMap.Initialize";
_prodsmap.Initialize();
//BA.debugLineNum = 436;BA.debugLine="For i = 0 To clv_pedido.GetSize - 1";
@@ -644,9 +644,9 @@ _cant1.setText(BA.ObjectToCharSequence(0));};
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag())));
//BA.debugLineNum = 443;BA.debugLine="Log(\"-------------------------------------\")";
-__c.LogImpl("324641550","-------------------------------------",0);
+__c.LogImpl("860358670","-------------------------------------",0);
//BA.debugLineNum = 444;BA.debugLine="Log($\"ET: ${esteTag}\"$)";
-__c.LogImpl("324641551",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0);
+__c.LogImpl("860358671",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0);
//BA.debugLineNum = 445;BA.debugLine="Private esteProd As String = esteTag.Get(2)";
_esteprod = BA.ObjectToString(_estetag.Get((int) (2)));
//BA.debugLineNum = 446;BA.debugLine="Private estaCant As Int = cant1.Text";
@@ -669,9 +669,9 @@ _cant1.setText(BA.ObjectToCharSequence(_maxprods));};
//BA.debugLineNum = 456;BA.debugLine="cantRechazada = esteTag.Get(4) - cant1.Text";
_cantrechazada = (int) ((double)(BA.ObjectToNumber(_estetag.Get((int) (4))))-(double)(Double.parseDouble(_cant1.getText())));
//BA.debugLineNum = 459;BA.debugLine="Log($\"${Subs.traeCantidadRechazada(esteClienteO";
-__c.LogImpl("324641566",(""+__c.SmartStringFormatter("",(Object)(_subs._traecantidadrechazada /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traecantidadvendida /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+""),0);
+__c.LogImpl("860358686",(""+__c.SmartStringFormatter("",(Object)(_subs._traecantidadrechazada /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traecantidadvendida /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+""),0);
//BA.debugLineNum = 462;BA.debugLine="LogColor($\"cantRechazada = ${cantRechazada}\"$,";
-__c.LogImpl("324641569",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta);
+__c.LogImpl("860358689",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta);
//BA.debugLineNum = 463;BA.debugLine="Private estePrecio As String = 0";
_esteprecio = BA.NumberToString(0);
//BA.debugLineNum = 464;BA.debugLine="If Subs.traePrecio(esteProd, 1) <> Null Then es";
@@ -687,7 +687,7 @@ _rr.setPosition((int) (0));
//BA.debugLineNum = 473;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then";
if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 474;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")";
-__c.LogImpl("324641581","INSERTAMOS EN REPARTO",0);
+__c.LogImpl("860358701","INSERTAMOS EN REPARTO",0);
//BA.debugLineNum = 475;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_estecliente,_esteprodnombre,BA.NumberToString(0),_esteprecio,_fechareparto,_esteprod,_esteprecio,_estecliente}));
//BA.debugLineNum = 476;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart";
@@ -695,7 +695,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into repa
}else if(_esteclienteoriginal==(double)(Double.parseDouble("0"))) {
}else {
//BA.debugLineNum = 481;BA.debugLine="Log($\"Actualizamos REP_CANT RECHAZO = ${cantRe";
-__c.LogImpl("324641588",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0);
+__c.LogImpl("860358708",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0);
};
//BA.debugLineNum = 486;BA.debugLine="If cant1.Text > 0 Then";
if ((double)(Double.parseDouble(_cant1.getText()))>0) {
@@ -707,7 +707,7 @@ _m = __c.createMap(new Object[] {(Object)("cant"),(Object)(_cant1.getText()),(Ob
_prodsmap.Put(_estetag.Get((int) (2)),(Object)(_m.getObject()));
};
//BA.debugLineNum = 494;BA.debugLine="Log(\"-------------------------------------\")";
-__c.LogImpl("324641601","-------------------------------------",0);
+__c.LogImpl("860358721","-------------------------------------",0);
}
};
};
@@ -717,14 +717,14 @@ _textcolor = 0;
//BA.debugLineNum = 499;BA.debugLine="If reconstruirPedido Then";
if (_reconstruirpedido) {
//BA.debugLineNum = 500;BA.debugLine="Log(\"*********** CUENTAPRODS - SI RECONSTRUIR\")";
-__c.LogImpl("324641607","*********** CUENTAPRODS - SI RECONSTRUIR",0);
+__c.LogImpl("860358727","*********** CUENTAPRODS - SI RECONSTRUIR",0);
//BA.debugLineNum = 501;BA.debugLine="Private newPromo, newPrecio As String";
_newpromo = "";
_newprecio = "";
//BA.debugLineNum = 502;BA.debugLine="clv_pedido.Clear";
_clv_pedido._clear();
//BA.debugLineNum = 503;BA.debugLine="Log(\"Usamos PRODSMAP\")";
-__c.LogImpl("324641610","Usamos PRODSMAP",0);
+__c.LogImpl("860358730","Usamos PRODSMAP",0);
//BA.debugLineNum = 504;BA.debugLine="For Each pr As String In prodsMap.Keys";
{
final anywheresoftware.b4a.BA.IterableList group53 = _prodsmap.Keys();
@@ -737,7 +737,7 @@ _pr = BA.ObjectToString(group53.Get(index53));
_pr1 = new anywheresoftware.b4a.objects.collections.Map();
_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_pr))));
//BA.debugLineNum = 506;BA.debugLine="Log(\"PPP: \" & pr & \"|PromoABorrar=\" & promoABor";
-__c.LogImpl("324641613","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0);
+__c.LogImpl("860358733","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0);
//BA.debugLineNum = 507;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul";
_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249));
//BA.debugLineNum = 508;BA.debugLine="textColor = Colors.black";
@@ -747,7 +747,7 @@ _newpromo = BA.ObjectToString(_pr1.Get((Object)("promo")));
//BA.debugLineNum = 510;BA.debugLine="newPrecio = pr1.Get(\"precio\")";
_newprecio = BA.ObjectToString(_pr1.Get((Object)("precio")));
//BA.debugLineNum = 511;BA.debugLine="Log(\"AAA: \" & newPromo & \"|\" & promoABorrar)";
-__c.LogImpl("324641618","AAA: "+_newpromo+"|"+_promoaborrar,0);
+__c.LogImpl("860358738","AAA: "+_newpromo+"|"+_promoaborrar,0);
//BA.debugLineNum = 512;BA.debugLine="If newPromo = promoABorrar Then";
if ((_newpromo).equals(_promoaborrar)) {
//BA.debugLineNum = 513;BA.debugLine="newPromo = 1";
@@ -757,7 +757,7 @@ _newprecio = BA.NumberToString((double)(Double.parseDouble(_subs._traeprecio /*S
//BA.debugLineNum = 516;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_COSTO_TOT = "+__c.SmartStringFormatter("",(Object)(_newprecio))+", HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' WHERE HVD_PRONOMBRE = '"+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+"' and HVD_cliente in (Select CUENTA from cuentaa)"));
//BA.debugLineNum = 517;BA.debugLine="LogColor(\"CAMBIAMOS PROMO: \" & newPromo, Color";
-__c.LogImpl("324641624","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta);
+__c.LogImpl("860358744","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta);
};
//BA.debugLineNum = 519;BA.debugLine="If newPromo <> \"1\" Then";
if ((_newpromo).equals("1") == false) {
@@ -765,7 +765,7 @@ if ((_newpromo).equals("1") == false) {
_bgcolor = __c.Colors.White;
};
//BA.debugLineNum = 523;BA.debugLine="Log($\"CLI: ${pr1.Get(\"nombre\")}, ${newPrecio},";
-__c.LogImpl("324641630",("CLI: "+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+", "+__c.SmartStringFormatter("",(Object)(_newprecio))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant")))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant2")))+""),0);
+__c.LogImpl("860358750",("CLI: "+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+", "+__c.SmartStringFormatter("",(Object)(_newprecio))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant")))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant2")))+""),0);
//BA.debugLineNum = 524;BA.debugLine="clv_pedido.Add(CreateListItem(pr1.Get(\"nombre\")";
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(BA.ObjectToString(_pr1.Get((Object)("nombre"))),_newprecio,(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant")))),(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant2")))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (50)),_bmp,_pr,_bgcolor,_textcolor,_newpromo,BA.ObjectToString(_pr1.Get((Object)("cli_orig")))).getObject())),_pr1.Get((Object)("nombre")));
//BA.debugLineNum = 525;BA.debugLine="reconstruirPedido = False";
@@ -776,11 +776,11 @@ _reconstruirpedido = __c.False;
_promoaborrar = "";
};
//BA.debugLineNum = 529;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $";
-__c.LogImpl("324641636",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);
+__c.LogImpl("860358756",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);
//BA.debugLineNum = 530;BA.debugLine="LogColor(\"prodsMap=\" & prodsMap, Colors.Green)";
-__c.LogImpl("324641637","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green);
+__c.LogImpl("860358757","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green);
//BA.debugLineNum = 533;BA.debugLine="LogColor(prodsMap, Colors.Blue)";
-__c.LogImpl("324641640",BA.ObjectToString(_prodsmap),__c.Colors.Blue);
+__c.LogImpl("860358760",BA.ObjectToString(_prodsmap),__c.Colors.Blue);
//BA.debugLineNum = 534;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT sum(HVD_CANT)";
_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 sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));
//BA.debugLineNum = 535;BA.debugLine="Dim cantidad1 As String = 0";
@@ -902,7 +902,7 @@ return "";
public String _p_prods_click() throws Exception{
//BA.debugLineNum = 602;BA.debugLine="Sub p_prods_Click";
//BA.debugLineNum = 603;BA.debugLine="Log(Sender.As(Panel).tag)";
-__c.LogImpl("324838145",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0);
+__c.LogImpl("860555265",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0);
//BA.debugLineNum = 604;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java
index d700caa..012cefc 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java
@@ -372,7 +372,7 @@ this.state = 53;
//BA.debugLineNum = 99;BA.debugLine="rv.Position = i2";
_rv.setPosition(_i2);
//BA.debugLineNum = 100;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Ge";
-parent.__c.LogImpl("316449580",("Actualizamos REPARTO - cliente="+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0);
+parent.__c.LogImpl("852166700",("Actualizamos REPARTO - cliente="+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0);
//BA.debugLineNum = 101;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO s";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update REPARTO set REP_CANT = REP_CANT + "+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+" where REP_RECHAZO = '1' and REP_CLIENTE = '"+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"'"));
if (true) break;
@@ -420,7 +420,7 @@ this.state = 55;
//BA.debugLineNum = 107;BA.debugLine="c.Position=i";
parent._c.setPosition(_i);
//BA.debugLineNum = 108;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGIST";
-parent.__c.LogImpl("316449588",("REGISTRO= "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_NUM_REGISTRO")))+""),0);
+parent.__c.LogImpl("852166708",("REGISTRO= "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_NUM_REGISTRO")))+""),0);
//BA.debugLineNum = 109;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PRONOMBRE"),parent._c.GetString("HVD_CANT"),parent._c.GetString("HVD_COSTO_TOT"),parent._c.GetString("HVD_FECHA"),parent._c.GetString("HVD_PROID"),parent._c.GetString("CAT_GP_PRECIO"),parent._c.GetString("HVD_NUM_REGISTRO"),parent._c.GetString("HVD_CLIENTE")}));
//BA.debugLineNum = 110;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar";
@@ -586,12 +586,12 @@ Object[] _records = null;
String _k = "";
//BA.debugLineNum = 176;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 177;BA.debugLine="Log(Job.Success)";
-__c.LogImpl("316580609",BA.ObjectToString(_job._success /*boolean*/ ),0);
+__c.LogImpl("852297729",BA.ObjectToString(_job._success /*boolean*/ ),0);
//BA.debugLineNum = 178;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
}else {
//BA.debugLineNum = 181;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("316580613","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+__c.LogImpl("852297733","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
//BA.debugLineNum = 182;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 183;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
@@ -603,7 +603,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
//BA.debugLineNum = 186;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24));
//BA.debugLineNum = 187;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
-__c.LogImpl("316580619",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
+__c.LogImpl("852297739",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
//BA.debugLineNum = 188;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"}));
//BA.debugLineNum = 189;BA.debugLine="For Each records() As Object In resultado.Rows";
@@ -623,7 +623,7 @@ final int groupLen13 = group13.getSize()
for (; index13 < groupLen13;index13++){
_k = BA.ObjectToString(group13.Get(index13));
//BA.debugLineNum = 191;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
-__c.LogImpl("316580623",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
+__c.LogImpl("852297743",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -643,7 +643,7 @@ reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
//BA.debugLineNum = 157;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI";
_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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1")));
//BA.debugLineNum = 158;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)";
-__c.LogImpl("316515074",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
+__c.LogImpl("852232194",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
//BA.debugLineNum = 159;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 160;BA.debugLine="For i=0 To c.RowCount -1";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java
index 2e8379c..6f68c18 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java
@@ -222,10 +222,10 @@ if ((_c.GetString("gestion")).equals("2")) {
//BA.debugLineNum = 1923;BA.debugLine="ESTATUS = \"ENTREGADO\"";
_estatus = "ENTREGADO";
//BA.debugLineNum = 1924;BA.debugLine="Log(\"entrega\")";
-__c.LogImpl("37667740","entrega",0);
+__c.LogImpl("843319324","entrega",0);
}else if((_c.GetString("gestion")).equals("3")) {
//BA.debugLineNum = 1926;BA.debugLine="Log(\"no entrega\")";
-__c.LogImpl("37667742","no entrega",0);
+__c.LogImpl("843319326","no entrega",0);
//BA.debugLineNum = 1927;BA.debugLine="ESTATUS = \"RECHAZADO\"";
_estatus = "RECHAZADO";
}else {
@@ -366,7 +366,7 @@ _totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(
//BA.debugLineNum = 2007;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD";
_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")+" - "+_c.GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+_estatus));
//BA.debugLineNum = 2008;BA.debugLine="Log(\"si entre2\")";
-__c.LogImpl("37667824","si entre2",0);
+__c.LogImpl("843319408","si entre2",0);
}else if((_estatus).equals("RECHAZADO")) {
//BA.debugLineNum = 2012;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery";
_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
@@ -500,7 +500,7 @@ _totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(
//BA.debugLineNum = 2083;BA.debugLine="Private TOTALcantidad As String = arti + arti";
_totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3)));
//BA.debugLineNum = 2085;BA.debugLine="Log(\"si entre\")";
-__c.LogImpl("37667901","si entre",0);
+__c.LogImpl("843319485","si entre",0);
//BA.debugLineNum = 2086;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD";
_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")+" - "+_c.GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+_estatus));
};
@@ -599,7 +599,7 @@ return "";
public String _b_regresa_click() throws Exception{
//BA.debugLineNum = 2123;BA.debugLine="Sub B_REGRESA_Click";
//BA.debugLineNum = 2124;BA.debugLine="Log(\"B_REGRESA_Click\")";
-__c.LogImpl("37733249","B_REGRESA_Click",0);
+__c.LogImpl("843384833","B_REGRESA_Click",0);
//BA.debugLineNum = 2125;BA.debugLine="BUSCA.Visible = False";
_busca.setVisible(__c.False);
//BA.debugLineNum = 2126;BA.debugLine="connecta.Visible = True";
@@ -1059,7 +1059,7 @@ _totalcantped = _r6.GetString("PE_CANT");
_totalcantped = BA.NumberToString(0);
};
//BA.debugLineNum = 419;BA.debugLine="Log(r5.GetString(\"HVD_CLIENTE\")&\"---- ID";
-__c.LogImpl("36488312",_r5.GetString("HVD_CLIENTE")+"---- ID "+_r5.GetString("HVD_PROID")+" ///// "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped+" $$$$$$$$$$$$ "+BA.NumberToString((((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_totalcantped)))))),0);
+__c.LogImpl("842139896",_r5.GetString("HVD_CLIENTE")+"---- ID "+_r5.GetString("HVD_PROID")+" ///// "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped+" $$$$$$$$$$$$ "+BA.NumberToString((((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_totalcantped)))))),0);
//BA.debugLineNum = 420;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T";
_rescant = BA.NumberToString((double)(Double.parseDouble(_rescant))+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_totalcantped))))));
//BA.debugLineNum = 422;BA.debugLine="r6.Close";
@@ -1071,7 +1071,7 @@ _r6.Close();
if ((_rescant).equals("NaN")) {
_rescant = BA.NumberToString(0);};
//BA.debugLineNum = 426;BA.debugLine="LogColor(rescant,Colors.Red)";
-__c.LogImpl("36488319",_rescant,__c.Colors.Red);
+__c.LogImpl("842139903",_rescant,__c.Colors.Red);
//BA.debugLineNum = 427;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 431;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1107,7 +1107,7 @@ _r6.Close();
if (_rescant2==(double)(Double.parseDouble("NaN"))) {
_rescant2 = 0;};
//BA.debugLineNum = 448;BA.debugLine="Log(rescant2)";
-__c.LogImpl("36488341",BA.NumberToString(_rescant2),0);
+__c.LogImpl("842139925",BA.NumberToString(_rescant2),0);
//BA.debugLineNum = 449;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 454;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\"";
@@ -1143,7 +1143,7 @@ _rescantr = BA.NumberToString(0);};
//BA.debugLineNum = 470;BA.debugLine="r5r.Close";
_r5r.Close();
//BA.debugLineNum = 472;BA.debugLine="Log(rescantr)";
-__c.LogImpl("36488365",_rescantr,0);
+__c.LogImpl("842139949",_rescantr,0);
//BA.debugLineNum = 474;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\"";
_r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_r5r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' "))));
@@ -1177,9 +1177,9 @@ _rescant2r = BA.NumberToString(0);};
//BA.debugLineNum = 491;BA.debugLine="r5r.Close";
_r5r.Close();
//BA.debugLineNum = 492;BA.debugLine="Log(rescant2r)";
-__c.LogImpl("36488385",_rescant2r,0);
+__c.LogImpl("842139969",_rescant2r,0);
//BA.debugLineNum = 493;BA.debugLine="Log(rescant2r+rescantr)";
-__c.LogImpl("36488386",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0);
+__c.LogImpl("842139970",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0);
//BA.debugLineNum = 509;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\"";
_r55 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_r55 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' "))));
@@ -1203,7 +1203,7 @@ _rescant3 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant3,(int) (0),(i
};
};
//BA.debugLineNum = 519;BA.debugLine="Log(rescant3)";
-__c.LogImpl("36488412",BA.NumberToString(_rescant3),0);
+__c.LogImpl("842139996",BA.NumberToString(_rescant3),0);
//BA.debugLineNum = 520;BA.debugLine="r55.Close";
_r55.Close();
//BA.debugLineNum = 525;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1219,7 +1219,7 @@ _r5.setPosition((int) (0));
_rescant4 = (double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")));
};
//BA.debugLineNum = 531;BA.debugLine="Log(rescant4)";
-__c.LogImpl("36488424",BA.NumberToString(_rescant4),0);
+__c.LogImpl("842140008",BA.NumberToString(_rescant4),0);
//BA.debugLineNum = 532;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 534;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1235,7 +1235,7 @@ _r5.setPosition((int) (0));
_rescant5 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT")));
};
//BA.debugLineNum = 540;BA.debugLine="Log(rescant5)";
-__c.LogImpl("36488433",BA.NumberToString(_rescant5),0);
+__c.LogImpl("842140017",BA.NumberToString(_rescant5),0);
//BA.debugLineNum = 541;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 546;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1269,7 +1269,7 @@ _r6.Close();
if (_rescant6==(double)(Double.parseDouble("NaN"))) {
_rescant6 = 0;};
//BA.debugLineNum = 561;BA.debugLine="LogColor(rescant6,Colors.Red)";
-__c.LogImpl("36488454",BA.NumberToString(_rescant6),__c.Colors.Red);
+__c.LogImpl("842140038",BA.NumberToString(_rescant6),__c.Colors.Red);
//BA.debugLineNum = 562;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 564;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1303,7 +1303,7 @@ _r6.Close();
if (_rescant7==(double)(Double.parseDouble("NaN"))) {
_rescant7 = 0;};
//BA.debugLineNum = 577;BA.debugLine="Log(rescant7)";
-__c.LogImpl("36488470",BA.NumberToString(_rescant7),0);
+__c.LogImpl("842140054",BA.NumberToString(_rescant7),0);
//BA.debugLineNum = 578;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 580;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\"";
@@ -1333,7 +1333,7 @@ _pztotal = (int) (_pztotal+(double)(Double.parseDouble(_r55.GetString("HVD_CANT"
};
};
//BA.debugLineNum = 591;BA.debugLine="Log(rescant10)";
-__c.LogImpl("36488484",BA.NumberToString(_rescant10),0);
+__c.LogImpl("842140068",BA.NumberToString(_rescant10),0);
//BA.debugLineNum = 592;BA.debugLine="r55.Close";
_r55.Close();
//BA.debugLineNum = 594;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1353,7 +1353,7 @@ _rescant11 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT")));
_pztotal2 = (int) (_pztotal2+(double)(Double.parseDouble(_r5.GetString("PE_CANT"))));
};
//BA.debugLineNum = 602;BA.debugLine="Log(rescant11)";
-__c.LogImpl("36488495",BA.NumberToString(_rescant11),0);
+__c.LogImpl("842140079",BA.NumberToString(_rescant11),0);
//BA.debugLineNum = 603;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 605;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1379,15 +1379,15 @@ _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec
//BA.debugLineNum = 612;BA.debugLine="r6.Position = 0";
_r6.setPosition((int) (0));
//BA.debugLineNum = 613;BA.debugLine="LogColor(r5.GetString(\"HVD_COSTO_TOT\")&\" / \"& r";
-__c.LogImpl("36488506",_r5.GetString("HVD_COSTO_TOT")+" / "+_r5.GetString("HVD_CANT")+" * "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_r6.GetString("PE_CANT"),__c.Colors.Blue);
+__c.LogImpl("842140090",_r5.GetString("HVD_COSTO_TOT")+" / "+_r5.GetString("HVD_CANT")+" * "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_r6.GetString("PE_CANT"),__c.Colors.Blue);
//BA.debugLineNum = 614;BA.debugLine="LogColor(r6.GetString(\"PE_CANT\"),Colors.Blue)";
-__c.LogImpl("36488507",_r6.GetString("PE_CANT"),__c.Colors.Blue);
+__c.LogImpl("842140091",_r6.GetString("PE_CANT"),__c.Colors.Blue);
//BA.debugLineNum = 615;BA.debugLine="rescant12 = rescant12 + ((r5.GetString(\"HVD_COS";
_rescant12 = _rescant12+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))));
//BA.debugLineNum = 616;BA.debugLine="pztotal3 = pztotal3 + (r5.GetString(\"HVD_CANT\"";
_pztotal3 = (int) (_pztotal3+((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))));
//BA.debugLineNum = 617;BA.debugLine="Log(rescant12)";
-__c.LogImpl("36488510",BA.NumberToString(_rescant12),0);
+__c.LogImpl("842140094",BA.NumberToString(_rescant12),0);
//BA.debugLineNum = 618;BA.debugLine="r6.Close";
_r6.Close();
}
@@ -1397,7 +1397,7 @@ _r6.Close();
if (_rescant12==(double)(Double.parseDouble("NaN"))) {
_rescant12 = 0;};
//BA.debugLineNum = 622;BA.debugLine="LogColor(rescant12,Colors.Red)";
-__c.LogImpl("36488515",BA.NumberToString(_rescant12),__c.Colors.Red);
+__c.LogImpl("842140099",BA.NumberToString(_rescant12),__c.Colors.Red);
//BA.debugLineNum = 623;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 625;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant";
@@ -1409,45 +1409,45 @@ _cltvisitados = (int) (((int)(Double.parseDouble((_l_cuantosc.getText()))))+((in
//BA.debugLineNum = 630;BA.debugLine="B4XPages.MainPage.clientesVisitados = cltVisitado";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = BA.NumberToString(_cltvisitados);
//BA.debugLineNum = 631;BA.debugLine="Log(\"Esto es clientes visitados: \" & B4XPages.Mai";
-__c.LogImpl("36488524","Esto es clientes visitados: "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ ,0);
+__c.LogImpl("842140108","Esto es clientes visitados: "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ ,0);
//BA.debugLineNum = 634;BA.debugLine="B4XPages.MainPage.clientesVenta = NumberFormat2((";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ = __c.NumberFormat2((_rescant10+_rescant11+_rescant12),(int) (0),(int) (2),(int) (2),__c.False);
//BA.debugLineNum = 635;BA.debugLine="Log(\"Esto es Monto Recibido \" & B4XPages.MainPage";
-__c.LogImpl("36488528","Esto es Monto Recibido "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ ,0);
+__c.LogImpl("842140112","Esto es Monto Recibido "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ ,0);
//BA.debugLineNum = 637;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ = _l_cuantosn.getText();
//BA.debugLineNum = 638;BA.debugLine="Log(\"Esto deberia ser el rechazo: \" & l_cuantosn.";
-__c.LogImpl("36488531","Esto deberia ser el rechazo: "+_l_cuantosn.getText(),0);
+__c.LogImpl("842140115","Esto deberia ser el rechazo: "+_l_cuantosn.getText(),0);
//BA.debugLineNum = 639;BA.debugLine="Log(\"clientesRechazo ? \" & B4XPages.MainPage.clie";
-__c.LogImpl("36488532","clientesRechazo ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ ,0);
+__c.LogImpl("842140116","clientesRechazo ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ ,0);
//BA.debugLineNum = 641;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ = _l_porvisitar.getText();
//BA.debugLineNum = 642;BA.debugLine="Log(\"clientestotal ? \" & B4XPages.MainPage.client";
-__c.LogImpl("36488535","clientestotal ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ ,0);
+__c.LogImpl("842140119","clientestotal ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ ,0);
//BA.debugLineNum = 645;BA.debugLine="B4XPages.MainPage.montoActual = l_montoSalida.Tex";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ = _l_montosalida.getText();
//BA.debugLineNum = 646;BA.debugLine="Log(\"montoActual ? \" & B4XPages.MainPage.montoAct";
-__c.LogImpl("36488539","montoActual ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ ,0);
+__c.LogImpl("842140123","montoActual ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ ,0);
//BA.debugLineNum = 648;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ = _l_ctast.getText();
//BA.debugLineNum = 649;BA.debugLine="Log(\"porVisitar ? \" & B4XPages.MainPage.porVisita";
-__c.LogImpl("36488542","porVisitar ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ ,0);
+__c.LogImpl("842140126","porVisitar ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ ,0);
//BA.debugLineNum = 651;BA.debugLine="B4XPages.MainPage.entregas = l_cuantosc.text";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ = _l_cuantosc.getText();
//BA.debugLineNum = 652;BA.debugLine="Log(\"entregas ? \" & B4XPages.MainPage.entregas)";
-__c.LogImpl("36488545","entregas ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ ,0);
+__c.LogImpl("842140129","entregas ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ ,0);
//BA.debugLineNum = 654;BA.debugLine="B4XPages.MainPage.rechazos = l_cuantosn.text";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ = _l_cuantosn.getText();
//BA.debugLineNum = 655;BA.debugLine="Log(\"rechazos ? \" & B4XPages.MainPage.rechazos)";
-__c.LogImpl("36488548","rechazos ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ ,0);
+__c.LogImpl("842140132","rechazos ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ ,0);
//BA.debugLineNum = 658;BA.debugLine="B4XPages.MainPage.montoEntregado = NumberFormat2(";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ = __c.NumberFormat2((_rescant10+_rescant11+_rescant12),(int) (0),(int) (2),(int) (2),__c.False);
//BA.debugLineNum = 659;BA.debugLine="Log(\"montoEntregado ? \" & B4XPages.MainPage.monto";
-__c.LogImpl("36488552","montoEntregado ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ ,0);
+__c.LogImpl("842140136","montoEntregado ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ ,0);
//BA.debugLineNum = 661;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ = _l_rechazo.getText();
//BA.debugLineNum = 662;BA.debugLine="Log(\"montoRechazado ? \" & B4XPages.MainPage.monto";
-__c.LogImpl("36488555","montoRechazado ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ ,0);
+__c.LogImpl("842140139","montoRechazado ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ ,0);
//BA.debugLineNum = 664;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 667;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th";
@@ -1519,7 +1519,7 @@ case 3:
//C
this.state = 10;
//BA.debugLineNum = 1784;BA.debugLine="Log(\"PANEL1 VISIBLE\")";
-parent.__c.LogImpl("37208963","PANEL1 VISIBLE",0);
+parent.__c.LogImpl("842860547","PANEL1 VISIBLE",0);
//BA.debugLineNum = 1785;BA.debugLine="B_REGRESA_Click";
parent._b_regresa_click();
if (true) break;
@@ -1717,11 +1717,11 @@ _cp.setPosition((int) (0));
//BA.debugLineNum = 1051;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA";
_fecha = _cp.GetString("NV_FECHA");
//BA.debugLineNum = 1052;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))";
-__c.LogImpl("36946822",_cp.GetString("NV_FECHA"),0);
+__c.LogImpl("842598406",_cp.GetString("NV_FECHA"),0);
//BA.debugLineNum = 1053;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)";
_fecha2 = __c.Regex.Split(" ",_fecha);
//BA.debugLineNum = 1054;BA.debugLine="Log(fecha2(0))";
-__c.LogImpl("36946824",_fecha2[(int) (0)],0);
+__c.LogImpl("842598408",_fecha2[(int) (0)],0);
//BA.debugLineNum = 1055;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2(";
_fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]);
//BA.debugLineNum = 1056;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
@@ -1731,11 +1731,11 @@ __c.DateTime.setTimeFormat("");
//BA.debugLineNum = 1058;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1";
_dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)];
//BA.debugLineNum = 1059;BA.debugLine="Log(dia)";
-__c.LogImpl("36946829",_dia,0);
+__c.LogImpl("842598413",_dia,0);
//BA.debugLineNum = 1060;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)";
_dia2 = __c.DateTime.Date(__c.DateTime.getNow());
//BA.debugLineNum = 1061;BA.debugLine="Log(dia & \" , \" & dia2)";
-__c.LogImpl("36946831",_dia+" , "+_dia2,0);
+__c.LogImpl("842598415",_dia+" , "+_dia2,0);
//BA.debugLineNum = 1062;BA.debugLine="If dia < dia2 Then";
if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) {
//BA.debugLineNum = 1063;BA.debugLine="pedidodiaanterior = True";
@@ -1745,7 +1745,7 @@ _pedidodiaanterior = __c.True;
//BA.debugLineNum = 1066;BA.debugLine="If Not (pedidodiaanterior) Then";
if (__c.Not(_pedidodiaanterior)) {
//BA.debugLineNum = 1068;BA.debugLine="Log(\"CUMPLE\")";
-__c.LogImpl("36946838","CUMPLE",0);
+__c.LogImpl("842598422","CUMPLE",0);
//BA.debugLineNum = 1069;BA.debugLine="EJECUTANDO = 1";
_ejecutando = BA.NumberToString(1);
//BA.debugLineNum = 1070;BA.debugLine="reqs.Initialize";
@@ -1753,7 +1753,7 @@ _reqs.Initialize();
//BA.debugLineNum = 1071;BA.debugLine="TOPE = 0";
_tope = (int) (0);
//BA.debugLineNum = 1072;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve";
-__c.LogImpl("36946842",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("842598426",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
//BA.debugLineNum = 1073;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv";
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 1075;BA.debugLine="Dim cmd As DBCommand";
@@ -1781,7 +1781,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTE
//BA.debugLineNum = 1089;BA.debugLine="If l_ruta.Text = \"0\" Then '";
if ((_l_ruta.getText()).equals("0")) {
//BA.debugLineNum = 1090;BA.debugLine="Log(\"********************* No hay ruta, BORRAM";
-__c.LogImpl("36946860","********************* No hay ruta, BORRAMOS TODO",0);
+__c.LogImpl("842598444","********************* No hay ruta, BORRAMOS TODO",0);
//BA.debugLineNum = 1091;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod");
//BA.debugLineNum = 1092;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
@@ -1796,7 +1796,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA");
}else {
//BA.debugLineNum = 1098;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM";
-__c.LogImpl("36946868","********************* Hay ruta, NO BORRAMOS TODO",0);
+__c.LogImpl("842598452","********************* Hay ruta, NO BORRAMOS TODO",0);
};
//BA.debugLineNum = 1102;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa")));
@@ -1813,7 +1813,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
//BA.debugLineNum = 1109;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo"));
//BA.debugLineNum = 1110;BA.debugLine="Log($\"Pedimos Punteo\"$)";
-__c.LogImpl("36946880",("Pedimos Punteo"),0);
+__c.LogImpl("842598464",("Pedimos Punteo"),0);
//BA.debugLineNum = 1111;BA.debugLine="reqs.Add(\"punteo\")";
_reqs.Add((Object)("punteo"));
//BA.debugLineNum = 1114;BA.debugLine="cmd.Initialize";
@@ -1825,7 +1825,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
//BA.debugLineNum = 1117;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod"));
//BA.debugLineNum = 1118;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te";
-__c.LogImpl("36946888",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0);
+__c.LogImpl("842598472",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0);
//BA.debugLineNum = 1119;BA.debugLine="reqs.Add(\"gunaprod\")";
_reqs.Add((Object)("gunaprod"));
//BA.debugLineNum = 1123;BA.debugLine="cmd.Initialize";
@@ -1837,7 +1837,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
//BA.debugLineNum = 1126;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos"));
//BA.debugLineNum = 1127;BA.debugLine="Log($\"Pedimos kmt_datos\"$)";
-__c.LogImpl("36946897",("Pedimos kmt_datos"),0);
+__c.LogImpl("842598481",("Pedimos kmt_datos"),0);
//BA.debugLineNum = 1128;BA.debugLine="reqs.Add(\"kmt_datos\")";
_reqs.Add((Object)("kmt_datos"));
//BA.debugLineNum = 1130;BA.debugLine="cmd.Initialize";
@@ -1849,7 +1849,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
//BA.debugLineNum = 1133;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos"));
//BA.debugLineNum = 1134;BA.debugLine="Log($\"Pedimos hist_datos\"$)";
-__c.LogImpl("36946904",("Pedimos hist_datos"),0);
+__c.LogImpl("842598488",("Pedimos hist_datos"),0);
//BA.debugLineNum = 1135;BA.debugLine="reqs.Add(\"hist_datos\")";
_reqs.Add((Object)("hist_datos"));
//BA.debugLineNum = 1137;BA.debugLine="cmd.Initialize";
@@ -1905,7 +1905,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_
_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)("CARGA_DIA"),(Object)(1)}));
}else {
//BA.debugLineNum = 1199;BA.debugLine="Log(\"XXXX\")";
-__c.LogImpl("36946969","XXXX",0);
+__c.LogImpl("842598553","XXXX",0);
//BA.debugLineNum = 1200;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);
};
@@ -2134,7 +2134,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null;
String _rutaquetraje = "";
//BA.debugLineNum = 1797;BA.debugLine="Sub connecta_Click";
//BA.debugLineNum = 1798;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
-__c.LogImpl("37274497",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("842926081",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
//BA.debugLineNum = 1799;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N";
if (__c.Not(_isconnectedtointernet())) {
__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);};
@@ -2148,7 +2148,7 @@ if (_rut.getRowCount()==0) {
//BA.debugLineNum = 1804;BA.debugLine="cargadedia";
_cargadedia();
//BA.debugLineNum = 1805;BA.debugLine="Log(1.1)";
-__c.LogImpl("37274504",BA.NumberToString(1.1),0);
+__c.LogImpl("842926088",BA.NumberToString(1.1),0);
}else {
//BA.debugLineNum = 1807;BA.debugLine="rut.Position = 0";
_rut.setPosition((int) (0));
@@ -2159,10 +2159,10 @@ if ((_rutaquetraje).equals(_e_ruta.getText())) {
//BA.debugLineNum = 1810;BA.debugLine="cargadedia";
_cargadedia();
//BA.debugLineNum = 1811;BA.debugLine="Log(2.1)";
-__c.LogImpl("37274510",BA.NumberToString(2.1),0);
+__c.LogImpl("842926094",BA.NumberToString(2.1),0);
}else {
//BA.debugLineNum = 1813;BA.debugLine="Log(2.2)";
-__c.LogImpl("37274512",BA.NumberToString(2.2),0);
+__c.LogImpl("842926096",BA.NumberToString(2.2),0);
//BA.debugLineNum = 1814;BA.debugLine="MsgboxAsync(\"Cargaste una ruta diferente. Por";
__c.MsgboxAsync(BA.ObjectToCharSequence("Cargaste una ruta diferente. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba);
};
@@ -2179,13 +2179,13 @@ _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 2237;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 2238;BA.debugLine="Log($\"Procesando REPARTO_GEO: ${c.RowCount} regi";
-__c.LogImpl("38388611",("Procesando REPARTO_GEO: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+" registros"),0);
+__c.LogImpl("844040195",("Procesando REPARTO_GEO: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 2239;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
_totalregistros = (int) (_totalregistros+_c.getRowCount());
//BA.debugLineNum = 2240;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
_totalregistrostotales = (int) (_totalregistrostotales+_c.getRowCount());
//BA.debugLineNum = 2241;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-__c.LogImpl("38388614",("Total acumulado: "+__c.SmartStringFormatter("",(Object)(_totalregistros))+""),0);
+__c.LogImpl("844040198",("Total acumulado: "+__c.SmartStringFormatter("",(Object)(_totalregistros))+""),0);
//BA.debugLineNum = 2243;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step7 = 1;
@@ -2325,11 +2325,11 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 766;BA.debugLine="Log(\"*** Entramos a envia info***\")";
-parent.__c.LogImpl("36881282","*** Entramos a envia info***",0);
+parent.__c.LogImpl("842532866","*** Entramos a envia info***",0);
//BA.debugLineNum = 767;BA.debugLine="Log(\"--- Entramos a envia info---\")";
-parent.__c.LogImpl("36881283","--- Entramos a envia info---",0);
+parent.__c.LogImpl("842532867","--- Entramos a envia info---",0);
//BA.debugLineNum = 768;BA.debugLine="Log(\"### Entramos a envia info###\")";
-parent.__c.LogImpl("36881284","### Entramos a envia info###",0);
+parent.__c.LogImpl("842532868","### Entramos a envia info###",0);
//BA.debugLineNum = 769;BA.debugLine="successfulRequests = 0";
parent._successfulrequests = (int) (0);
//BA.debugLineNum = 770;BA.debugLine="totalRegistros = 0";
@@ -2358,13 +2358,13 @@ case 3:
//C
this.state = 4;
//BA.debugLineNum = 778;BA.debugLine="Log($\"Procesando NOVENTA: ${c.RowCount} registro";
-parent.__c.LogImpl("36881294",("Procesando NOVENTA: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842532878",("Procesando NOVENTA: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 779;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 780;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 781;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881297",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842532881",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 783;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -2443,13 +2443,13 @@ case 11:
//C
this.state = 12;
//BA.debugLineNum = 801;BA.debugLine="Log($\"Procesando HIST_VENTAS (rechazos/parciales";
-parent.__c.LogImpl("36881317",("Procesando HIST_VENTAS (rechazos/parciales): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842532901",("Procesando HIST_VENTAS (rechazos/parciales): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 802;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 803;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 804;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881320",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842532904",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 806;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -2520,17 +2520,17 @@ case 19:
//C
this.state = 20;
//BA.debugLineNum = 820;BA.debugLine="Log(\">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>";
-parent.__c.LogImpl("36881336",">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Pedido reparto <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0);
+parent.__c.LogImpl("842532920",">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Pedido reparto <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0);
//BA.debugLineNum = 821;BA.debugLine="Log($\"Procesando PEDIDO: ${c.RowCount} registros";
-parent.__c.LogImpl("36881337",("Procesando PEDIDO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842532921",("Procesando PEDIDO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 822;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 823;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 824;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881340",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842532924",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 825;BA.debugLine="Log(\">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>";
-parent.__c.LogImpl("36881341",">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Pedido reparto <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0);
+parent.__c.LogImpl("842532925",">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Pedido reparto <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0);
//BA.debugLineNum = 826;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -2601,13 +2601,13 @@ case 27:
//C
this.state = 28;
//BA.debugLineNum = 840;BA.debugLine="Log($\"Procesando REPARTO: ${c.RowCount} registro";
-parent.__c.LogImpl("36881356",("Procesando REPARTO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842532940",("Procesando REPARTO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 841;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 842;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 843;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881359",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842532943",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 845;BA.debugLine="Private folio As String = Subs.hmsKMT";
_folio = parent._subs._hmskmt /*String*/ (ba);
//BA.debugLineNum = 846;BA.debugLine="For i=0 To c.RowCount -1";
@@ -2680,13 +2680,13 @@ case 35:
//C
this.state = 36;
//BA.debugLineNum = 860;BA.debugLine="Log($\"Procesando RECHAZOS: ${c.RowCount} registr";
-parent.__c.LogImpl("36881376",("Procesando RECHAZOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842532960",("Procesando RECHAZOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 861;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 862;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 863;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881379",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842532963",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 865;BA.debugLine="Private folio As String = Subs.hmsKMT";
_folio = parent._subs._hmskmt /*String*/ (ba);
//BA.debugLineNum = 866;BA.debugLine="For i=0 To c.RowCount -1";
@@ -2759,13 +2759,13 @@ case 43:
//C
this.state = 44;
//BA.debugLineNum = 880;BA.debugLine="Log($\"Procesando VENTAS: ${c.RowCount} registros";
-parent.__c.LogImpl("36881396",("Procesando VENTAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842532980",("Procesando VENTAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 881;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 882;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 883;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881399",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842532983",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 885;BA.debugLine="Private folio As String = Subs.hmsKMT";
_folio = parent._subs._hmskmt /*String*/ (ba);
//BA.debugLineNum = 886;BA.debugLine="For i=0 To c.RowCount -1";
@@ -2838,13 +2838,13 @@ case 51:
//C
this.state = 52;
//BA.debugLineNum = 900;BA.debugLine="Log($\"Procesando REPARTO_GEO: ${c.RowCount} regi";
-parent.__c.LogImpl("36881416",("Procesando REPARTO_GEO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842533000",("Procesando REPARTO_GEO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 901;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 902;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 903;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881419",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842533003",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 905;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -2927,13 +2927,13 @@ case 59:
//C
this.state = 60;
//BA.debugLineNum = 925;BA.debugLine="Log($\"Procesando TABULADOR_MONEDAS: ${c.RowCount";
-parent.__c.LogImpl("36881441",("Procesando TABULADOR_MONEDAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842533025",("Procesando TABULADOR_MONEDAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 926;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 927;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 928;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881444",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842533028",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 930;BA.debugLine="For i = 0 To c.RowCount - 1";
if (true) break;
@@ -3016,13 +3016,13 @@ case 67:
//C
this.state = 68;
//BA.debugLineNum = 950;BA.debugLine="Log($\"Procesando HIST_VENTAS (actualización): ${";
-parent.__c.LogImpl("36881466",("Procesando HIST_VENTAS (actualización): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842533050",("Procesando HIST_VENTAS (actualización): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 951;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 952;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 953;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881469",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842533053",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 955;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -3053,14 +3053,14 @@ this.state = 71;
//BA.debugLineNum = 956;BA.debugLine="c.Position = i";
parent._c.setPosition(_i);
//BA.debugLineNum = 957;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))";
-parent.__c.LogImpl("36881473",parent._c.GetString("HVD_CLIENTE"),0);
+parent.__c.LogImpl("842533057",parent._c.GetString("HVD_CLIENTE"),0);
//BA.debugLineNum = 958;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($";
_d4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_d4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_CLIENTE")))+"'"))));
//BA.debugLineNum = 959;BA.debugLine="d4.Position = 0";
_d4.setPosition((int) (0));
//BA.debugLineNum = 960;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))";
-parent.__c.LogImpl("36881476",_d4.GetString("CAT_CL_RUTA"),0);
+parent.__c.LogImpl("842533060",_d4.GetString("CAT_CL_RUTA"),0);
//BA.debugLineNum = 961;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery(";
_d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_d5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CONSECUTIVO")))+"'"))));
@@ -3077,11 +3077,11 @@ _fecha2 = parent.__c.Regex.Split("-",_fecha1[(int) (0)]);
//BA.debugLineNum = 968;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&";
_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)];
//BA.debugLineNum = 969;BA.debugLine="Log(fecha3)";
-parent.__c.LogImpl("36881485",_fecha3,0);
+parent.__c.LogImpl("842533069",_fecha3,0);
//BA.debugLineNum = 970;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha1";
_hora = parent.__c.Regex.Split("\\.",_fecha1[(int) (1)]);
//BA.debugLineNum = 971;BA.debugLine="Log(hora(0))";
-parent.__c.LogImpl("36881487",_hora[(int) (0)],0);
+parent.__c.LogImpl("842533071",_hora[(int) (0)],0);
//BA.debugLineNum = 973;BA.debugLine="Dim sDate, sTime As String";
_sdate = "";
_stime = "";
@@ -3109,7 +3109,7 @@ case 73:
//C
this.state = 76;
//BA.debugLineNum = 979;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)";
-parent.__c.LogImpl("36881495",BA.NumberToString(((double)(Double.parseDouble(parent._c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0);
+parent.__c.LogImpl("842533079",BA.NumberToString(((double)(Double.parseDouble(parent._c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0);
//BA.debugLineNum = 980;BA.debugLine="cmd.Initialize";
parent._cmd.Initialize();
//BA.debugLineNum = 981;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\"";
@@ -3128,7 +3128,7 @@ parent._cmd.Initialize();
//BA.debugLineNum = 986;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\"";
parent._cmd.Name /*String*/ = "update_HVD_MAZAPArep2";
//BA.debugLineNum = 987;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL";
-parent.__c.LogImpl("36881503",parent._c.GetString("CANTC")+parent._c.GetString("HVD_CLIENTE")+parent._c.GetString("HVD_PROID")+_fecha3+" "+_hora[(int) (0)]+_d4.GetString("CAT_CL_RUTA")+parent._almacen+parent._l_ruta.getText()+parent._c.GetString("HVD_CODPROMO")+parent._c.GetString("HVD_NUM_TICKET")+parent._c.GetString("HVD_CANT"),0);
+parent.__c.LogImpl("842533087",parent._c.GetString("CANTC")+parent._c.GetString("HVD_CLIENTE")+parent._c.GetString("HVD_PROID")+_fecha3+" "+_hora[(int) (0)]+_d4.GetString("CAT_CL_RUTA")+parent._almacen+parent._l_ruta.getText()+parent._c.GetString("HVD_CODPROMO")+parent._c.GetString("HVD_NUM_TICKET")+parent._c.GetString("HVD_CANT"),0);
//BA.debugLineNum = 988;BA.debugLine="cmd.Parameters = Array As String(\"\",c.GetStrin";
parent._cmd.Parameters /*Object[]*/ = (Object[])(new String[]{"",parent._c.GetString("BCAJAS"),parent._c.GetString("CANTC"),"","",parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PROID"),_fecha3+" "+_hora[(int) (0)],parent._c.GetString("HVD_RUTA"),parent._almacen,parent._l_ruta.getText(),parent._c.GetString("HVD_CODPROMO"),parent._c.GetString("HVD_NUM_TICKET"),parent._c.GetString("HVD_CANT")});
//BA.debugLineNum = 989;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")";
@@ -3184,13 +3184,13 @@ case 81:
//C
this.state = 82;
//BA.debugLineNum = 1005;BA.debugLine="Log($\"Procesando TABULADOR_BILLETES: ${c.RowCoun";
-parent.__c.LogImpl("36881521",("Procesando TABULADOR_BILLETES: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("842533105",("Procesando TABULADOR_BILLETES: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
//BA.debugLineNum = 1006;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount());
//BA.debugLineNum = 1007;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount());
//BA.debugLineNum = 1008;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
-parent.__c.LogImpl("36881524",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842533108",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 1010;BA.debugLine="For i = 0 To c.RowCount - 1";
if (true) break;
@@ -3268,7 +3268,7 @@ parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._dameu
//BA.debugLineNum = 1032;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")";
parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("inst_drop"));
//BA.debugLineNum = 1034;BA.debugLine="Log($\"PROCESO COMPLETADO - TOTAL DE REGISTROS PRO";
-parent.__c.LogImpl("36881550",("PROCESO COMPLETADO - TOTAL DE REGISTROS PROCESADOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842533134",("PROCESO COMPLETADO - TOTAL DE REGISTROS PROCESADOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 1035;BA.debugLine="ToastMessageShow(\"Se Actualizaron los datos, Este";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaron los datos, Este proceso podria tardar hasta un minuto, gracias "+parent._l_ruta.getText()),parent.__c.True);
//BA.debugLineNum = 1037;BA.debugLine="Wait For AllRequestsComplete ' Espera a que todos";
@@ -3280,11 +3280,11 @@ case 107:
this.state = -1;
;
//BA.debugLineNum = 1039;BA.debugLine="Log($\"Total registros procesados: ${totalRegistro";
-parent.__c.LogImpl("36881555",("Total registros procesados: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("842533139",("Total registros procesados: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 1040;BA.debugLine="Log($\"Requests exitosos: ${successfulRequests}\"$)";
-parent.__c.LogImpl("36881556",("Requests exitosos: "+parent.__c.SmartStringFormatter("",(Object)(parent._successfulrequests))+""),0);
+parent.__c.LogImpl("842533140",("Requests exitosos: "+parent.__c.SmartStringFormatter("",(Object)(parent._successfulrequests))+""),0);
//BA.debugLineNum = 1041;BA.debugLine="LogColor(\"Esto es totalRegistrosTotales: ---->\" &";
-parent.__c.LogImpl("36881557","Esto es totalRegistrosTotales: ---->"+BA.NumberToString(parent._totalregistrostotales),parent.__c.Colors.Red);
+parent.__c.LogImpl("842533141","Esto es totalRegistrosTotales: ---->"+BA.NumberToString(parent._totalregistrostotales),parent.__c.Colors.Red);
//BA.debugLineNum = 1044;BA.debugLine="End Sub";
if (true) break;
@@ -3417,26 +3417,26 @@ double _lon = 0;
String _k = "";
//BA.debugLineNum = 1225;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 1227;BA.debugLine="Log(todosRequest)";
-__c.LogImpl("37077890",BA.NumberToString(_todosrequest),0);
+__c.LogImpl("842729474",BA.NumberToString(_todosrequest),0);
//BA.debugLineNum = 1228;BA.debugLine="todosRequest = todosRequest +1";
_todosrequest = (int) (_todosrequest+1);
//BA.debugLineNum = 1229;BA.debugLine="Log(todosRequest)";
-__c.LogImpl("37077892",BA.NumberToString(_todosrequest),0);
+__c.LogImpl("842729476",BA.NumberToString(_todosrequest),0);
//BA.debugLineNum = 1230;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
//BA.debugLineNum = 1231;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro";
-__c.LogImpl("37077894","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
+__c.LogImpl("842729478","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
}else {
//BA.debugLineNum = 1234;BA.debugLine="LogColor(\"Esto es totalRegistros: \" & totalRegis";
-__c.LogImpl("37077897","Esto es totalRegistros: "+BA.NumberToString(_totalregistros),__c.Colors.Red);
+__c.LogImpl("842729481","Esto es totalRegistros: "+BA.NumberToString(_totalregistros),__c.Colors.Red);
//BA.debugLineNum = 1235;BA.debugLine="successfulRequests = successfulRequests + 1";
_successfulrequests = (int) (_successfulrequests+1);
//BA.debugLineNum = 1236;BA.debugLine="totalRegistros = totalRegistros - 1";
_totalregistros = (int) (_totalregistros-1);
//BA.debugLineNum = 1237;BA.debugLine="Log(\"Esto es successfulRequests: \" & successfulR";
-__c.LogImpl("37077900","Esto es successfulRequests: "+BA.NumberToString(_successfulrequests),0);
+__c.LogImpl("842729484","Esto es successfulRequests: "+BA.NumberToString(_successfulrequests),0);
//BA.debugLineNum = 1238;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("37077901","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+__c.LogImpl("842729485","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
//BA.debugLineNum = 1239;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 1240;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
@@ -3534,7 +3534,7 @@ if (_reqs.IndexOf((Object)("gunaprod3"))>-1) {
//BA.debugLineNum = 1290;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod3")));
//BA.debugLineNum = 1291;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("37077954",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("842729538",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1293;BA.debugLine="Starter.skmt.BeginTransaction";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
@@ -3612,7 +3612,7 @@ if (_reqs.IndexOf((Object)("gunaprod"))>-1) {
//BA.debugLineNum = 1332;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod")));
//BA.debugLineNum = 1333;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("37077996",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("842729580",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1335;BA.debugLine="Starter.skmt.BeginTransaction";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
@@ -3682,7 +3682,7 @@ if (_reqs.IndexOf((Object)("gunaprodp"))>-1) {
//BA.debugLineNum = 1371;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprodp")));
//BA.debugLineNum = 1372;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("37078035",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("842729619",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1374;BA.debugLine="For Each records() As Object In result.Rows";
{
@@ -3751,7 +3751,7 @@ if (_reqs.IndexOf((Object)("detallepaq"))>-1) {
//BA.debugLineNum = 1408;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("detallepaq")));
//BA.debugLineNum = 1409;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("37078072",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("842729656",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1411;BA.debugLine="For Each records() As Object In result.Rows";
{
@@ -3855,7 +3855,7 @@ if (_reqs.IndexOf((Object)("punteo"))>0) {
//BA.debugLineNum = 1464;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo")));
//BA.debugLineNum = 1465;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("37078128",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("842729712",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1467;BA.debugLine="Starter.skmt.BeginTransaction";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
@@ -4370,11 +4370,11 @@ public String _listview1_itemclick(int _position,Object _value) throws Exceptio
String[] _clieasing = null;
//BA.debugLineNum = 2158;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,";
//BA.debugLineNum = 2159;BA.debugLine="Log(Value)";
-__c.LogImpl("37995393",BA.ObjectToString(_value),0);
+__c.LogImpl("843646977",BA.ObjectToString(_value),0);
//BA.debugLineNum = 2161;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu";
_clieasing = __c.Regex.Split(" ",BA.ObjectToString(_value));
//BA.debugLineNum = 2162;BA.debugLine="Log(clieasing(0))";
-__c.LogImpl("37995396",_clieasing[(int) (0)],0);
+__c.LogImpl("843646980",_clieasing[(int) (0)],0);
//BA.debugLineNum = 2164;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA");
//BA.debugLineNum = 2165;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java
index 0f84e0e..fcf3a20 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java
@@ -123,7 +123,7 @@ _sdate = __c.DateTime.Date(__c.DateTime.getNow());
//BA.debugLineNum = 670;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
//BA.debugLineNum = 672;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
-__c.LogImpl("315466504","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("851183624","b_prodMas_Click",__c.Colors.Magenta);
//BA.debugLineNum = 673;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 674;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -139,7 +139,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
//BA.debugLineNum = 681;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&";
-__c.LogImpl("315466513","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("851183633","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 682;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0";
if ((_lacant.getText()).equals("")) {
_lacant.setText(BA.ObjectToCharSequence(0));};
@@ -163,16 +163,16 @@ _minimoadesc = "1";
//BA.debugLineNum = 694;BA.debugLine="minimos.Close";
_minimos.Close();
//BA.debugLineNum = 697;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
-__c.LogImpl("315466529",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("851183649",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
//BA.debugLineNum = 698;BA.debugLine="Log(esteTag.get(4))";
-__c.LogImpl("315466530",BA.ObjectToString(_estetag.Get((int) (4))),0);
+__c.LogImpl("851183650",BA.ObjectToString(_estetag.Get((int) (4))),0);
//BA.debugLineNum = 699;BA.debugLine="If esteTag.Get(4) = \"0\" Then";
if ((_estetag.Get((int) (4))).equals((Object)("0"))) {
}else {
//BA.debugLineNum = 702;BA.debugLine="If laCant.Text + 1 * minimoadesc <= maxProds The";
if ((double)(Double.parseDouble(_lacant.getText()))+1*(double)(Double.parseDouble(_minimoadesc))<=(double)(Double.parseDouble(_maxprods))) {
//BA.debugLineNum = 703;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)";
-__c.LogImpl("315466535",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
+__c.LogImpl("851183655",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
//BA.debugLineNum = 704;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$";
_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+"")));
//BA.debugLineNum = 705;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod";
@@ -297,7 +297,7 @@ String _puc = "";
//BA.debugLineNum = 800;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 802;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
-__c.LogImpl("315532035","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("851249155","b_prodMas_Click",__c.Colors.Magenta);
//BA.debugLineNum = 803;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 804;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -310,40 +310,40 @@ _pnl = _pnl0.GetView((int) (0));
_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper();
_lacantc = _pnl.GetView((int) (3)).GetView((int) (3));
//BA.debugLineNum = 807;BA.debugLine="LogColor(laCantc.Text&\"--------------------------";
-__c.LogImpl("315532040",_lacantc.getText()+"-----------------------------",__c.Colors.Blue);
+__c.LogImpl("851249160",_lacantc.getText()+"-----------------------------",__c.Colors.Blue);
//BA.debugLineNum = 811;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T";
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag())));
//BA.debugLineNum = 812;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta";
-__c.LogImpl("315532045","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("851249165","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 813;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
if ((_lacantc.getText()).equals("")) {
_lacantc.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 815;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es";
_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))));
//BA.debugLineNum = 816;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)";
-__c.LogImpl("315532049",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
+__c.LogImpl("851249169",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
//BA.debugLineNum = 817;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)";
-__c.LogImpl("315532050",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
+__c.LogImpl("851249170",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
//BA.debugLineNum = 818;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
-__c.LogImpl("315532051",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("851249171",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
//BA.debugLineNum = 820;BA.debugLine="Log(maxProds)";
-__c.LogImpl("315532053",_maxprods,0);
+__c.LogImpl("851249173",_maxprods,0);
//BA.debugLineNum = 823;BA.debugLine="Log(esteTag.Get(4))";
-__c.LogImpl("315532056",BA.ObjectToString(_estetag.Get((int) (4))),0);
+__c.LogImpl("851249176",BA.ObjectToString(_estetag.Get((int) (4))),0);
//BA.debugLineNum = 824;BA.debugLine="If esteTag.Get(4) = \"0\" Then";
if ((_estetag.Get((int) (4))).equals((Object)("0"))) {
}else {
//BA.debugLineNum = 827;BA.debugLine="If laCantc.Text + 1 <= maxProds Then";
if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
//BA.debugLineNum = 828;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)";
-__c.LogImpl("315532061",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
+__c.LogImpl("851249181",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
//BA.debugLineNum = 830;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$";
_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+"")));
//BA.debugLineNum = 831;BA.debugLine="LogColor(esteTag,Colors.Magenta)";
-__c.LogImpl("315532064",BA.ObjectToString(_estetag),__c.Colors.Magenta);
+__c.LogImpl("851249184",BA.ObjectToString(_estetag),__c.Colors.Magenta);
//BA.debugLineNum = 833;BA.debugLine="LogColor(laCantc.Text,Colors.Red)";
-__c.LogImpl("315532066",_lacantc.getText(),__c.Colors.Red);
+__c.LogImpl("851249186",_lacantc.getText(),__c.Colors.Red);
//BA.debugLineNum = 836;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI";
_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*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))})));
//BA.debugLineNum = 837;BA.debugLine="If c.RowCount > 0 Then";
@@ -362,7 +362,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO se
//BA.debugLineNum = 844;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
//BA.debugLineNum = 845;BA.debugLine="Log(\"aqui2\")";
-__c.LogImpl("315532078","aqui2",0);
+__c.LogImpl("851249198","aqui2",0);
};
}else {
//BA.debugLineNum = 848;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2";
@@ -375,7 +375,7 @@ _c2.setPosition((int) (0));
//BA.debugLineNum = 851;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS";
_puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC"))));
//BA.debugLineNum = 852;BA.debugLine="Log(puc)";
-__c.LogImpl("315532085",_puc,0);
+__c.LogImpl("851249205",_puc,0);
//BA.debugLineNum = 855;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDID";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,1,1,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_puc,_puc,BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)}));
//BA.debugLineNum = 856;BA.debugLine="B4XPage_Appear";
@@ -402,9 +402,9 @@ float _preciou = 0f;
//BA.debugLineNum = 559;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 560;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
-__c.LogImpl("315400962","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("851118082","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 561;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("315400963","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("851118083","b_prodMenos_Click",__c.Colors.Magenta);
//BA.debugLineNum = 562;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 563;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -420,7 +420,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
//BA.debugLineNum = 568;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get(";
-__c.LogImpl("315400970","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("851118090","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 570;BA.debugLine="Private minimoadesc As String";
_minimoadesc = "";
//BA.debugLineNum = 571;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\"";
@@ -449,7 +449,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje
if ((double)(Double.parseDouble(_lacant.getText()))<0) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 619;BA.debugLine="Log(\"NO ES promo\")";
-__c.LogImpl("315401021","NO ES promo",0);
+__c.LogImpl("851118141","NO ES promo",0);
//BA.debugLineNum = 624;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\"";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))})));
@@ -488,7 +488,7 @@ _b4xpage_appear();
//BA.debugLineNum = 650;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
//BA.debugLineNum = 651;BA.debugLine="Log(\"PU: \" & preciou)";
-__c.LogImpl("315401053","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("851118173","PU: "+BA.NumberToString(_preciou),0);
//BA.debugLineNum = 662;BA.debugLine="End Sub";
return "";
}
@@ -504,9 +504,9 @@ float _preciou = 0f;
//BA.debugLineNum = 865;BA.debugLine="etCantHasFocus = False";
_etcanthasfocus = __c.False;
//BA.debugLineNum = 866;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
-__c.LogImpl("315597570","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("851314690","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 867;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("315597571","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("851314691","b_prodMenos_Click",__c.Colors.Magenta);
//BA.debugLineNum = 868;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 869;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
@@ -522,7 +522,7 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag())));
//BA.debugLineNum = 874;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get";
-__c.LogImpl("315597578","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("851314698","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 878;BA.debugLine="If laCantc.Text > 0 Then";
if ((double)(Double.parseDouble(_lacantc.getText()))>0) {
//BA.debugLineNum = 881;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\"";
@@ -542,7 +542,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI
};
};
//BA.debugLineNum = 890;BA.debugLine="Log(\"entre al if o algo asi \")";
-__c.LogImpl("315597594","entre al if o algo asi ",0);
+__c.LogImpl("851314714","entre al if o algo asi ",0);
//BA.debugLineNum = 891;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
if ((_lacantc.getText()).equals("")) {
_lacantc.setText(BA.ObjectToCharSequence(0));};
@@ -558,7 +558,7 @@ _b4xpage_appear();
//BA.debugLineNum = 900;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
//BA.debugLineNum = 901;BA.debugLine="Log(\"PU: \" & preciou)";
-__c.LogImpl("315597605","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("851314725","PU: "+BA.NumberToString(_preciou),0);
//BA.debugLineNum = 902;BA.debugLine="End Sub";
return "";
}
@@ -716,16 +716,16 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
//BA.debugLineNum = 167;BA.debugLine="preciocat.Close";
_preciocat.Close();
//BA.debugLineNum = 168;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))";
-__c.LogImpl("314876766",_c.GetString("HVD_CODPROMO"),0);
+__c.LogImpl("850593886",_c.GetString("HVD_CODPROMO"),0);
//BA.debugLineNum = 169;BA.debugLine="Log(Subs.traeAlmacen)";
-__c.LogImpl("314876767",_subs._traealmacen /*String*/ (ba),0);
+__c.LogImpl("850593887",_subs._traealmacen /*String*/ (ba),0);
//BA.debugLineNum = 172;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl";
if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) {
//BA.debugLineNum = 173;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"";
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
}else {
//BA.debugLineNum = 175;BA.debugLine="Log(\"aqui arriba\")";
-__c.LogImpl("314876773","aqui arriba",0);
+__c.LogImpl("850593893","aqui arriba",0);
//BA.debugLineNum = 176;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"";
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_preciofull,(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
};
@@ -758,16 +758,16 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
//BA.debugLineNum = 199;BA.debugLine="preciocat.Close";
_preciocat.Close();
//BA.debugLineNum = 200;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))";
-__c.LogImpl("314876798",_c.GetString("HVD_CODPROMO"),0);
+__c.LogImpl("850593918",_c.GetString("HVD_CODPROMO"),0);
//BA.debugLineNum = 201;BA.debugLine="Log(Subs.traeAlmacen)";
-__c.LogImpl("314876799",_subs._traealmacen /*String*/ (ba),0);
+__c.LogImpl("850593919",_subs._traealmacen /*String*/ (ba),0);
//BA.debugLineNum = 203;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl";
if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) {
//BA.debugLineNum = 204;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"";
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int) (0),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
}else {
//BA.debugLineNum = 206;BA.debugLine="Log(\"aqui abajo\")";
-__c.LogImpl("314876804","aqui abajo",0);
+__c.LogImpl("850593924","aqui abajo",0);
//BA.debugLineNum = 207;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"";
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_preciofull,(int) (0),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
};
@@ -777,7 +777,7 @@ _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
_c2.Close();
}else if((_c.GetString("BCAJAS")).equals("1")) {
//BA.debugLineNum = 218;BA.debugLine="Log(\"AQUI1\")";
-__c.LogImpl("314876816","AQUI1",0);
+__c.LogImpl("850593936","AQUI1",0);
//BA.debugLineNum = 221;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery(";
_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'"))));
@@ -839,9 +839,9 @@ if (_c2.getRowCount()>0) {
//BA.debugLineNum = 255;BA.debugLine="c2.Position = 0";
_c2.setPosition((int) (0));
//BA.debugLineNum = 256;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")";
-__c.LogImpl("314876854","SI ENTRO A PONER CAJAS BIEN ",0);
+__c.LogImpl("850593974","SI ENTRO A PONER CAJAS BIEN ",0);
//BA.debugLineNum = 257;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))";
-__c.LogImpl("314876855",_c2.GetString("PE_CAJAS"),0);
+__c.LogImpl("850593975",_c2.GetString("PE_CAJAS"),0);
//BA.debugLineNum = 258;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'"))));
@@ -860,12 +860,12 @@ _resta = BA.NumberToString(0);
//BA.debugLineNum = 269;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS";
_puc = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC"))));
//BA.debugLineNum = 270;BA.debugLine="LogColor((restacant/Subs.traeConversion(c.Ge";
-__c.LogImpl("314876868",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green);
+__c.LogImpl("850593988",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green);
//BA.debugLineNum = 271;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\"";
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c.GetString("HVD_PRONOMBRE"),_puc,(int) (((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),(int) ((((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
}else {
//BA.debugLineNum = 273;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")";
-__c.LogImpl("314876871","NO ENTRO A PONER CAJAS BIEN ",0);
+__c.LogImpl("850593991","NO ENTRO A PONER CAJAS BIEN ",0);
//BA.debugLineNum = 274;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'"))));
@@ -882,7 +882,7 @@ _resta = _c3.GetString("PE_CANT");
_resta = BA.NumberToString(0);
};
//BA.debugLineNum = 285;BA.debugLine="LogColor(resta,Colors.Green)";
-__c.LogImpl("314876883",_resta,__c.Colors.Green);
+__c.LogImpl("850594003",_resta,__c.Colors.Green);
//BA.debugLineNum = 286;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS";
_puc = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC"))));
//BA.debugLineNum = 288;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\"";
@@ -1133,9 +1133,9 @@ if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) {
_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject()));
};
//BA.debugLineNum = 538;BA.debugLine="Log(inv&\" inventario 1\")";
-__c.LogImpl("315335438",BA.NumberToString(_inv)+" inventario 1",0);
+__c.LogImpl("851052558",BA.NumberToString(_inv)+" inventario 1",0);
//BA.debugLineNum = 539;BA.debugLine="Log(inv2&\" inventario 2\")";
-__c.LogImpl("315335439",BA.NumberToString(_inv2)+" inventario 2",0);
+__c.LogImpl("851052559",BA.NumberToString(_inv2)+" inventario 2",0);
//BA.debugLineNum = 540;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF";
_l_prodx.setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs")));
//BA.debugLineNum = 542;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&";
@@ -1200,7 +1200,7 @@ return "";
public String _p_prods_click() throws Exception{
//BA.debugLineNum = 1086;BA.debugLine="Sub p_prods_Click";
//BA.debugLineNum = 1087;BA.debugLine="Log(Sender.As(Panel).tag)";
-__c.LogImpl("315990785",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0);
+__c.LogImpl("851707905",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0);
//BA.debugLineNum = 1088;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java
index 79849f6..36d2b2e 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java
@@ -164,7 +164,7 @@ _d.setPosition((int) (0));
//BA.debugLineNum = 43;BA.debugLine="If c.RowCount > 0 And d.RowCount > 0 Then";
if (_c.getRowCount()>0 && _d.getRowCount()>0) {
//BA.debugLineNum = 44;BA.debugLine="Log(\"TABULADR CON RESUKTADO\")";
-__c.LogImpl("325690118","TABULADR CON RESUKTADO",0);
+__c.LogImpl("861407238","TABULADR CON RESUKTADO",0);
//BA.debugLineNum = 45;BA.debugLine="et_mil.Text = c.GetString(\"MIL\")";
_et_mil.setText(BA.ObjectToCharSequence(_c.GetString("MIL")));
//BA.debugLineNum = 46;BA.debugLine="et_quinientos.Text = c.GetString(\"QUINIENTOS\")";
@@ -193,7 +193,7 @@ _et_m_centavo.setText(BA.ObjectToCharSequence(_d.GetString("CENTAVO")));
_l_total.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL")));
}else if(_c.getRowCount()==0 && _d.getRowCount()==0) {
//BA.debugLineNum = 59;BA.debugLine="Log(\"TABULADR SIN RESUKTADO\")";
-__c.LogImpl("325690133","TABULADR SIN RESUKTADO",0);
+__c.LogImpl("861407253","TABULADR SIN RESUKTADO",0);
//BA.debugLineNum = 60;BA.debugLine="et_mil.Text = \"\"";
_et_mil.setText(BA.ObjectToCharSequence(""));
//BA.debugLineNum = 61;BA.debugLine="et_quinientos.Text = \"\"";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java
index c0a3ae0..279f553 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java
@@ -125,7 +125,7 @@ case 9:
this.state = 10;
this.catchState = 0;
//BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException";
-parent.__c.LogImpl("326279946","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
+parent.__c.LogImpl("861997066","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
if (true) break;
if (true) break;
;
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java
index 9ee7efe..935b33a 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java
@@ -80,7 +80,7 @@ if (_success) {
_takepicture();
}else {
//BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")";
-__c.LogImpl("364356356","AutoFocus error.",0);
+__c.LogImpl("864421892","AutoFocus error.",0);
};
//BA.debugLineNum = 281;BA.debugLine="End Sub";
return "";
@@ -118,7 +118,7 @@ _parameters = _r.RunMethod("getParameters");
_setdisplayorientation();
}else {
//BA.debugLineNum = 90;BA.debugLine="Log(\"success = false, \" & LastException)";
-__c.LogImpl("362455816","success = false, "+BA.ObjectToString(__c.LastException(ba)),0);
+__c.LogImpl("862521352","success = false, "+BA.ObjectToString(__c.LastException(ba)),0);
};
//BA.debugLineNum = 92;BA.debugLine="CallSub2(target, event & \"_ready\", Success)";
__c.CallSubNew2(ba,_target,_event+"_ready",(Object)(_success));
@@ -171,7 +171,7 @@ _r.RunMethod4("setParameters",new Object[]{_parameters},new String[]{"android.ha
ba.setLastException(e5); //BA.debugLineNum = 142;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr";
__c.ToastMessageShow(BA.ObjectToCharSequence("Error setting parameters."),__c.True);
//BA.debugLineNum = 143;BA.debugLine="Log(LastException)";
-__c.LogImpl("363111174",BA.ObjectToString(__c.LastException(ba)),0);
+__c.LogImpl("863176710",BA.ObjectToString(__c.LastException(ba)),0);
};
//BA.debugLineNum = 145;BA.debugLine="End Sub";
return "";
@@ -491,7 +491,7 @@ _setfocusmode("continuous-picture");
_setfocusmode("continuous-video");
}else {
//BA.debugLineNum = 249;BA.debugLine="Log(\"Continuous focus mode is not availabl";
-__c.LogImpl("364028679","Continuous focus mode is not available",0);
+__c.LogImpl("864094215","Continuous focus mode is not available",0);
};
//BA.debugLineNum = 251;BA.debugLine="End Sub";
return "";
@@ -535,7 +535,7 @@ _previewresult = (int) ((_orientation-_degrees+360)%360);
//BA.debugLineNum = 72;BA.debugLine="result = previewResult";
_result = _previewresult;
//BA.debugLineNum = 73;BA.debugLine="Log(previewResult)";
-__c.LogImpl("362390288",BA.NumberToString(_previewresult),0);
+__c.LogImpl("862455824",BA.NumberToString(_previewresult),0);
};
//BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam";
_r.Target = _nativecam;
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java
index d9372c4..c63e695 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java
@@ -221,7 +221,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor";
-parent.__c.LogImpl("927590657","---- AppUpdating.DownloadApk",parent._logcolor1);
+parent.__c.LogImpl("91376257","---- AppUpdating.DownloadApk",parent._logcolor1);
//BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then";
if (true) break;
@@ -250,7 +250,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
-parent.__c.LogImpl("927590661",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
+parent.__c.LogImpl("91376261",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
if (true) break;
case 9:
@@ -287,7 +287,7 @@ this.state = 11;
_j = (reparto_mazapa.keymon.lat.httpjob) result[0];
;
//BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)";
-parent.__c.LogImpl("927590672",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
+parent.__c.LogImpl("91376272",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
//BA.debugLineNum = 175;BA.debugLine="If j.Success Then";
if (true) break;
@@ -312,7 +312,7 @@ parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftwar
//BA.debugLineNum = 180;BA.debugLine="out.Close";
_out.Close();
//BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)";
-parent.__c.LogImpl("927590679",("Copy2 (saving) ok? TRUE"),0);
+parent.__c.LogImpl("91376279",("Copy2 (saving) ok? TRUE"),0);
//BA.debugLineNum = 182;BA.debugLine="sStatusCode = OK_DOWNLOAD";
parent._sstatuscode = parent._ok_download;
//BA.debugLineNum = 183;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow";
@@ -328,7 +328,7 @@ this.state = 16;
case 16:
//C
this.state = 19;
-parent.__c.LogImpl("927590681",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
+parent.__c.LogImpl("91376281",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
if (true) break;
case 19:
@@ -341,7 +341,7 @@ case 21:
//C
this.state = 22;
//BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
-parent.__c.LogImpl("927590683",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
+parent.__c.LogImpl("91376283",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
//BA.debugLineNum = 186;BA.debugLine="sStatusCode = ERR_HTTP";
parent._sstatuscode = parent._err_http;
//BA.debugLineNum = 187;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2";
@@ -357,7 +357,7 @@ this.state = 24;
case 24:
//C
this.state = 27;
-parent.__c.LogImpl("927590685",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
+parent.__c.LogImpl("91376285",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 27:
@@ -684,14 +684,14 @@ _usefileprovider = __c.False;
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
};
//BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro";
-__c.LogImpl("926607637",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0);
+__c.LogImpl("9393237",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0);
//BA.debugLineNum = 70;BA.debugLine="End Sub";
return "";
}
public String _installapk(boolean _pstatus) throws Exception{
//BA.debugLineNum = 195;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)";
//BA.debugLineNum = 196;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1";
-__c.LogImpl("927656193","---- AppUpdating.InstallApk",_logcolor1);
+__c.LogImpl("91441793","---- AppUpdating.InstallApk",_logcolor1);
//BA.debugLineNum = 197;BA.debugLine="If pstatus Then";
if (_pstatus) {
//BA.debugLineNum = 198;BA.debugLine="SendInstallIntent";
@@ -700,13 +700,13 @@ _sendinstallintent();
_sstatuscode = _ok_install;
//BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal";
if (_sverbose) {
-__c.LogImpl("927656197",__c.TAB+"user asked to install new apk",0);};
+__c.LogImpl("91441797",__c.TAB+"user asked to install new apk",0);};
}else {
//BA.debugLineNum = 202;BA.debugLine="sStatusCode = ERR_NOPERM";
_sstatuscode = _err_noperm;
//BA.debugLineNum = 203;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from";
if (_sverbose) {
-__c.LogImpl("927656200",__c.TAB+"no permissions from user to install new apk",0);};
+__c.LogImpl("91441800",__c.TAB+"no permissions from user to install new apk",0);};
};
//BA.debugLineNum = 205;BA.debugLine="Finito";
_finito();
@@ -724,7 +724,7 @@ _curver = "";
_sstatuscode = _err_nopkg;
//BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam";
if (_sverbose) {
-__c.LogImpl("927918340",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);};
+__c.LogImpl("91703940",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);};
}else {
//BA.debugLineNum = 303;BA.debugLine="Dim pm As PackageManager";
_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper();
@@ -734,7 +734,7 @@ _curver = _pm.GetVersionName(_spackagename);
_sstatuscode = _ok_curver;
//BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${";
if (_sverbose) {
-__c.LogImpl("927918345",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);};
+__c.LogImpl("91703945",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);};
};
//BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)";
if (true) return (_sstatuscode==_ok_curver);
@@ -765,7 +765,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")";
-parent.__c.LogImpl("927983873","IsValidComplete start",0);
+parent.__c.LogImpl("91769473","IsValidComplete start",0);
//BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then";
if (true) break;
@@ -798,7 +798,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
-parent.__c.LogImpl("927983877",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
+parent.__c.LogImpl("91769477",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
if (true) break;
case 9:
@@ -821,7 +821,7 @@ _j._password /*String*/ = parent._supassword;
//BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo";
_j._download /*String*/ (parent._snewvertxt);
//BA.debugLineNum = 325;BA.debugLine="Log(\"before\")";
-parent.__c.LogImpl("927983885","before",0);
+parent.__c.LogImpl("91769485","before",0);
//BA.debugLineNum = 326;BA.debugLine="Wait For (j) JobDone(j As HttpJob)";
parent.__c.WaitFor("jobdone", ba, this, (Object)(_j));
this.state = 61;
@@ -832,7 +832,7 @@ this.state = 12;
_j = (reparto_mazapa.keymon.lat.httpjob) result[0];
;
//BA.debugLineNum = 327;BA.debugLine="Log(\"after\")";
-parent.__c.LogImpl("927983887","after",0);
+parent.__c.LogImpl("91769487","after",0);
//BA.debugLineNum = 328;BA.debugLine="If j.Success Then";
if (true) break;
@@ -861,7 +861,7 @@ this.state = 17;
case 17:
//C
this.state = 20;
-parent.__c.LogImpl("927983889",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0);
+parent.__c.LogImpl("91769489",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0);
if (true) break;
case 20:
@@ -919,7 +919,7 @@ this.state = 29;
case 29:
//C
this.state = 32;
-parent.__c.LogImpl("927983896",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
+parent.__c.LogImpl("91769496",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
if (true) break;
case 32:
@@ -946,7 +946,7 @@ this.state = 37;
case 37:
//C
this.state = 40;
-parent.__c.LogImpl("927983899",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
+parent.__c.LogImpl("91769499",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
if (true) break;
case 40:
@@ -979,7 +979,7 @@ this.state = 46;
case 46:
//C
this.state = 49;
-parent.__c.LogImpl("927983903",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
+parent.__c.LogImpl("91769503",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
if (true) break;
case 49:
@@ -998,7 +998,7 @@ case 52:
//C
this.state = 53;
//BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
-parent.__c.LogImpl("927983906",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
+parent.__c.LogImpl("91769506",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
//BA.debugLineNum = 347;BA.debugLine="sStatusCode = ERR_HTTP";
parent._sstatuscode = parent._err_http;
//BA.debugLineNum = 348;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils";
@@ -1014,7 +1014,7 @@ this.state = 55;
case 55:
//C
this.state = 58;
-parent.__c.LogImpl("927983908",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
+parent.__c.LogImpl("91769508",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 58:
@@ -1050,7 +1050,7 @@ if (true) break;
public String _readcurvn() throws Exception{
//BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN";
//BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)";
-__c.LogImpl("927459585","---- AppUpdating.ReadCurVN",_logcolor1);
+__c.LogImpl("91245185","---- AppUpdating.ReadCurVN",_logcolor1);
//BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu";
_isvalidcv();
//BA.debugLineNum = 146;BA.debugLine="Finito";
@@ -1081,7 +1081,7 @@ case 0:
//C
this.state = -1;
//BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)";
-parent.__c.LogImpl("927525121","---- AppUpdating.ReadWebVN",parent._logcolor1);
+parent.__c.LogImpl("91310721","---- AppUpdating.ReadWebVN",parent._logcolor1);
//BA.debugLineNum = 153;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean";
parent.__c.WaitFor("complete", ba, this, parent._isvalidwv());
this.state = 1;
@@ -1244,7 +1244,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)";
-parent.__c.LogImpl("927787265",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1);
+parent.__c.LogImpl("91572865",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1);
//BA.debugLineNum = 248;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW";
if (true) break;
@@ -1278,7 +1278,7 @@ this.state = 4;
_j = (reparto_mazapa.keymon.lat.httpjob) result[0];
;
//BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)";
-parent.__c.LogImpl("927787275",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
+parent.__c.LogImpl("91572875",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
//BA.debugLineNum = 257;BA.debugLine="If j.Success Then";
if (true) break;
@@ -1317,7 +1317,7 @@ parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftwar
//BA.debugLineNum = 263;BA.debugLine="out.Close";
_out.Close();
//BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)";
-parent.__c.LogImpl("927787283",("Copy2 (saving) ok? TRUE"),0);
+parent.__c.LogImpl("91572883",("Copy2 (saving) ok? TRUE"),0);
//BA.debugLineNum = 265;BA.debugLine="sStatusCode = OK_DOWNLOAD";
parent._sstatuscode = parent._ok_download;
//BA.debugLineNum = 266;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d";
@@ -1333,7 +1333,7 @@ this.state = 12;
case 12:
//C
this.state = 15;
-parent.__c.LogImpl("927787285",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
+parent.__c.LogImpl("91572885",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
if (true) break;
case 15:
@@ -1347,7 +1347,7 @@ case 17:
this.state = 18;
this.catchState = 0;
//BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)";
-parent.__c.LogImpl("927787287",("Copy2 (saving) ok? FALSE"),0);
+parent.__c.LogImpl("91572887",("Copy2 (saving) ok? FALSE"),0);
//BA.debugLineNum = 269;BA.debugLine="sStatusCode = ERR_DOWNLOAD";
parent._sstatuscode = parent._err_download;
//BA.debugLineNum = 270;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o";
@@ -1363,7 +1363,7 @@ this.state = 20;
case 20:
//C
this.state = 23;
-parent.__c.LogImpl("927787289",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
+parent.__c.LogImpl("91572889",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
if (true) break;
case 23:
@@ -1386,7 +1386,7 @@ case 26:
//C
this.state = 27;
//BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
-parent.__c.LogImpl("927787293",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
+parent.__c.LogImpl("91572893",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
//BA.debugLineNum = 275;BA.debugLine="sStatusCode = ERR_HTTP";
parent._sstatuscode = parent._err_http;
//BA.debugLineNum = 276;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils";
@@ -1402,7 +1402,7 @@ this.state = 29;
case 29:
//C
this.state = 32;
-parent.__c.LogImpl("927787295",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
+parent.__c.LogImpl("91572895",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 32:
@@ -1449,7 +1449,7 @@ this.state = 39;
case 39:
//C
this.state = 42;
-parent.__c.LogImpl("927787302",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
+parent.__c.LogImpl("91572902",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
if (true) break;
case 42:
@@ -1510,7 +1510,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)";
-parent.__c.LogImpl("927721729","---- AppUpdating.UpdateApk",parent._logcolor1);
+parent.__c.LogImpl("91507329","---- AppUpdating.UpdateApk",parent._logcolor1);
//BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then";
if (true) break;
@@ -1541,7 +1541,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
-parent.__c.LogImpl("927721732",parent.__c.TAB+"no permissions from user to install new apk",0);
+parent.__c.LogImpl("91507332",parent.__c.TAB+"no permissions from user to install new apk",0);
if (true) break;
case 9:
@@ -1633,7 +1633,7 @@ this.state = 26;
case 26:
//C
this.state = 29;
-parent.__c.LogImpl("927721742",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
+parent.__c.LogImpl("91507342",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
if (true) break;
case 29:
@@ -1675,7 +1675,7 @@ this.state = 36;
case 36:
//C
this.state = 39;
-parent.__c.LogImpl("927721747",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
+parent.__c.LogImpl("91507347",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
if (true) break;
case 39:
@@ -1710,7 +1710,7 @@ this.state = 45;
case 45:
//C
this.state = 48;
-parent.__c.LogImpl("927721750",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
+parent.__c.LogImpl("91507350",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
if (true) break;
case 48:
@@ -1749,7 +1749,7 @@ this.state = 55;
case 55:
//C
this.state = 58;
-parent.__c.LogImpl("927721755",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
+parent.__c.LogImpl("91507355",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
if (true) break;
case 58:
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java
index 0f963d2..f97b9e3 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java
@@ -268,7 +268,7 @@ _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize();
_table.Tag /*Object*/ = _job._tag /*Object*/ ;
//BA.debugLineNum = 194;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl";
if ((_jobtaganterior).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) {
-__c.LogImpl("365273868","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);};
+__c.LogImpl("865339404","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);};
//BA.debugLineNum = 195;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211023";
_jobtaganterior = BA.ObjectToString(_job._tag /*Object*/ );
//BA.debugLineNum = 196;BA.debugLine="If method = \"query\" Then";
@@ -368,7 +368,7 @@ Object[] _row = null;
Object _record = null;
//BA.debugLineNum = 248;BA.debugLine="Public Sub PrintTable(Table As DBResult)";
//BA.debugLineNum = 249;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C";
-__c.LogImpl("365536001","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);
+__c.LogImpl("865601537","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
//BA.debugLineNum = 250;BA.debugLine="Dim sb As StringBuilder";
_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper();
//BA.debugLineNum = 251;BA.debugLine="sb.Initialize";
@@ -386,7 +386,7 @@ _sb.Append(BA.ObjectToString(_col)).Append(__c.TAB);
}
};
//BA.debugLineNum = 255;BA.debugLine="Log(sb.ToString)";
-__c.LogImpl("365536007",_sb.ToString(),0);
+__c.LogImpl("865601543",_sb.ToString(),0);
//BA.debugLineNum = 256;BA.debugLine="For Each row() As Object In Table.Rows";
{
final anywheresoftware.b4a.BA.IterableList group8 = _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java
index b2cec0d..ccd037c 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java
@@ -107,7 +107,7 @@ if (__c.SubExists(ba,_callback,_eventname+"_NewData")) {
__c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer));
};
//BA.debugLineNum = 1138;BA.debugLine="Log(\"Data \" & Buffer(0))";
-__c.LogImpl("369074948","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
+__c.LogImpl("869140484","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
//BA.debugLineNum = 1139;BA.debugLine="End Sub";
return "";
}
@@ -216,7 +216,7 @@ _l = new anywheresoftware.b4a.objects.collections.List();
//BA.debugLineNum = 109;BA.debugLine="l.Initialize";
_l.Initialize();
//BA.debugLineNum = 110;BA.debugLine="Log(\"aqui 1\")";
-__c.LogImpl("365929226","aqui 1",0);
+__c.LogImpl("865994762","aqui 1",0);
//BA.debugLineNum = 111;BA.debugLine="For i = 0 To PairedDevices.Size - 1";
{
final int step8 = 1;
@@ -226,7 +226,7 @@ for (;_i <= limit8 ;_i = _i + step8 ) {
//BA.debugLineNum = 112;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))";
_l.Add(_paireddevices.GetKeyAt(_i));
//BA.debugLineNum = 113;BA.debugLine="Log(\"aqui 2\")";
-__c.LogImpl("365929229","aqui 2",0);
+__c.LogImpl("865994765","aqui 2",0);
//BA.debugLineNum = 114;BA.debugLine="DisConnect";
_disconnect();
}
@@ -246,10 +246,10 @@ if (true) return __c.True;
//BA.debugLineNum = 123;BA.debugLine="DisConnect";
_disconnect();
//BA.debugLineNum = 124;BA.debugLine="Log(\"aqui 3\")";
-__c.LogImpl("365929240","aqui 3",0);
+__c.LogImpl("865994776","aqui 3",0);
};
//BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")";
-__c.LogImpl("365929242","aqui 4",0);
+__c.LogImpl("865994778","aqui 4",0);
//BA.debugLineNum = 127;BA.debugLine="Return False";
if (true) return __c.False;
}else {
@@ -260,12 +260,12 @@ if (true) return __c.True;
//BA.debugLineNum = 132;BA.debugLine="DisConnect";
_disconnect();
//BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")";
-__c.LogImpl("365929249","aqui 5",0);
+__c.LogImpl("865994785","aqui 5",0);
};
}
catch (Exception e31) {
ba.setLastException(e31); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)";
-__c.LogImpl("365929252",BA.ObjectToString(__c.LastException(getActivityBA())),0);
+__c.LogImpl("865994788",BA.ObjectToString(__c.LastException(getActivityBA())),0);
//BA.debugLineNum = 137;BA.debugLine="Return False";
if (true) return __c.False;
};
@@ -434,22 +434,22 @@ _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0)
//BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then";
if (_shape==3) {
//BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)";
-__c.LogImpl("367239978","Triangle "+_logmsg,0);
+__c.LogImpl("867305514","Triangle "+_logmsg,0);
//BA.debugLineNum = 447;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi";
_plottriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill);
}else if(_shape==2) {
//BA.debugLineNum = 449;BA.debugLine="Log(\"Circle \" & logmsg)";
-__c.LogImpl("367239981","Circle "+_logmsg,0);
+__c.LogImpl("867305517","Circle "+_logmsg,0);
//BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)";
_plotcircle(_x0,_y0,_x1,_y1,_points,_fill);
}else if(_shape==1) {
//BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)";
-__c.LogImpl("367239984","Box "+_logmsg,0);
+__c.LogImpl("867305520","Box "+_logmsg,0);
//BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)";
_plotbox(_x0,_y0,_x1,_y1,_points,_fill);
}else {
//BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)";
-__c.LogImpl("367239987","Line "+_logmsg,0);
+__c.LogImpl("867305523","Line "+_logmsg,0);
//BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)";
_plotline(_x0,_y0,_x1,_y1,_points);
};
@@ -1952,7 +1952,7 @@ _databytes = _data.getBytes("ASCII");
//BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length";
_dlow = _databytes.length;
//BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \",";
-__c.LogImpl("368878339","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
+__c.LogImpl("868943875","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
//BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt";
_writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0))));
//BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte";
@@ -1990,7 +1990,7 @@ _dhigh = (int) (_databytes.length/(double)256);
//BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256";
_dlow = (int) (_databytes.length-_dhigh*256);
//BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \",";
-__c.LogImpl("368943876","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
+__c.LogImpl("869009412","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
//BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte";
_params = new byte[(int) (3)];
;
@@ -2027,7 +2027,7 @@ _astream.Write(_data.getBytes(_encoding));
}
catch (Exception e6) {
ba.setLastException(e6); //BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)";
-__c.LogImpl("366977798","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
+__c.LogImpl("867043334","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
//BA.debugLineNum = 306;BA.debugLine="AStream_Error";
_astream_error();
};
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java
index e1e316a..505c0e6 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java
@@ -58,30 +58,30 @@ anywheresoftware.b4j.object.JavaObject _uri = null;
anywheresoftware.b4j.object.JavaObject _f = null;
anywheresoftware.b4j.object.JavaObject _fp = null;
anywheresoftware.b4j.object.JavaObject _context = null;
- //BA.debugLineNum = 21;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje";
- //BA.debugLineNum = 23;BA.debugLine="If UseFileProvider = False Then";
+ //BA.debugLineNum = 22;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje";
+ //BA.debugLineNum = 24;BA.debugLine="If UseFileProvider = False Then";
if (_usefileprovider==__c.False) {
- //BA.debugLineNum = 24;BA.debugLine="Dim uri As JavaObject";
+ //BA.debugLineNum = 25;BA.debugLine="Dim uri As JavaObject";
_uri = new anywheresoftware.b4j.object.JavaObject();
- //BA.debugLineNum = 25;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R";
+ //BA.debugLineNum = 26;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R";
if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(_sharedfolder,_filename))});
}else {
- //BA.debugLineNum = 27;BA.debugLine="Dim f As JavaObject";
+ //BA.debugLineNum = 28;BA.debugLine="Dim f As JavaObject";
_f = new anywheresoftware.b4j.object.JavaObject();
- //BA.debugLineNum = 28;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh";
+ //BA.debugLineNum = 29;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh";
_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)});
- //BA.debugLineNum = 29;BA.debugLine="Dim fp As JavaObject";
+ //BA.debugLineNum = 30;BA.debugLine="Dim fp As JavaObject";
_fp = new anywheresoftware.b4j.object.JavaObject();
- //BA.debugLineNum = 30;BA.debugLine="Dim context As JavaObject";
+ //BA.debugLineNum = 31;BA.debugLine="Dim context As JavaObject";
_context = new anywheresoftware.b4j.object.JavaObject();
- //BA.debugLineNum = 31;BA.debugLine="context.InitializeContext";
+ //BA.debugLineNum = 32;BA.debugLine="context.InitializeContext";
_context.InitializeContext(ba);
- //BA.debugLineNum = 32;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content.";
+ //BA.debugLineNum = 33;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content.";
_fp.InitializeStatic("androidx.core.content.FileProvider");
- //BA.debugLineNum = 33;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte";
+ //BA.debugLineNum = 34;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte";
if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(__c.Application.getPackageName()+".provider"),(Object)(_f.getObject())});
};
- //BA.debugLineNum = 35;BA.debugLine="End Sub";
+ //BA.debugLineNum = 36;BA.debugLine="End Sub";
return null;
}
public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
@@ -104,20 +104,22 @@ _usefileprovider = __c.False;
//BA.debugLineNum = 16;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha";
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
};
- //BA.debugLineNum = 18;BA.debugLine="End Sub";
+ //BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)";
+__c.LogImpl("911796490",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
+ //BA.debugLineNum = 19;BA.debugLine="End Sub";
return "";
}
public String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{
anywheresoftware.b4j.object.JavaObject _jo = null;
- //BA.debugLineNum = 39;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten";
- //BA.debugLineNum = 40;BA.debugLine="Dim jo As JavaObject = Intent";
+ //BA.debugLineNum = 40;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten";
+ //BA.debugLineNum = 41;BA.debugLine="Dim jo As JavaObject = Intent";
_jo = new anywheresoftware.b4j.object.JavaObject();
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject()));
- //BA.debugLineNum = 41;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName";
+ //BA.debugLineNum = 42;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName";
_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)});
- //BA.debugLineNum = 42;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN";
+ //BA.debugLineNum = 43;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN";
_intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1)));
- //BA.debugLineNum = 43;BA.debugLine="End Sub";
+ //BA.debugLineNum = 44;BA.debugLine="End Sub";
return "";
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/firebasemessaging.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/firebasemessaging.java
index aeb1975..86e4b7a 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/firebasemessaging.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/firebasemessaging.java
@@ -107,15 +107,7 @@ public class firebasemessaging extends android.app.Service{
}
}
}
-
- public void onTimeout(int startId) {
- BA.LogInfo("** Service (firebasemessaging) Timeout **");
- anywheresoftware.b4a.objects.collections.Map params = new anywheresoftware.b4a.objects.collections.Map();
- params.Initialize();
- params.Put("StartId", startId);
- processBA.raiseEvent(null, "service_timeout", params);
-
- }
+
@Override
public void onDestroy() {
super.onDestroy();
@@ -193,13 +185,13 @@ _su = new anywheresoftware.b4a.objects.StringUtils();
//BA.debugLineNum = 182;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)";
_compressed = _gzip.compress(_str);
//BA.debugLineNum = 183;BA.debugLine="Log($\"CompressedBytesLength: ${compressed.Length}";
-anywheresoftware.b4a.keywords.Common.LogImpl("369992452",("CompressedBytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_compressed.length))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("870057988",("CompressedBytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_compressed.length))+""),0);
//BA.debugLineNum = 184;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed";
_base64 = _su.EncodeBase64(_compressed);
//BA.debugLineNum = 185;BA.debugLine="Log($\"CompressedBytes converted to base64 Length:";
-anywheresoftware.b4a.keywords.Common.LogImpl("369992454",("CompressedBytes converted to base64 Length: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("870057990",("CompressedBytes converted to base64 Length: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
//BA.debugLineNum = 186;BA.debugLine="Log($\"CompressedBytes converted to base64: ${base";
-anywheresoftware.b4a.keywords.Common.LogImpl("369992455",("CompressedBytes converted to base64: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("870057991",("CompressedBytes converted to base64: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64))+""),0);
//BA.debugLineNum = 187;BA.debugLine="Return base64";
if (true) return _base64;
//BA.debugLineNum = 188;BA.debugLine="End Sub";
@@ -221,15 +213,15 @@ _su = new anywheresoftware.b4a.objects.StringUtils();
//BA.debugLineNum = 193;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64";
_decompressedbytes = _su.DecodeBase64(_base64);
//BA.debugLineNum = 194;BA.debugLine="Log($\"decompressedbytesLength: ${decompressedbyte";
-anywheresoftware.b4a.keywords.Common.LogImpl("370057988",("decompressedbytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_decompressedbytes.length))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("870123524",("decompressedbytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_decompressedbytes.length))+""),0);
//BA.debugLineNum = 195;BA.debugLine="Dim bc As ByteConverter";
_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter();
//BA.debugLineNum = 196;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d";
_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8");
//BA.debugLineNum = 197;BA.debugLine="Log($\"uncompressedLength: ${uncompressed.Length}\"";
-anywheresoftware.b4a.keywords.Common.LogImpl("370057991",("uncompressedLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("870123527",("uncompressedLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
//BA.debugLineNum = 198;BA.debugLine="Log($\"Decompressed String = ${uncompressed}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("370057992",("Decompressed String = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("870123528",("Decompressed String = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed))+""),0);
//BA.debugLineNum = 199;BA.debugLine="Return uncompressed";
if (true) return _uncompressed;
//BA.debugLineNum = 200;BA.debugLine="End Sub";
@@ -241,9 +233,9 @@ anywheresoftware.b4a.objects.collections.Map _params = null;
String _rutagpscmp = "";
//BA.debugLineNum = 72;BA.debugLine="Sub fm_MessageArrived (Message As RemoteMessage)";
//BA.debugLineNum = 73;BA.debugLine="Log(\"Message arrived\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533697","Message arrived",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599233","Message arrived",0);
//BA.debugLineNum = 74;BA.debugLine="Log($\"Message data: ${Message.GetData}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533698",("Message data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_message.GetData().getObject()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599234",("Message data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_message.GetData().getObject()))+""),0);
//BA.debugLineNum = 76;BA.debugLine="If Message.GetData.ContainsKey(\"t\") Then";
if (_message.GetData().ContainsKey((Object)("t"))) {
//BA.debugLineNum = 77;BA.debugLine="Dim tipos As List = Regex.Split(\",\",Message.GetD";
@@ -252,11 +244,11 @@ _tipos = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.k
//BA.debugLineNum = 78;BA.debugLine="If tipos.IndexOf(\"pu\") <> -1 Or tipos.IndexOf(\"a";
if (_tipos.IndexOf((Object)("pu"))!=-1 || _tipos.IndexOf((Object)("au"))!=-1) {
//BA.debugLineNum = 79;BA.debugLine="Log(\"Es una peticion de ubicacion\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533703","Es una peticion de ubicacion",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599239","Es una peticion de ubicacion",0);
//BA.debugLineNum = 80;BA.debugLine="locRequest=\"Activa\"";
_locrequest = "Activa";
//BA.debugLineNum = 81;BA.debugLine="Log(\"Llamamos StartFLPSmall\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533705","Llamamos StartFLPSmall",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599241","Llamamos StartFLPSmall",0);
//BA.debugLineNum = 82;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")";
anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"StartFLPSmall");
//BA.debugLineNum = 83;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")";
@@ -270,9 +262,9 @@ _au = BA.NumberToString(1);
//BA.debugLineNum = 88;BA.debugLine="If tipos.IndexOf(\"ping\") <> -1 Then 'Si es un pi";
if (_tipos.IndexOf((Object)("ping"))!=-1) {
//BA.debugLineNum = 89;BA.debugLine="Log(\"Es un ping\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533713","Es un ping",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599249","Es un ping",0);
//BA.debugLineNum = 90;BA.debugLine="Log(\"Mandamos pong\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533714","Mandamos pong",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599250","Mandamos pong",0);
//BA.debugLineNum = 91;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t";
_params = new anywheresoftware.b4a.objects.collections.Map();
_params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("pong"),(Object)("body"),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._usuario /*String*/ +" - Recibi mensaje "+BA.ObjectToString(_message.GetData().Get((Object)("title")))),(Object)("t"),(Object)("pong")});
@@ -282,16 +274,16 @@ _sendmessage(_params);
//BA.debugLineNum = 94;BA.debugLine="If tipos.IndexOf(\"bgps\") <> -1 Then 'Si es una i";
if (_tipos.IndexOf((Object)("bgps"))!=-1) {
//BA.debugLineNum = 95;BA.debugLine="Log(\"Es una instruccion de borrar archivo gps\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533719","Es una instruccion de borrar archivo gps",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599255","Es una instruccion de borrar archivo gps",0);
//BA.debugLineNum = 96;BA.debugLine="Log(\"Borramos archivo gps\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533720","Borramos archivo gps",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599256","Borramos archivo gps",0);
//BA.debugLineNum = 97;BA.debugLine="borramosArchivoGPS";
_borramosarchivogps();
};
//BA.debugLineNum = 99;BA.debugLine="If tipos.IndexOf(\"dr\") <> -1 Then 'Si es una pet";
if (_tipos.IndexOf((Object)("dr"))!=-1) {
//BA.debugLineNum = 100;BA.debugLine="Log(\"Es una peticion de Ruta GPS\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533724","Es una peticion de Ruta GPS",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599260","Es una peticion de Ruta GPS",0);
//BA.debugLineNum = 101;BA.debugLine="Dim rutaGpsCmp As String = dameRuta";
_rutagpscmp = _dameruta();
//BA.debugLineNum = 102;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t";
@@ -303,16 +295,16 @@ _sendmessage(_params);
//BA.debugLineNum = 105;BA.debugLine="If tipos.IndexOf(\"bgps2\") <> -1 Then 'Si es una";
if (_tipos.IndexOf((Object)("bgps2"))!=-1) {
//BA.debugLineNum = 106;BA.debugLine="Log(\"Es una instruccion de borrar BD gps\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533730","Es una instruccion de borrar BD gps",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599266","Es una instruccion de borrar BD gps",0);
//BA.debugLineNum = 107;BA.debugLine="Log(\"Borramos BD gps\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533731","Borramos BD gps",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599267","Borramos BD gps",0);
//BA.debugLineNum = 108;BA.debugLine="borraGPSHist";
_borragpshist();
};
//BA.debugLineNum = 110;BA.debugLine="If tipos.IndexOf(\"pu\") = -1 And tipos.IndexOf(\"a";
if (_tipos.IndexOf((Object)("pu"))==-1 && _tipos.IndexOf((Object)("au"))==-1 && _tipos.IndexOf((Object)("ping"))==-1 && _tipos.IndexOf((Object)("dr"))==-1) {
//BA.debugLineNum = 111;BA.debugLine="Log(\"No es ping ni solicitud de ubicacion o rut";
-anywheresoftware.b4a.keywords.Common.LogImpl("369533735","No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("869599271","No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada",0);
};
};
//BA.debugLineNum = 119;BA.debugLine="End Sub";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java
index d68c963..956ab3c 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java
@@ -445,7 +445,7 @@ String _flash = "";
//BA.debugLineNum = 151;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances";
_f = mostCurrent._camex._getfocusdistances /*float[]*/ ();
//BA.debugLineNum = 152;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))";
-anywheresoftware.b4a.keywords.Common.LogImpl("371106562",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("871172098",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0);
//BA.debugLineNum = 153;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM";
_flashmodes = new anywheresoftware.b4a.objects.collections.List();
_flashmodes = mostCurrent._camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ ();
@@ -605,7 +605,7 @@ mostCurrent._camex._commitparameters /*String*/ ();
//BA.debugLineNum = 61;BA.debugLine="camEx.StartPreview";
mostCurrent._camex._startpreview /*String*/ ();
//BA.debugLineNum = 62;BA.debugLine="Log(camEx.GetPreviewSize)";
-anywheresoftware.b4a.keywords.Common.LogImpl("370713349",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("870778885",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0);
}else {
//BA.debugLineNum = 64;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),anywheresoftware.b4a.keywords.Common.True);
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java
index 7e4ae12..887ce94 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java
@@ -130,7 +130,7 @@ _req.InitializeDelete(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("939911429",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("913697029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)";
_req.InitializeDelete(_invalidurl);
};
@@ -149,7 +149,7 @@ _req.InitializeDelete(_escapelink(_link,_parameters));
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("939976965",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("913762565",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para";
_req.InitializeDelete(_escapelink(_invalidurl,_parameters));
};
@@ -168,7 +168,7 @@ _req.InitializeGet(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("939714821",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("913500421",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)";
_req.InitializeGet(_invalidurl);
};
@@ -187,7 +187,7 @@ _req.InitializeGet(_escapelink(_link,_parameters));
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("939780357",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("913565957",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet";
_req.InitializeGet(_escapelink(_invalidurl,_parameters));
};
@@ -311,7 +311,7 @@ _req.InitializeHead(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("939452677",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("913238277",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)";
_req.InitializeHead(_invalidurl);
};
@@ -365,7 +365,7 @@ _req.InitializePatch2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("939387148",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("913172748",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)";
_req.InitializePatch2(_invalidurl,_data);
};
@@ -391,7 +391,7 @@ _req.InitializePost2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("939124997",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("912910597",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)";
_req.InitializePost2(_invalidurl,_data);
};
@@ -411,7 +411,7 @@ _length = 0;
//BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then";
if ((_dir).equals(__c.File.getDirAssets())) {
//BA.debugLineNum = 198;BA.debugLine="Log(\"Cannot send files from the assets folder.\")";
-__c.LogImpl("939649288","Cannot send files from the assets folder.",0);
+__c.LogImpl("913434888","Cannot send files from the assets folder.",0);
//BA.debugLineNum = 199;BA.debugLine="Return";
if (true) return "";
};
@@ -548,7 +548,7 @@ _req.InitializePut2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("939256069",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("913041669",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)";
_req.InitializePut2(_invalidurl,_data);
};
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java
index e163162..44f54cf 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java
@@ -70,7 +70,7 @@ _job = (reparto_mazapa.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid)));
//BA.debugLineNum = 157;BA.debugLine="If job = Null Then";
if (_job== null) {
//BA.debugLineNum = 158;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t";
-anywheresoftware.b4a.keywords.Common.LogImpl("338797318","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("812582918","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 159;BA.debugLine="Return";
if (true) return "";
};
@@ -89,7 +89,7 @@ public static String _hc_responseerror(anywheresoftware.b4h.okhttp.OkHttpClient
reparto_mazapa.keymon.lat.httpjob _job = null;
//BA.debugLineNum = 115;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,";
//BA.debugLineNum = 117;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:";
-anywheresoftware.b4a.keywords.Common.LogImpl("338731778",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("812517378",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
//BA.debugLineNum = 119;BA.debugLine="Response.Release";
_response.Release();
//BA.debugLineNum = 120;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)";
@@ -97,7 +97,7 @@ _job = (reparto_mazapa.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid)));
//BA.debugLineNum = 121;BA.debugLine="If job = Null Then";
if (_job== null) {
//BA.debugLineNum = 122;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c";
-anywheresoftware.b4a.keywords.Common.LogImpl("338731783","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("812517383","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 123;BA.debugLine="Return";
if (true) return "";
};
@@ -123,7 +123,7 @@ _job = (reparto_mazapa.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid)));
//BA.debugLineNum = 94;BA.debugLine="If job = Null Then";
if (_job== null) {
//BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job";
-anywheresoftware.b4a.keywords.Common.LogImpl("338600707","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("812386307","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 96;BA.debugLine="Return";
if (true) return "";
};
@@ -187,9 +187,9 @@ anywheresoftware.b4a.keywords.Common.File.Delete(_tempfolder,"~test.test");
}
catch (Exception e6) {
processBA.setLastException(e6); //BA.debugLineNum = 34;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("338273031",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("812058631",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
//BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("338273032","Switching to File.DirInternal",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("812058632","Switching to File.DirInternal",0);
//BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal";
_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal();
};
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java
index 11dea31..5aa60c0 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java
@@ -122,7 +122,7 @@ return null;
public String _raiseevent() throws Exception{
//BA.debugLineNum = 53;BA.debugLine="Private Sub RaiseEvent";
//BA.debugLineNum = 54;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab";
-__c.LogImpl("371565313","Calling : "+_meventname+"_StorageAvailable",0);
+__c.LogImpl("871630849","Calling : "+_meventname+"_StorageAvailable",0);
//BA.debugLineNum = 55;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA";
__c.CallSubDelayed(ba,_mcallback,_meventname+"_StorageAvailable");
//BA.debugLineNum = 56;BA.debugLine="End Sub";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java
index 057394e..4e02b2f 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java
@@ -431,7 +431,7 @@ return "";
public static String _b_regresar_click() throws Exception{
//BA.debugLineNum = 105;BA.debugLine="Private Sub b_regresar_Click";
//BA.debugLineNum = 106;BA.debugLine="Log(\"Pressed\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("372351745","Pressed",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("872417281","Pressed",0);
//BA.debugLineNum = 107;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
//BA.debugLineNum = 108;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java
index 28cb8fa..781136f 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java
@@ -107,15 +107,7 @@ public class newinst2 extends android.app.Service{
}
}
}
-
- public void onTimeout(int startId) {
- BA.LogInfo("** Service (newinst2) Timeout **");
- anywheresoftware.b4a.objects.collections.Map params = new anywheresoftware.b4a.objects.collections.Map();
- params.Initialize();
- params.Put("StartId", startId);
- processBA.raiseEvent(null, "service_timeout", params);
-
- }
+
@Override
public void onDestroy() {
super.onDestroy();
@@ -167,7 +159,7 @@ public static String _myappreload() throws Exception{
//BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload";
//BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:";
if (_svcverbose) {
-anywheresoftware.b4a.keywords.Common.LogImpl("329229057","-- AppUpdating.NewInst2: processing MyAppReload",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("83014657","-- AppUpdating.NewInst2: processing MyAppReload",0);};
//BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then";
if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) {
//BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")";
@@ -190,7 +182,7 @@ return "";
public static String _service_create() throws Exception{
//BA.debugLineNum = 13;BA.debugLine="Sub Service_Create";
//BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea";
-anywheresoftware.b4a.keywords.Common.LogImpl("328966913","---- AppUpdating.newinst2: service created",_logcolor1);
+anywheresoftware.b4a.keywords.Common.LogImpl("82752513","---- AppUpdating.newinst2: service created",_logcolor1);
//BA.debugLineNum = 15;BA.debugLine="pkg = \"\"";
_pkg = "";
//BA.debugLineNum = 16;BA.debugLine="svcVerbose = False";
@@ -206,28 +198,28 @@ return "";
public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{
//BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)";
//BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star";
-anywheresoftware.b4a.keywords.Common.LogImpl("329032449","---- AppUpdating.newinst2: service_started",_logcolor1);
+anywheresoftware.b4a.keywords.Common.LogImpl("82818049","---- AppUpdating.newinst2: service_started",_logcolor1);
//BA.debugLineNum = 21;BA.debugLine="If svcVerbose Then";
if (_svcverbose) {
//BA.debugLineNum = 22;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("329032451",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("82818051",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0);
//BA.debugLineNum = 23;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("329032452",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("82818052",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0);
//BA.debugLineNum = 24;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri";
-anywheresoftware.b4a.keywords.Common.LogImpl("329032453",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("82818053",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0);
//BA.debugLineNum = 25;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("329032454",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("82818054",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0);
};
//BA.debugLineNum = 27;BA.debugLine="If StartingIntent.Action = \"android.intent.action";
if ((_startingintent.getAction()).equals("android.intent.action.MY_PACKAGE_REPLACED")) {
//BA.debugLineNum = 28;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE";
if (_svcverbose) {
-anywheresoftware.b4a.keywords.Common.LogImpl("329032457",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("82818057",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);};
//BA.debugLineNum = 29;BA.debugLine="pkg = GetPackageName";
_pkg = _getpackagename();
//BA.debugLineNum = 30;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$";
if (_svcverbose) {
-anywheresoftware.b4a.keywords.Common.LogImpl("329032459",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("82818059",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);};
//BA.debugLineNum = 31;BA.debugLine="MyAppReload";
_myappreload();
};
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java
index 3a50ea3..7cdc47e 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java
@@ -107,15 +107,7 @@ public class starter extends android.app.Service{
}
}
}
-
- public void onTimeout(int startId) {
- BA.LogInfo("** Service (starter) Timeout **");
- anywheresoftware.b4a.objects.collections.Map params = new anywheresoftware.b4a.objects.collections.Map();
- params.Initialize();
- params.Put("StartId", startId);
- processBA.raiseEvent(null, "service_timeout", params);
-
- }
+
@Override
public void onDestroy() {
super.onDestroy();
@@ -189,7 +181,7 @@ _reqmanager._initialize /*String*/ (processBA,starter.getObject(),_server);
//BA.debugLineNum = 100;BA.debugLine="If IsConnectedToInternet Then";
if (_isconnectedtointernet()) {
//BA.debugLineNum = 101;BA.debugLine="Log(\"Con internet, enviamos UTR!\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("310158084","Con internet, enviamos UTR!",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("845809668","Con internet, enviamos UTR!",0);
//BA.debugLineNum = 102;BA.debugLine="Dim skmt As SQL";
_skmt = new anywheresoftware.b4a.sql.SQL();
//BA.debugLineNum = 103;BA.debugLine="Dim cmd As DBCommand";
@@ -200,7 +192,7 @@ _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True);
_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True);
//BA.debugLineNum = 108;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("310158091","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);};
+anywheresoftware.b4a.keywords.Common.LogImpl("845809675","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);};
//BA.debugLineNum = 109;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss");
//BA.debugLineNum = 110;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT";
@@ -220,10 +212,10 @@ _cmd.Name /*String*/ = "UPDATE_MAZAPA_ACTUALR3_GPS";
//BA.debugLineNum = 118;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPa";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ),(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )};
//BA.debugLineNum = 120;BA.debugLine="Log($\"Monto actual: ${B4XPages.MainPage.montoAct";
-anywheresoftware.b4a.keywords.Common.LogImpl("310158103",("Monto actual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+" & Clientes totales: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+" & Clientes con venta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+" & Clientes visitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+" & Latitud: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+" & Longitud: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+" & Bateria: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+" & Monto Rechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+" & Monto entregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+" & Clientes totales: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+" & Por visitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+" & Entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+" & Rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+" & Version: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+" & Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+" & Ruta cargada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("845809687",("Monto actual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+" & Clientes totales: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+" & Clientes con venta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+" & Clientes visitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+" & Latitud: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+" & Longitud: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+" & Bateria: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+" & Monto Rechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+" & Monto entregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+" & Clientes totales: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+" & Por visitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+" & Entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+" & Rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+" & Version: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+" & Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+" & Ruta cargada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);
//BA.debugLineNum = 122;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("310158105",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("845809689",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);};
//BA.debugLineNum = 124;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")";
_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_visitas"));
//BA.debugLineNum = 125;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT";
@@ -236,7 +228,7 @@ _timer1.setInterval((long) (_interval*1000));
_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True);
}else {
//BA.debugLineNum = 132;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("310158115","Sin conexión a internet, no se envió UTR!",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("845809699","Sin conexión a internet, no se envió UTR!",0);
};
//BA.debugLineNum = 134;BA.debugLine="End Sub";
return "";
@@ -265,7 +257,7 @@ return false;
public static String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{
//BA.debugLineNum = 147;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 150;BA.debugLine="Log(\"ENTRAMOS A JOBDONE\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("310289155","ENTRAMOS A JOBDONE",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("845940739","ENTRAMOS A JOBDONE",0);
//BA.debugLineNum = 152;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.False) {
//BA.debugLineNum = 154;BA.debugLine="If Job.ErrorMessage.Contains(\"failed to connect\"";
@@ -335,7 +327,7 @@ _ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal();
if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(_ruta,"kmt.db"))) {
anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",_ruta,"kmt.db");};
//BA.debugLineNum = 46;BA.debugLine="Log(ruta)";
-anywheresoftware.b4a.keywords.Common.LogImpl("39764870",_ruta,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("845416454",_ruta,0);
//BA.debugLineNum = 47;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True);
//BA.debugLineNum = 61;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java
index 54f3945..f4e6372 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java
@@ -48,7 +48,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 929;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 930;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
-anywheresoftware.b4a.keywords.Common.LogImpl("314286854",("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);
+anywheresoftware.b4a.keywords.Common.LogImpl("849938438",("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) {
@@ -56,11 +56,11 @@ anywheresoftware.b4a.keywords.Common.LogImpl("314286854",("Columna \""+anywheres
try { //BA.debugLineNum = 934;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 935;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
-anywheresoftware.b4a.keywords.Common.LogImpl("314286859",("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);
+anywheresoftware.b4a.keywords.Common.LogImpl("849938443",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13); //BA.debugLineNum = 937;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("314286861",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("849938445",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
};
};
//BA.debugLineNum = 940;BA.debugLine="End Sub";
@@ -72,7 +72,7 @@ public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) thro
if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) {
_revisabd(_ba);};
//BA.debugLineNum = 416;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite";
-anywheresoftware.b4a.keywords.Common.LogImpl("312189698","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("847841282","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 417;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE";
_errorlog.ExecNonQuery("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )");
//BA.debugLineNum = 418;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")";
@@ -86,7 +86,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
//BA.debugLineNum = 424;BA.debugLine="revisaBD";
_revisabd(_ba);
//BA.debugLineNum = 425;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim";
-anywheresoftware.b4a.keywords.Common.LogImpl("312255234","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("847906818","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 426;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
//BA.debugLineNum = 427;BA.debugLine="c = kmt.ExecQuery(\"select fecha from bitacora\")";
@@ -108,7 +108,7 @@ return "";
public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{
//BA.debugLineNum = 302;BA.debugLine="Sub borraLogDB 'ignore";
//BA.debugLineNum = 303;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
-anywheresoftware.b4a.keywords.Common.LogImpl("311862017","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("847513601","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 304;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")";
_kmt.ExecNonQuery("delete from bitacora");
//BA.debugLineNum = 305;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
@@ -172,7 +172,7 @@ _compressed = _gzip.compress(_str);
//BA.debugLineNum = 44;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed";
_base64 = _su.EncodeBase64(_compressed);
//BA.debugLineNum = 45;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("310485766",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("846137350",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
//BA.debugLineNum = 47;BA.debugLine="Return base64";
if (true) return _base64;
//BA.debugLineNum = 48;BA.debugLine="End Sub";
@@ -217,11 +217,11 @@ anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("B
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))),anywheresoftware.b4a.keywords.Common.True);
};
//BA.debugLineNum = 534;BA.debugLine="Log(\"rootExternal=\"&p)";
-anywheresoftware.b4a.keywords.Common.LogImpl("312582935","rootExternal="+_p,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("848234519","rootExternal="+_p,0);
//BA.debugLineNum = 535;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
-anywheresoftware.b4a.keywords.Common.LogImpl("312582936","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("848234520","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
//BA.debugLineNum = 536;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
-anywheresoftware.b4a.keywords.Common.LogImpl("312582937","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("848234521","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
}else {
//BA.debugLineNum = 538;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False);
@@ -239,7 +239,7 @@ anywheresoftware.b4a.objects.collections.Map _m = null;
anywheresoftware.b4a.objects.collections.Map _m2 = null;
//BA.debugLineNum = 448;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,";
//BA.debugLineNum = 449;BA.debugLine="Log(\"dameErroresJSON\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("312386305","dameErroresJSON",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("848037889","dameErroresJSON",0);
//BA.debugLineNum = 450;BA.debugLine="Private j As JSONGenerator";
_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator();
//BA.debugLineNum = 451;BA.debugLine="Private lim As String";
@@ -283,7 +283,7 @@ _cur.Close();
//BA.debugLineNum = 468;BA.debugLine="j.Initialize(m2)";
_j.Initialize(_m2);
//BA.debugLineNum = 469;BA.debugLine="Log(j.ToString)";
-anywheresoftware.b4a.keywords.Common.LogImpl("312386325",_j.ToString(),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("848037909",_j.ToString(),0);
//BA.debugLineNum = 470;BA.debugLine="If comprimido Then";
if (_comprimido) {
//BA.debugLineNum = 471;BA.debugLine="Return compress(j.ToString)";
@@ -315,7 +315,7 @@ _fechainicio = _fechainiciohoy(_ba);
};
//BA.debugLineNum = 153;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("311010059","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("846661643","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
//BA.debugLineNum = 154;BA.debugLine="Dim c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
//BA.debugLineNum = 155;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize(";
@@ -323,7 +323,7 @@ if (_kmt.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) {
_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);};
//BA.debugLineNum = 156;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"select FECH";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("311010062","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("846661646","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
//BA.debugLineNum = 157;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints))));
//BA.debugLineNum = 158;BA.debugLine="c.Position = 0";
@@ -391,7 +391,7 @@ _bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter();
//BA.debugLineNum = 55;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d";
_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8");
//BA.debugLineNum = 56;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("310551301",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("846202885",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
//BA.debugLineNum = 58;BA.debugLine="Return uncompressed";
if (true) return _uncompressed;
//BA.debugLineNum = 59;BA.debugLine="End Sub";
@@ -433,7 +433,7 @@ _h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.key
//BA.debugLineNum = 265;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
//BA.debugLineNum = 266;BA.debugLine="Log(\"Hoy=\"&h)";
-anywheresoftware.b4a.keywords.Common.LogImpl("311599877","Hoy="+_h,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("847251461","Hoy="+_h,0);
//BA.debugLineNum = 267;BA.debugLine="Return h";
if (true) return _h;
//BA.debugLineNum = 268;BA.debugLine="End Sub";
@@ -483,16 +483,16 @@ anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
if (true) return _ticks;
}else {
//BA.debugLineNum = 491;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '";
-anywheresoftware.b4a.keywords.Common.LogImpl("312451853","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("848103437","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
//BA.debugLineNum = 492;BA.debugLine="Return 0";
if (true) return (long) (0);
};
}
catch (Exception e16) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 495;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("312451857",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("848103441",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
//BA.debugLineNum = 496;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p";
-anywheresoftware.b4a.keywords.Common.LogImpl("312451858",("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);
+anywheresoftware.b4a.keywords.Common.LogImpl("848103442",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 497;BA.debugLine="Return 0";
if (true) return (long) (0);
};
@@ -580,7 +580,7 @@ String[] _latlon = null;
//BA.debugLineNum = 128;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore";
//BA.debugLineNum = 129;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Guardamos u";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("310944513","Guardamos ubicacion en BD - "+_coords,0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("846596097","Guardamos ubicacion en BD - "+_coords,0);};
//BA.debugLineNum = 130;BA.debugLine="Try";
try { //BA.debugLineNum = 131;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord";
_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords);
@@ -595,7 +595,7 @@ _kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywhe
}
catch (Exception e8) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 137;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("310944521",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("846596105",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
};
//BA.debugLineNum = 139;BA.debugLine="End Sub";
return "";
@@ -634,7 +634,7 @@ int _x = 0;
if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) {
_revisabd(_ba);};
//BA.debugLineNum = 440;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("312320770","insertamos 50 renglones a errorLog",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("847972354","insertamos 50 renglones a errorLog",0);
//BA.debugLineNum = 441;BA.debugLine="For x = 1 To 50";
{
final int step3 = 1;
@@ -644,7 +644,7 @@ for (;_x <= limit3 ;_x = _x + step3 ) {
//BA.debugLineNum = 442;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech";
_errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)("abc")}));
//BA.debugLineNum = 443;BA.debugLine="Log(x)";
-anywheresoftware.b4a.keywords.Common.LogImpl("312320773",BA.NumberToString(_x),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("847972357",BA.NumberToString(_x),0);
}
};
//BA.debugLineNum = 445;BA.debugLine="End Sub";
@@ -681,7 +681,7 @@ if (true) return _json.NextObject();
}
catch (Exception e6) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 224;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("311403271",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("847054855",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
//BA.debugLineNum = 225;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)";
_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)));
//BA.debugLineNum = 226;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene";
@@ -696,7 +696,7 @@ return null;
public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{
//BA.debugLineNum = 271;BA.debugLine="Sub log2DB(texto As String) 'ignore";
//BA.debugLineNum = 272;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te";
-anywheresoftware.b4a.keywords.Common.LogImpl("311665409",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("847316993",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 273;BA.debugLine="If kmt.IsInitialized Then kmt.ExecNonQuery2(\"INSE";
if (_kmt.IsInitialized()) {
_kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_texto)}));};
@@ -750,7 +750,7 @@ if (true) return anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e8) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 297;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("311796491",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("847448075",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
};
//BA.debugLineNum = 299;BA.debugLine="End Sub";
return false;
@@ -776,7 +776,7 @@ _notif.setSound(anywheresoftware.b4a.keywords.Common.False);
//BA.debugLineNum = 90;BA.debugLine="notif.AutoCancel = True";
_notif.setAutoCancel(anywheresoftware.b4a.keywords.Common.True);
//BA.debugLineNum = 91;BA.debugLine="Log(\"notiHigh: \"&title)";
-anywheresoftware.b4a.keywords.Common.LogImpl("310747911","notiHigh: "+_title,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("846399495","notiHigh: "+_title,0);
//BA.debugLineNum = 92;BA.debugLine="notif.SetInfo(title, body, activity)";
_notif.SetInfoNew((_ba.processBA == null ? _ba : _ba.processBA),BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_body),_activity);
//BA.debugLineNum = 94;BA.debugLine="notif.Notify(777)";
@@ -792,7 +792,7 @@ _notification = new anywheresoftware.b4a.objects.NotificationWrapper();
//BA.debugLineNum = 100;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_";
_notification.Initialize2(_notification.IMPORTANCE_LOW);
//BA.debugLineNum = 101;BA.debugLine="Log(\"notiLowReturn: \"&title)";
-anywheresoftware.b4a.keywords.Common.LogImpl("310813443","notiLowReturn: "+_title,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("846465027","notiLowReturn: "+_title,0);
//BA.debugLineNum = 102;BA.debugLine="notification.Icon = \"icon\"";
_notification.setIcon("icon");
//BA.debugLineNum = 103;BA.debugLine="notification.Sound = False";
@@ -849,7 +849,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _chv = null;
String _precio = "";
//BA.debugLineNum = 782;BA.debugLine="Sub prodRechazo(clienteOriginal As String, prodId";
//BA.debugLineNum = 783;BA.debugLine="Log(\"RECHAZO DEVOLUCION\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("313893633","RECHAZO DEVOLUCION",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("849545217","RECHAZO DEVOLUCION",0);
//BA.debugLineNum = 784;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($\"s";
_rr = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_rr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_CLIENTE in (Select CUENTA from cuentaa)"))));
@@ -858,7 +858,7 @@ _rr.setPosition((int) (0));
//BA.debugLineNum = 786;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then";
if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 787;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("313893637","INSERTAMOS EN REPARTO",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("849545221","INSERTAMOS EN REPARTO",0);
//BA.debugLineNum = 789;BA.debugLine="Private chv As Cursor = Starter.skmt.ExecQuery($";
_chv = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_chv = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from hist_ventas where hvd_cliente in (select cuenta from cuentaa) and hvd_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"))));
@@ -877,7 +877,7 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda
};
}else {
//BA.debugLineNum = 800;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("313893650",("ACTUALIZAMOS REPARTO"),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("849545234",("ACTUALIZAMOS REPARTO"),0);
//BA.debugLineNum = 801;BA.debugLine="Private precio As String = traePrecio(prodId, tr";
_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba));
//BA.debugLineNum = 802;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s";
@@ -902,9 +902,9 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda
//BA.debugLineNum = 755;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"));
//BA.debugLineNum = 756;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1";
-anywheresoftware.b4a.keywords.Common.LogImpl("313828101",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("849479685",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0);
//BA.debugLineNum = 757;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1";
-anywheresoftware.b4a.keywords.Common.LogImpl("313828102",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("849479686",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0);
//BA.debugLineNum = 758;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"));
//BA.debugLineNum = 779;BA.debugLine="End Sub";
@@ -936,7 +936,7 @@ public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _todobienflp = false;
//BA.debugLineNum = 345;BA.debugLine="Sub revisaFLP 'ignore";
//BA.debugLineNum = 346;BA.debugLine="LogColor($\"**** **** Revisamos FLP - ${fechaKMT(D";
-anywheresoftware.b4a.keywords.Common.LogImpl("312058625",("**** **** Revisamos FLP - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))))+"**** ****"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
+anywheresoftware.b4a.keywords.Common.LogImpl("847710209",("**** **** Revisamos FLP - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))))+"**** ****"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
//BA.debugLineNum = 347;BA.debugLine="Private todoBienFLP As Boolean = True";
_todobienflp = anywheresoftware.b4a.keywords.Common.True;
//BA.debugLineNum = 348;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then";
@@ -971,7 +971,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
};
//BA.debugLineNum = 368;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore";
if (_todobienflp) {
-anywheresoftware.b4a.keywords.Common.LogImpl("312058647"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
+anywheresoftware.b4a.keywords.Common.LogImpl("847710231"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
//BA.debugLineNum = 370;BA.debugLine="End Sub";
return "";
}
@@ -991,14 +991,14 @@ if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.Fu
_daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject())));
//BA.debugLineNum = 335;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("311993092",("**** 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)));};
+anywheresoftware.b4a.keywords.Common.LogImpl("847644676",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
//BA.debugLineNum = 336;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocation";
if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) {
//BA.debugLineNum = 337;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,";
_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude())}));
//BA.debugLineNum = 338;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("311993095","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("847644679","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);};
};
//BA.debugLineNum = 340;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca";
mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation();
@@ -1063,7 +1063,7 @@ _cr.setPosition((int) (0));
_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT")));
};
//BA.debugLineNum = 722;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun";
-anywheresoftware.b4a.keywords.Common.LogImpl("313631495",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("849283079",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0);
//BA.debugLineNum = 723;BA.debugLine="Return cant";
if (true) return _cant;
//BA.debugLineNum = 724;BA.debugLine="End Sub";
@@ -1143,7 +1143,7 @@ _monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("REP_CANT"
}
};
//BA.debugLineNum = 863;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("314024728",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("849676312",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0);
};
//BA.debugLineNum = 866;BA.debugLine="ccym.Close";
_ccym.Close();
@@ -1257,7 +1257,7 @@ _fecha2 = anywheresoftware.b4a.keywords.Common.Regex.Split("-",_fecha[(int) (0)]
//BA.debugLineNum = 988;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\"";
_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)];
//BA.debugLineNum = 989;BA.debugLine="Log(fecha3)";
-anywheresoftware.b4a.keywords.Common.LogImpl("314549003",_fecha3,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("850200587",_fecha3,0);
//BA.debugLineNum = 990;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1";
_hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]);
//BA.debugLineNum = 991;BA.debugLine="a = fecha3 & \" \" & hora(0)";
@@ -1276,7 +1276,7 @@ _fecha2 = anywheresoftware.b4a.keywords.Common.Regex.Split("-",_fecha[(int) (0)]
//BA.debugLineNum = 998;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\"";
_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)];
//BA.debugLineNum = 999;BA.debugLine="Log(fecha3)";
-anywheresoftware.b4a.keywords.Common.LogImpl("314549013",_fecha3,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("850200597",_fecha3,0);
//BA.debugLineNum = 1000;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1";
_hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]);
//BA.debugLineNum = 1001;BA.debugLine="a = fecha3 & \" \" & hora(0)";
diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java
index fe4e24b..840e1c1 100644
--- a/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java
+++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java
@@ -107,15 +107,7 @@ public class tracker extends android.app.Service{
}
}
}
-
- public void onTimeout(int startId) {
- BA.LogInfo("** Service (tracker) Timeout **");
- anywheresoftware.b4a.objects.collections.Map params = new anywheresoftware.b4a.objects.collections.Map();
- params.Initialize();
- params.Put("StartId", startId);
- processBA.raiseEvent(null, "service_timeout", params);
-
- }
+
@Override
public void onDestroy() {
super.onDestroy();
@@ -165,7 +157,7 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
//BA.debugLineNum = 145;BA.debugLine="Private Sub CreateLocationRequest As LocationReque";
//BA.debugLineNum = 146;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("39175041","CreateLocationRequest",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("844826625","CreateLocationRequest",0);};
//BA.debugLineNum = 147;BA.debugLine="Dim lr As LocationRequest";
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
//BA.debugLineNum = 148;BA.debugLine="lr.Initialize";
@@ -190,7 +182,7 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
//BA.debugLineNum = 157;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio";
//BA.debugLineNum = 158;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("39240577","Iniciamos CreateLocationRequest2times",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("844892161","Iniciamos CreateLocationRequest2times",0);};
//BA.debugLineNum = 159;BA.debugLine="Dim lr As LocationRequest";
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
//BA.debugLineNum = 160;BA.debugLine="lr.Initialize";
@@ -259,7 +251,7 @@ String _coords = "";
if (_flp.GetLastKnownLocation().IsInitialized()) {
//BA.debugLineNum = 173;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("39306115",("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)));};
+anywheresoftware.b4a.keywords.Common.LogImpl("844957699",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
//BA.debugLineNum = 174;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation.";
_coords = BA.NumberToString(_flp.GetLastKnownLocation().getLatitude())+","+BA.NumberToString(_flp.GetLastKnownLocation().getLongitude())+","+_formatofecha(BA.NumberToString(_flp.GetLastKnownLocation().getTime()));
//BA.debugLineNum = 176;BA.debugLine="Subs.mandamosLoc(coords)";
@@ -272,7 +264,7 @@ public static String _flp_connectionfailed(int _connectionresult1) throws Excep
//BA.debugLineNum = 85;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)";
//BA.debugLineNum = 86;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("38781825","Failed to connect to location provider",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("844433409","Failed to connect to location provider",0);};
//BA.debugLineNum = 87;BA.debugLine="End Sub";
return "";
}
@@ -285,7 +277,7 @@ public static String _flp_connectionsuspended(int _connectionresult1) throws Ex
//BA.debugLineNum = 89;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I";
//BA.debugLineNum = 90;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("38847361","FLP conection suspended",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("844498945","FLP conection suspended",0);};
//BA.debugLineNum = 91;BA.debugLine="StartFLP";
_startflp();
//BA.debugLineNum = 92;BA.debugLine="End Sub";
@@ -326,18 +318,18 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSE
catch (Exception e14) {
processBA.setLastException(e14); //BA.debugLineNum = 206;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("39437202","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("845088786","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);};
};
//BA.debugLineNum = 209;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc";
_coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime()));
//BA.debugLineNum = 210;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat";
-anywheresoftware.b4a.keywords.Common.LogImpl("39437206","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("845088790","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0);
//BA.debugLineNum = 211;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("39437207","Mandamos Ubicacion",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("845088791","Mandamos Ubicacion",0);};
//BA.debugLineNum = 212;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("39437208",_locrequest,0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("845088792",_locrequest,0);};
//BA.debugLineNum = 214;BA.debugLine="If Location1.Accuracy < 100 Then";
if (_location1.getAccuracy()<100) {
//BA.debugLineNum = 215;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad";
@@ -355,7 +347,7 @@ _minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Comm
if (_location1.getAccuracy()<100 && _minsdif>240) {
//BA.debugLineNum = 224;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("39437220","actualizamos Ubicacion Web",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("845088804","actualizamos Ubicacion Web",0);};
//BA.debugLineNum = 225;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")";
anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._starter.getObject()),"ENVIA_ULTIMA_GPS");
};
@@ -445,7 +437,7 @@ return "";
public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{
//BA.debugLineNum = 94;BA.debugLine="Sub Service_Start (StartingIntent As Intent)";
//BA.debugLineNum = 95;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)";
-anywheresoftware.b4a.keywords.Common.LogImpl("38912897","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green);
+anywheresoftware.b4a.keywords.Common.LogImpl("844564481","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green);
//BA.debugLineNum = 96;BA.debugLine="Service.StopAutomaticForeground";
mostCurrent._service.StopAutomaticForeground();
//BA.debugLineNum = 98;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T";
@@ -552,7 +544,7 @@ this.state = 3;
case 3:
//C
this.state = 6;
-anywheresoftware.b4a.keywords.Common.LogImpl("39109505","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("844761089","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
if (true) break;
case 6:
@@ -595,7 +587,7 @@ this.state = 12;
case 12:
//C
this.state = 15;
-anywheresoftware.b4a.keywords.Common.LogImpl("39109508","sleeping GR",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("844761092","sleeping GR",0);
if (true) break;
case 15:
@@ -625,7 +617,7 @@ this.state = 19;
case 19:
//C
this.state = 22;
-anywheresoftware.b4a.keywords.Common.LogImpl("39109512","Buscamos ubicacion 2 peticiones",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("844761096","Buscamos ubicacion 2 peticiones",0);
if (true) break;
case 22:
@@ -645,7 +637,7 @@ this.state = 25;
case 25:
//C
this.state = 28;
-anywheresoftware.b4a.keywords.Common.LogImpl("39109513",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("844761097",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0);
if (true) break;
case 28:
@@ -704,7 +696,7 @@ case 5:
this.state = 1;
;
//BA.debugLineNum = 46;BA.debugLine="Log(\"sleeping\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("38519684","sleeping",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("844171268","sleeping",0);
if (true) break;
case 4:
@@ -738,7 +730,7 @@ public static String _track() throws Exception{
//BA.debugLineNum = 104;BA.debugLine="Public Sub Track";
//BA.debugLineNum = 105;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("38978433","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("844630017","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);};
//BA.debugLineNum = 106;BA.debugLine="If Tracking Then";
if (_tracking) {
//BA.debugLineNum = 108;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na";
@@ -748,7 +740,7 @@ if (true) return "";
if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) {
//BA.debugLineNum = 111;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss";
if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("38978439","No permission",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("844630023","No permission",0);};
//BA.debugLineNum = 112;BA.debugLine="Return";
if (true) return "";
};