diff --git a/B4A/Intmex_Reparto.b4a.meta b/B4A/Intmex_Reparto.b4a.meta index ab84972..4cfbba1 100644 --- a/B4A/Intmex_Reparto.b4a.meta +++ b/B4A/Intmex_Reparto.b4a.meta @@ -91,6 +91,6 @@ ModuleClosedNodes6= ModuleClosedNodes7= ModuleClosedNodes8= ModuleClosedNodes9= -NavigationStack=C_Cliente,Guardado,462,0,C_NoVenta,GUARDA_Click,63,0,C_Principal,B4XPage_Appear,371,0,Starter,IsConnectedToInternet,139,0,Starter,ENVIA_ULTIMA_GPS,115,0,Starter,Service_Destroy,86,0,C_Principal,Class_Globals,0,0,C_Principal,cargar_Click,1060,0,C_Clientes,Class_Globals,27,6,C_Clientes,ListView1_ItemClick,173,6 +NavigationStack=C_Principal,connecta_Click,1869,0,C_Principal,JobDone,1323,0,C_Cliente,b_cxc_Click,1207,0,C_Cliente,gest_Click,359,0,C_Mapas,Class_Globals,0,0,MAPA_RUTAS,MapFragment1_Ready,145,0,C_Clientes,ListView1_ItemClick,132,0,Starter,ENVIA_ULTIMA_GPS,134,0,C_Principal,cargar_Click,980,0,C_Principal,envioinfo,959,0 SelectedBuild=0 -VisibleModules=1,2,3,4,5,6,7,8,9,10 +VisibleModules=1,2,3,4,5,6,7,8,9,10,16,27,28 diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml index 410eb84..27a4cd5 100644 --- a/B4A/Objects/AndroidManifest.xml +++ b/B4A/Objects/AndroidManifest.xml @@ -138,14 +138,6 @@ android:name=".appupdater$appupdater_BR" android:exported="true"> - - - - + + + + htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.animatedcounter"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.animatedcounter"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class animatedcounter extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -41,10 +48,10 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -52,287 +59,421 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ +public String _base_resize(reparto_intmex.keymon.lat.animatedcounter __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} int _columns = 0; anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; int _left = 0; int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; - //BA.debugLineNum = 70;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 71;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 72;BA.debugLine="xfadeIv.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_xfadeiv.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 73;BA.debugLine="xfadeIv.SetBitmap(fade.Resize(Width, Height, Fals"; -_xfadeiv.SetBitmap((android.graphics.Bitmap)(_fade.Resize((int) (_width),(int) (_height),__c.False).getObject())); - //BA.debugLineNum = 74;BA.debugLine="DigitHeight = Height"; -_digitheight = (int) (_height); - //BA.debugLineNum = 75;BA.debugLine="Dim Columns As Int = mdigits"; -_columns = _mdigits; - //BA.debugLineNum = 76;BA.debugLine="DigitWidth = Width / Columns"; -_digitwidth = (int) (_width/(double)_columns); - //BA.debugLineNum = 77;BA.debugLine="Dim bmp As B4XBitmap = CreateBitmap(lblTemplate)"; +RDebugUtils.currentLine=14680064; + //BA.debugLineNum = 14680064;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=14680065; + //BA.debugLineNum = 14680065;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=14680066; + //BA.debugLineNum = 14680066;BA.debugLine="xfadeIv.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._xfadeiv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=14680067; + //BA.debugLineNum = 14680067;BA.debugLine="xfadeIv.SetBitmap(fade.Resize(Width, Height, Fals"; +__ref._xfadeiv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__ref._fade /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .Resize((int) (_width),(int) (_height),__c.False).getObject())); +RDebugUtils.currentLine=14680068; + //BA.debugLineNum = 14680068;BA.debugLine="DigitHeight = Height"; +__ref._digitheight /*int*/ = (int) (_height); +RDebugUtils.currentLine=14680069; + //BA.debugLineNum = 14680069;BA.debugLine="Dim Columns As Int = mdigits"; +_columns = __ref._mdigits /*int*/ ; +RDebugUtils.currentLine=14680070; + //BA.debugLineNum = 14680070;BA.debugLine="DigitWidth = Width / Columns"; +__ref._digitwidth /*int*/ = (int) (_width/(double)_columns); +RDebugUtils.currentLine=14680071; + //BA.debugLineNum = 14680071;BA.debugLine="Dim bmp As B4XBitmap = CreateBitmap(lblTemplate)"; _bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_bmp = _createbitmap(_lbltemplate); - //BA.debugLineNum = 78;BA.debugLine="Dim left As Int = Width"; +_bmp = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,__ref._lbltemplate /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=14680072; + //BA.debugLineNum = 14680072;BA.debugLine="Dim left As Int = Width"; _left = (int) (_width); - //BA.debugLineNum = 79;BA.debugLine="For i = 0 To ImageViews.Size - 1"; +RDebugUtils.currentLine=14680073; + //BA.debugLineNum = 14680073;BA.debugLine="For i = 0 To ImageViews.Size - 1"; { final int step9 = 1; -final int limit9 = (int) (_imageviews.getSize()-1); +final int limit9 = (int) (__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 80;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; +RDebugUtils.currentLine=14680074; + //BA.debugLineNum = 14680074;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; _iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_imageviews.Get(_i))); - //BA.debugLineNum = 82;BA.debugLine="left = left - DigitWidth"; -_left = (int) (_left-_digitwidth); - //BA.debugLineNum = 83;BA.debugLine="iv.SetLayoutAnimated(0, left, TopFromValue(i), D"; -_iv.SetLayoutAnimated((int) (0),_left,_topfromvalue(_i),_digitwidth,(int) (_digitheight*10)); - //BA.debugLineNum = 84;BA.debugLine="iv.SetBitmap(bmp)"; +_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=14680076; + //BA.debugLineNum = 14680076;BA.debugLine="left = left - DigitWidth"; +_left = (int) (_left-__ref._digitwidth /*int*/ ); +RDebugUtils.currentLine=14680077; + //BA.debugLineNum = 14680077;BA.debugLine="iv.SetLayoutAnimated(0, left, TopFromValue(i), D"; +_iv.SetLayoutAnimated((int) (0),_left,__ref._topfromvalue /*int*/ (null,_i),__ref._digitwidth /*int*/ ,(int) (__ref._digitheight /*int*/ *10)); +RDebugUtils.currentLine=14680078; + //BA.debugLineNum = 14680078;BA.debugLine="iv.SetBitmap(bmp)"; _iv.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); } }; - //BA.debugLineNum = 86;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14680080; + //BA.debugLineNum = 14680080;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Private ImageViews As List"; -_imageviews = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 11;BA.debugLine="Private mdigits As Int"; -_mdigits = 0; - //BA.debugLineNum = 12;BA.debugLine="Private lblTemplate As B4XView"; -_lbltemplate = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private mValue As List"; -_mvalue = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Private DigitHeight, DigitWidth As Int"; -_digitheight = 0; -_digitwidth = 0; - //BA.debugLineNum = 15;BA.debugLine="Private mDuration As Int"; -_mduration = 0; - //BA.debugLineNum = 16;BA.debugLine="Private fade As B4XBitmap"; -_fade = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private xfadeIv As B4XView"; -_xfadeiv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 20;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(anywheresoftware.b4a.objects.B4XViewWrapper _lbl) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(reparto_intmex.keymon.lat.animatedcounter __ref,anywheresoftware.b4a.objects.B4XViewWrapper _lbl) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "createbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createbitmap", new Object[] {_lbl}));} anywheresoftware.b4a.objects.B4XViewWrapper _p = null; anywheresoftware.b4a.objects.B4XCanvas _cvs = null; anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; int _baseline = 0; int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _res = null; - //BA.debugLineNum = 93;BA.debugLine="Private Sub CreateBitmap (lbl As B4XView) As B4XBi"; - //BA.debugLineNum = 94;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=14811136; + //BA.debugLineNum = 14811136;BA.debugLine="Private Sub CreateBitmap (lbl As B4XView) As B4XBi"; +RDebugUtils.currentLine=14811137; + //BA.debugLineNum = 14811137;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 95;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, DigitWidth, DigitHei"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_digitwidth,(int) (_digitheight*10)); - //BA.debugLineNum = 96;BA.debugLine="Dim cvs As B4XCanvas"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=14811138; + //BA.debugLineNum = 14811138;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, DigitWidth, DigitHei"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._digitwidth /*int*/ ,(int) (__ref._digitheight /*int*/ *10)); +RDebugUtils.currentLine=14811139; + //BA.debugLineNum = 14811139;BA.debugLine="Dim cvs As B4XCanvas"; _cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 97;BA.debugLine="cvs.Initialize(p)"; +RDebugUtils.currentLine=14811140; + //BA.debugLineNum = 14811140;BA.debugLine="cvs.Initialize(p)"; _cvs.Initialize(_p); - //BA.debugLineNum = 98;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"5\", lbl.Font)"; +RDebugUtils.currentLine=14811141; + //BA.debugLineNum = 14811141;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"5\", lbl.Font)"; _r = _cvs.MeasureText("5",_lbl.getFont()); - //BA.debugLineNum = 99;BA.debugLine="Dim BaseLine As Int = DigitHeight / 2 - r.Height"; -_baseline = (int) (_digitheight/(double)2-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 100;BA.debugLine="For i = 0 To 9"; +RDebugUtils.currentLine=14811142; + //BA.debugLineNum = 14811142;BA.debugLine="Dim BaseLine As Int = DigitHeight / 2 - r.Height"; +_baseline = (int) (__ref._digitheight /*int*/ /(double)2-_r.getHeight()/(double)2-_r.getTop()); +RDebugUtils.currentLine=14811143; + //BA.debugLineNum = 14811143;BA.debugLine="For i = 0 To 9"; { final int step7 = 1; final int limit7 = (int) (9); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawText(i, DigitWidth / 2, i * DigitHeight"; -_cvs.DrawText(ba,BA.NumberToString(_i),(float) (_digitwidth/(double)2),(float) (_i*_digitheight+_baseline),_lbl.getFont(),_lbl.getTextColor(),BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=14811144; + //BA.debugLineNum = 14811144;BA.debugLine="cvs.DrawText(i, DigitWidth / 2, i * DigitHeight"; +_cvs.DrawText(ba,BA.NumberToString(_i),(float) (__ref._digitwidth /*int*/ /(double)2),(float) (_i*__ref._digitheight /*int*/ +_baseline),_lbl.getFont(),_lbl.getTextColor(),BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); } }; - //BA.debugLineNum = 103;BA.debugLine="cvs.Invalidate"; +RDebugUtils.currentLine=14811146; + //BA.debugLineNum = 14811146;BA.debugLine="cvs.Invalidate"; _cvs.Invalidate(); - //BA.debugLineNum = 104;BA.debugLine="Dim res As B4XBitmap = cvs.CreateBitmap"; +RDebugUtils.currentLine=14811147; + //BA.debugLineNum = 14811147;BA.debugLine="Dim res As B4XBitmap = cvs.CreateBitmap"; _res = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _res = _cvs.CreateBitmap(); - //BA.debugLineNum = 105;BA.debugLine="cvs.Release"; +RDebugUtils.currentLine=14811148; + //BA.debugLineNum = 14811148;BA.debugLine="cvs.Release"; _cvs.Release(); - //BA.debugLineNum = 106;BA.debugLine="Return res"; +RDebugUtils.currentLine=14811149; + //BA.debugLineNum = 14811149;BA.debugLine="Return res"; if (true) return _res; - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14811150; + //BA.debugLineNum = 14811150;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createfadebitmap(int _clr) throws Exception{ +public int _topfromvalue(reparto_intmex.keymon.lat.animatedcounter __ref,int _digit) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "topfromvalue", true)) + {return ((Integer) Debug.delegate(ba, "topfromvalue", new Object[] {_digit}));} +int _d = 0; +RDebugUtils.currentLine=14745600; + //BA.debugLineNum = 14745600;BA.debugLine="Private Sub TopFromValue (Digit As Int) As Int"; +RDebugUtils.currentLine=14745601; + //BA.debugLineNum = 14745601;BA.debugLine="Dim d As Int = mValue.Get(Digit)"; +_d = (int)(BA.ObjectToNumber(__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Get(_digit))); +RDebugUtils.currentLine=14745602; + //BA.debugLineNum = 14745602;BA.debugLine="Return -d * DigitHeight"; +if (true) return (int) (-_d*__ref._digitheight /*int*/ ); +RDebugUtils.currentLine=14745603; + //BA.debugLineNum = 14745603;BA.debugLine="End Sub"; +return 0; +} +public String _class_globals(reparto_intmex.keymon.lat.animatedcounter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +RDebugUtils.currentLine=14417920; + //BA.debugLineNum = 14417920;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=14417921; + //BA.debugLineNum = 14417921;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=14417922; + //BA.debugLineNum = 14417922;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=14417923; + //BA.debugLineNum = 14417923;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=14417924; + //BA.debugLineNum = 14417924;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=14417925; + //BA.debugLineNum = 14417925;BA.debugLine="Private ImageViews As List"; +_imageviews = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=14417926; + //BA.debugLineNum = 14417926;BA.debugLine="Private mdigits As Int"; +_mdigits = 0; +RDebugUtils.currentLine=14417927; + //BA.debugLineNum = 14417927;BA.debugLine="Private lblTemplate As B4XView"; +_lbltemplate = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=14417928; + //BA.debugLineNum = 14417928;BA.debugLine="Private mValue As List"; +_mvalue = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=14417929; + //BA.debugLineNum = 14417929;BA.debugLine="Private DigitHeight, DigitWidth As Int"; +_digitheight = 0; +_digitwidth = 0; +RDebugUtils.currentLine=14417930; + //BA.debugLineNum = 14417930;BA.debugLine="Private mDuration As Int"; +_mduration = 0; +RDebugUtils.currentLine=14417931; + //BA.debugLineNum = 14417931;BA.debugLine="Private fade As B4XBitmap"; +_fade = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=14417932; + //BA.debugLineNum = 14417932;BA.debugLine="Private xfadeIv As B4XView"; +_xfadeiv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=14417933; + //BA.debugLineNum = 14417933;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=14417935; + //BA.debugLineNum = 14417935;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createfadebitmap(reparto_intmex.keymon.lat.animatedcounter __ref,int _clr) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "createfadebitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createfadebitmap", new Object[] {_clr}));} b4a.example.bitmapcreator _bc = null; anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; int _tclr = 0; - //BA.debugLineNum = 56;BA.debugLine="Private Sub CreateFadeBitmap (clr As Int) As B4XBi"; - //BA.debugLineNum = 57;BA.debugLine="Dim bc As BitmapCreator"; +RDebugUtils.currentLine=14614528; + //BA.debugLineNum = 14614528;BA.debugLine="Private Sub CreateFadeBitmap (clr As Int) As B4XBi"; +RDebugUtils.currentLine=14614529; + //BA.debugLineNum = 14614529;BA.debugLine="Dim bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 58;BA.debugLine="bc.Initialize(200, 50)"; +RDebugUtils.currentLine=14614530; + //BA.debugLineNum = 14614530;BA.debugLine="bc.Initialize(200, 50)"; _bc._initialize(ba,(int) (200),(int) (50)); - //BA.debugLineNum = 59;BA.debugLine="Dim r As B4XRect"; +RDebugUtils.currentLine=14614531; + //BA.debugLineNum = 14614531;BA.debugLine="Dim r As B4XRect"; _r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 60;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight / 3)"; +RDebugUtils.currentLine=14614532; + //BA.debugLineNum = 14614532;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight / 3)"; _r.Initialize((float) (0),(float) (0),(float) (_bc._mwidth),(float) (_bc._mheight/(double)3)); - //BA.debugLineNum = 61;BA.debugLine="Dim tclr As Int = Bit.And(0x00ffffff, clr)"; +RDebugUtils.currentLine=14614533; + //BA.debugLineNum = 14614533;BA.debugLine="Dim tclr As Int = Bit.And(0x00ffffff, clr)"; _tclr = __c.Bit.And(((int)0x00ffffff),_clr); - //BA.debugLineNum = 62;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"TOP_"; +RDebugUtils.currentLine=14614534; + //BA.debugLineNum = 14614534;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"TOP_"; _bc._fillgradient(new int[]{_clr,_tclr},_r,"TOP_BOTTOM"); - //BA.debugLineNum = 63;BA.debugLine="r.Top = bc.mHeight * 2 / 3"; +RDebugUtils.currentLine=14614535; + //BA.debugLineNum = 14614535;BA.debugLine="r.Top = bc.mHeight * 2 / 3"; _r.setTop((float) (_bc._mheight*2/(double)3)); - //BA.debugLineNum = 64;BA.debugLine="r.Bottom = bc.mHeight"; +RDebugUtils.currentLine=14614536; + //BA.debugLineNum = 14614536;BA.debugLine="r.Bottom = bc.mHeight"; _r.setBottom((float) (_bc._mheight)); - //BA.debugLineNum = 65;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"BOTT"; +RDebugUtils.currentLine=14614537; + //BA.debugLineNum = 14614537;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"BOTT"; _bc._fillgradient(new int[]{_clr,_tclr},_r,"BOTTOM_TOP"); - //BA.debugLineNum = 66;BA.debugLine="Return bc.Bitmap"; +RDebugUtils.currentLine=14614538; + //BA.debugLineNum = 14614538;BA.debugLine="Return bc.Bitmap"; if (true) return _bc._getbitmap(); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14614539; + //BA.debugLineNum = 14614539;BA.debugLine="End Sub"; return null; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _designercreateview(reparto_intmex.keymon.lat.animatedcounter __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; int _i = 0; anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; anywheresoftware.b4a.objects.ImageViewWrapper _fadeiv = null; - //BA.debugLineNum = 30;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 31;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 32;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 32;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 33;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\") 'needed"; +RDebugUtils.currentLine=14548992; + //BA.debugLineNum = 14548992;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=14548993; + //BA.debugLineNum = 14548993;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=14548994; + //BA.debugLineNum = 14548994;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=14548994; + //BA.debugLineNum = 14548994;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=14548995; + //BA.debugLineNum = 14548995;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\") 'needed"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 34;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 35;BA.debugLine="mdigits = Props.Get(\"Digits\")"; -_mdigits = (int)(BA.ObjectToNumber(_props.Get((Object)("Digits")))); - //BA.debugLineNum = 36;BA.debugLine="mDuration = Props.Get(\"Duration\")"; -_mduration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); - //BA.debugLineNum = 37;BA.debugLine="lblTemplate = lbl"; -_lbltemplate = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 38;BA.debugLine="fade = CreateFadeBitmap(xui.PaintOrColorToColor(P"; -_fade = _createfadebitmap(_xui.PaintOrColorToColor(_props.GetDefault((Object)("FadeColor"),(Object)(_xui.Color_White)))); - //BA.debugLineNum = 39;BA.debugLine="For i = 0 To mdigits - 1"; +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=14548996; + //BA.debugLineNum = 14548996;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=14548997; + //BA.debugLineNum = 14548997;BA.debugLine="mdigits = Props.Get(\"Digits\")"; +__ref._mdigits /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Digits")))); +RDebugUtils.currentLine=14548998; + //BA.debugLineNum = 14548998;BA.debugLine="mDuration = Props.Get(\"Duration\")"; +__ref._mduration /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); +RDebugUtils.currentLine=14548999; + //BA.debugLineNum = 14548999;BA.debugLine="lblTemplate = lbl"; +__ref._lbltemplate /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=14549000; + //BA.debugLineNum = 14549000;BA.debugLine="fade = CreateFadeBitmap(xui.PaintOrColorToColor(P"; +__ref._fade /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createfadebitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.GetDefault((Object)("FadeColor"),(Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White)))); +RDebugUtils.currentLine=14549001; + //BA.debugLineNum = 14549001;BA.debugLine="For i = 0 To mdigits - 1"; { final int step10 = 1; -final int limit10 = (int) (_mdigits-1); +final int limit10 = (int) (__ref._mdigits /*int*/ -1); _i = (int) (0) ; for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=14549002; + //BA.debugLineNum = 14549002;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; +RDebugUtils.currentLine=14549003; + //BA.debugLineNum = 14549003;BA.debugLine="iv.Initialize(\"\")"; _iv.Initialize(ba,""); - //BA.debugLineNum = 42;BA.debugLine="ImageViews.Add(iv)"; -_imageviews.Add((Object)(_iv.getObject())); - //BA.debugLineNum = 43;BA.debugLine="mBase.GetView(0).AddView(iv, 0, 0, 0, 0)"; -_mbase.GetView((int) (0)).AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=14549004; + //BA.debugLineNum = 14549004;BA.debugLine="ImageViews.Add(iv)"; +__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_iv.getObject())); +RDebugUtils.currentLine=14549005; + //BA.debugLineNum = 14549005;BA.debugLine="mBase.GetView(0).AddView(iv, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); } }; - //BA.debugLineNum = 45;BA.debugLine="Dim fadeIv As ImageView"; +RDebugUtils.currentLine=14549007; + //BA.debugLineNum = 14549007;BA.debugLine="Dim fadeIv As ImageView"; _fadeiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 46;BA.debugLine="fadeIv.Initialize(\"\")"; +RDebugUtils.currentLine=14549008; + //BA.debugLineNum = 14549008;BA.debugLine="fadeIv.Initialize(\"\")"; _fadeiv.Initialize(ba,""); - //BA.debugLineNum = 47;BA.debugLine="xfadeIv = fadeIv"; -_xfadeiv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_fadeiv.getObject())); - //BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).AddView(fadeIv, 0, 0, 0, 0)"; -_mbase.GetView((int) (0)).AddView((android.view.View)(_fadeiv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 49;BA.debugLine="setValue(0)"; -_setvalue((int) (0)); - //BA.debugLineNum = 50;BA.debugLine="If xui.IsB4A Then"; -if (_xui.getIsB4A()) { - //BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 52;BA.debugLine="setValue(getValue)"; -_setvalue(_getvalue()); +RDebugUtils.currentLine=14549009; + //BA.debugLineNum = 14549009;BA.debugLine="xfadeIv = fadeIv"; +__ref._xfadeiv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_fadeiv.getObject())); +RDebugUtils.currentLine=14549010; + //BA.debugLineNum = 14549010;BA.debugLine="mBase.GetView(0).AddView(fadeIv, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).AddView((android.view.View)(_fadeiv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=14549011; + //BA.debugLineNum = 14549011;BA.debugLine="setValue(0)"; +__ref._setvalue /*String*/ (null,(int) (0)); +RDebugUtils.currentLine=14549012; + //BA.debugLineNum = 14549012;BA.debugLine="If xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=14549013; + //BA.debugLineNum = 14549013;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=14549014; + //BA.debugLineNum = 14549014;BA.debugLine="setValue(getValue)"; +__ref._setvalue /*String*/ (null,__ref._getvalue /*int*/ (null)); }; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14549016; + //BA.debugLineNum = 14549016;BA.debugLine="End Sub"; return ""; } -public int _getvalue() throws Exception{ -int _res = 0; -int _i = 0; - //BA.debugLineNum = 120;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 121;BA.debugLine="Dim res As Int"; -_res = 0; - //BA.debugLineNum = 122;BA.debugLine="For i = 0 To mValue.Size - 1"; -{ -final int step2 = 1; -final int limit2 = (int) (_mvalue.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 123;BA.debugLine="res = res + mValue.Get(i) * Power(10, i)"; -_res = (int) (_res+(double)(BA.ObjectToNumber(_mvalue.Get(_i)))*__c.Power(10,_i)); - } -}; - //BA.debugLineNum = 125;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 126;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 22;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 23;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 24;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 25;BA.debugLine="ImageViews.Initialize"; -_imageviews.Initialize(); - //BA.debugLineNum = 26;BA.debugLine="mValue.Initialize"; -_mvalue.Initialize(); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(int _v) throws Exception{ +public String _setvalue(reparto_intmex.keymon.lat.animatedcounter __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; - //BA.debugLineNum = 109;BA.debugLine="Public Sub setValue(v As Int)"; - //BA.debugLineNum = 110;BA.debugLine="mValue.Clear"; -_mvalue.Clear(); - //BA.debugLineNum = 111;BA.debugLine="For i = 0 To mdigits - 1"; +RDebugUtils.currentLine=14876672; + //BA.debugLineNum = 14876672;BA.debugLine="Public Sub setValue(v As Int)"; +RDebugUtils.currentLine=14876673; + //BA.debugLineNum = 14876673;BA.debugLine="mValue.Clear"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=14876674; + //BA.debugLineNum = 14876674;BA.debugLine="For i = 0 To mdigits - 1"; { final int step2 = 1; -final int limit2 = (int) (_mdigits-1); +final int limit2 = (int) (__ref._mdigits /*int*/ -1); _i = (int) (0) ; for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 112;BA.debugLine="mValue.Add(v Mod 10)"; -_mvalue.Add((Object)(_v%10)); - //BA.debugLineNum = 113;BA.debugLine="v = v / 10"; +RDebugUtils.currentLine=14876675; + //BA.debugLineNum = 14876675;BA.debugLine="mValue.Add(v Mod 10)"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_v%10)); +RDebugUtils.currentLine=14876676; + //BA.debugLineNum = 14876676;BA.debugLine="v = v / 10"; _v = (int) (_v/(double)10); - //BA.debugLineNum = 114;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; +RDebugUtils.currentLine=14876677; + //BA.debugLineNum = 14876677;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; _iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_imageviews.Get(_i))); - //BA.debugLineNum = 115;BA.debugLine="iv.SetLayoutAnimated(mDuration, iv.Left, TopFrom"; -_iv.SetLayoutAnimated(_mduration,_iv.getLeft(),_topfromvalue(_i),(int) (__c.Max(1,_iv.getWidth())),(int) (__c.Max(1,_iv.getHeight()))); +_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=14876678; + //BA.debugLineNum = 14876678;BA.debugLine="iv.SetLayoutAnimated(mDuration, iv.Left, TopFrom"; +_iv.SetLayoutAnimated(__ref._mduration /*int*/ ,_iv.getLeft(),__ref._topfromvalue /*int*/ (null,_i),(int) (__c.Max(1,_iv.getWidth())),(int) (__c.Max(1,_iv.getHeight()))); } }; - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14876681; + //BA.debugLineNum = 14876681;BA.debugLine="End Sub"; return ""; } -public int _topfromvalue(int _digit) throws Exception{ -int _d = 0; - //BA.debugLineNum = 88;BA.debugLine="Private Sub TopFromValue (Digit As Int) As Int"; - //BA.debugLineNum = 89;BA.debugLine="Dim d As Int = mValue.Get(Digit)"; -_d = (int)(BA.ObjectToNumber(_mvalue.Get(_digit))); - //BA.debugLineNum = 90;BA.debugLine="Return -d * DigitHeight"; -if (true) return (int) (-_d*_digitheight); - //BA.debugLineNum = 91;BA.debugLine="End Sub"; +public int _getvalue(reparto_intmex.keymon.lat.animatedcounter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +int _res = 0; +int _i = 0; +RDebugUtils.currentLine=14942208; + //BA.debugLineNum = 14942208;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=14942209; + //BA.debugLineNum = 14942209;BA.debugLine="Dim res As Int"; +_res = 0; +RDebugUtils.currentLine=14942210; + //BA.debugLineNum = 14942210;BA.debugLine="For i = 0 To mValue.Size - 1"; +{ +final int step2 = 1; +final int limit2 = (int) (__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit2 ;_i = _i + step2 ) { +RDebugUtils.currentLine=14942211; + //BA.debugLineNum = 14942211;BA.debugLine="res = res + mValue.Get(i) * Power(10, i)"; +_res = (int) (_res+(double)(BA.ObjectToNumber(__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)))*__c.Power(10,_i)); + } +}; +RDebugUtils.currentLine=14942213; + //BA.debugLineNum = 14942213;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=14942214; + //BA.debugLineNum = 14942214;BA.debugLine="End Sub"; return 0; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public String _initialize(reparto_intmex.keymon.lat.animatedcounter __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=14483456; + //BA.debugLineNum = 14483456;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=14483457; + //BA.debugLineNum = 14483457;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=14483458; + //BA.debugLineNum = 14483458;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=14483459; + //BA.debugLineNum = 14483459;BA.debugLine="ImageViews.Initialize"; +__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=14483460; + //BA.debugLineNum = 14483460;BA.debugLine="mValue.Initialize"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=14483461; + //BA.debugLineNum = 14483461;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/anotherprogressbar.java b/B4A/Objects/src/reparto_intmex/keymon/lat/anotherprogressbar.java index 746d544..46aaa4a 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/anotherprogressbar.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/anotherprogressbar.java @@ -10,7 +10,7 @@ public class anotherprogressbar extends B4AClass.ImplB4AClass implements BA.SubD private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.anotherprogressbar"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.anotherprogressbar"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class anotherprogressbar extends B4AClass.ImplB4AClass implements BA.SubD ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -46,10 +53,10 @@ public int _brushoffsetdelta = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -57,39 +64,142 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ +public String _base_resize(reparto_intmex.keymon.lat.anotherprogressbar __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} anywheresoftware.b4a.objects.B4XViewWrapper _v = null; - //BA.debugLineNum = 49;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 50;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; +RDebugUtils.currentLine=15204352; + //BA.debugLineNum = 15204352;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=15204353; + //BA.debugLineNum = 15204353;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; _v = new anywheresoftware.b4a.objects.B4XViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group1 = _mbase.GetAllViewsRecursive(); +final anywheresoftware.b4a.BA.IterableList group1 = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); final int groupLen1 = group1.getSize() ;int index1 = 0; ; for (; index1 < groupLen1;index1++){ _v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1))); - //BA.debugLineNum = 51;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +RDebugUtils.currentLine=15204354; + //BA.debugLineNum = 15204354;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; _v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); } }; - //BA.debugLineNum = 53;BA.debugLine="bc.Initialize(mBase.Width / xui.Scale, mBase.Heig"; -_bc._initialize(ba,(int) (_mbase.getWidth()/(double)_xui.getScale()),(int) (_mbase.getHeight()/(double)_xui.getScale())); - //BA.debugLineNum = 54;BA.debugLine="Vertical = mBase.Height > mBase.Width"; -_vertical = _mbase.getHeight()>_mbase.getWidth(); - //BA.debugLineNum = 55;BA.debugLine="UpdateGraphics"; -_updategraphics(); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +RDebugUtils.currentLine=15204356; + //BA.debugLineNum = 15204356;BA.debugLine="bc.Initialize(mBase.Width / xui.Scale, mBase.Heig"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale()),(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale())); +RDebugUtils.currentLine=15204357; + //BA.debugLineNum = 15204357;BA.debugLine="Vertical = mBase.Height > mBase.Width"; +__ref._vertical /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()>__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(); +RDebugUtils.currentLine=15204358; + //BA.debugLineNum = 15204358;BA.debugLine="UpdateGraphics"; +__ref._updategraphics /*String*/ (null); +RDebugUtils.currentLine=15204360; + //BA.debugLineNum = 15204360;BA.debugLine="End Sub"; return ""; } -public void _busyloop() throws Exception{ -ResumableSub_BusyLoop rsub = new ResumableSub_BusyLoop(this); +public String _updategraphics(reparto_intmex.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "updategraphics", true)) + {return ((String) Debug.delegate(ba, "updategraphics", null));} +int _width = 0; +b4a.example.bitmapcreator _template = null; +b4a.example.bitmapcreator._argbcolor _bcolor = null; +RDebugUtils.currentLine=15466496; + //BA.debugLineNum = 15466496;BA.debugLine="Public Sub UpdateGraphics"; +RDebugUtils.currentLine=15466497; + //BA.debugLineNum = 15466497;BA.debugLine="EmptyBrush = bc.CreateBrushFromColor(EmptyColor)"; +__ref._emptybrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._emptycolor /*int*/ ); +RDebugUtils.currentLine=15466498; + //BA.debugLineNum = 15466498;BA.debugLine="TransparentBrush = bc.CreateBrushFromColor(xui.Co"; +__ref._transparentbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=15466499; + //BA.debugLineNum = 15466499;BA.debugLine="Dim Width As Int = 40"; +_width = (int) (40); +RDebugUtils.currentLine=15466500; + //BA.debugLineNum = 15466500;BA.debugLine="Dim Template As BitmapCreator"; +_template = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=15466501; + //BA.debugLineNum = 15466501;BA.debugLine="Dim bcolor As ARGBColor"; +_bcolor = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=15466502; + //BA.debugLineNum = 15466502;BA.debugLine="bc.ColorToARGB(BackgroundColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._backgroundcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=15466503; + //BA.debugLineNum = 15466503;BA.debugLine="bcolor.r = Min(255, bcolor.r * 1.5)"; +_bcolor.r = (int) (__c.Min(255,_bcolor.r*1.5)); +RDebugUtils.currentLine=15466504; + //BA.debugLineNum = 15466504;BA.debugLine="bcolor.g = Min(255, bcolor.g * 1.5)"; +_bcolor.g = (int) (__c.Min(255,_bcolor.g*1.5)); +RDebugUtils.currentLine=15466505; + //BA.debugLineNum = 15466505;BA.debugLine="bcolor.b = Min(255, bcolor.b * 1.5)"; +_bcolor.b = (int) (__c.Min(255,_bcolor.b*1.5)); +RDebugUtils.currentLine=15466506; + //BA.debugLineNum = 15466506;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=15466507; + //BA.debugLineNum = 15466507;BA.debugLine="Template.Initialize(mBase.Width / xui.Scale, mBa"; +_template._initialize(ba,(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale()),(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale()+_width)); + }else { +RDebugUtils.currentLine=15466509; + //BA.debugLineNum = 15466509;BA.debugLine="Template.Initialize(mBase.Height / xui.Scale + W"; +_template._initialize(ba,(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale()+_width),(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale())); + }; +RDebugUtils.currentLine=15466512; + //BA.debugLineNum = 15466512;BA.debugLine="Template.DrawRect(Template.TargetRect, Background"; +_template._drawrect(_template._targetrect,__ref._backgroundcolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=15466513; + //BA.debugLineNum = 15466513;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=15466514; + //BA.debugLineNum = 15466514;BA.debugLine="Template.DrawLine(-Width / 2, Width / 2, Templat"; +_template._drawline((float) (-_width/(double)2),(float) (_width/(double)2),(float) (_template._mwidth+_width/(double)2),(float) (_template._mheight-_width/(double)2),__ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor),_width); + }else { +RDebugUtils.currentLine=15466516; + //BA.debugLineNum = 15466516;BA.debugLine="Template.DrawLine(Width / 2, -Width / 2, Templat"; +_template._drawline((float) (_width/(double)2),(float) (-_width/(double)2),(float) (_template._mwidth-_width/(double)2),(float) (_template._mheight+_width/(double)2),__ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor),_width); + }; +RDebugUtils.currentLine=15466518; + //BA.debugLineNum = 15466518;BA.debugLine="BusyBrush = bc.CreateBrushFromBitmapCreator(Templ"; +__ref._busybrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfrombitmapcreator(_template); +RDebugUtils.currentLine=15466519; + //BA.debugLineNum = 15466519;BA.debugLine="If mValue = 100 Then"; +if (__ref._mvalue /*int*/ ==100) { +RDebugUtils.currentLine=15466520; + //BA.debugLineNum = 15466520;BA.debugLine="bc.DrawRectRounded(bc.TargetRect, BackgroundColo"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrectrounded(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._backgroundcolor /*int*/ ,__c.True,(int) (0),(int) (15)); + }else { +RDebugUtils.currentLine=15466522; + //BA.debugLineNum = 15466522;BA.debugLine="bc.DrawRectRounded2(bc.TargetRect, EmptyBrush, T"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrectrounded2(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._emptybrush /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0),(int) (15)); + }; +RDebugUtils.currentLine=15466524; + //BA.debugLineNum = 15466524;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, mIV)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(__ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(),__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=15466525; + //BA.debugLineNum = 15466525;BA.debugLine="setVisible(mBase.Visible)"; +__ref._setvisible /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getVisible()); +RDebugUtils.currentLine=15466526; + //BA.debugLineNum = 15466526;BA.debugLine="End Sub"; +return ""; +} +public void _busyloop(reparto_intmex.keymon.lat.anotherprogressbar __ref) throws Exception{ +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "busyloop", true)) + {Debug.delegate(ba, "busyloop", null); return;} +ResumableSub_BusyLoop rsub = new ResumableSub_BusyLoop(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_BusyLoop extends BA.ResumableSub { -public ResumableSub_BusyLoop(reparto_intmex.keymon.lat.anotherprogressbar parent) { +public ResumableSub_BusyLoop(reparto_intmex.keymon.lat.anotherprogressbar parent,reparto_intmex.keymon.lat.anotherprogressbar __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.anotherprogressbar __ref; reparto_intmex.keymon.lat.anotherprogressbar parent; int _myindex = 0; anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; @@ -101,6 +211,7 @@ anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="anotherprogressbar"; while (true) { switch (state) { @@ -110,21 +221,26 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 60;BA.debugLine="Dim MyIndex As Int = BusyIndex"; -_myindex = parent._busyindex; - //BA.debugLineNum = 61;BA.debugLine="Dim r As B4XRect"; +RDebugUtils.currentLine=15269889; + //BA.debugLineNum = 15269889;BA.debugLine="Dim MyIndex As Int = BusyIndex"; +_myindex = __ref._busyindex /*int*/ ; +RDebugUtils.currentLine=15269890; + //BA.debugLineNum = 15269890;BA.debugLine="Dim r As B4XRect"; _r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 62;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight)"; -_r.Initialize((float) (0),(float) (0),(float) (parent._bc._mwidth),(float) (parent._bc._mheight)); - //BA.debugLineNum = 63;BA.debugLine="Dim LastTime As Long = DateTime.Now"; +RDebugUtils.currentLine=15269891; + //BA.debugLineNum = 15269891;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight)"; +_r.Initialize((float) (0),(float) (0),(float) (__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth),(float) (__ref._bc /*b4a.example.bitmapcreator*/ ._mheight)); +RDebugUtils.currentLine=15269892; + //BA.debugLineNum = 15269892;BA.debugLine="Dim LastTime As Long = DateTime.Now"; _lasttime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 64;BA.debugLine="Do While MyIndex = BusyIndex"; +RDebugUtils.currentLine=15269893; + //BA.debugLineNum = 15269893;BA.debugLine="Do While MyIndex = BusyIndex"; if (true) break; case 1: //do while this.state = 37; -while (_myindex==parent._busyindex) { +while (_myindex==__ref._busyindex /*int*/ ) { this.state = 3; if (true) break; } @@ -133,13 +249,14 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 65;BA.debugLine="If Vertical Then"; +RDebugUtils.currentLine=15269894; + //BA.debugLineNum = 15269894;BA.debugLine="If Vertical Then"; if (true) break; case 4: //if this.state = 9; -if (parent._vertical) { +if (__ref._vertical /*boolean*/ ) { this.state = 6; }else { this.state = 8; @@ -148,30 +265,37 @@ this.state = 8; case 6: //C this.state = 9; - //BA.debugLineNum = 66;BA.debugLine="BusyBrush.SrcOffsetY = BusyBrush.SrcOffsetY + B"; -parent._busybrush.SrcOffsetY = (int) (parent._busybrush.SrcOffsetY+parent._brushoffsetdelta); +RDebugUtils.currentLine=15269895; + //BA.debugLineNum = 15269895;BA.debugLine="BusyBrush.SrcOffsetY = BusyBrush.SrcOffsetY + B"; +__ref._busybrush /*b4a.example.bcpath._bcbrush*/ .SrcOffsetY = (int) (__ref._busybrush /*b4a.example.bcpath._bcbrush*/ .SrcOffsetY+__ref._brushoffsetdelta /*int*/ ); if (true) break; case 8: //C this.state = 9; - //BA.debugLineNum = 68;BA.debugLine="BusyBrush.SrcOffsetX = BusyBrush.SrcOffsetX + B"; -parent._busybrush.SrcOffsetX = (int) (parent._busybrush.SrcOffsetX+parent._brushoffsetdelta); +RDebugUtils.currentLine=15269897; + //BA.debugLineNum = 15269897;BA.debugLine="BusyBrush.SrcOffsetX = BusyBrush.SrcOffsetX + B"; +__ref._busybrush /*b4a.example.bcpath._bcbrush*/ .SrcOffsetX = (int) (__ref._busybrush /*b4a.example.bcpath._bcbrush*/ .SrcOffsetX+__ref._brushoffsetdelta /*int*/ ); if (true) break; case 9: //C this.state = 10; ; - //BA.debugLineNum = 70;BA.debugLine="Dim tasks As List"; +RDebugUtils.currentLine=15269899; + //BA.debugLineNum = 15269899;BA.debugLine="Dim tasks As List"; _tasks = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 71;BA.debugLine="tasks.Initialize"; +RDebugUtils.currentLine=15269900; + //BA.debugLineNum = 15269900;BA.debugLine="tasks.Initialize"; _tasks.Initialize(); - //BA.debugLineNum = 72;BA.debugLine="tasks.Add(bc.AsyncDrawRect(bc.TargetRect, Transp"; -_tasks.Add((Object)(parent._bc._asyncdrawrect(parent._bc._targetrect,parent._transparentbrush,parent.__c.True,(int) (0)))); - //BA.debugLineNum = 73;BA.debugLine="Dim delta As Float = mValue - CurrentValue"; -_delta = (float) (parent._mvalue-parent._currentvalue); - //BA.debugLineNum = 74;BA.debugLine="If Abs(delta) <= 1 Then"; +RDebugUtils.currentLine=15269901; + //BA.debugLineNum = 15269901;BA.debugLine="tasks.Add(bc.AsyncDrawRect(bc.TargetRect, Transp"; +_tasks.Add((Object)(__ref._bc /*b4a.example.bitmapcreator*/ ._asyncdrawrect(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._transparentbrush /*b4a.example.bcpath._bcbrush*/ ,parent.__c.True,(int) (0)))); +RDebugUtils.currentLine=15269902; + //BA.debugLineNum = 15269902;BA.debugLine="Dim delta As Float = mValue - CurrentValue"; +_delta = (float) (__ref._mvalue /*int*/ -__ref._currentvalue /*float*/ ); +RDebugUtils.currentLine=15269903; + //BA.debugLineNum = 15269903;BA.debugLine="If Abs(delta) <= 1 Then"; if (true) break; case 10: @@ -186,16 +310,19 @@ this.state = 14; case 12: //C this.state = 21; - //BA.debugLineNum = 75;BA.debugLine="CurrentValue = mValue"; -parent._currentvalue = (float) (parent._mvalue); +RDebugUtils.currentLine=15269904; + //BA.debugLineNum = 15269904;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); if (true) break; case 14: //C this.state = 15; - //BA.debugLineNum = 77;BA.debugLine="Dim change As Float = (DateTime.Now - LastTime)"; -_change = (float) ((parent.__c.DateTime.getNow()-_lasttime)/(double)1000*parent._valuechangepersecond); - //BA.debugLineNum = 78;BA.debugLine="If delta > 0 Then"; +RDebugUtils.currentLine=15269906; + //BA.debugLineNum = 15269906;BA.debugLine="Dim change As Float = (DateTime.Now - LastTime)"; +_change = (float) ((parent.__c.DateTime.getNow()-_lasttime)/(double)1000*__ref._valuechangepersecond /*float*/ ); +RDebugUtils.currentLine=15269907; + //BA.debugLineNum = 15269907;BA.debugLine="If delta > 0 Then"; if (true) break; case 15: @@ -210,15 +337,17 @@ this.state = 19; case 17: //C this.state = 20; - //BA.debugLineNum = 79;BA.debugLine="CurrentValue = CurrentValue + Min(change, mVal"; -parent._currentvalue = (float) (parent._currentvalue+parent.__c.Min(_change,parent._mvalue-parent._currentvalue)); +RDebugUtils.currentLine=15269908; + //BA.debugLineNum = 15269908;BA.debugLine="CurrentValue = CurrentValue + Min(change, mVal"; +__ref._currentvalue /*float*/ = (float) (__ref._currentvalue /*float*/ +parent.__c.Min(_change,__ref._mvalue /*int*/ -__ref._currentvalue /*float*/ )); if (true) break; case 19: //C this.state = 20; - //BA.debugLineNum = 81;BA.debugLine="CurrentValue = CurrentValue - Min(change, Curr"; -parent._currentvalue = (float) (parent._currentvalue-parent.__c.Min(_change,parent._currentvalue-parent._mvalue)); +RDebugUtils.currentLine=15269910; + //BA.debugLineNum = 15269910;BA.debugLine="CurrentValue = CurrentValue - Min(change, Curr"; +__ref._currentvalue /*float*/ = (float) (__ref._currentvalue /*float*/ -parent.__c.Min(_change,__ref._currentvalue /*float*/ -__ref._mvalue /*int*/ )); if (true) break; case 20: @@ -231,31 +360,35 @@ case 21: //C this.state = 22; ; - //BA.debugLineNum = 84;BA.debugLine="LastTime = DateTime.Now"; +RDebugUtils.currentLine=15269913; + //BA.debugLineNum = 15269913;BA.debugLine="LastTime = DateTime.Now"; _lasttime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 85;BA.debugLine="If CurrentValue < 100 Then"; +RDebugUtils.currentLine=15269914; + //BA.debugLineNum = 15269914;BA.debugLine="If CurrentValue < 100 Then"; if (true) break; case 22: //if this.state = 25; -if (parent._currentvalue<100) { +if (__ref._currentvalue /*float*/ <100) { this.state = 24; }if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 86;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(bc.TargetRect"; -_tasks.Add((Object)(parent._bc._asyncdrawrectrounded(parent._bc._targetrect,parent._emptybrush,parent.__c.True,(int) (0),parent._cornerradius))); +RDebugUtils.currentLine=15269915; + //BA.debugLineNum = 15269915;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(bc.TargetRect"; +_tasks.Add((Object)(__ref._bc /*b4a.example.bitmapcreator*/ ._asyncdrawrectrounded(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._emptybrush /*b4a.example.bcpath._bcbrush*/ ,parent.__c.True,(int) (0),__ref._cornerradius /*int*/ ))); if (true) break; ; - //BA.debugLineNum = 88;BA.debugLine="If Vertical Then"; +RDebugUtils.currentLine=15269917; + //BA.debugLineNum = 15269917;BA.debugLine="If Vertical Then"; case 25: //if this.state = 30; -if (parent._vertical) { +if (__ref._vertical /*boolean*/ ) { this.state = 27; }else { this.state = 29; @@ -264,58 +397,66 @@ this.state = 29; case 27: //C this.state = 30; - //BA.debugLineNum = 89;BA.debugLine="r.Bottom = Round(CurrentValue / 100 * bc.mHeigh"; -_r.setBottom((float) (parent.__c.Round(parent._currentvalue/(double)100*parent._bc._mheight))); +RDebugUtils.currentLine=15269918; + //BA.debugLineNum = 15269918;BA.debugLine="r.Bottom = Round(CurrentValue / 100 * bc.mHeigh"; +_r.setBottom((float) (parent.__c.Round(__ref._currentvalue /*float*/ /(double)100*__ref._bc /*b4a.example.bitmapcreator*/ ._mheight))); if (true) break; case 29: //C this.state = 30; - //BA.debugLineNum = 91;BA.debugLine="r.Right = Round(CurrentValue / 100 * bc.mWidth)"; -_r.setRight((float) (parent.__c.Round(parent._currentvalue/(double)100*parent._bc._mwidth))); +RDebugUtils.currentLine=15269920; + //BA.debugLineNum = 15269920;BA.debugLine="r.Right = Round(CurrentValue / 100 * bc.mWidth)"; +_r.setRight((float) (parent.__c.Round(__ref._currentvalue /*float*/ /(double)100*__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth))); if (true) break; case 30: //C this.state = 31; ; - //BA.debugLineNum = 94;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(r, BusyBrush,"; -_tasks.Add((Object)(parent._bc._asyncdrawrectrounded(_r,parent._busybrush,parent.__c.True,(int) (0),parent._cornerradius))); - //BA.debugLineNum = 95;BA.debugLine="bc.DrawBitmapCreatorsAsync(Me, \"BC\", tasks)"; -parent._bc._drawbitmapcreatorsasync(parent,"BC",_tasks); - //BA.debugLineNum = 96;BA.debugLine="Wait For BC_BitmapReady (bmp As B4XBitmap)"; -parent.__c.WaitFor("bc_bitmapready", ba, this, null); +RDebugUtils.currentLine=15269923; + //BA.debugLineNum = 15269923;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(r, BusyBrush,"; +_tasks.Add((Object)(__ref._bc /*b4a.example.bitmapcreator*/ ._asyncdrawrectrounded(_r,__ref._busybrush /*b4a.example.bcpath._bcbrush*/ ,parent.__c.True,(int) (0),__ref._cornerradius /*int*/ ))); +RDebugUtils.currentLine=15269924; + //BA.debugLineNum = 15269924;BA.debugLine="bc.DrawBitmapCreatorsAsync(Me, \"BC\", tasks)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawbitmapcreatorsasync(parent,"BC",_tasks); +RDebugUtils.currentLine=15269925; + //BA.debugLineNum = 15269925;BA.debugLine="Wait For BC_BitmapReady (bmp As B4XBitmap)"; +parent.__c.WaitFor("bc_bitmapready", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "anotherprogressbar", "busyloop"), null); this.state = 38; return; case 38: //C this.state = 31; -_bmp = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) result[0]; +_bmp = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) result[1]; ; - //BA.debugLineNum = 97;BA.debugLine="If xui.IsB4J Then bmp = bc.Bitmap"; +RDebugUtils.currentLine=15269926; + //BA.debugLineNum = 15269926;BA.debugLine="If xui.IsB4J Then bmp = bc.Bitmap"; if (true) break; case 31: //if this.state = 36; -if (parent._xui.getIsB4J()) { +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { this.state = 33; ;}if (true) break; case 33: //C this.state = 36; -_bmp = parent._bc._getbitmap(); +_bmp = __ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(); if (true) break; case 36: //C this.state = 1; ; - //BA.debugLineNum = 98;BA.debugLine="bc.SetBitmapToImageView(bmp, mIV)"; -parent._bc._setbitmaptoimageview(_bmp,parent._miv); - //BA.debugLineNum = 99;BA.debugLine="Sleep(30)"; -parent.__c.Sleep(ba,this,(int) (30)); +RDebugUtils.currentLine=15269927; + //BA.debugLineNum = 15269927;BA.debugLine="bc.SetBitmapToImageView(bmp, mIV)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(_bmp,__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=15269928; + //BA.debugLineNum = 15269928;BA.debugLine="Sleep(30)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "anotherprogressbar", "busyloop"),(int) (30)); this.state = 39; return; case 39: @@ -328,224 +469,267 @@ case 37: //C this.state = -1; ; - //BA.debugLineNum = 101;BA.debugLine="End Sub"; +RDebugUtils.currentLine=15269930; + //BA.debugLineNum = 15269930;BA.debugLine="End Sub"; if (true) break; } } } } -public void _bc_bitmapready(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private mEventName As String 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +RDebugUtils.currentLine=15007744; + //BA.debugLineNum = 15007744;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=15007745; + //BA.debugLineNum = 15007745;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 6;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=15007746; + //BA.debugLineNum = 15007746;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 7;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=15007747; + //BA.debugLineNum = 15007747;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=15007748; + //BA.debugLineNum = 15007748;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 9;BA.debugLine="Private BusyBrush As BCBrush"; +RDebugUtils.currentLine=15007749; + //BA.debugLineNum = 15007749;BA.debugLine="Private BusyBrush As BCBrush"; _busybrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 10;BA.debugLine="Private BackgroundColor As Int"; +RDebugUtils.currentLine=15007750; + //BA.debugLineNum = 15007750;BA.debugLine="Private BackgroundColor As Int"; _backgroundcolor = 0; - //BA.debugLineNum = 11;BA.debugLine="Private BusyIndex As Int"; +RDebugUtils.currentLine=15007751; + //BA.debugLineNum = 15007751;BA.debugLine="Private BusyIndex As Int"; _busyindex = 0; - //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; +RDebugUtils.currentLine=15007752; + //BA.debugLineNum = 15007752;BA.debugLine="Private bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 13;BA.debugLine="Private mIV As B4XView"; +RDebugUtils.currentLine=15007753; + //BA.debugLineNum = 15007753;BA.debugLine="Private mIV As B4XView"; _miv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private TransparentBrush As BCBrush"; +RDebugUtils.currentLine=15007754; + //BA.debugLineNum = 15007754;BA.debugLine="Private TransparentBrush As BCBrush"; _transparentbrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 15;BA.debugLine="Private Vertical As Boolean"; +RDebugUtils.currentLine=15007755; + //BA.debugLineNum = 15007755;BA.debugLine="Private Vertical As Boolean"; _vertical = false; - //BA.debugLineNum = 16;BA.debugLine="Private CurrentValue As Float"; +RDebugUtils.currentLine=15007756; + //BA.debugLineNum = 15007756;BA.debugLine="Private CurrentValue As Float"; _currentvalue = 0f; - //BA.debugLineNum = 17;BA.debugLine="Public EmptyColor As Int = xui.Color_White"; -_emptycolor = _xui.Color_White; - //BA.debugLineNum = 18;BA.debugLine="Private EmptyBrush As BCBrush"; +RDebugUtils.currentLine=15007757; + //BA.debugLineNum = 15007757;BA.debugLine="Public EmptyColor As Int = xui.Color_White"; +_emptycolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=15007758; + //BA.debugLineNum = 15007758;BA.debugLine="Private EmptyBrush As BCBrush"; _emptybrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 19;BA.debugLine="Private mValue As Int"; +RDebugUtils.currentLine=15007759; + //BA.debugLineNum = 15007759;BA.debugLine="Private mValue As Int"; _mvalue = 0; - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=15007760; + //BA.debugLineNum = 15007760;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public ValueChangePerSecond As Float = 60"; +RDebugUtils.currentLine=15007761; + //BA.debugLineNum = 15007761;BA.debugLine="Public ValueChangePerSecond As Float = 60"; _valuechangepersecond = (float) (60); - //BA.debugLineNum = 22;BA.debugLine="Public CornerRadius As Int"; +RDebugUtils.currentLine=15007762; + //BA.debugLineNum = 15007762;BA.debugLine="Public CornerRadius As Int"; _cornerradius = 0; - //BA.debugLineNum = 23;BA.debugLine="Public BrushOffsetDelta As Int = 3"; +RDebugUtils.currentLine=15007763; + //BA.debugLineNum = 15007763;BA.debugLine="Public BrushOffsetDelta As Int = 3"; _brushoffsetdelta = (int) (3); - //BA.debugLineNum = 24;BA.debugLine="End Sub"; +RDebugUtils.currentLine=15007764; + //BA.debugLineNum = 15007764;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _designercreateview(reparto_intmex.keymon.lat.anotherprogressbar __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=15138816; + //BA.debugLineNum = 15138816;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=15138817; + //BA.debugLineNum = 15138817;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=15138818; + //BA.debugLineNum = 15138818;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=15138818; + //BA.debugLineNum = 15138818;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=15138819; + //BA.debugLineNum = 15138819;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 36;BA.debugLine="iv.Initialize(\"\")"; +RDebugUtils.currentLine=15138820; + //BA.debugLineNum = 15138820;BA.debugLine="iv.Initialize(\"\")"; _iv.Initialize(ba,""); - //BA.debugLineNum = 37;BA.debugLine="mIV = iv"; -_miv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 38;BA.debugLine="mIV.Color = xui.Color_Transparent"; -_miv.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 39;BA.debugLine="setValue(Props.GetDefault(\"Value\", 100))"; -_setvalue((int)(BA.ObjectToNumber(_props.GetDefault((Object)("Value"),(Object)(100))))); - //BA.debugLineNum = 40;BA.debugLine="CurrentValue = mValue"; -_currentvalue = (float) (_mvalue); - //BA.debugLineNum = 41;BA.debugLine="mBase.AddView(mIV, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_miv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(lbl, 0, 0, mBase.Width, mBase.Heigh"; -_mbase.AddView((android.view.View)(_lbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 43;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 44;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; -_backgroundcolor = _xui.PaintOrColorToColor(_props.Get((Object)("ProgressColor"))); - //BA.debugLineNum = 45;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; -_cornerradius = (int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornerRadius"),(Object)(15)))); - //BA.debugLineNum = 46;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 47;BA.debugLine="End Sub"; +RDebugUtils.currentLine=15138821; + //BA.debugLineNum = 15138821;BA.debugLine="mIV = iv"; +__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); +RDebugUtils.currentLine=15138822; + //BA.debugLineNum = 15138822;BA.debugLine="mIV.Color = xui.Color_Transparent"; +__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=15138823; + //BA.debugLineNum = 15138823;BA.debugLine="setValue(Props.GetDefault(\"Value\", 100))"; +__ref._setvalue /*String*/ (null,(int)(BA.ObjectToNumber(_props.GetDefault((Object)("Value"),(Object)(100))))); +RDebugUtils.currentLine=15138824; + //BA.debugLineNum = 15138824;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=15138825; + //BA.debugLineNum = 15138825;BA.debugLine="mBase.AddView(mIV, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=15138826; + //BA.debugLineNum = 15138826;BA.debugLine="mBase.AddView(lbl, 0, 0, mBase.Width, mBase.Heigh"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_lbl.getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=15138827; + //BA.debugLineNum = 15138827;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=15138828; + //BA.debugLineNum = 15138828;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; +__ref._backgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ProgressColor"))); +RDebugUtils.currentLine=15138829; + //BA.debugLineNum = 15138829;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; +__ref._cornerradius /*int*/ = (int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornerRadius"),(Object)(15)))); +RDebugUtils.currentLine=15138830; + //BA.debugLineNum = 15138830;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=15138831; + //BA.debugLineNum = 15138831;BA.debugLine="End Sub"; return ""; } -public int _getprogresscolor() throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Public Sub getProgressColor As Int"; - //BA.debugLineNum = 104;BA.debugLine="Return BackgroundColor"; -if (true) return _backgroundcolor; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; +public String _setvalue(reparto_intmex.keymon.lat.anotherprogressbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=15728640; + //BA.debugLineNum = 15728640;BA.debugLine="Public Sub setValue (v As Int)"; +RDebugUtils.currentLine=15728641; + //BA.debugLineNum = 15728641;BA.debugLine="mValue = Max(0, Min(100, v))"; +__ref._mvalue /*int*/ = (int) (__c.Max(0,__c.Min(100,_v))); +RDebugUtils.currentLine=15728642; + //BA.debugLineNum = 15728642;BA.debugLine="End Sub"; +return ""; +} +public int _getprogresscolor(reparto_intmex.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getprogresscolor", true)) + {return ((Integer) Debug.delegate(ba, "getprogresscolor", null));} +RDebugUtils.currentLine=15335424; + //BA.debugLineNum = 15335424;BA.debugLine="Public Sub getProgressColor As Int"; +RDebugUtils.currentLine=15335425; + //BA.debugLineNum = 15335425;BA.debugLine="Return BackgroundColor"; +if (true) return __ref._backgroundcolor /*int*/ ; +RDebugUtils.currentLine=15335426; + //BA.debugLineNum = 15335426;BA.debugLine="End Sub"; return 0; } -public int _getvalue() throws Exception{ - //BA.debugLineNum = 157;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 158;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 159;BA.debugLine="End Sub"; +public int _getvalue(reparto_intmex.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=15663104; + //BA.debugLineNum = 15663104;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=15663105; + //BA.debugLineNum = 15663105;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=15663106; + //BA.debugLineNum = 15663106;BA.debugLine="End Sub"; return 0; } -public boolean _getvisible() throws Exception{ - //BA.debugLineNum = 153;BA.debugLine="Public Sub getVisible As Boolean"; - //BA.debugLineNum = 154;BA.debugLine="Return mBase.Visible"; -if (true) return _mbase.getVisible(); - //BA.debugLineNum = 155;BA.debugLine="End Sub"; +public boolean _getvisible(reparto_intmex.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getvisible", true)) + {return ((Boolean) Debug.delegate(ba, "getvisible", null));} +RDebugUtils.currentLine=15597568; + //BA.debugLineNum = 15597568;BA.debugLine="Public Sub getVisible As Boolean"; +RDebugUtils.currentLine=15597569; + //BA.debugLineNum = 15597569;BA.debugLine="Return mBase.Visible"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getVisible(); +RDebugUtils.currentLine=15597570; + //BA.debugLineNum = 15597570;BA.debugLine="End Sub"; return false; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.anotherprogressbar __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 26;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 27;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 28;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=15073280; + //BA.debugLineNum = 15073280;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=15073281; + //BA.debugLineNum = 15073281;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=15073282; + //BA.debugLineNum = 15073282;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=15073283; + //BA.debugLineNum = 15073283;BA.debugLine="End Sub"; return ""; } -public String _setprogresscolor(int _c) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Public Sub setProgressColor (c As Int)"; - //BA.debugLineNum = 108;BA.debugLine="BackgroundColor = c"; -_backgroundcolor = _c; - //BA.debugLineNum = 109;BA.debugLine="UpdateGraphics"; -_updategraphics(); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; +public String _setprogresscolor(reparto_intmex.keymon.lat.anotherprogressbar __ref,int _c) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setprogresscolor", true)) + {return ((String) Debug.delegate(ba, "setprogresscolor", new Object[] {_c}));} +RDebugUtils.currentLine=15400960; + //BA.debugLineNum = 15400960;BA.debugLine="Public Sub setProgressColor (c As Int)"; +RDebugUtils.currentLine=15400961; + //BA.debugLineNum = 15400961;BA.debugLine="BackgroundColor = c"; +__ref._backgroundcolor /*int*/ = _c; +RDebugUtils.currentLine=15400962; + //BA.debugLineNum = 15400962;BA.debugLine="UpdateGraphics"; +__ref._updategraphics /*String*/ (null); +RDebugUtils.currentLine=15400963; + //BA.debugLineNum = 15400963;BA.debugLine="End Sub"; return ""; } -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 161;BA.debugLine="Public Sub setValue (v As Int)"; - //BA.debugLineNum = 162;BA.debugLine="mValue = Max(0, Min(100, v))"; -_mvalue = (int) (__c.Max(0,__c.Min(100,_v))); - //BA.debugLineNum = 163;BA.debugLine="End Sub"; +public String _setvaluenoanimation(reparto_intmex.keymon.lat.anotherprogressbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvaluenoanimation", true)) + {return ((String) Debug.delegate(ba, "setvaluenoanimation", new Object[] {_v}));} +RDebugUtils.currentLine=15794176; + //BA.debugLineNum = 15794176;BA.debugLine="Public Sub SetValueNoAnimation (v As Int)"; +RDebugUtils.currentLine=15794177; + //BA.debugLineNum = 15794177;BA.debugLine="setValue(v)"; +__ref._setvalue /*String*/ (null,_v); +RDebugUtils.currentLine=15794178; + //BA.debugLineNum = 15794178;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=15794179; + //BA.debugLineNum = 15794179;BA.debugLine="End Sub"; return ""; } -public String _setvaluenoanimation(int _v) throws Exception{ - //BA.debugLineNum = 165;BA.debugLine="Public Sub SetValueNoAnimation (v As Int)"; - //BA.debugLineNum = 166;BA.debugLine="setValue(v)"; -_setvalue(_v); - //BA.debugLineNum = 167;BA.debugLine="CurrentValue = mValue"; -_currentvalue = (float) (_mvalue); - //BA.debugLineNum = 168;BA.debugLine="End Sub"; -return ""; -} -public String _setvisible(boolean _b) throws Exception{ - //BA.debugLineNum = 145;BA.debugLine="Public Sub setVisible(b As Boolean)"; - //BA.debugLineNum = 146;BA.debugLine="BusyIndex = BusyIndex + 1"; -_busyindex = (int) (_busyindex+1); - //BA.debugLineNum = 147;BA.debugLine="If b Then"; +public String _setvisible(reparto_intmex.keymon.lat.anotherprogressbar __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvisible", true)) + {return ((String) Debug.delegate(ba, "setvisible", new Object[] {_b}));} +RDebugUtils.currentLine=15532032; + //BA.debugLineNum = 15532032;BA.debugLine="Public Sub setVisible(b As Boolean)"; +RDebugUtils.currentLine=15532033; + //BA.debugLineNum = 15532033;BA.debugLine="BusyIndex = BusyIndex + 1"; +__ref._busyindex /*int*/ = (int) (__ref._busyindex /*int*/ +1); +RDebugUtils.currentLine=15532034; + //BA.debugLineNum = 15532034;BA.debugLine="If b Then"; if (_b) { - //BA.debugLineNum = 148;BA.debugLine="BusyLoop"; -_busyloop(); +RDebugUtils.currentLine=15532035; + //BA.debugLineNum = 15532035;BA.debugLine="BusyLoop"; +__ref._busyloop /*void*/ (null); }; - //BA.debugLineNum = 150;BA.debugLine="mBase.Visible = b"; -_mbase.setVisible(_b); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +RDebugUtils.currentLine=15532037; + //BA.debugLineNum = 15532037;BA.debugLine="mBase.Visible = b"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(_b); +RDebugUtils.currentLine=15532038; + //BA.debugLineNum = 15532038;BA.debugLine="End Sub"; return ""; } -public String _updategraphics() throws Exception{ -int _width = 0; -b4a.example.bitmapcreator _template = null; -b4a.example.bitmapcreator._argbcolor _bcolor = null; - //BA.debugLineNum = 112;BA.debugLine="Public Sub UpdateGraphics"; - //BA.debugLineNum = 113;BA.debugLine="EmptyBrush = bc.CreateBrushFromColor(EmptyColor)"; -_emptybrush = _bc._createbrushfromcolor(_emptycolor); - //BA.debugLineNum = 114;BA.debugLine="TransparentBrush = bc.CreateBrushFromColor(xui.Co"; -_transparentbrush = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 115;BA.debugLine="Dim Width As Int = 40"; -_width = (int) (40); - //BA.debugLineNum = 116;BA.debugLine="Dim Template As BitmapCreator"; -_template = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 117;BA.debugLine="Dim bcolor As ARGBColor"; -_bcolor = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 118;BA.debugLine="bc.ColorToARGB(BackgroundColor, bcolor)"; -_bc._colortoargb(_backgroundcolor,_bcolor); - //BA.debugLineNum = 119;BA.debugLine="bcolor.r = Min(255, bcolor.r * 1.5)"; -_bcolor.r = (int) (__c.Min(255,_bcolor.r*1.5)); - //BA.debugLineNum = 120;BA.debugLine="bcolor.g = Min(255, bcolor.g * 1.5)"; -_bcolor.g = (int) (__c.Min(255,_bcolor.g*1.5)); - //BA.debugLineNum = 121;BA.debugLine="bcolor.b = Min(255, bcolor.b * 1.5)"; -_bcolor.b = (int) (__c.Min(255,_bcolor.b*1.5)); - //BA.debugLineNum = 122;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 123;BA.debugLine="Template.Initialize(mBase.Width / xui.Scale, mBa"; -_template._initialize(ba,(int) (_mbase.getWidth()/(double)_xui.getScale()),(int) (_mbase.getWidth()/(double)_xui.getScale()+_width)); - }else { - //BA.debugLineNum = 125;BA.debugLine="Template.Initialize(mBase.Height / xui.Scale + W"; -_template._initialize(ba,(int) (_mbase.getHeight()/(double)_xui.getScale()+_width),(int) (_mbase.getHeight()/(double)_xui.getScale())); - }; - //BA.debugLineNum = 128;BA.debugLine="Template.DrawRect(Template.TargetRect, Background"; -_template._drawrect(_template._targetrect,_backgroundcolor,__c.True,(int) (0)); - //BA.debugLineNum = 129;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 130;BA.debugLine="Template.DrawLine(-Width / 2, Width / 2, Templat"; -_template._drawline((float) (-_width/(double)2),(float) (_width/(double)2),(float) (_template._mwidth+_width/(double)2),(float) (_template._mheight-_width/(double)2),_bc._argbtocolor(_bcolor),_width); - }else { - //BA.debugLineNum = 132;BA.debugLine="Template.DrawLine(Width / 2, -Width / 2, Templat"; -_template._drawline((float) (_width/(double)2),(float) (-_width/(double)2),(float) (_template._mwidth-_width/(double)2),(float) (_template._mheight+_width/(double)2),_bc._argbtocolor(_bcolor),_width); - }; - //BA.debugLineNum = 134;BA.debugLine="BusyBrush = bc.CreateBrushFromBitmapCreator(Templ"; -_busybrush = _bc._createbrushfrombitmapcreator(_template); - //BA.debugLineNum = 135;BA.debugLine="If mValue = 100 Then"; -if (_mvalue==100) { - //BA.debugLineNum = 136;BA.debugLine="bc.DrawRectRounded(bc.TargetRect, BackgroundColo"; -_bc._drawrectrounded(_bc._targetrect,_backgroundcolor,__c.True,(int) (0),(int) (15)); - }else { - //BA.debugLineNum = 138;BA.debugLine="bc.DrawRectRounded2(bc.TargetRect, EmptyBrush, T"; -_bc._drawrectrounded2(_bc._targetrect,_emptybrush,__c.True,(int) (0),(int) (15)); - }; - //BA.debugLineNum = 140;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, mIV)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),_miv); - //BA.debugLineNum = 141;BA.debugLine="setVisible(mBase.Visible)"; -_setvisible(_mbase.getVisible()); - //BA.debugLineNum = 142;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/appupdater.java b/B4A/Objects/src/reparto_intmex/keymon/lat/appupdater.java index 0a1075d..2351483 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/appupdater.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/appupdater.java @@ -14,7 +14,7 @@ public class appupdater extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, appupdater.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class appupdater extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.appupdater"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.appupdater"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,30 +127,7 @@ public class appupdater extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; -public static String _lnk = ""; -public static anywheresoftware.b4a.objects.NotificationWrapper _nnewapp = null; -public static int _nnewappnid = 0; -public static anywheresoftware.b4j.object.JavaObject _nativeme = null; -public static anywheresoftware.b4a.objects.NotificationWrapper _n2 = null; -public static int _n2id = 0; -public static String _sharedfolder = ""; -public static boolean _usefileprovider = false; -public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -public static reparto_intmex.keymon.lat.appupdater._mnewversion _newapp = null; -public b4a.example.dateutils _dateutils = null; -public reparto_intmex.keymon.lat.main _main = null; -public reparto_intmex.keymon.lat.starter _starter = null; -public reparto_intmex.keymon.lat.foto _foto = null; -public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_intmex.keymon.lat.subs _subs = null; -public reparto_intmex.keymon.lat.tracker _tracker = null; -public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; -public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; -public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; + } public static class _mnewversion{ public boolean IsInitialized; public boolean update; @@ -174,72 +151,141 @@ appLink = ""; public String toString() { return BA.TypeToString(this, false); }} +public anywheresoftware.b4a.keywords.Common __c = null; +public static String _lnk = ""; +public static anywheresoftware.b4a.objects.NotificationWrapper _nnewapp = null; +public static int _nnewappnid = 0; +public static anywheresoftware.b4j.object.JavaObject _nativeme = null; +public static anywheresoftware.b4a.objects.NotificationWrapper _n2 = null; +public static int _n2id = 0; +public static String _sharedfolder = ""; +public static boolean _usefileprovider = false; +public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +public static reparto_intmex.keymon.lat.appupdater._mnewversion _newapp = null; +public b4a.example.dateutils _dateutils = null; +public reparto_intmex.keymon.lat.main _main = null; +public reparto_intmex.keymon.lat.foto _foto = null; +public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; +public reparto_intmex.keymon.lat.subs _subs = null; +public reparto_intmex.keymon.lat.tracker _tracker = null; +public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; +public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; +public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; +public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _title,String _content,String _icon,Object _targetactivity,boolean _sound,boolean _vibrate) throws Exception{ - //BA.debugLineNum = 222;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; - //BA.debugLineNum = 223;BA.debugLine="n2.Initialize"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "createnotification", false)) + {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(processBA, "createnotification", new Object[] {_title,_content,_icon,_targetactivity,_sound,_vibrate}));} +RDebugUtils.currentLine=36503552; + //BA.debugLineNum = 36503552;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; +RDebugUtils.currentLine=36503553; + //BA.debugLineNum = 36503553;BA.debugLine="n2.Initialize"; _n2.Initialize(); - //BA.debugLineNum = 224;BA.debugLine="n2.Light = False"; +RDebugUtils.currentLine=36503554; + //BA.debugLineNum = 36503554;BA.debugLine="n2.Light = False"; _n2.setLight(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 225;BA.debugLine="n2.Vibrate = Vibrate"; +RDebugUtils.currentLine=36503555; + //BA.debugLineNum = 36503555;BA.debugLine="n2.Vibrate = Vibrate"; _n2.setVibrate(_vibrate); - //BA.debugLineNum = 226;BA.debugLine="n2.Sound = Sound"; +RDebugUtils.currentLine=36503556; + //BA.debugLineNum = 36503556;BA.debugLine="n2.Sound = Sound"; _n2.setSound(_sound); - //BA.debugLineNum = 227;BA.debugLine="n2.OnGoingEvent = True"; +RDebugUtils.currentLine=36503557; + //BA.debugLineNum = 36503557;BA.debugLine="n2.OnGoingEvent = True"; _n2.setOnGoingEvent(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 228;BA.debugLine="n2.Icon = Icon"; +RDebugUtils.currentLine=36503558; + //BA.debugLineNum = 36503558;BA.debugLine="n2.Icon = Icon"; _n2.setIcon(_icon); - //BA.debugLineNum = 229;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; +RDebugUtils.currentLine=36503559; + //BA.debugLineNum = 36503559;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; _n2.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); - //BA.debugLineNum = 230;BA.debugLine="n2.Notify(nNewAppnID)"; +RDebugUtils.currentLine=36503560; + //BA.debugLineNum = 36503560;BA.debugLine="n2.Notify(nNewAppnID)"; _n2.Notify(_nnewappnid); - //BA.debugLineNum = 231;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36503561; + //BA.debugLineNum = 36503561;BA.debugLine="End Sub"; return null; } public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification2(String _title,String _content,String _icon,Object _targetactivity,boolean _sound,boolean _vibrate,anywheresoftware.b4a.objects.NotificationWrapper _pn,int _pnid) throws Exception{ - //BA.debugLineNum = 206;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; - //BA.debugLineNum = 209;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "createnotification2", false)) + {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(processBA, "createnotification2", new Object[] {_title,_content,_icon,_targetactivity,_sound,_vibrate,_pn,_pnid}));} +RDebugUtils.currentLine=36438016; + //BA.debugLineNum = 36438016;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; +RDebugUtils.currentLine=36438019; + //BA.debugLineNum = 36438019;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; _pn.Initialize2(_pn.IMPORTANCE_HIGH); - //BA.debugLineNum = 212;BA.debugLine="pN.Vibrate = Vibrate"; +RDebugUtils.currentLine=36438022; + //BA.debugLineNum = 36438022;BA.debugLine="pN.Vibrate = Vibrate"; _pn.setVibrate(_vibrate); - //BA.debugLineNum = 213;BA.debugLine="pN.Sound = Sound"; +RDebugUtils.currentLine=36438023; + //BA.debugLineNum = 36438023;BA.debugLine="pN.Sound = Sound"; _pn.setSound(_sound); - //BA.debugLineNum = 215;BA.debugLine="pN.Icon = Icon"; +RDebugUtils.currentLine=36438025; + //BA.debugLineNum = 36438025;BA.debugLine="pN.Icon = Icon"; _pn.setIcon(_icon); - //BA.debugLineNum = 216;BA.debugLine="pN.AutoCancel = True"; +RDebugUtils.currentLine=36438026; + //BA.debugLineNum = 36438026;BA.debugLine="pN.AutoCancel = True"; _pn.setAutoCancel(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 217;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; +RDebugUtils.currentLine=36438027; + //BA.debugLineNum = 36438027;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; _pn.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); - //BA.debugLineNum = 218;BA.debugLine="pN.Notify(pNID)"; +RDebugUtils.currentLine=36438028; + //BA.debugLineNum = 36438028;BA.debugLine="pN.Notify(pNID)"; _pn.Notify(_pnid); - //BA.debugLineNum = 219;BA.debugLine="Return pN"; +RDebugUtils.currentLine=36438029; + //BA.debugLineNum = 36438029;BA.debugLine="Return pN"; if (true) return _pn; - //BA.debugLineNum = 220;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36438030; + //BA.debugLineNum = 36438030;BA.debugLine="End Sub"; return null; } public static reparto_intmex.keymon.lat.httpjob _download(Object _callback,String _link) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download", false)) + {return ((reparto_intmex.keymon.lat.httpjob) Debug.delegate(processBA, "download", new Object[] {_callback,_link}));} reparto_intmex.keymon.lat.httpjob _j = null; - //BA.debugLineNum = 199;BA.debugLine="Sub Download (Callback As Object, link As String)"; - //BA.debugLineNum = 200;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=36372480; + //BA.debugLineNum = 36372480;BA.debugLine="Sub Download (Callback As Object, link As String)"; +RDebugUtils.currentLine=36372481; + //BA.debugLineNum = 36372481;BA.debugLine="Dim j As HttpJob"; _j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 201;BA.debugLine="j.Initialize(\"\", Callback)"; -_j._initialize /*String*/ (processBA,"",_callback); - //BA.debugLineNum = 202;BA.debugLine="j.Download(link)"; -_j._download /*String*/ (_link); - //BA.debugLineNum = 203;BA.debugLine="Return j"; +RDebugUtils.currentLine=36372482; + //BA.debugLineNum = 36372482;BA.debugLine="j.Initialize(\"\", Callback)"; +_j._initialize /*String*/ (null,processBA,"",_callback); +RDebugUtils.currentLine=36372483; + //BA.debugLineNum = 36372483;BA.debugLine="j.Download(link)"; +_j._download /*String*/ (null,_link); +RDebugUtils.currentLine=36372484; + //BA.debugLineNum = 36372484;BA.debugLine="Return j"; if (true) return _j; - //BA.debugLineNum = 204;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36372485; + //BA.debugLineNum = 36372485;BA.debugLine="End Sub"; return null; } public static String _download_destroy() throws Exception{ - //BA.debugLineNum = 194;BA.debugLine="Sub download_Destroy"; - //BA.debugLineNum = 195;BA.debugLine="n2.Cancel(n2ID)"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download_destroy", false)) + {return ((String) Debug.delegate(processBA, "download_destroy", null));} +RDebugUtils.currentLine=36306944; + //BA.debugLineNum = 36306944;BA.debugLine="Sub download_Destroy"; +RDebugUtils.currentLine=36306945; + //BA.debugLineNum = 36306945;BA.debugLine="n2.Cancel(n2ID)"; _n2.Cancel(_n2id); - //BA.debugLineNum = 196;BA.debugLine="Service.StopForeground(n2ID)"; +RDebugUtils.currentLine=36306946; + //BA.debugLineNum = 36306946;BA.debugLine="Service.StopForeground(n2ID)"; mostCurrent._service.StopForeground(_n2id); - //BA.debugLineNum = 197;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36306947; + //BA.debugLineNum = 36306947;BA.debugLine="End Sub"; return ""; } public static void _download_newapk() throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download_newapk", false)) + {Debug.delegate(processBA, "download_newapk", null); return;} ResumableSub_download_newApk rsub = new ResumableSub_download_newApk(null); rsub.resume(processBA, null); } @@ -254,6 +300,7 @@ anywheresoftware.b4a.objects.IntentWrapper _in = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="appupdater"; while (true) { switch (state) { @@ -263,22 +310,30 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 159;BA.debugLine="Log(\"Descargando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8851971","Descargando actualización",0); - //BA.debugLineNum = 160;BA.debugLine="B4XPages.ShowPage(\"login\")"; +RDebugUtils.currentLine=36241411; + //BA.debugLineNum = 36241411;BA.debugLine="Log(\"Descargando actualización\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("236241411","Descargando actualización",0); +RDebugUtils.currentLine=36241412; + //BA.debugLineNum = 36241412;BA.debugLine="B4XPages.ShowPage(\"login\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"login"); - //BA.debugLineNum = 161;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando ac"; -parent.mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Descargando actualización"); - //BA.debugLineNum = 162;BA.debugLine="Starter.muestraProgreso = 1"; +RDebugUtils.currentLine=36241413; + //BA.debugLineNum = 36241413;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando ac"; +parent.mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ (null,"Descargando actualización"); +RDebugUtils.currentLine=36241414; + //BA.debugLineNum = 36241414;BA.debugLine="Starter.muestraProgreso = 1"; parent.mostCurrent._starter._muestraprogreso /*String*/ = BA.NumberToString(1); - //BA.debugLineNum = 163;BA.debugLine="Dim job_newAPP As HttpJob"; +RDebugUtils.currentLine=36241415; + //BA.debugLineNum = 36241415;BA.debugLine="Dim job_newAPP As HttpJob"; _job_newapp = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 164;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; -_job_newapp._initialize /*String*/ (processBA,"job_newAPP",appupdater.getObject()); - //BA.debugLineNum = 165;BA.debugLine="job_newAPP.Download(newApp.appLink)"; -_job_newapp._download /*String*/ (parent._newapp.appLink /*String*/ ); - //BA.debugLineNum = 166;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; -anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_job_newapp)); +RDebugUtils.currentLine=36241416; + //BA.debugLineNum = 36241416;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; +_job_newapp._initialize /*String*/ (null,processBA,"job_newAPP",appupdater.getObject()); +RDebugUtils.currentLine=36241417; + //BA.debugLineNum = 36241417;BA.debugLine="job_newAPP.Download(newApp.appLink)"; +_job_newapp._download /*String*/ (null,parent._newapp.appLink /*String*/ ); +RDebugUtils.currentLine=36241418; + //BA.debugLineNum = 36241418;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; +anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "appupdater", "download_newapk"), (Object)(_job_newapp)); this.state = 9; return; case 9: @@ -286,7 +341,8 @@ case 9: this.state = 1; _job_newapp = (reparto_intmex.keymon.lat.httpjob) result[0]; ; - //BA.debugLineNum = 167;BA.debugLine="If job_newAPP.Success = True Then"; +RDebugUtils.currentLine=36241419; + //BA.debugLineNum = 36241419;BA.debugLine="If job_newAPP.Success = True Then"; if (true) break; case 1: @@ -299,7 +355,8 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 169;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; +RDebugUtils.currentLine=36241421; + //BA.debugLineNum = 36241421;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; if (true) break; case 4: @@ -312,7 +369,8 @@ this.state = 6; case 6: //C this.state = 7; - //BA.debugLineNum = 170;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; +RDebugUtils.currentLine=36241422; + //BA.debugLineNum = 36241422;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; anywheresoftware.b4a.keywords.Common.File.Delete(parent._sharedfolder,"newapp.apk"); if (true) break; @@ -320,170 +378,233 @@ case 7: //C this.state = 8; ; - //BA.debugLineNum = 173;BA.debugLine="Dim outNewAPK As OutputStream = File.OpenOutput("; +RDebugUtils.currentLine=36241425; + //BA.debugLineNum = 36241425;BA.debugLine="Dim outNewAPK As OutputStream = File.OpenOutput("; _outnewapk = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _outnewapk = anywheresoftware.b4a.keywords.Common.File.OpenOutput(parent._sharedfolder,"newapp.apk",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 174;BA.debugLine="File.Copy2(job_newAPP.GetInputStream, outNewAPK)"; -anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_job_newapp._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_outnewapk.getObject())); - //BA.debugLineNum = 175;BA.debugLine="outNewAPK.Close"; +RDebugUtils.currentLine=36241426; + //BA.debugLineNum = 36241426;BA.debugLine="File.Copy2(job_newAPP.GetInputStream, outNewAPK)"; +anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_job_newapp._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (null).getObject()),(java.io.OutputStream)(_outnewapk.getObject())); +RDebugUtils.currentLine=36241427; + //BA.debugLineNum = 36241427;BA.debugLine="outNewAPK.Close"; _outnewapk.Close(); - //BA.debugLineNum = 177;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -parent.mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 178;BA.debugLine="Log(\"ocultamos prigreso DOWNLOAD APK\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8851990","ocultamos prigreso DOWNLOAD APK",0); +RDebugUtils.currentLine=36241429; + //BA.debugLineNum = 36241429;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +parent.mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=36241430; + //BA.debugLineNum = 36241430;BA.debugLine="Log(\"ocultamos prigreso DOWNLOAD APK\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("236241430","ocultamos prigreso DOWNLOAD APK",0); if (true) break; case 8: //C this.state = -1; ; - //BA.debugLineNum = 180;BA.debugLine="job_newAPP.Release"; -_job_newapp._release /*String*/ (); - //BA.debugLineNum = 182;BA.debugLine="Dim in As Intent"; +RDebugUtils.currentLine=36241432; + //BA.debugLineNum = 36241432;BA.debugLine="job_newAPP.Release"; +_job_newapp._release /*String*/ (null); +RDebugUtils.currentLine=36241434; + //BA.debugLineNum = 36241434;BA.debugLine="Dim in As Intent"; _in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 183;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; +RDebugUtils.currentLine=36241435; + //BA.debugLineNum = 36241435;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; _in.Initialize(_in.ACTION_VIEW,""); - //BA.debugLineNum = 184;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; +RDebugUtils.currentLine=36241436; + //BA.debugLineNum = 36241436;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; _setfileuriasintentdata(_in,"newapp.apk"); - //BA.debugLineNum = 186;BA.debugLine="in.SetType(\"application/vnd.android.package-archi"; +RDebugUtils.currentLine=36241438; + //BA.debugLineNum = 36241438;BA.debugLine="in.SetType(\"application/vnd.android.package-archi"; _in.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 187;BA.debugLine="StartActivity(in)"; +RDebugUtils.currentLine=36241439; + //BA.debugLineNum = 36241439;BA.debugLine="StartActivity(in)"; anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_in.getObject())); - //BA.debugLineNum = 188;BA.debugLine="n2.Cancel(nNewAppnID)"; +RDebugUtils.currentLine=36241440; + //BA.debugLineNum = 36241440;BA.debugLine="n2.Cancel(nNewAppnID)"; parent._n2.Cancel(parent._nnewappnid); - //BA.debugLineNum = 190;BA.debugLine="StopService(Me)"; +RDebugUtils.currentLine=36241442; + //BA.debugLineNum = 36241442;BA.debugLine="StopService(Me)"; anywheresoftware.b4a.keywords.Common.StopService(processBA,appupdater.getObject()); - //BA.debugLineNum = 192;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36241444; + //BA.debugLineNum = 36241444;BA.debugLine="End Sub"; if (true) break; } } } } -public static void _jobdone(reparto_intmex.keymon.lat.httpjob _job_newapp) throws Exception{ +public static String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "setfileuriasintentdata", false)) + {return ((String) Debug.delegate(processBA, "setfileuriasintentdata", new Object[] {_intent,_filename}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=36765696; + //BA.debugLineNum = 36765696;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; +RDebugUtils.currentLine=36765697; + //BA.debugLineNum = 36765697;BA.debugLine="Dim jo As JavaObject = Intent"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); +RDebugUtils.currentLine=36765698; + //BA.debugLineNum = 36765698;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); +RDebugUtils.currentLine=36765699; + //BA.debugLineNum = 36765699;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +_intent.setFlags(anywheresoftware.b4a.keywords.Common.Bit.Or(_intent.getFlags(),(int) (1))); +RDebugUtils.currentLine=36765700; + //BA.debugLineNum = 36765700;BA.debugLine="End Sub"; +return ""; } public static String _download_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 152;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 153;BA.debugLine="download_newApk"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download_start", false)) + {return ((String) Debug.delegate(processBA, "download_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=36175872; + //BA.debugLineNum = 36175872;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=36175873; + //BA.debugLineNum = 36175873;BA.debugLine="download_newApk"; _download_newapk(); - //BA.debugLineNum = 154;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36175874; + //BA.debugLineNum = 36175874;BA.debugLine="End Sub"; return ""; } public static String _fileprovider_init() throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "fileprovider_init", false)) + {return ((String) Debug.delegate(processBA, "fileprovider_init", null));} anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 237;BA.debugLine="Sub fileProvider_init"; - //BA.debugLineNum = 238;BA.debugLine="Dim p As Phone"; +RDebugUtils.currentLine=36634624; + //BA.debugLineNum = 36634624;BA.debugLine="Sub fileProvider_init"; +RDebugUtils.currentLine=36634625; + //BA.debugLineNum = 36634625;BA.debugLine="Dim p As Phone"; _p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 239;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +RDebugUtils.currentLine=36634626; + //BA.debugLineNum = 36634626;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; if (_p.getSdkVersion()>=24 || anywheresoftware.b4a.keywords.Common.File.getExternalWritable()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 240;BA.debugLine="UseFileProvider = True"; +RDebugUtils.currentLine=36634627; + //BA.debugLineNum = 36634627;BA.debugLine="UseFileProvider = True"; _usefileprovider = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 241;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +RDebugUtils.currentLine=36634628; + //BA.debugLineNum = 36634628;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; _sharedfolder = anywheresoftware.b4a.keywords.Common.File.Combine(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"); - //BA.debugLineNum = 242;BA.debugLine="If Not(File.IsDirectory(File.DirInternal,\"shared"; +RDebugUtils.currentLine=36634629; + //BA.debugLineNum = 36634629;BA.debugLine="If Not(File.IsDirectory(File.DirInternal,\"shared"; if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.IsDirectory(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"))) { - //BA.debugLineNum = 243;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +RDebugUtils.currentLine=36634630; + //BA.debugLineNum = 36634630;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; anywheresoftware.b4a.keywords.Common.File.MakeDir("",_sharedfolder); }; }else { - //BA.debugLineNum = 246;BA.debugLine="UseFileProvider = False"; +RDebugUtils.currentLine=36634633; + //BA.debugLineNum = 36634633;BA.debugLine="UseFileProvider = False"; _usefileprovider = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 247;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +RDebugUtils.currentLine=36634634; + //BA.debugLineNum = 36634634;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; _sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); }; - //BA.debugLineNum = 249;BA.debugLine="Log($\"Using FileProvider? - ${UseFileProvider}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("81245196",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); - //BA.debugLineNum = 250;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36634636; + //BA.debugLineNum = 36634636;BA.debugLine="Log($\"Using FileProvider? - ${UseFileProvider}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("236634636",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); +RDebugUtils.currentLine=36634637; + //BA.debugLineNum = 36634637;BA.debugLine="End Sub"; return ""; } public static Object _getfileuri(String _filename) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "getfileuri", false)) + {return ((Object) Debug.delegate(processBA, "getfileuri", new Object[] {_filename}));} anywheresoftware.b4j.object.JavaObject _uri = null; anywheresoftware.b4j.object.JavaObject _f = null; anywheresoftware.b4j.object.JavaObject _fp = null; anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 253;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; - //BA.debugLineNum = 254;BA.debugLine="Try"; -try { //BA.debugLineNum = 255;BA.debugLine="If Not(UseFileProvider) Then"; +RDebugUtils.currentLine=36700160; + //BA.debugLineNum = 36700160;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; +RDebugUtils.currentLine=36700161; + //BA.debugLineNum = 36700161;BA.debugLine="Try"; +try {RDebugUtils.currentLine=36700162; + //BA.debugLineNum = 36700162;BA.debugLine="If Not(UseFileProvider) Then"; if (anywheresoftware.b4a.keywords.Common.Not(_usefileprovider)) { - //BA.debugLineNum = 256;BA.debugLine="Dim uri As JavaObject"; +RDebugUtils.currentLine=36700163; + //BA.debugLineNum = 36700163;BA.debugLine="Dim uri As JavaObject"; _uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 257;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\")."; +RDebugUtils.currentLine=36700164; + //BA.debugLineNum = 36700164;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\")."; if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_sharedfolder,_filename))}); }; - //BA.debugLineNum = 259;BA.debugLine="Dim f As JavaObject"; +RDebugUtils.currentLine=36700166; + //BA.debugLineNum = 36700166;BA.debugLine="Dim f As JavaObject"; _f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 260;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +RDebugUtils.currentLine=36700167; + //BA.debugLineNum = 36700167;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; _f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 261;BA.debugLine="Dim fp As JavaObject"; +RDebugUtils.currentLine=36700168; + //BA.debugLineNum = 36700168;BA.debugLine="Dim fp As JavaObject"; _fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 262;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=36700169; + //BA.debugLineNum = 36700169;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 263;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=36700170; + //BA.debugLineNum = 36700170;BA.debugLine="context.InitializeContext"; _context.InitializeContext(processBA); - //BA.debugLineNum = 264;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +RDebugUtils.currentLine=36700171; + //BA.debugLineNum = 36700171;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; _fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 265;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +RDebugUtils.currentLine=36700172; + //BA.debugLineNum = 36700172;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(anywheresoftware.b4a.keywords.Common.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); } catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 267;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; -anywheresoftware.b4a.keywords.Common.LogImpl("81310734","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); - //BA.debugLineNum = 268;BA.debugLine="Return \"\""; + processBA.setLastException(e14);RDebugUtils.currentLine=36700174; + //BA.debugLineNum = 36700174;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; +anywheresoftware.b4a.keywords.Common.LogImpl("236700174","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); +RDebugUtils.currentLine=36700175; + //BA.debugLineNum = 36700175;BA.debugLine="Return \"\""; if (true) return (Object)(""); }; - //BA.debugLineNum = 270;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36700177; + //BA.debugLineNum = 36700177;BA.debugLine="End Sub"; return null; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 70;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 75;BA.debugLine="Public lnk As String = \"https://keymon.lat/movil/"; -_lnk = "https://keymon.lat/movil/intmex/intmex_reparto.ver"; - //BA.debugLineNum = 85;BA.debugLine="Public nNewApp As Notification"; -_nnewapp = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 86;BA.debugLine="Public nNewAppnID As Int = 16"; -_nnewappnid = (int) (16); - //BA.debugLineNum = 88;BA.debugLine="Dim nativeMe As JavaObject"; -_nativeme = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 89;BA.debugLine="Dim n2 As Notification"; -_n2 = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Dim n2ID As Int = 16"; -_n2id = (int) (16); - //BA.debugLineNum = 92;BA.debugLine="Public SharedFolder As String"; -_sharedfolder = ""; - //BA.debugLineNum = 93;BA.debugLine="Public UseFileProvider As Boolean"; -_usefileprovider = false; - //BA.debugLineNum = 94;BA.debugLine="Private rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 96;BA.debugLine="Type mNewVersion(update As Boolean, nonewAPP As B"; -; - //BA.debugLineNum = 98;BA.debugLine="Public newApp As mNewVersion"; -_newapp = new reparto_intmex.keymon.lat.appupdater._mnewversion(); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return ""; -} public static String _service_create() throws Exception{ - //BA.debugLineNum = 101;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 102;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8655361","appUpdater(), Service_Create",0); - //BA.debugLineNum = 103;BA.debugLine="newApp.Initialize"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=36044800; + //BA.debugLineNum = 36044800;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=36044801; + //BA.debugLineNum = 36044801;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("236044801","appUpdater(), Service_Create",0); +RDebugUtils.currentLine=36044802; + //BA.debugLineNum = 36044802;BA.debugLine="newApp.Initialize"; _newapp.Initialize(); - //BA.debugLineNum = 104;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +RDebugUtils.currentLine=36044803; + //BA.debugLineNum = 36044803;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 105;BA.debugLine="n2.Initialize"; +RDebugUtils.currentLine=36044804; + //BA.debugLineNum = 36044804;BA.debugLine="n2.Initialize"; _n2.Initialize(); - //BA.debugLineNum = 106;BA.debugLine="nativeMe.InitializeContext"; +RDebugUtils.currentLine=36044805; + //BA.debugLineNum = 36044805;BA.debugLine="nativeMe.InitializeContext"; _nativeme.InitializeContext(processBA); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36044806; + //BA.debugLineNum = 36044806;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 233;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 234;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("81179649","appUpdater(), Service_Destroy",0); - //BA.debugLineNum = 235;BA.debugLine="End Sub"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=36569088; + //BA.debugLineNum = 36569088;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=36569089; + //BA.debugLineNum = 36569089;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("236569089","appUpdater(), Service_Destroy",0); +RDebugUtils.currentLine=36569090; + //BA.debugLineNum = 36569090;BA.debugLine="End Sub"; return ""; } public static void _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {Debug.delegate(processBA, "service_start", new Object[] {_startingintent}); return;} ResumableSub_Service_Start rsub = new ResumableSub_Service_Start(null,_startingintent); rsub.resume(processBA, null); } @@ -499,6 +620,7 @@ String[] _app = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="appupdater"; while (true) { try { @@ -510,16 +632,21 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 110;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8720897","appUpdater(), Service_Start",0); - //BA.debugLineNum = 112;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; -parent.mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Buscando actualización"); - //BA.debugLineNum = 113;BA.debugLine="Log(\"Buscando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8720900","Buscando actualización",0); - //BA.debugLineNum = 114;BA.debugLine="fileProvider_init"; +RDebugUtils.currentLine=36110337; + //BA.debugLineNum = 36110337;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("236110337","appUpdater(), Service_Start",0); +RDebugUtils.currentLine=36110339; + //BA.debugLineNum = 36110339;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; +parent.mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ (null,"Buscando actualización"); +RDebugUtils.currentLine=36110340; + //BA.debugLineNum = 36110340;BA.debugLine="Log(\"Buscando actualización\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("236110340","Buscando actualización",0); +RDebugUtils.currentLine=36110341; + //BA.debugLineNum = 36110341;BA.debugLine="fileProvider_init"; _fileprovider_init(); - //BA.debugLineNum = 115;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; -anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_download(appupdater.getObject(),parent._lnk))); +RDebugUtils.currentLine=36110342; + //BA.debugLineNum = 36110342;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; +anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "appupdater", "service_start"), (Object)(_download(appupdater.getObject(),parent._lnk))); this.state = 20; return; case 20: @@ -527,7 +654,8 @@ case 20: this.state = 1; _j = (reparto_intmex.keymon.lat.httpjob) result[0]; ; - //BA.debugLineNum = 116;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=36110343; + //BA.debugLineNum = 36110343;BA.debugLine="If j.Success Then"; if (true) break; case 1: @@ -542,7 +670,8 @@ this.state = 18; case 3: //C this.state = 4; - //BA.debugLineNum = 117;BA.debugLine="Try"; +RDebugUtils.currentLine=36110344; + //BA.debugLineNum = 36110344;BA.debugLine="Try"; if (true) break; case 4: @@ -556,19 +685,26 @@ case 6: //C this.state = 7; this.catchState = 15; - //BA.debugLineNum = 118;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; -_app = anywheresoftware.b4a.keywords.Common.Regex.Split(BA.ObjectToString(anywheresoftware.b4a.keywords.Common.Chr((int) (9))),_j._getstring /*String*/ ()); - //BA.debugLineNum = 120;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; +RDebugUtils.currentLine=36110345; + //BA.debugLineNum = 36110345;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; +_app = anywheresoftware.b4a.keywords.Common.Regex.Split(BA.ObjectToString(anywheresoftware.b4a.keywords.Common.Chr((int) (9))),_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=36110347; + //BA.debugLineNum = 36110347;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; parent._newapp.appLink /*String*/ = _app[(int) (3)]; - //BA.debugLineNum = 121;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; +RDebugUtils.currentLine=36110348; + //BA.debugLineNum = 36110348;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; parent._newapp.newMsg /*String*/ = _app[(int) (1)]; - //BA.debugLineNum = 122;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; +RDebugUtils.currentLine=36110349; + //BA.debugLineNum = 36110349;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; parent._newapp.okMsg /*String*/ = _app[(int) (2)]; - //BA.debugLineNum = 123;BA.debugLine="newApp.version = app(0) 'Version actual"; +RDebugUtils.currentLine=36110350; + //BA.debugLineNum = 36110350;BA.debugLine="newApp.version = app(0) 'Version actual"; parent._newapp.version /*String*/ = _app[(int) (0)]; - //BA.debugLineNum = 125;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; -anywheresoftware.b4a.keywords.Common.LogImpl("8720912",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0); - //BA.debugLineNum = 128;BA.debugLine="If newApp.version = Application.VersionName Th"; +RDebugUtils.currentLine=36110352; + //BA.debugLineNum = 36110352;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +anywheresoftware.b4a.keywords.Common.LogImpl("236110352",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0); +RDebugUtils.currentLine=36110355; + //BA.debugLineNum = 36110355;BA.debugLine="If newApp.version = Application.VersionName Th"; if (true) break; case 7: @@ -581,17 +717,22 @@ this.state = 9; case 9: //C this.state = 10; - //BA.debugLineNum = 129;BA.debugLine="newApp.update = False"; +RDebugUtils.currentLine=36110356; + //BA.debugLineNum = 36110356;BA.debugLine="newApp.update = False"; parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 130;BA.debugLine="Log(\"No new app\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8720917","No new app",0); - //BA.debugLineNum = 131;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +RDebugUtils.currentLine=36110357; + //BA.debugLineNum = 36110357;BA.debugLine="Log(\"No new app\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("236110357","No new app",0); +RDebugUtils.currentLine=36110358; + //BA.debugLineNum = 36110358;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); - //BA.debugLineNum = 133;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\","; +RDebugUtils.currentLine=36110360; + //BA.debugLineNum = 36110360;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\","; _createnotification2("Aplicacion al corriente","No hay actualizaciones disponibles","ic_file_download_white_24dp",(Object)(parent.mostCurrent._main.getObject()),anywheresoftware.b4a.keywords.Common.True,anywheresoftware.b4a.keywords.Common.True,parent._nnewapp,parent._nnewappnid); if (true) break; ; - //BA.debugLineNum = 135;BA.debugLine="If newApp.version <> Application.VersionName T"; +RDebugUtils.currentLine=36110362; + //BA.debugLineNum = 36110362;BA.debugLine="If newApp.version <> Application.VersionName T"; case 10: //if @@ -603,11 +744,14 @@ this.state = 12; case 12: //C this.state = 13; - //BA.debugLineNum = 136;BA.debugLine="newApp.update = True"; +RDebugUtils.currentLine=36110363; + //BA.debugLineNum = 36110363;BA.debugLine="newApp.update = True"; parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 137;BA.debugLine="Log(\"New app true\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8720924","New app true",0); - //BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +RDebugUtils.currentLine=36110364; + //BA.debugLineNum = 36110364;BA.debugLine="Log(\"New app true\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("236110364","New app true",0); +RDebugUtils.currentLine=36110365; + //BA.debugLineNum = 36110365;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); if (true) break; @@ -621,8 +765,9 @@ case 15: //C this.state = 16; this.catchState = 0; - //BA.debugLineNum = 143;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; -anywheresoftware.b4a.keywords.Common.LogImpl("8720930","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); +RDebugUtils.currentLine=36110370; + //BA.debugLineNum = 36110370;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; +anywheresoftware.b4a.keywords.Common.LogImpl("236110370","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); if (true) break; if (true) break; @@ -636,17 +781,20 @@ this.catchState = 0; case 18: //C this.state = 19; - //BA.debugLineNum = 146;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; -anywheresoftware.b4a.keywords.Common.LogImpl("8720933","appUpdater(), Job Failed "+parent._lnk,0); +RDebugUtils.currentLine=36110373; + //BA.debugLineNum = 36110373;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; +anywheresoftware.b4a.keywords.Common.LogImpl("236110373","appUpdater(), Job Failed "+parent._lnk,0); if (true) break; case 19: //C this.state = -1; ; - //BA.debugLineNum = 148;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 150;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36110375; + //BA.debugLineNum = 36110375;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=36110377; + //BA.debugLineNum = 36110377;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -660,17 +808,4 @@ processBA.setLastException(e0);} } } } -public static String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 274;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; - //BA.debugLineNum = 275;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 = 276;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 277;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; -_intent.setFlags(anywheresoftware.b4a.keywords.Common.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 278;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbitset.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbitset.java index 8ec1606..4e02921 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbitset.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbitset.java @@ -10,7 +10,7 @@ public class b4xbitset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xbitset"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xbitset"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,16 +23,23 @@ public class b4xbitset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public int[] _data = null; public int _msize = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -40,86 +47,134 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private data() As Int"; +public String _class_globals(reparto_intmex.keymon.lat.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +RDebugUtils.currentLine=4063232; + //BA.debugLineNum = 4063232;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=4063236; + //BA.debugLineNum = 4063236;BA.debugLine="Private data() As Int"; _data = new int[(int) (0)]; ; - //BA.debugLineNum = 7;BA.debugLine="Private mSize As Int"; +RDebugUtils.currentLine=4063238; + //BA.debugLineNum = 4063238;BA.debugLine="Private mSize As Int"; _msize = 0; - //BA.debugLineNum = 8;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4063239; + //BA.debugLineNum = 4063239;BA.debugLine="End Sub"; return ""; } -public String _clear() throws Exception{ - //BA.debugLineNum = 54;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 58;BA.debugLine="Dim data(Bit.ShiftRight(mSize, 5) + 1) As Int"; -_data = new int[(int) (__c.Bit.ShiftRight(_msize,(int) (5))+1)]; +public String _clear(reparto_intmex.keymon.lat.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=4390912; + //BA.debugLineNum = 4390912;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=4390916; + //BA.debugLineNum = 4390916;BA.debugLine="Dim data(Bit.ShiftRight(mSize, 5) + 1) As Int"; +_data = new int[(int) (__c.Bit.ShiftRight(__ref._msize /*int*/ ,(int) (5))+1)]; ; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4390918; + //BA.debugLineNum = 4390918;BA.debugLine="End Sub"; return ""; } -public boolean _get(int _index) throws Exception{ +public boolean _get(reparto_intmex.keymon.lat.b4xbitset __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Boolean) Debug.delegate(ba, "get", new Object[] {_index}));} int _dindex = 0; int _offset = 0; int _blockvalue = 0; - //BA.debugLineNum = 38;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; - //BA.debugLineNum = 39;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +RDebugUtils.currentLine=4259840; + //BA.debugLineNum = 4259840;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; +RDebugUtils.currentLine=4259841; + //BA.debugLineNum = 4259841;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; _dindex = __c.Bit.ShiftRight(_index,(int) (5)); - //BA.debugLineNum = 40;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +RDebugUtils.currentLine=4259842; + //BA.debugLineNum = 4259842;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; _offset = __c.Bit.And(((int)0x0000001f),_index); - //BA.debugLineNum = 44;BA.debugLine="Dim BlockValue As Int = data(dindex)"; -_blockvalue = _data[_dindex]; - //BA.debugLineNum = 46;BA.debugLine="Return Bit.And(BlockValue, Bit.ShiftLeft(1, offse"; +RDebugUtils.currentLine=4259846; + //BA.debugLineNum = 4259846;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +_blockvalue = __ref._data /*int[]*/ [_dindex]; +RDebugUtils.currentLine=4259848; + //BA.debugLineNum = 4259848;BA.debugLine="Return Bit.And(BlockValue, Bit.ShiftLeft(1, offse"; if (true) return __c.Bit.And(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset))!=0; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4259849; + //BA.debugLineNum = 4259849;BA.debugLine="End Sub"; return false; } -public int _getsize() throws Exception{ - //BA.debugLineNum = 49;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 50;BA.debugLine="Return mSize"; -if (true) return _msize; - //BA.debugLineNum = 51;BA.debugLine="End Sub"; +public int _getsize(reparto_intmex.keymon.lat.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=4325376; + //BA.debugLineNum = 4325376;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=4325377; + //BA.debugLineNum = 4325377;BA.debugLine="Return mSize"; +if (true) return __ref._msize /*int*/ ; +RDebugUtils.currentLine=4325378; + //BA.debugLineNum = 4325378;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xbitset __ref,anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (Size As Int)"; - //BA.debugLineNum = 11;BA.debugLine="mSize = Size"; -_msize = _size; - //BA.debugLineNum = 12;BA.debugLine="Clear"; -_clear(); - //BA.debugLineNum = 13;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_size}));} +RDebugUtils.currentLine=4128768; + //BA.debugLineNum = 4128768;BA.debugLine="Public Sub Initialize (Size As Int)"; +RDebugUtils.currentLine=4128769; + //BA.debugLineNum = 4128769;BA.debugLine="mSize = Size"; +__ref._msize /*int*/ = _size; +RDebugUtils.currentLine=4128770; + //BA.debugLineNum = 4128770;BA.debugLine="Clear"; +__ref._clear /*String*/ (null); +RDebugUtils.currentLine=4128771; + //BA.debugLineNum = 4128771;BA.debugLine="End Sub"; return ""; } -public String _set(int _index,boolean _value) throws Exception{ +public String _set(reparto_intmex.keymon.lat.b4xbitset __ref,int _index,boolean _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "set", true)) + {return ((String) Debug.delegate(ba, "set", new Object[] {_index,_value}));} int _dindex = 0; int _offset = 0; int _blockvalue = 0; int _newblockvalue = 0; - //BA.debugLineNum = 16;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; - //BA.debugLineNum = 17;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +RDebugUtils.currentLine=4194304; + //BA.debugLineNum = 4194304;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; +RDebugUtils.currentLine=4194305; + //BA.debugLineNum = 4194305;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; _dindex = __c.Bit.ShiftRight(_index,(int) (5)); - //BA.debugLineNum = 18;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +RDebugUtils.currentLine=4194306; + //BA.debugLineNum = 4194306;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; _offset = __c.Bit.And(((int)0x0000001f),_index); - //BA.debugLineNum = 22;BA.debugLine="Dim BlockValue As Int = data(dindex)"; -_blockvalue = _data[_dindex]; - //BA.debugLineNum = 24;BA.debugLine="Dim NewBlockValue As Int"; +RDebugUtils.currentLine=4194310; + //BA.debugLineNum = 4194310;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +_blockvalue = __ref._data /*int[]*/ [_dindex]; +RDebugUtils.currentLine=4194312; + //BA.debugLineNum = 4194312;BA.debugLine="Dim NewBlockValue As Int"; _newblockvalue = 0; - //BA.debugLineNum = 25;BA.debugLine="If Value Then"; +RDebugUtils.currentLine=4194313; + //BA.debugLineNum = 4194313;BA.debugLine="If Value Then"; if (_value) { - //BA.debugLineNum = 26;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; +RDebugUtils.currentLine=4194314; + //BA.debugLineNum = 4194314;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; _newblockvalue = __c.Bit.Or(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset)); }else { - //BA.debugLineNum = 28;BA.debugLine="NewBlockValue = Bit.And(BlockValue, Bit.Not(Bit."; +RDebugUtils.currentLine=4194316; + //BA.debugLineNum = 4194316;BA.debugLine="NewBlockValue = Bit.And(BlockValue, Bit.Not(Bit."; _newblockvalue = __c.Bit.And(_blockvalue,__c.Bit.Not(__c.Bit.ShiftLeft((int) (1),_offset))); }; - //BA.debugLineNum = 33;BA.debugLine="data(dindex) = NewBlockValue"; -_data[_dindex] = _newblockvalue; - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4194321; + //BA.debugLineNum = 4194321;BA.debugLine="data(dindex) = NewBlockValue"; +__ref._data /*int[]*/ [_dindex] = _newblockvalue; +RDebugUtils.currentLine=4194323; + //BA.debugLineNum = 4194323;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbreadcrumb.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbreadcrumb.java index f0ac98a..9971762 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbreadcrumb.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbreadcrumb.java @@ -10,7 +10,7 @@ public class b4xbreadcrumb extends B4AClass.ImplB4AClass implements BA.SubDelega private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xbreadcrumb"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xbreadcrumb"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xbreadcrumb extends B4AClass.ImplB4AClass implements BA.SubDelega ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -43,10 +50,10 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -54,102 +61,31 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 52;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 53;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_touchpanel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 54;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.b4xbreadcrumb __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=16056320; + //BA.debugLineNum = 16056320;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=16056321; + //BA.debugLineNum = 16056321;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=16056322; + //BA.debugLineNum = 16056322;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=16056323; + //BA.debugLineNum = 16056323;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=16056324; + //BA.debugLineNum = 16056324;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 11;BA.debugLine="Private mItems As List"; -_mitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 12;BA.debugLine="Private RightPositions As List"; -_rightpositions = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 13;BA.debugLine="Public TextColor As Int"; -_textcolor = 0; - //BA.debugLineNum = 14;BA.debugLine="Public fnt As B4XFont"; -_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 15;BA.debugLine="Private offset As Int = 10dip"; -_offset = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 16;BA.debugLine="Private bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 17;BA.debugLine="Public CrumbColor As Int"; -_crumbcolor = 0; - //BA.debugLineNum = 18;BA.debugLine="Private TouchPanel As B4XView"; -_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Private PressedItem As Int = -1"; -_presseditem = (int) (-1); - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -String _items = ""; -String _s = ""; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 37;BA.debugLine="Dim xlbl As B4XView = Lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 38;BA.debugLine="fnt = xlbl.Font"; -_fnt = _xlbl.getFont(); - //BA.debugLineNum = 39;BA.debugLine="TextColor = xlbl.TextColor"; -_textcolor = _xlbl.getTextColor(); - //BA.debugLineNum = 40;BA.debugLine="CrumbColor = xui.PaintOrColorToColor(Props.Get(\"C"; -_crumbcolor = _xui.PaintOrColorToColor(_props.Get((Object)("CrumbColor"))); - //BA.debugLineNum = 41;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 42;BA.debugLine="TouchPanel = xui.CreatePanel(\"Touch\")"; -_touchpanel = _xui.CreatePanel(ba,"Touch"); - //BA.debugLineNum = 43;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; -_mbase.AddView((android.view.View)(_touchpanel.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 44;BA.debugLine="Dim items As String = Props.Get(\"Items\")"; -_items = BA.ObjectToString(_props.Get((Object)("Items"))); - //BA.debugLineNum = 45;BA.debugLine="For Each s As String In Regex.Split(\"\\|\", items)"; -{ -final String[] group13 = __c.Regex.Split("\\|",_items); -final int groupLen13 = group13.length -;int index13 = 0; -; -for (; index13 < groupLen13;index13++){ -_s = group13[index13]; - //BA.debugLineNum = 46;BA.debugLine="mItems.Add(s)"; -_mitems.Add((Object)(_s)); - } -}; - //BA.debugLineNum = 48;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ +public String _draw(reparto_intmex.keymon.lat.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} b4a.example.bitmapcreator._argbcolor _bcolor = null; int _strokecolor = 0; int[] _clrs = null; @@ -157,240 +93,472 @@ int _left = 0; int _i = 0; int _sc = 0; int _width = 0; - //BA.debugLineNum = 57;BA.debugLine="Private Sub Draw"; - //BA.debugLineNum = 58;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 59;BA.debugLine="Dim bcolor As ARGBColor"; +RDebugUtils.currentLine=16121856; + //BA.debugLineNum = 16121856;BA.debugLine="Private Sub Draw"; +RDebugUtils.currentLine=16121857; + //BA.debugLineNum = 16121857;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=16121858; + //BA.debugLineNum = 16121858;BA.debugLine="Dim bcolor As ARGBColor"; _bcolor = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 60;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; -_bc._colortoargb(_crumbcolor,_bcolor); - //BA.debugLineNum = 61;BA.debugLine="bcolor.r = Min(255, bcolor.r * 2)"; +RDebugUtils.currentLine=16121859; + //BA.debugLineNum = 16121859;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._crumbcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=16121860; + //BA.debugLineNum = 16121860;BA.debugLine="bcolor.r = Min(255, bcolor.r * 2)"; _bcolor.r = (int) (__c.Min(255,_bcolor.r*2)); - //BA.debugLineNum = 62;BA.debugLine="bcolor.g = Min(255, bcolor.g * 2)"; +RDebugUtils.currentLine=16121861; + //BA.debugLineNum = 16121861;BA.debugLine="bcolor.g = Min(255, bcolor.g * 2)"; _bcolor.g = (int) (__c.Min(255,_bcolor.g*2)); - //BA.debugLineNum = 63;BA.debugLine="bcolor.b = Min(255, bcolor.b * 2)"; +RDebugUtils.currentLine=16121862; + //BA.debugLineNum = 16121862;BA.debugLine="bcolor.b = Min(255, bcolor.b * 2)"; _bcolor.b = (int) (__c.Min(255,_bcolor.b*2)); - //BA.debugLineNum = 64;BA.debugLine="Dim strokeColor As Int = bc.ARGBToColor(bcolor)"; -_strokecolor = _bc._argbtocolor(_bcolor); - //BA.debugLineNum = 66;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; -_bc._colortoargb(_crumbcolor,_bcolor); - //BA.debugLineNum = 67;BA.debugLine="bcolor.r = bcolor.r * 0.8"; +RDebugUtils.currentLine=16121863; + //BA.debugLineNum = 16121863;BA.debugLine="Dim strokeColor As Int = bc.ARGBToColor(bcolor)"; +_strokecolor = __ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor); +RDebugUtils.currentLine=16121865; + //BA.debugLineNum = 16121865;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._crumbcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=16121866; + //BA.debugLineNum = 16121866;BA.debugLine="bcolor.r = bcolor.r * 0.8"; _bcolor.r = (int) (_bcolor.r*0.8); - //BA.debugLineNum = 68;BA.debugLine="bcolor.g = bcolor.g * 0.8"; +RDebugUtils.currentLine=16121867; + //BA.debugLineNum = 16121867;BA.debugLine="bcolor.g = bcolor.g * 0.8"; _bcolor.g = (int) (_bcolor.g*0.8); - //BA.debugLineNum = 69;BA.debugLine="bcolor.b = bcolor.b * 0.8"; +RDebugUtils.currentLine=16121868; + //BA.debugLineNum = 16121868;BA.debugLine="bcolor.b = bcolor.b * 0.8"; _bcolor.b = (int) (_bcolor.b*0.8); - //BA.debugLineNum = 70;BA.debugLine="Dim Clrs() As Int = Array As Int(CrumbColor, bc.A"; -_clrs = new int[]{_crumbcolor,_bc._argbtocolor(_bcolor)}; - //BA.debugLineNum = 72;BA.debugLine="RightPositions.Clear"; -_rightpositions.Clear(); - //BA.debugLineNum = 73;BA.debugLine="If mItems.Size = 0 Then Return"; -if (_mitems.getSize()==0) { +RDebugUtils.currentLine=16121869; + //BA.debugLineNum = 16121869;BA.debugLine="Dim Clrs() As Int = Array As Int(CrumbColor, bc.A"; +_clrs = new int[]{__ref._crumbcolor /*int*/ ,__ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor)}; +RDebugUtils.currentLine=16121871; + //BA.debugLineNum = 16121871;BA.debugLine="RightPositions.Clear"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=16121872; + //BA.debugLineNum = 16121872;BA.debugLine="If mItems.Size = 0 Then Return"; +if (__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { if (true) return "";}; - //BA.debugLineNum = 74;BA.debugLine="Dim Left As Int = 0"; +RDebugUtils.currentLine=16121873; + //BA.debugLineNum = 16121873;BA.debugLine="Dim Left As Int = 0"; _left = (int) (0); - //BA.debugLineNum = 75;BA.debugLine="For i = 0 To mItems.Size - 1"; +RDebugUtils.currentLine=16121874; + //BA.debugLineNum = 16121874;BA.debugLine="For i = 0 To mItems.Size - 1"; { final int step16 = 1; -final int limit16 = (int) (_mitems.getSize()-1); +final int limit16 = (int) (__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 76;BA.debugLine="Dim sc As Int"; +RDebugUtils.currentLine=16121875; + //BA.debugLineNum = 16121875;BA.debugLine="Dim sc As Int"; _sc = 0; - //BA.debugLineNum = 77;BA.debugLine="If PressedItem = i Then sc = strokeColor Else sc"; -if (_presseditem==_i) { +RDebugUtils.currentLine=16121876; + //BA.debugLineNum = 16121876;BA.debugLine="If PressedItem = i Then sc = strokeColor Else sc"; +if (__ref._presseditem /*int*/ ==_i) { _sc = _strokecolor;} else { _sc = (int) (0);}; - //BA.debugLineNum = 78;BA.debugLine="Dim width As Int = DrawItem(Left, mItems.Get(i),"; -_width = _drawitem(_left,BA.ObjectToString(_mitems.Get(_i)),_i==0,_i==_mitems.getSize()-1,_clrs[(int) (_i%_clrs.length)],_sc); - //BA.debugLineNum = 79;BA.debugLine="Left = Left + width + offset + 2dip"; -_left = (int) (_left+_width+_offset+__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 80;BA.debugLine="RightPositions.Add(Left)"; -_rightpositions.Add((Object)(_left)); +RDebugUtils.currentLine=16121877; + //BA.debugLineNum = 16121877;BA.debugLine="Dim width As Int = DrawItem(Left, mItems.Get(i),"; +_width = __ref._drawitem /*int*/ (null,_left,BA.ObjectToString(__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)),_i==0,_i==__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1,_clrs[(int) (_i%_clrs.length)],_sc); +RDebugUtils.currentLine=16121878; + //BA.debugLineNum = 16121878;BA.debugLine="Left = Left + width + offset + 2dip"; +_left = (int) (_left+_width+__ref._offset /*int*/ +__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=16121879; + //BA.debugLineNum = 16121879;BA.debugLine="RightPositions.Add(Left)"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_left)); } }; - //BA.debugLineNum = 82;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16121881; + //BA.debugLineNum = 16121881;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=16121882; + //BA.debugLineNum = 16121882;BA.debugLine="End Sub"; return ""; } -public int _drawitem(int _left,String _text,boolean _first,boolean _last,int _clr,int _strokecolor) throws Exception{ +public String _class_globals(reparto_intmex.keymon.lat.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +RDebugUtils.currentLine=15859712; + //BA.debugLineNum = 15859712;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=15859713; + //BA.debugLineNum = 15859713;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=15859714; + //BA.debugLineNum = 15859714;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=15859715; + //BA.debugLineNum = 15859715;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=15859716; + //BA.debugLineNum = 15859716;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=15859717; + //BA.debugLineNum = 15859717;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=15859718; + //BA.debugLineNum = 15859718;BA.debugLine="Private mItems As List"; +_mitems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=15859719; + //BA.debugLineNum = 15859719;BA.debugLine="Private RightPositions As List"; +_rightpositions = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=15859720; + //BA.debugLineNum = 15859720;BA.debugLine="Public TextColor As Int"; +_textcolor = 0; +RDebugUtils.currentLine=15859721; + //BA.debugLineNum = 15859721;BA.debugLine="Public fnt As B4XFont"; +_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=15859722; + //BA.debugLineNum = 15859722;BA.debugLine="Private offset As Int = 10dip"; +_offset = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=15859723; + //BA.debugLineNum = 15859723;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=15859724; + //BA.debugLineNum = 15859724;BA.debugLine="Public CrumbColor As Int"; +_crumbcolor = 0; +RDebugUtils.currentLine=15859725; + //BA.debugLineNum = 15859725;BA.debugLine="Private TouchPanel As B4XView"; +_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=15859726; + //BA.debugLineNum = 15859726;BA.debugLine="Private PressedItem As Int = -1"; +_presseditem = (int) (-1); +RDebugUtils.currentLine=15859727; + //BA.debugLineNum = 15859727;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=15859728; + //BA.debugLineNum = 15859728;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=15859729; + //BA.debugLineNum = 15859729;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_intmex.keymon.lat.b4xbreadcrumb __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +String _items = ""; +String _s = ""; +RDebugUtils.currentLine=15990784; + //BA.debugLineNum = 15990784;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=15990785; + //BA.debugLineNum = 15990785;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=15990786; + //BA.debugLineNum = 15990786;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=15990786; + //BA.debugLineNum = 15990786;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=15990787; + //BA.debugLineNum = 15990787;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=15990788; + //BA.debugLineNum = 15990788;BA.debugLine="Dim xlbl As B4XView = Lbl"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=15990789; + //BA.debugLineNum = 15990789;BA.debugLine="fnt = xlbl.Font"; +__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _xlbl.getFont(); +RDebugUtils.currentLine=15990790; + //BA.debugLineNum = 15990790;BA.debugLine="TextColor = xlbl.TextColor"; +__ref._textcolor /*int*/ = _xlbl.getTextColor(); +RDebugUtils.currentLine=15990791; + //BA.debugLineNum = 15990791;BA.debugLine="CrumbColor = xui.PaintOrColorToColor(Props.Get(\"C"; +__ref._crumbcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("CrumbColor"))); +RDebugUtils.currentLine=15990792; + //BA.debugLineNum = 15990792;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=15990793; + //BA.debugLineNum = 15990793;BA.debugLine="TouchPanel = xui.CreatePanel(\"Touch\")"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"Touch"); +RDebugUtils.currentLine=15990794; + //BA.debugLineNum = 15990794;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=15990795; + //BA.debugLineNum = 15990795;BA.debugLine="Dim items As String = Props.Get(\"Items\")"; +_items = BA.ObjectToString(_props.Get((Object)("Items"))); +RDebugUtils.currentLine=15990796; + //BA.debugLineNum = 15990796;BA.debugLine="For Each s As String In Regex.Split(\"\\|\", items)"; +{ +final String[] group13 = __c.Regex.Split("\\|",_items); +final int groupLen13 = group13.length +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_s = group13[index13]; +RDebugUtils.currentLine=15990797; + //BA.debugLineNum = 15990797;BA.debugLine="mItems.Add(s)"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_s)); + } +}; +RDebugUtils.currentLine=15990799; + //BA.debugLineNum = 15990799;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=15990800; + //BA.debugLineNum = 15990800;BA.debugLine="End Sub"; +return ""; +} +public int _drawitem(reparto_intmex.keymon.lat.b4xbreadcrumb __ref,int _left,String _text,boolean _first,boolean _last,int _clr,int _strokecolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "drawitem", true)) + {return ((Integer) Debug.delegate(ba, "drawitem", new Object[] {_left,_text,_first,_last,_clr,_strokecolor}));} anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; int _itemwidth = 0; int _itemheight = 0; int _baseline = 0; anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; - //BA.debugLineNum = 85;BA.debugLine="Private Sub DrawItem(Left As Int, Text As String,"; - //BA.debugLineNum = 86;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(Text, fnt)"; -_r = _cvs.MeasureText(_text,_fnt); - //BA.debugLineNum = 87;BA.debugLine="Dim ItemWidth As Int = r.Width + 30dip"; +RDebugUtils.currentLine=16187392; + //BA.debugLineNum = 16187392;BA.debugLine="Private Sub DrawItem(Left As Int, Text As String,"; +RDebugUtils.currentLine=16187393; + //BA.debugLineNum = 16187393;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(Text, fnt)"; +_r = __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(_text,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=16187394; + //BA.debugLineNum = 16187394;BA.debugLine="Dim ItemWidth As Int = r.Width + 30dip"; _itemwidth = (int) (_r.getWidth()+__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 88;BA.debugLine="Dim ItemHeight As Int = cvs.TargetRect.Height"; -_itemheight = (int) (_cvs.getTargetRect().getHeight()); - //BA.debugLineNum = 89;BA.debugLine="Dim BaseLine As Int = cvs.TargetRect.CenterY - r."; -_baseline = (int) (_cvs.getTargetRect().getCenterY()-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 90;BA.debugLine="Dim p As B4XPath"; +RDebugUtils.currentLine=16187395; + //BA.debugLineNum = 16187395;BA.debugLine="Dim ItemHeight As Int = cvs.TargetRect.Height"; +_itemheight = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()); +RDebugUtils.currentLine=16187396; + //BA.debugLineNum = 16187396;BA.debugLine="Dim BaseLine As Int = cvs.TargetRect.CenterY - r."; +_baseline = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()-_r.getHeight()/(double)2-_r.getTop()); +RDebugUtils.currentLine=16187397; + //BA.debugLineNum = 16187397;BA.debugLine="Dim p As B4XPath"; _p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 91;BA.debugLine="p.Initialize(Left, 0)"; +RDebugUtils.currentLine=16187398; + //BA.debugLineNum = 16187398;BA.debugLine="p.Initialize(Left, 0)"; _p.Initialize((float) (_left),(float) (0)); - //BA.debugLineNum = 92;BA.debugLine="p.LineTo(Left + ItemWidth, 0)"; +RDebugUtils.currentLine=16187399; + //BA.debugLineNum = 16187399;BA.debugLine="p.LineTo(Left + ItemWidth, 0)"; _p.LineTo((float) (_left+_itemwidth),(float) (0)); - //BA.debugLineNum = 93;BA.debugLine="If Last = False Then"; +RDebugUtils.currentLine=16187400; + //BA.debugLineNum = 16187400;BA.debugLine="If Last = False Then"; if (_last==__c.False) { - //BA.debugLineNum = 94;BA.debugLine="p.LineTo(Left + ItemWidth + offset, ItemHeight /"; -_p.LineTo((float) (_left+_itemwidth+_offset),(float) (_itemheight/(double)2)); +RDebugUtils.currentLine=16187401; + //BA.debugLineNum = 16187401;BA.debugLine="p.LineTo(Left + ItemWidth + offset, ItemHeight /"; +_p.LineTo((float) (_left+_itemwidth+__ref._offset /*int*/ ),(float) (_itemheight/(double)2)); }; - //BA.debugLineNum = 96;BA.debugLine="p.LineTo(Left + ItemWidth, ItemHeight)"; +RDebugUtils.currentLine=16187403; + //BA.debugLineNum = 16187403;BA.debugLine="p.LineTo(Left + ItemWidth, ItemHeight)"; _p.LineTo((float) (_left+_itemwidth),(float) (_itemheight)); - //BA.debugLineNum = 97;BA.debugLine="If First = False Then"; +RDebugUtils.currentLine=16187404; + //BA.debugLineNum = 16187404;BA.debugLine="If First = False Then"; if (_first==__c.False) { - //BA.debugLineNum = 98;BA.debugLine="p.LineTo(Left - offset, ItemHeight)"; -_p.LineTo((float) (_left-_offset),(float) (_itemheight)); - //BA.debugLineNum = 99;BA.debugLine="p.LineTo(Left, ItemHeight / 2)"; +RDebugUtils.currentLine=16187405; + //BA.debugLineNum = 16187405;BA.debugLine="p.LineTo(Left - offset, ItemHeight)"; +_p.LineTo((float) (_left-__ref._offset /*int*/ ),(float) (_itemheight)); +RDebugUtils.currentLine=16187406; + //BA.debugLineNum = 16187406;BA.debugLine="p.LineTo(Left, ItemHeight / 2)"; _p.LineTo((float) (_left),(float) (_itemheight/(double)2)); - //BA.debugLineNum = 100;BA.debugLine="p.LineTo(Left - offset, 0)"; -_p.LineTo((float) (_left-_offset),(float) (0)); +RDebugUtils.currentLine=16187407; + //BA.debugLineNum = 16187407;BA.debugLine="p.LineTo(Left - offset, 0)"; +_p.LineTo((float) (_left-__ref._offset /*int*/ ),(float) (0)); }else { - //BA.debugLineNum = 102;BA.debugLine="p.LineTo(Left, ItemHeight)"; +RDebugUtils.currentLine=16187409; + //BA.debugLineNum = 16187409;BA.debugLine="p.LineTo(Left, ItemHeight)"; _p.LineTo((float) (_left),(float) (_itemheight)); }; - //BA.debugLineNum = 104;BA.debugLine="p.LineTo(Left, 0)"; +RDebugUtils.currentLine=16187411; + //BA.debugLineNum = 16187411;BA.debugLine="p.LineTo(Left, 0)"; _p.LineTo((float) (_left),(float) (0)); - //BA.debugLineNum = 105;BA.debugLine="cvs.DrawPath(p, clr, True, 0)"; -_cvs.DrawPath(_p,_clr,__c.True,(float) (0)); - //BA.debugLineNum = 106;BA.debugLine="If strokeColor <> 0 Then"; +RDebugUtils.currentLine=16187412; + //BA.debugLineNum = 16187412;BA.debugLine="cvs.DrawPath(p, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_clr,__c.True,(float) (0)); +RDebugUtils.currentLine=16187413; + //BA.debugLineNum = 16187413;BA.debugLine="If strokeColor <> 0 Then"; if (_strokecolor!=0) { - //BA.debugLineNum = 107;BA.debugLine="cvs.DrawPath(p, strokeColor, False, 3dip)"; -_cvs.DrawPath(_p,_strokecolor,__c.False,(float) (__c.DipToCurrent((int) (3)))); +RDebugUtils.currentLine=16187414; + //BA.debugLineNum = 16187414;BA.debugLine="cvs.DrawPath(p, strokeColor, False, 3dip)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_strokecolor,__c.False,(float) (__c.DipToCurrent((int) (3)))); }; - //BA.debugLineNum = 110;BA.debugLine="cvs.DrawText(Text, Left + ItemWidth / 2, BaseLine"; -_cvs.DrawText(ba,_text,(float) (_left+_itemwidth/(double)2),(float) (_baseline),_fnt,_textcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - //BA.debugLineNum = 111;BA.debugLine="Return ItemWidth"; +RDebugUtils.currentLine=16187417; + //BA.debugLineNum = 16187417;BA.debugLine="cvs.DrawText(Text, Left + ItemWidth / 2, BaseLine"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawText(ba,_text,(float) (_left+_itemwidth/(double)2),(float) (_baseline),__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ,__ref._textcolor /*int*/ ,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=16187418; + //BA.debugLineNum = 16187418;BA.debugLine="Return ItemWidth"; if (true) return _itemwidth; - //BA.debugLineNum = 112;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16187419; + //BA.debugLineNum = 16187419;BA.debugLine="End Sub"; return 0; } -public int _finditem(int _x,int _y) throws Exception{ +public int _finditem(reparto_intmex.keymon.lat.b4xbreadcrumb __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "finditem", true)) + {return ((Integer) Debug.delegate(ba, "finditem", new Object[] {_x,_y}));} int _r = 0; int _i = 0; - //BA.debugLineNum = 136;BA.debugLine="Private Sub FindItem (x As Int, y As Int) As Int"; - //BA.debugLineNum = 137;BA.debugLine="If RightPositions.Size = 0 Then Return -1"; -if (_rightpositions.getSize()==0) { +RDebugUtils.currentLine=16318464; + //BA.debugLineNum = 16318464;BA.debugLine="Private Sub FindItem (x As Int, y As Int) As Int"; +RDebugUtils.currentLine=16318465; + //BA.debugLineNum = 16318465;BA.debugLine="If RightPositions.Size = 0 Then Return -1"; +if (__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { if (true) return (int) (-1);}; - //BA.debugLineNum = 138;BA.debugLine="If y < 0 Or y > cvs.TargetRect.Height Then Return"; -if (_y<0 || _y>_cvs.getTargetRect().getHeight()) { +RDebugUtils.currentLine=16318466; + //BA.debugLineNum = 16318466;BA.debugLine="If y < 0 Or y > cvs.TargetRect.Height Then Return"; +if (_y<0 || _y>__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()) { if (true) return (int) (-1);}; - //BA.debugLineNum = 139;BA.debugLine="Dim r As Int = RightPositions.Get(RightPositions."; -_r = (int)(BA.ObjectToNumber(_rightpositions.Get((int) (_rightpositions.getSize()-1)))); - //BA.debugLineNum = 140;BA.debugLine="If x > r Then Return -1"; +RDebugUtils.currentLine=16318467; + //BA.debugLineNum = 16318467;BA.debugLine="Dim r As Int = RightPositions.Get(RightPositions."; +_r = (int)(BA.ObjectToNumber(__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)))); +RDebugUtils.currentLine=16318468; + //BA.debugLineNum = 16318468;BA.debugLine="If x > r Then Return -1"; if (_x>_r) { if (true) return (int) (-1);}; - //BA.debugLineNum = 141;BA.debugLine="For i = RightPositions.Size - 2 To 0 Step -1"; +RDebugUtils.currentLine=16318469; + //BA.debugLineNum = 16318469;BA.debugLine="For i = RightPositions.Size - 2 To 0 Step -1"; { final int step5 = -1; final int limit5 = (int) (0); -_i = (int) (_rightpositions.getSize()-2) ; +_i = (int) (__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-2) ; for (;_i >= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 142;BA.debugLine="Dim r As Int = RightPositions.Get(i)"; -_r = (int)(BA.ObjectToNumber(_rightpositions.Get(_i))); - //BA.debugLineNum = 143;BA.debugLine="If x > r Then Return i + 1"; +RDebugUtils.currentLine=16318470; + //BA.debugLineNum = 16318470;BA.debugLine="Dim r As Int = RightPositions.Get(i)"; +_r = (int)(BA.ObjectToNumber(__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=16318471; + //BA.debugLineNum = 16318471;BA.debugLine="If x > r Then Return i + 1"; if (_x>_r) { if (true) return (int) (_i+1);}; } }; - //BA.debugLineNum = 145;BA.debugLine="Return 0"; +RDebugUtils.currentLine=16318473; + //BA.debugLineNum = 16318473;BA.debugLine="Return 0"; if (true) return (int) (0); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16318474; + //BA.debugLineNum = 16318474;BA.debugLine="End Sub"; return 0; } -public anywheresoftware.b4a.objects.collections.List _getitems() throws Exception{ - //BA.debugLineNum = 153;BA.debugLine="Public Sub getItems As List"; - //BA.debugLineNum = 154;BA.debugLine="Return mItems"; -if (true) return _mitems; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _getitems(reparto_intmex.keymon.lat.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "getitems", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getitems", null));} +RDebugUtils.currentLine=16449536; + //BA.debugLineNum = 16449536;BA.debugLine="Public Sub getItems As List"; +RDebugUtils.currentLine=16449537; + //BA.debugLineNum = 16449537;BA.debugLine="Return mItems"; +if (true) return __ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=16449538; + //BA.debugLineNum = 16449538;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xbreadcrumb __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 25;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 27;BA.debugLine="mItems.Initialize"; -_mitems.Initialize(); - //BA.debugLineNum = 28;BA.debugLine="RightPositions.Initialize"; -_rightpositions.Initialize(); - //BA.debugLineNum = 29;BA.debugLine="bc.Initialize(1, 1)"; -_bc._initialize(ba,(int) (1),(int) (1)); - //BA.debugLineNum = 30;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=15925248; + //BA.debugLineNum = 15925248;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=15925249; + //BA.debugLineNum = 15925249;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=15925250; + //BA.debugLineNum = 15925250;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=15925251; + //BA.debugLineNum = 15925251;BA.debugLine="mItems.Initialize"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=15925252; + //BA.debugLineNum = 15925252;BA.debugLine="RightPositions.Initialize"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=15925253; + //BA.debugLineNum = 15925253;BA.debugLine="bc.Initialize(1, 1)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (1),(int) (1)); +RDebugUtils.currentLine=15925254; + //BA.debugLineNum = 15925254;BA.debugLine="End Sub"; return ""; } -public String _setitems(anywheresoftware.b4a.objects.collections.List _i) throws Exception{ - //BA.debugLineNum = 148;BA.debugLine="Public Sub setItems (i As List)"; - //BA.debugLineNum = 149;BA.debugLine="mItems = i"; -_mitems = _i; - //BA.debugLineNum = 150;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +public String _setitems(reparto_intmex.keymon.lat.b4xbreadcrumb __ref,anywheresoftware.b4a.objects.collections.List _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((String) Debug.delegate(ba, "setitems", new Object[] {_i}));} +RDebugUtils.currentLine=16384000; + //BA.debugLineNum = 16384000;BA.debugLine="Public Sub setItems (i As List)"; +RDebugUtils.currentLine=16384001; + //BA.debugLineNum = 16384001;BA.debugLine="mItems = i"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ = _i; +RDebugUtils.currentLine=16384002; + //BA.debugLineNum = 16384002;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=16384003; + //BA.debugLineNum = 16384003;BA.debugLine="End Sub"; return ""; } -public String _touch_touch(int _action,float _x,float _y) throws Exception{ +public String _touch_touch(reparto_intmex.keymon.lat.b4xbreadcrumb __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "touch_touch", true)) + {return ((String) Debug.delegate(ba, "touch_touch", new Object[] {_action,_x,_y}));} int _prev = 0; int _index = 0; anywheresoftware.b4a.objects.collections.List _items = null; int _i = 0; - //BA.debugLineNum = 114;BA.debugLine="Private Sub Touch_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 115;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_touchpanel.TOUCH_ACTION_DOWN,_touchpanel.TOUCH_ACTION_MOVE,_touchpanel.TOUCH_ACTION_UP)) { +RDebugUtils.currentLine=16252928; + //BA.debugLineNum = 16252928;BA.debugLine="Private Sub Touch_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=16252929; + //BA.debugLineNum = 16252929;BA.debugLine="Select Action"; +switch (BA.switchObjectToInt(_action,__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN,__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE,__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_UP)) { case 0: case 1: { - //BA.debugLineNum = 117;BA.debugLine="Dim prev As Int = PressedItem"; -_prev = _presseditem; - //BA.debugLineNum = 118;BA.debugLine="PressedItem = FindItem(X, Y)"; -_presseditem = _finditem((int) (_x),(int) (_y)); - //BA.debugLineNum = 119;BA.debugLine="If prev <> PressedItem Then Draw"; -if (_prev!=_presseditem) { -_draw();}; +RDebugUtils.currentLine=16252931; + //BA.debugLineNum = 16252931;BA.debugLine="Dim prev As Int = PressedItem"; +_prev = __ref._presseditem /*int*/ ; +RDebugUtils.currentLine=16252932; + //BA.debugLineNum = 16252932;BA.debugLine="PressedItem = FindItem(X, Y)"; +__ref._presseditem /*int*/ = __ref._finditem /*int*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=16252933; + //BA.debugLineNum = 16252933;BA.debugLine="If prev <> PressedItem Then Draw"; +if (_prev!=__ref._presseditem /*int*/ ) { +__ref._draw /*String*/ (null);}; break; } case 2: { - //BA.debugLineNum = 121;BA.debugLine="Dim index As Int = FindItem(X, Y)"; -_index = _finditem((int) (_x),(int) (_y)); - //BA.debugLineNum = 122;BA.debugLine="If index = PressedItem And index > -1 Then"; -if (_index==_presseditem && _index>-1) { - //BA.debugLineNum = 123;BA.debugLine="Dim Items As List"; +RDebugUtils.currentLine=16252935; + //BA.debugLineNum = 16252935;BA.debugLine="Dim index As Int = FindItem(X, Y)"; +_index = __ref._finditem /*int*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=16252936; + //BA.debugLineNum = 16252936;BA.debugLine="If index = PressedItem And index > -1 Then"; +if (_index==__ref._presseditem /*int*/ && _index>-1) { +RDebugUtils.currentLine=16252937; + //BA.debugLineNum = 16252937;BA.debugLine="Dim Items As List"; _items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 124;BA.debugLine="Items.Initialize"; +RDebugUtils.currentLine=16252938; + //BA.debugLineNum = 16252938;BA.debugLine="Items.Initialize"; _items.Initialize(); - //BA.debugLineNum = 125;BA.debugLine="For i = 0 To index"; +RDebugUtils.currentLine=16252939; + //BA.debugLineNum = 16252939;BA.debugLine="For i = 0 To index"; { final int step11 = 1; final int limit11 = _index; _i = (int) (0) ; for (;_i <= limit11 ;_i = _i + step11 ) { - //BA.debugLineNum = 126;BA.debugLine="Items.Add(mItems.Get(i))"; -_items.Add(_mitems.Get(_i)); +RDebugUtils.currentLine=16252940; + //BA.debugLineNum = 16252940;BA.debugLine="Items.Add(mItems.Get(i))"; +_items.Add(__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); } }; - //BA.debugLineNum = 128;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 129;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; -__c.CallSubNew2(ba,_mcallback,_meventname+"_CrumbClick",(Object)(_items)); +RDebugUtils.currentLine=16252942; + //BA.debugLineNum = 16252942;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=16252943; + //BA.debugLineNum = 16252943;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_CrumbClick",(Object)(_items)); }; - //BA.debugLineNum = 131;BA.debugLine="PressedItem = -1"; -_presseditem = (int) (-1); - //BA.debugLineNum = 132;BA.debugLine="Draw"; -_draw(); +RDebugUtils.currentLine=16252945; + //BA.debugLineNum = 16252945;BA.debugLine="PressedItem = -1"; +__ref._presseditem /*int*/ = (int) (-1); +RDebugUtils.currentLine=16252946; + //BA.debugLineNum = 16252946;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); break; } } ; - //BA.debugLineNum = 134;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16252948; + //BA.debugLineNum = 16252948;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbytesbuilder.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbytesbuilder.java index 1f11632..19e6625 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbytesbuilder.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xbytesbuilder.java @@ -10,7 +10,7 @@ public class b4xbytesbuilder extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xbytesbuilder"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xbytesbuilder"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,16 +23,23 @@ public class b4xbytesbuilder extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public byte[] _mbuffer = null; public int _mlength = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -40,230 +47,376 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public reparto_intmex.keymon.lat.b4xbytesbuilder _append(byte[] _data) throws Exception{ - //BA.debugLineNum = 24;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; - //BA.debugLineNum = 25;BA.debugLine="Return Append2(Data, 0, Data.Length)"; -if (true) return _append2(_data,(int) (0),_data.length); - //BA.debugLineNum = 26;BA.debugLine="End Sub"; +public reparto_intmex.keymon.lat.b4xbytesbuilder _append(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "append", true)) + {return ((reparto_intmex.keymon.lat.b4xbytesbuilder) Debug.delegate(ba, "append", new Object[] {_data}));} +RDebugUtils.currentLine=4653056; + //BA.debugLineNum = 4653056;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; +RDebugUtils.currentLine=4653057; + //BA.debugLineNum = 4653057;BA.debugLine="Return Append2(Data, 0, Data.Length)"; +if (true) return __ref._append2 /*reparto_intmex.keymon.lat.b4xbytesbuilder*/ (null,_data,(int) (0),_data.length); +RDebugUtils.currentLine=4653058; + //BA.debugLineNum = 4653058;BA.debugLine="End Sub"; return null; } -public reparto_intmex.keymon.lat.b4xbytesbuilder _append2(byte[] _data,int _startindex,int _length) throws Exception{ +public reparto_intmex.keymon.lat.b4xbytesbuilder _append2(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,byte[] _data,int _startindex,int _length) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "append2", true)) + {return ((reparto_intmex.keymon.lat.b4xbytesbuilder) Debug.delegate(ba, "append2", new Object[] {_data,_startindex,_length}));} int _oldlength = 0; - //BA.debugLineNum = 31;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; - //BA.debugLineNum = 32;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; -_oldlength = _changelength((int) (_mlength+_length)); - //BA.debugLineNum = 33;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; -__c.Bit.ArrayCopy((Object)(_data),_startindex,(Object)(_mbuffer),_oldlength,_length); - //BA.debugLineNum = 34;BA.debugLine="Return Me"; +RDebugUtils.currentLine=4718592; + //BA.debugLineNum = 4718592;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; +RDebugUtils.currentLine=4718593; + //BA.debugLineNum = 4718593;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; +_oldlength = __ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ +_length)); +RDebugUtils.currentLine=4718594; + //BA.debugLineNum = 4718594;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; +__c.Bit.ArrayCopy((Object)(_data),_startindex,(Object)(__ref._mbuffer /*byte[]*/ ),_oldlength,_length); +RDebugUtils.currentLine=4718595; + //BA.debugLineNum = 4718595;BA.debugLine="Return Me"; if (true) return (reparto_intmex.keymon.lat.b4xbytesbuilder)(this); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4718596; + //BA.debugLineNum = 4718596;BA.debugLine="End Sub"; return null; } -public int _changelength(int _newlength) throws Exception{ +public int _changelength(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,int _newlength) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "changelength", true)) + {return ((Integer) Debug.delegate(ba, "changelength", new Object[] {_newlength}));} int _oldlength = 0; byte[] _b = null; - //BA.debugLineNum = 12;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; - //BA.debugLineNum = 13;BA.debugLine="Dim OldLength As Int = mLength"; -_oldlength = _mlength; - //BA.debugLineNum = 14;BA.debugLine="mLength = NewLength"; -_mlength = _newlength; - //BA.debugLineNum = 15;BA.debugLine="If mBuffer.Length < mLength Then"; -if (_mbuffer.length<_mlength) { - //BA.debugLineNum = 16;BA.debugLine="Dim b(Max(mBuffer.Length * 2, NewLength)) As Byt"; -_b = new byte[(int) (__c.Max(_mbuffer.length*2,_newlength))]; +RDebugUtils.currentLine=4587520; + //BA.debugLineNum = 4587520;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; +RDebugUtils.currentLine=4587521; + //BA.debugLineNum = 4587521;BA.debugLine="Dim OldLength As Int = mLength"; +_oldlength = __ref._mlength /*int*/ ; +RDebugUtils.currentLine=4587522; + //BA.debugLineNum = 4587522;BA.debugLine="mLength = NewLength"; +__ref._mlength /*int*/ = _newlength; +RDebugUtils.currentLine=4587523; + //BA.debugLineNum = 4587523;BA.debugLine="If mBuffer.Length < mLength Then"; +if (__ref._mbuffer /*byte[]*/ .length<__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=4587524; + //BA.debugLineNum = 4587524;BA.debugLine="Dim b(Max(mBuffer.Length * 2, NewLength)) As Byt"; +_b = new byte[(int) (__c.Max(__ref._mbuffer /*byte[]*/ .length*2,_newlength))]; ; - //BA.debugLineNum = 17;BA.debugLine="Bit.ArrayCopy(mBuffer, 0, b, 0, mBuffer.Length)"; -__c.Bit.ArrayCopy((Object)(_mbuffer),(int) (0),(Object)(_b),(int) (0),_mbuffer.length); - //BA.debugLineNum = 18;BA.debugLine="mBuffer = b"; -_mbuffer = _b; +RDebugUtils.currentLine=4587525; + //BA.debugLineNum = 4587525;BA.debugLine="Bit.ArrayCopy(mBuffer, 0, b, 0, mBuffer.Length)"; +__c.Bit.ArrayCopy((Object)(__ref._mbuffer /*byte[]*/ ),(int) (0),(Object)(_b),(int) (0),__ref._mbuffer /*byte[]*/ .length); +RDebugUtils.currentLine=4587526; + //BA.debugLineNum = 4587526;BA.debugLine="mBuffer = b"; +__ref._mbuffer /*byte[]*/ = _b; }; - //BA.debugLineNum = 20;BA.debugLine="Return OldLength"; +RDebugUtils.currentLine=4587528; + //BA.debugLineNum = 4587528;BA.debugLine="Return OldLength"; if (true) return _oldlength; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4587529; + //BA.debugLineNum = 4587529;BA.debugLine="End Sub"; return 0; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mBuffer() As Byte"; +public String _class_globals(reparto_intmex.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +RDebugUtils.currentLine=4456448; + //BA.debugLineNum = 4456448;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=4456449; + //BA.debugLineNum = 4456449;BA.debugLine="Private mBuffer() As Byte"; _mbuffer = new byte[(int) (0)]; ; - //BA.debugLineNum = 3;BA.debugLine="Private mLength As Int"; +RDebugUtils.currentLine=4456450; + //BA.debugLineNum = 4456450;BA.debugLine="Private mLength As Int"; _mlength = 0; - //BA.debugLineNum = 4;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4456451; + //BA.debugLineNum = 4456451;BA.debugLine="End Sub"; return ""; } -public String _clear() throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 38;BA.debugLine="ChangeLength(0)"; -_changelength((int) (0)); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +public String _clear(reparto_intmex.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=4784128; + //BA.debugLineNum = 4784128;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=4784129; + //BA.debugLineNum = 4784129;BA.debugLine="ChangeLength(0)"; +__ref._changelength /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=4784130; + //BA.debugLineNum = 4784130;BA.debugLine="End Sub"; return ""; } -public byte[] _getbuffer() throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; - //BA.debugLineNum = 104;BA.debugLine="End Sub"; +public byte[] _getbuffer(reparto_intmex.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getbuffer", true)) + {return ((byte[]) Debug.delegate(ba, "getbuffer", null));} +RDebugUtils.currentLine=5308416; + //BA.debugLineNum = 5308416;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; +RDebugUtils.currentLine=5308417; + //BA.debugLineNum = 5308417;BA.debugLine="End Sub"; return null; } -public byte[] _getinternalbuffer() throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub getInternalBuffer As Byte()"; - //BA.debugLineNum = 128;BA.debugLine="Return mBuffer"; -if (true) return _mbuffer; - //BA.debugLineNum = 129;BA.debugLine="End Sub"; +public byte[] _getinternalbuffer(reparto_intmex.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getinternalbuffer", true)) + {return ((byte[]) Debug.delegate(ba, "getinternalbuffer", null));} +RDebugUtils.currentLine=5505024; + //BA.debugLineNum = 5505024;BA.debugLine="Public Sub getInternalBuffer As Byte()"; +RDebugUtils.currentLine=5505025; + //BA.debugLineNum = 5505025;BA.debugLine="Return mBuffer"; +if (true) return __ref._mbuffer /*byte[]*/ ; +RDebugUtils.currentLine=5505026; + //BA.debugLineNum = 5505026;BA.debugLine="End Sub"; return null; } -public int _getlength() throws Exception{ - //BA.debugLineNum = 92;BA.debugLine="Public Sub getLength As Int"; - //BA.debugLineNum = 93;BA.debugLine="Return mLength"; -if (true) return _mlength; - //BA.debugLineNum = 94;BA.debugLine="End Sub"; +public int _getlength(reparto_intmex.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getlength", true)) + {return ((Integer) Debug.delegate(ba, "getlength", null));} +RDebugUtils.currentLine=5177344; + //BA.debugLineNum = 5177344;BA.debugLine="Public Sub getLength As Int"; +RDebugUtils.currentLine=5177345; + //BA.debugLineNum = 5177345;BA.debugLine="Return mLength"; +if (true) return __ref._mlength /*int*/ ; +RDebugUtils.currentLine=5177346; + //BA.debugLineNum = 5177346;BA.debugLine="End Sub"; return 0; } -public int _indexof(byte[] _searchfor) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; - //BA.debugLineNum = 108;BA.debugLine="Return IndexOf2(SearchFor, 0)"; -if (true) return _indexof2(_searchfor,(int) (0)); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; +public int _indexof(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,byte[] _searchfor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "indexof", true)) + {return ((Integer) Debug.delegate(ba, "indexof", new Object[] {_searchfor}));} +RDebugUtils.currentLine=5373952; + //BA.debugLineNum = 5373952;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; +RDebugUtils.currentLine=5373953; + //BA.debugLineNum = 5373953;BA.debugLine="Return IndexOf2(SearchFor, 0)"; +if (true) return __ref._indexof2 /*int*/ (null,_searchfor,(int) (0)); +RDebugUtils.currentLine=5373954; + //BA.debugLineNum = 5373954;BA.debugLine="End Sub"; return 0; } -public int _indexof2(byte[] _searchfor,int _index) throws Exception{ +public int _indexof2(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,byte[] _searchfor,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "indexof2", true)) + {return ((Integer) Debug.delegate(ba, "indexof2", new Object[] {_searchfor,_index}));} int _i1 = 0; int _i2 = 0; - //BA.debugLineNum = 112;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; - //BA.debugLineNum = 113;BA.debugLine="For i1 = Index To mLength - SearchFor.Length"; +RDebugUtils.currentLine=5439488; + //BA.debugLineNum = 5439488;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; +RDebugUtils.currentLine=5439489; + //BA.debugLineNum = 5439489;BA.debugLine="For i1 = Index To mLength - SearchFor.Length"; { final int step1 = 1; -final int limit1 = (int) (_mlength-_searchfor.length); +final int limit1 = (int) (__ref._mlength /*int*/ -_searchfor.length); _i1 = _index ; for (;_i1 <= limit1 ;_i1 = _i1 + step1 ) { - //BA.debugLineNum = 114;BA.debugLine="For i2 = 0 To SearchFor.Length - 1"; +RDebugUtils.currentLine=5439490; + //BA.debugLineNum = 5439490;BA.debugLine="For i2 = 0 To SearchFor.Length - 1"; { final int step2 = 1; final int limit2 = (int) (_searchfor.length-1); _i2 = (int) (0) ; for (;_i2 <= limit2 ;_i2 = _i2 + step2 ) { - //BA.debugLineNum = 115;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; -if (_searchfor[_i2]!=_mbuffer[(int) (_i1+_i2)]) { - //BA.debugLineNum = 116;BA.debugLine="Exit"; +RDebugUtils.currentLine=5439491; + //BA.debugLineNum = 5439491;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; +if (_searchfor[_i2]!=__ref._mbuffer /*byte[]*/ [(int) (_i1+_i2)]) { +RDebugUtils.currentLine=5439492; + //BA.debugLineNum = 5439492;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 119;BA.debugLine="If i2 = SearchFor.Length Then"; +RDebugUtils.currentLine=5439495; + //BA.debugLineNum = 5439495;BA.debugLine="If i2 = SearchFor.Length Then"; if (_i2==_searchfor.length) { - //BA.debugLineNum = 120;BA.debugLine="Return i1"; +RDebugUtils.currentLine=5439496; + //BA.debugLineNum = 5439496;BA.debugLine="Return i1"; if (true) return _i1; }; } }; - //BA.debugLineNum = 123;BA.debugLine="Return -1"; +RDebugUtils.currentLine=5439499; + //BA.debugLineNum = 5439499;BA.debugLine="Return -1"; if (true) return (int) (-1); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5439500; + //BA.debugLineNum = 5439500;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 7;BA.debugLine="Dim mBuffer(100) As Byte"; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=4521984; + //BA.debugLineNum = 4521984;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=4521985; + //BA.debugLineNum = 4521985;BA.debugLine="Dim mBuffer(100) As Byte"; _mbuffer = new byte[(int) (100)]; ; - //BA.debugLineNum = 8;BA.debugLine="mLength = 0"; -_mlength = (int) (0); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4521986; + //BA.debugLineNum = 4521986;BA.debugLine="mLength = 0"; +__ref._mlength /*int*/ = (int) (0); +RDebugUtils.currentLine=4521987; + //BA.debugLineNum = 4521987;BA.debugLine="End Sub"; return ""; } -public String _insert(int _index,byte[] _data) throws Exception{ +public String _insert(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,int _index,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "insert", true)) + {return ((String) Debug.delegate(ba, "insert", new Object[] {_index,_data}));} byte[] _afterindex = null; - //BA.debugLineNum = 43;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; - //BA.debugLineNum = 44;BA.debugLine="If Index >= mLength Then"; -if (_index>=_mlength) { - //BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; -if (_index>_mlength) { -__c.LogImpl("941615362","Index too large",0);}; - //BA.debugLineNum = 46;BA.debugLine="Append(Data)"; -_append(_data); +RDebugUtils.currentLine=4849664; + //BA.debugLineNum = 4849664;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; +RDebugUtils.currentLine=4849665; + //BA.debugLineNum = 4849665;BA.debugLine="If Index >= mLength Then"; +if (_index>=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=4849666; + //BA.debugLineNum = 4849666;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +if (_index>__ref._mlength /*int*/ ) { +__c.LogImpl("94849666","Index too large",0);}; +RDebugUtils.currentLine=4849667; + //BA.debugLineNum = 4849667;BA.debugLine="Append(Data)"; +__ref._append /*reparto_intmex.keymon.lat.b4xbytesbuilder*/ (null,_data); }else { - //BA.debugLineNum = 48;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; -_afterindex = _subarray(_index); - //BA.debugLineNum = 49;BA.debugLine="ChangeLength(mLength + Data.Length)"; -_changelength((int) (_mlength+_data.length)); - //BA.debugLineNum = 50;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; -__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(_mbuffer),_index,_data.length); - //BA.debugLineNum = 51;BA.debugLine="Bit.ArrayCopy(AfterIndex, 0, mBuffer, Index + Da"; -__c.Bit.ArrayCopy((Object)(_afterindex),(int) (0),(Object)(_mbuffer),(int) (_index+_data.length),_afterindex.length); +RDebugUtils.currentLine=4849669; + //BA.debugLineNum = 4849669;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; +_afterindex = __ref._subarray /*byte[]*/ (null,_index); +RDebugUtils.currentLine=4849670; + //BA.debugLineNum = 4849670;BA.debugLine="ChangeLength(mLength + Data.Length)"; +__ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ +_data.length)); +RDebugUtils.currentLine=4849671; + //BA.debugLineNum = 4849671;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; +__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),_index,_data.length); +RDebugUtils.currentLine=4849672; + //BA.debugLineNum = 4849672;BA.debugLine="Bit.ArrayCopy(AfterIndex, 0, mBuffer, Index + Da"; +__c.Bit.ArrayCopy((Object)(_afterindex),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),(int) (_index+_data.length),_afterindex.length); }; - //BA.debugLineNum = 53;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4849674; + //BA.debugLineNum = 4849674;BA.debugLine="End Sub"; return ""; } -public byte[] _remove(int _beginindex,int _endindex) throws Exception{ +public byte[] _subarray(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,int _beginindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "subarray", true)) + {return ((byte[]) Debug.delegate(ba, "subarray", new Object[] {_beginindex}));} +RDebugUtils.currentLine=5046272; + //BA.debugLineNum = 5046272;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; +RDebugUtils.currentLine=5046273; + //BA.debugLineNum = 5046273;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; +if (true) return __ref._subarray2 /*byte[]*/ (null,_beginindex,__ref._mlength /*int*/ ); +RDebugUtils.currentLine=5046274; + //BA.debugLineNum = 5046274;BA.debugLine="End Sub"; +return null; +} +public byte[] _remove(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,int _beginindex,int _endindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((byte[]) Debug.delegate(ba, "remove", new Object[] {_beginindex,_endindex}));} byte[] _res = null; byte[] _afterendindex = null; - //BA.debugLineNum = 69;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; - //BA.debugLineNum = 70;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; -_res = _subarray2(_beginindex,_endindex); - //BA.debugLineNum = 71;BA.debugLine="If EndIndex <= mLength Then"; -if (_endindex<=_mlength) { - //BA.debugLineNum = 72;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; -_afterendindex = _subarray(_endindex); - //BA.debugLineNum = 73;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; -__c.Bit.ArrayCopy((Object)(_afterendindex),(int) (0),(Object)(_mbuffer),_beginindex,_afterendindex.length); +RDebugUtils.currentLine=4980736; + //BA.debugLineNum = 4980736;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; +RDebugUtils.currentLine=4980737; + //BA.debugLineNum = 4980737;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; +_res = __ref._subarray2 /*byte[]*/ (null,_beginindex,_endindex); +RDebugUtils.currentLine=4980738; + //BA.debugLineNum = 4980738;BA.debugLine="If EndIndex <= mLength Then"; +if (_endindex<=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=4980739; + //BA.debugLineNum = 4980739;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; +_afterendindex = __ref._subarray /*byte[]*/ (null,_endindex); +RDebugUtils.currentLine=4980740; + //BA.debugLineNum = 4980740;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; +__c.Bit.ArrayCopy((Object)(_afterendindex),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),_beginindex,_afterendindex.length); }; - //BA.debugLineNum = 75;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; -_changelength((int) (_mlength-(_endindex-_beginindex))); - //BA.debugLineNum = 76;BA.debugLine="Return res"; +RDebugUtils.currentLine=4980742; + //BA.debugLineNum = 4980742;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; +__ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ -(_endindex-_beginindex))); +RDebugUtils.currentLine=4980743; + //BA.debugLineNum = 4980743;BA.debugLine="Return res"; if (true) return _res; - //BA.debugLineNum = 77;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4980744; + //BA.debugLineNum = 4980744;BA.debugLine="End Sub"; return null; } -public String _set(int _index,byte[] _data) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; - //BA.debugLineNum = 57;BA.debugLine="If Index >= mLength Then"; -if (_index>=_mlength) { - //BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; -if (_index>_mlength) { -__c.LogImpl("941680898","Index too large",0);}; - //BA.debugLineNum = 59;BA.debugLine="Append(Data)"; -_append(_data); - }else { - //BA.debugLineNum = 61;BA.debugLine="If Data.Length + Index > mLength Then"; -if (_data.length+_index>_mlength) { - //BA.debugLineNum = 62;BA.debugLine="ChangeLength(Data.Length + Index)"; -_changelength((int) (_data.length+_index)); - }; - //BA.debugLineNum = 64;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; -__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(_mbuffer),_index,_data.length); - }; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; -return ""; -} -public byte[] _subarray(int _beginindex) throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; - //BA.debugLineNum = 81;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; -if (true) return _subarray2(_beginindex,_mlength); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; -return null; -} -public byte[] _subarray2(int _beginindex,int _endindex) throws Exception{ +public byte[] _subarray2(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,int _beginindex,int _endindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "subarray2", true)) + {return ((byte[]) Debug.delegate(ba, "subarray2", new Object[] {_beginindex,_endindex}));} byte[] _b = null; - //BA.debugLineNum = 86;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; - //BA.debugLineNum = 87;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; +RDebugUtils.currentLine=5111808; + //BA.debugLineNum = 5111808;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; +RDebugUtils.currentLine=5111809; + //BA.debugLineNum = 5111809;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; _b = new byte[(int) (_endindex-_beginindex)]; ; - //BA.debugLineNum = 88;BA.debugLine="Bit.ArrayCopy(mBuffer, BeginIndex, b, 0, b.Length"; -__c.Bit.ArrayCopy((Object)(_mbuffer),_beginindex,(Object)(_b),(int) (0),_b.length); - //BA.debugLineNum = 89;BA.debugLine="Return b"; +RDebugUtils.currentLine=5111810; + //BA.debugLineNum = 5111810;BA.debugLine="Bit.ArrayCopy(mBuffer, BeginIndex, b, 0, b.Length"; +__c.Bit.ArrayCopy((Object)(__ref._mbuffer /*byte[]*/ ),_beginindex,(Object)(_b),(int) (0),_b.length); +RDebugUtils.currentLine=5111811; + //BA.debugLineNum = 5111811;BA.debugLine="Return b"; if (true) return _b; - //BA.debugLineNum = 90;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5111812; + //BA.debugLineNum = 5111812;BA.debugLine="End Sub"; return null; } -public byte[] _toarray() throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Public Sub ToArray() As Byte()"; - //BA.debugLineNum = 98;BA.debugLine="Return SubArray(0)"; -if (true) return _subarray((int) (0)); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +public String _set(reparto_intmex.keymon.lat.b4xbytesbuilder __ref,int _index,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "set", true)) + {return ((String) Debug.delegate(ba, "set", new Object[] {_index,_data}));} +RDebugUtils.currentLine=4915200; + //BA.debugLineNum = 4915200;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; +RDebugUtils.currentLine=4915201; + //BA.debugLineNum = 4915201;BA.debugLine="If Index >= mLength Then"; +if (_index>=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=4915202; + //BA.debugLineNum = 4915202;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +if (_index>__ref._mlength /*int*/ ) { +__c.LogImpl("94915202","Index too large",0);}; +RDebugUtils.currentLine=4915203; + //BA.debugLineNum = 4915203;BA.debugLine="Append(Data)"; +__ref._append /*reparto_intmex.keymon.lat.b4xbytesbuilder*/ (null,_data); + }else { +RDebugUtils.currentLine=4915205; + //BA.debugLineNum = 4915205;BA.debugLine="If Data.Length + Index > mLength Then"; +if (_data.length+_index>__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=4915206; + //BA.debugLineNum = 4915206;BA.debugLine="ChangeLength(Data.Length + Index)"; +__ref._changelength /*int*/ (null,(int) (_data.length+_index)); + }; +RDebugUtils.currentLine=4915208; + //BA.debugLineNum = 4915208;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; +__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),_index,_data.length); + }; +RDebugUtils.currentLine=4915210; + //BA.debugLineNum = 4915210;BA.debugLine="End Sub"; +return ""; +} +public byte[] _toarray(reparto_intmex.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "toarray", true)) + {return ((byte[]) Debug.delegate(ba, "toarray", null));} +RDebugUtils.currentLine=5242880; + //BA.debugLineNum = 5242880;BA.debugLine="Public Sub ToArray() As Byte()"; +RDebugUtils.currentLine=5242881; + //BA.debugLineNum = 5242881;BA.debugLine="Return SubArray(0)"; +if (true) return __ref._subarray /*byte[]*/ (null,(int) (0)); +RDebugUtils.currentLine=5242882; + //BA.debugLineNum = 5242882;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcache.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcache.java index efa3dac..d3e86ed 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcache.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcache.java @@ -10,7 +10,7 @@ public class b4xcache extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xcache"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xcache"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,25 +23,13 @@ public class b4xcache extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public reparto_intmex.keymon.lat.b4xorderedmap _data = null; -public int _mmaxsize = 0; -public float _removethreshold = 0f; -public int _eternalcounts = 0; -public b4a.example.dateutils _dateutils = null; -public reparto_intmex.keymon.lat.main _main = null; -public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; -public reparto_intmex.keymon.lat.foto _foto = null; -public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_intmex.keymon.lat.subs _subs = null; -public reparto_intmex.keymon.lat.tracker _tracker = null; -public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; -public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; -public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _b4xcacheitem{ public boolean IsInitialized; public Object Value; @@ -59,152 +47,318 @@ Eternal = false; public String toString() { return BA.TypeToString(this, false); }} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; +public anywheresoftware.b4a.keywords.Common __c = null; +public reparto_intmex.keymon.lat.b4xorderedmap _data = null; +public int _mmaxsize = 0; +public float _removethreshold = 0f; +public int _eternalcounts = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_intmex.keymon.lat.main _main = null; +public reparto_intmex.keymon.lat.appupdater _appupdater = null; +public reparto_intmex.keymon.lat.foto _foto = null; +public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; +public reparto_intmex.keymon.lat.subs _subs = null; +public reparto_intmex.keymon.lat.tracker _tracker = null; +public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; +public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; +public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; +public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(reparto_intmex.keymon.lat.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +RDebugUtils.currentLine=5570560; + //BA.debugLineNum = 5570560;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=5570561; + //BA.debugLineNum = 5570561;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; ; - //BA.debugLineNum = 3;BA.debugLine="Private Data As B4XOrderedMap"; +RDebugUtils.currentLine=5570562; + //BA.debugLineNum = 5570562;BA.debugLine="Private Data As B4XOrderedMap"; _data = new reparto_intmex.keymon.lat.b4xorderedmap(); - //BA.debugLineNum = 4;BA.debugLine="Private mMaxSize As Int = 100"; +RDebugUtils.currentLine=5570563; + //BA.debugLineNum = 5570563;BA.debugLine="Private mMaxSize As Int = 100"; _mmaxsize = (int) (100); - //BA.debugLineNum = 5;BA.debugLine="Private RemoveThreshold As Float = 0.3"; +RDebugUtils.currentLine=5570564; + //BA.debugLineNum = 5570564;BA.debugLine="Private RemoveThreshold As Float = 0.3"; _removethreshold = (float) (0.3); - //BA.debugLineNum = 6;BA.debugLine="Private EternalCounts As Int"; +RDebugUtils.currentLine=5570565; + //BA.debugLineNum = 5570565;BA.debugLine="Private EternalCounts As Int"; _eternalcounts = 0; - //BA.debugLineNum = 7;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5570566; + //BA.debugLineNum = 5570566;BA.debugLine="End Sub"; return ""; } -public boolean _containskey(String _key) throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; - //BA.debugLineNum = 67;BA.debugLine="Return Data.ContainsKey(Key)"; -if (true) return _data._containskey /*boolean*/ ((Object)(_key)); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; +public boolean _containskey(reparto_intmex.keymon.lat.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "containskey", true)) + {return ((Boolean) Debug.delegate(ba, "containskey", new Object[] {_key}));} +RDebugUtils.currentLine=6160384; + //BA.debugLineNum = 6160384;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; +RDebugUtils.currentLine=6160385; + //BA.debugLineNum = 6160385;BA.debugLine="Return Data.ContainsKey(Key)"; +if (true) return __ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_key)); +RDebugUtils.currentLine=6160386; + //BA.debugLineNum = 6160386;BA.debugLine="End Sub"; return false; } -public reparto_intmex.keymon.lat.b4xcache._b4xcacheitem _createb4xcacheitem(Object _value,String _key) throws Exception{ +public reparto_intmex.keymon.lat.b4xcache._b4xcacheitem _createb4xcacheitem(reparto_intmex.keymon.lat.b4xcache __ref,Object _value,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "createb4xcacheitem", true)) + {return ((reparto_intmex.keymon.lat.b4xcache._b4xcacheitem) Debug.delegate(ba, "createb4xcacheitem", new Object[] {_value,_key}));} reparto_intmex.keymon.lat.b4xcache._b4xcacheitem _t1 = null; - //BA.debugLineNum = 102;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; - //BA.debugLineNum = 103;BA.debugLine="Dim t1 As B4XCacheItem"; +RDebugUtils.currentLine=6488064; + //BA.debugLineNum = 6488064;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; +RDebugUtils.currentLine=6488065; + //BA.debugLineNum = 6488065;BA.debugLine="Dim t1 As B4XCacheItem"; _t1 = new reparto_intmex.keymon.lat.b4xcache._b4xcacheitem(); - //BA.debugLineNum = 104;BA.debugLine="t1.Initialize"; +RDebugUtils.currentLine=6488066; + //BA.debugLineNum = 6488066;BA.debugLine="t1.Initialize"; _t1.Initialize(); - //BA.debugLineNum = 105;BA.debugLine="t1.Value = Value"; +RDebugUtils.currentLine=6488067; + //BA.debugLineNum = 6488067;BA.debugLine="t1.Value = Value"; _t1.Value /*Object*/ = _value; - //BA.debugLineNum = 106;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; +RDebugUtils.currentLine=6488068; + //BA.debugLineNum = 6488068;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; _t1.LastAccessedTime /*long*/ = __c.DateTime.getNow(); - //BA.debugLineNum = 107;BA.debugLine="t1.Key = Key"; +RDebugUtils.currentLine=6488069; + //BA.debugLineNum = 6488069;BA.debugLine="t1.Key = Key"; _t1.Key /*String*/ = _key; - //BA.debugLineNum = 108;BA.debugLine="Return t1"; +RDebugUtils.currentLine=6488070; + //BA.debugLineNum = 6488070;BA.debugLine="Return t1"; if (true) return _t1; - //BA.debugLineNum = 109;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6488071; + //BA.debugLineNum = 6488071;BA.debugLine="End Sub"; return null; } -public Object _get(String _key) throws Exception{ +public Object _get(reparto_intmex.keymon.lat.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Object) Debug.delegate(ba, "get", new Object[] {_key}));} reparto_intmex.keymon.lat.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 24;BA.debugLine="Public Sub Get (Key As String) As Object"; - //BA.debugLineNum = 25;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; -_ci = (reparto_intmex.keymon.lat.b4xcache._b4xcacheitem)(_data._get /*Object*/ ((Object)(_key))); - //BA.debugLineNum = 26;BA.debugLine="If ci <> Null Then"; +RDebugUtils.currentLine=5832704; + //BA.debugLineNum = 5832704;BA.debugLine="Public Sub Get (Key As String) As Object"; +RDebugUtils.currentLine=5832705; + //BA.debugLineNum = 5832705;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +_ci = (reparto_intmex.keymon.lat.b4xcache._b4xcacheitem)(__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_key))); +RDebugUtils.currentLine=5832706; + //BA.debugLineNum = 5832706;BA.debugLine="If ci <> Null Then"; if (_ci!= null) { - //BA.debugLineNum = 27;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; +RDebugUtils.currentLine=5832707; + //BA.debugLineNum = 5832707;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; if (_ci.Eternal /*boolean*/ ==__c.False) { _ci.LastAccessedTime /*long*/ = __c.DateTime.getNow();}; - //BA.debugLineNum = 28;BA.debugLine="Return ci.Value"; +RDebugUtils.currentLine=5832708; + //BA.debugLineNum = 5832708;BA.debugLine="Return ci.Value"; if (true) return _ci.Value /*Object*/ ; }; - //BA.debugLineNum = 30;BA.debugLine="Return Null"; +RDebugUtils.currentLine=5832710; + //BA.debugLineNum = 5832710;BA.debugLine="Return Null"; if (true) return __c.Null; - //BA.debugLineNum = 31;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5832711; + //BA.debugLineNum = 5832711;BA.debugLine="End Sub"; return null; } -public int _getmaxsize() throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Public Sub getMaxSize As Int"; - //BA.debugLineNum = 20;BA.debugLine="Return mMaxSize"; -if (true) return _mmaxsize; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; +public int _getmaxsize(reparto_intmex.keymon.lat.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "getmaxsize", true)) + {return ((Integer) Debug.delegate(ba, "getmaxsize", null));} +RDebugUtils.currentLine=5767168; + //BA.debugLineNum = 5767168;BA.debugLine="Public Sub getMaxSize As Int"; +RDebugUtils.currentLine=5767169; + //BA.debugLineNum = 5767169;BA.debugLine="Return mMaxSize"; +if (true) return __ref._mmaxsize /*int*/ ; +RDebugUtils.currentLine=5767170; + //BA.debugLineNum = 5767170;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xcache __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 10;BA.debugLine="Data.Initialize"; -_data._initialize /*String*/ (ba); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=5636096; + //BA.debugLineNum = 5636096;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=5636097; + //BA.debugLineNum = 5636097;BA.debugLine="Data.Initialize"; +__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=5636098; + //BA.debugLineNum = 5636098;BA.debugLine="End Sub"; return ""; } -public boolean _iseternal(String _key) throws Exception{ +public boolean _iseternal(reparto_intmex.keymon.lat.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "iseternal", true)) + {return ((Boolean) Debug.delegate(ba, "iseternal", new Object[] {_key}));} reparto_intmex.keymon.lat.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 60;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; - //BA.debugLineNum = 61;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; -_ci = (reparto_intmex.keymon.lat.b4xcache._b4xcacheitem)(_data._get /*Object*/ ((Object)(_key))); - //BA.debugLineNum = 62;BA.debugLine="Return IIf(ci = Null, False, ci.Eternal)"; +RDebugUtils.currentLine=6094848; + //BA.debugLineNum = 6094848;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; +RDebugUtils.currentLine=6094849; + //BA.debugLineNum = 6094849;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +_ci = (reparto_intmex.keymon.lat.b4xcache._b4xcacheitem)(__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_key))); +RDebugUtils.currentLine=6094850; + //BA.debugLineNum = 6094850;BA.debugLine="Return IIf(ci = Null, False, ci.Eternal)"; if (true) return BA.ObjectToBoolean(((_ci== null) ? ((Object)(__c.False)) : ((Object)(_ci.Eternal /*boolean*/ )))); - //BA.debugLineNum = 63;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6094851; + //BA.debugLineNum = 6094851;BA.debugLine="End Sub"; return false; } -public anywheresoftware.b4a.objects.collections.List _keys() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub Keys As List"; - //BA.debugLineNum = 99;BA.debugLine="Return Data.Keys"; -if (true) return _data._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 100;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _keys(reparto_intmex.keymon.lat.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "keys", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "keys", null));} +RDebugUtils.currentLine=6422528; + //BA.debugLineNum = 6422528;BA.debugLine="Public Sub Keys As List"; +RDebugUtils.currentLine=6422529; + //BA.debugLineNum = 6422529;BA.debugLine="Return Data.Keys"; +if (true) return __ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=6422530; + //BA.debugLineNum = 6422530;BA.debugLine="End Sub"; return null; } -public Object _put(String _key,Object _value) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; - //BA.debugLineNum = 36;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 37;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; -_data._put /*String*/ ((Object)(_key),(Object)(_createb4xcacheitem(_value,_key))); - //BA.debugLineNum = 38;BA.debugLine="TrimIfOversize"; -_trimifoversize(); - //BA.debugLineNum = 39;BA.debugLine="Return Value"; +public Object _put(reparto_intmex.keymon.lat.b4xcache __ref,String _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "put", true)) + {return ((Object) Debug.delegate(ba, "put", new Object[] {_key,_value}));} +RDebugUtils.currentLine=5898240; + //BA.debugLineNum = 5898240;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; +RDebugUtils.currentLine=5898241; + //BA.debugLineNum = 5898241;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=5898242; + //BA.debugLineNum = 5898242;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; +__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_key),(Object)(__ref._createb4xcacheitem /*reparto_intmex.keymon.lat.b4xcache._b4xcacheitem*/ (null,_value,_key))); +RDebugUtils.currentLine=5898243; + //BA.debugLineNum = 5898243;BA.debugLine="TrimIfOversize"; +__ref._trimifoversize /*String*/ (null); +RDebugUtils.currentLine=5898244; + //BA.debugLineNum = 5898244;BA.debugLine="Return Value"; if (true) return _value; - //BA.debugLineNum = 40;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5898245; + //BA.debugLineNum = 5898245;BA.debugLine="End Sub"; return null; } -public Object _puteternal(String _key,Object _value) throws Exception{ -reparto_intmex.keymon.lat.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 44;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; - //BA.debugLineNum = 45;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 46;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; -_ci = _createb4xcacheitem(_value,_key); - //BA.debugLineNum = 47;BA.debugLine="ci.Eternal = True"; -_ci.Eternal /*boolean*/ = __c.True; - //BA.debugLineNum = 48;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; -_ci.LastAccessedTime /*long*/ = (long) (9223372036854775807L); - //BA.debugLineNum = 49;BA.debugLine="EternalCounts = EternalCounts + 1"; -_eternalcounts = (int) (_eternalcounts+1); - //BA.debugLineNum = 50;BA.debugLine="Data.Put(Key, ci)"; -_data._put /*String*/ ((Object)(_key),(Object)(_ci)); - //BA.debugLineNum = 51;BA.debugLine="Return Value"; -if (true) return _value; - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return null; -} -public String _remove(String _key) throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Public Sub Remove (Key As String)"; - //BA.debugLineNum = 56;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 57;BA.debugLine="Data.Remove(Key)"; -_data._remove /*String*/ ((Object)(_key)); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; +public String _trimifoversize(reparto_intmex.keymon.lat.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "trimifoversize", true)) + {return ((String) Debug.delegate(ba, "trimifoversize", null));} +anywheresoftware.b4a.objects.collections.List _values = null; +int _numberofitemstoremove = 0; +int _i = 0; +RDebugUtils.currentLine=6225920; + //BA.debugLineNum = 6225920;BA.debugLine="Private Sub TrimIfOversize"; +RDebugUtils.currentLine=6225921; + //BA.debugLineNum = 6225921;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; +if (__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null)-__ref._eternalcounts /*int*/ >__ref._mmaxsize /*int*/ ) { +RDebugUtils.currentLine=6225922; + //BA.debugLineNum = 6225922;BA.debugLine="Dim values As List = Data.Values"; +_values = new anywheresoftware.b4a.objects.collections.List(); +_values = __ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=6225923; + //BA.debugLineNum = 6225923;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; +_values.SortType("LastAccessedTime",__c.True); +RDebugUtils.currentLine=6225924; + //BA.debugLineNum = 6225924;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; +_numberofitemstoremove = (int) (__c.Ceil(__ref._mmaxsize /*int*/ *__ref._removethreshold /*float*/ )); +RDebugUtils.currentLine=6225925; + //BA.debugLineNum = 6225925;BA.debugLine="For i = 0 To NumberOfItemsToRemove"; +{ +final int step5 = 1; +final int limit5 = _numberofitemstoremove; +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=6225926; + //BA.debugLineNum = 6225926;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; +__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(((reparto_intmex.keymon.lat.b4xcache._b4xcacheitem)(_values.Get(_i))).Key /*String*/ )); + } +}; + }; +RDebugUtils.currentLine=6225929; + //BA.debugLineNum = 6225929;BA.debugLine="End Sub"; return ""; } -public String _removeolditems(long _agems) throws Exception{ +public Object _puteternal(reparto_intmex.keymon.lat.b4xcache __ref,String _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "puteternal", true)) + {return ((Object) Debug.delegate(ba, "puteternal", new Object[] {_key,_value}));} +reparto_intmex.keymon.lat.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=5963776; + //BA.debugLineNum = 5963776;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; +RDebugUtils.currentLine=5963777; + //BA.debugLineNum = 5963777;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=5963778; + //BA.debugLineNum = 5963778;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; +_ci = __ref._createb4xcacheitem /*reparto_intmex.keymon.lat.b4xcache._b4xcacheitem*/ (null,_value,_key); +RDebugUtils.currentLine=5963779; + //BA.debugLineNum = 5963779;BA.debugLine="ci.Eternal = True"; +_ci.Eternal /*boolean*/ = __c.True; +RDebugUtils.currentLine=5963780; + //BA.debugLineNum = 5963780;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; +_ci.LastAccessedTime /*long*/ = (long) (9223372036854775807L); +RDebugUtils.currentLine=5963781; + //BA.debugLineNum = 5963781;BA.debugLine="EternalCounts = EternalCounts + 1"; +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ +1); +RDebugUtils.currentLine=5963782; + //BA.debugLineNum = 5963782;BA.debugLine="Data.Put(Key, ci)"; +__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_key),(Object)(_ci)); +RDebugUtils.currentLine=5963783; + //BA.debugLineNum = 5963783;BA.debugLine="Return Value"; +if (true) return _value; +RDebugUtils.currentLine=5963784; + //BA.debugLineNum = 5963784;BA.debugLine="End Sub"; +return null; +} +public String _remove(reparto_intmex.keymon.lat.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_key}));} +RDebugUtils.currentLine=6029312; + //BA.debugLineNum = 6029312;BA.debugLine="Public Sub Remove (Key As String)"; +RDebugUtils.currentLine=6029313; + //BA.debugLineNum = 6029313;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=6029314; + //BA.debugLineNum = 6029314;BA.debugLine="Data.Remove(Key)"; +__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(_key)); +RDebugUtils.currentLine=6029315; + //BA.debugLineNum = 6029315;BA.debugLine="End Sub"; +return ""; +} +public String _removeolditems(reparto_intmex.keymon.lat.b4xcache __ref,long _agems) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "removeolditems", true)) + {return ((String) Debug.delegate(ba, "removeolditems", new Object[] {_agems}));} anywheresoftware.b4a.objects.collections.List _values = null; long _level = 0L; reparto_intmex.keymon.lat.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 82;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; - //BA.debugLineNum = 83;BA.debugLine="Dim values As List = Data.Values"; +RDebugUtils.currentLine=6291456; + //BA.debugLineNum = 6291456;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; +RDebugUtils.currentLine=6291457; + //BA.debugLineNum = 6291457;BA.debugLine="Dim values As List = Data.Values"; _values = new anywheresoftware.b4a.objects.collections.List(); -_values = _data._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 84;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; +_values = __ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=6291458; + //BA.debugLineNum = 6291458;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; _level = (long) (__c.DateTime.getNow()-_agems); - //BA.debugLineNum = 85;BA.debugLine="For Each ci As B4XCacheItem In values"; +RDebugUtils.currentLine=6291459; + //BA.debugLineNum = 6291459;BA.debugLine="For Each ci As B4XCacheItem In values"; { final anywheresoftware.b4a.BA.IterableList group3 = _values; final int groupLen3 = group3.getSize() @@ -212,62 +366,48 @@ final int groupLen3 = group3.getSize() ; for (; index3 < groupLen3;index3++){ _ci = (reparto_intmex.keymon.lat.b4xcache._b4xcacheitem)(group3.Get(index3)); - //BA.debugLineNum = 86;BA.debugLine="If ci.LastAccessedTime <= level Then"; +RDebugUtils.currentLine=6291460; + //BA.debugLineNum = 6291460;BA.debugLine="If ci.LastAccessedTime <= level Then"; if (_ci.LastAccessedTime /*long*/ <=_level) { - //BA.debugLineNum = 87;BA.debugLine="Data.Remove(ci.Key)"; -_data._remove /*String*/ ((Object)(_ci.Key /*String*/ )); +RDebugUtils.currentLine=6291461; + //BA.debugLineNum = 6291461;BA.debugLine="Data.Remove(ci.Key)"; +__ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(_ci.Key /*String*/ )); }; } }; - //BA.debugLineNum = 90;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6291464; + //BA.debugLineNum = 6291464;BA.debugLine="End Sub"; return ""; } -public String _setmaxsize(int _s) throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Public Sub setMaxSize(s As Int)"; - //BA.debugLineNum = 15;BA.debugLine="mMaxSize = s"; -_mmaxsize = _s; - //BA.debugLineNum = 16;BA.debugLine="TrimIfOversize"; -_trimifoversize(); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +public String _setmaxsize(reparto_intmex.keymon.lat.b4xcache __ref,int _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "setmaxsize", true)) + {return ((String) Debug.delegate(ba, "setmaxsize", new Object[] {_s}));} +RDebugUtils.currentLine=5701632; + //BA.debugLineNum = 5701632;BA.debugLine="Public Sub setMaxSize(s As Int)"; +RDebugUtils.currentLine=5701633; + //BA.debugLineNum = 5701633;BA.debugLine="mMaxSize = s"; +__ref._mmaxsize /*int*/ = _s; +RDebugUtils.currentLine=5701634; + //BA.debugLineNum = 5701634;BA.debugLine="TrimIfOversize"; +__ref._trimifoversize /*String*/ (null); +RDebugUtils.currentLine=5701635; + //BA.debugLineNum = 5701635;BA.debugLine="End Sub"; return ""; } -public int _size() throws Exception{ - //BA.debugLineNum = 93;BA.debugLine="Public Sub Size As Int"; - //BA.debugLineNum = 94;BA.debugLine="Return Data.Size"; -if (true) return _data._getsize /*int*/ (); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; +public int _size(reparto_intmex.keymon.lat.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "size", true)) + {return ((Integer) Debug.delegate(ba, "size", null));} +RDebugUtils.currentLine=6356992; + //BA.debugLineNum = 6356992;BA.debugLine="Public Sub Size As Int"; +RDebugUtils.currentLine=6356993; + //BA.debugLineNum = 6356993;BA.debugLine="Return Data.Size"; +if (true) return __ref._data /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null); +RDebugUtils.currentLine=6356994; + //BA.debugLineNum = 6356994;BA.debugLine="End Sub"; return 0; } -public String _trimifoversize() throws Exception{ -anywheresoftware.b4a.objects.collections.List _values = null; -int _numberofitemstoremove = 0; -int _i = 0; - //BA.debugLineNum = 70;BA.debugLine="Private Sub TrimIfOversize"; - //BA.debugLineNum = 71;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; -if (_data._getsize /*int*/ ()-_eternalcounts>_mmaxsize) { - //BA.debugLineNum = 72;BA.debugLine="Dim values As List = Data.Values"; -_values = new anywheresoftware.b4a.objects.collections.List(); -_values = _data._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 73;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; -_values.SortType("LastAccessedTime",__c.True); - //BA.debugLineNum = 74;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; -_numberofitemstoremove = (int) (__c.Ceil(_mmaxsize*_removethreshold)); - //BA.debugLineNum = 75;BA.debugLine="For i = 0 To NumberOfItemsToRemove"; -{ -final int step5 = 1; -final int limit5 = _numberofitemstoremove; -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 76;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; -_data._remove /*String*/ ((Object)(((reparto_intmex.keymon.lat.b4xcache._b4xcacheitem)(_values.Get(_i))).Key /*String*/ )); - } -}; - }; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcollections.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcollections.java index 67fd92d..c8cba97 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcollections.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcollections.java @@ -10,14 +10,15 @@ private static b4xcollections mostCurrent = new b4xcollections(); public static Object getObject() { throw new RuntimeException("Code module does not support this method."); } - public anywheresoftware.b4a.keywords.Common __c = null; + +public anywheresoftware.b4a.keywords.Common __c = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -25,68 +26,107 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; public static reparto_intmex.keymon.lat.b4xbitset _createbitset(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createbitset", true)) + {return ((reparto_intmex.keymon.lat.b4xbitset) Debug.delegate(null, "createbitset", new Object[] {_ba,_size}));} reparto_intmex.keymon.lat.b4xbitset _s = null; - //BA.debugLineNum = 52;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; - //BA.debugLineNum = 53;BA.debugLine="Dim s As B4XBitSet"; +RDebugUtils.currentLine=6881280; + //BA.debugLineNum = 6881280;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; +RDebugUtils.currentLine=6881281; + //BA.debugLineNum = 6881281;BA.debugLine="Dim s As B4XBitSet"; _s = new reparto_intmex.keymon.lat.b4xbitset(); - //BA.debugLineNum = 54;BA.debugLine="s.Initialize(Size)"; -_s._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA),_size); - //BA.debugLineNum = 55;BA.debugLine="Return s"; +RDebugUtils.currentLine=6881282; + //BA.debugLineNum = 6881282;BA.debugLine="s.Initialize(Size)"; +_s._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA),_size); +RDebugUtils.currentLine=6881283; + //BA.debugLineNum = 6881283;BA.debugLine="Return s"; if (true) return _s; - //BA.debugLineNum = 56;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6881284; + //BA.debugLineNum = 6881284;BA.debugLine="End Sub"; return null; } public static reparto_intmex.keymon.lat.b4xorderedmap _createorderedmap(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; - //BA.debugLineNum = 31;BA.debugLine="Return CreateOrderedMap2(Null, Null)"; +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createorderedmap", true)) + {return ((reparto_intmex.keymon.lat.b4xorderedmap) Debug.delegate(null, "createorderedmap", new Object[] {_ba}));} +RDebugUtils.currentLine=6750208; + //BA.debugLineNum = 6750208;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; +RDebugUtils.currentLine=6750209; + //BA.debugLineNum = 6750209;BA.debugLine="Return CreateOrderedMap2(Null, Null)"; if (true) return _createorderedmap2(_ba,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null)),(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null))); - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6750210; + //BA.debugLineNum = 6750210;BA.debugLine="End Sub"; return null; } public static reparto_intmex.keymon.lat.b4xorderedmap _createorderedmap2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _keys,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createorderedmap2", true)) + {return ((reparto_intmex.keymon.lat.b4xorderedmap) Debug.delegate(null, "createorderedmap2", new Object[] {_ba,_keys,_values}));} reparto_intmex.keymon.lat.b4xorderedmap _m = null; int _i = 0; - //BA.debugLineNum = 38;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; - //BA.debugLineNum = 39;BA.debugLine="Dim m As B4XOrderedMap"; +RDebugUtils.currentLine=6815744; + //BA.debugLineNum = 6815744;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; +RDebugUtils.currentLine=6815745; + //BA.debugLineNum = 6815745;BA.debugLine="Dim m As B4XOrderedMap"; _m = new reparto_intmex.keymon.lat.b4xorderedmap(); - //BA.debugLineNum = 40;BA.debugLine="m.Initialize"; -_m._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 41;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; +RDebugUtils.currentLine=6815746; + //BA.debugLineNum = 6815746;BA.debugLine="m.Initialize"; +_m._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=6815747; + //BA.debugLineNum = 6815747;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; if (_keys!= null && _values!= null && _keys.IsInitialized() && _values.IsInitialized()) { - //BA.debugLineNum = 42;BA.debugLine="For i = 0 To Keys.Size - 1"; +RDebugUtils.currentLine=6815748; + //BA.debugLineNum = 6815748;BA.debugLine="For i = 0 To Keys.Size - 1"; { final int step4 = 1; final int limit4 = (int) (_keys.getSize()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 43;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; -_m._put /*String*/ (_keys.Get(_i),_values.Get(_i)); +RDebugUtils.currentLine=6815749; + //BA.debugLineNum = 6815749;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; +_m._put /*String*/ (null,_keys.Get(_i),_values.Get(_i)); } }; }; - //BA.debugLineNum = 46;BA.debugLine="Return m"; +RDebugUtils.currentLine=6815752; + //BA.debugLineNum = 6815752;BA.debugLine="Return m"; if (true) return _m; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6815753; + //BA.debugLineNum = 6815753;BA.debugLine="End Sub"; return null; } public static reparto_intmex.keymon.lat.b4xset _createset(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub CreateSet As B4XSet"; - //BA.debugLineNum = 10;BA.debugLine="Return CreateSet2(Null)"; +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createset", true)) + {return ((reparto_intmex.keymon.lat.b4xset) Debug.delegate(null, "createset", new Object[] {_ba}));} +RDebugUtils.currentLine=6619136; + //BA.debugLineNum = 6619136;BA.debugLine="Public Sub CreateSet As B4XSet"; +RDebugUtils.currentLine=6619137; + //BA.debugLineNum = 6619137;BA.debugLine="Return CreateSet2(Null)"; if (true) return _createset2(_ba,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null))); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6619138; + //BA.debugLineNum = 6619138;BA.debugLine="End Sub"; return null; } public static reparto_intmex.keymon.lat.b4xset _createset2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createset2", true)) + {return ((reparto_intmex.keymon.lat.b4xset) Debug.delegate(null, "createset2", new Object[] {_ba,_values}));} reparto_intmex.keymon.lat.b4xset _s = null; Object _v = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; - //BA.debugLineNum = 17;BA.debugLine="Dim s As B4XSet"; +RDebugUtils.currentLine=6684672; + //BA.debugLineNum = 6684672;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; +RDebugUtils.currentLine=6684673; + //BA.debugLineNum = 6684673;BA.debugLine="Dim s As B4XSet"; _s = new reparto_intmex.keymon.lat.b4xset(); - //BA.debugLineNum = 18;BA.debugLine="s.Initialize"; -_s._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 19;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; +RDebugUtils.currentLine=6684674; + //BA.debugLineNum = 6684674;BA.debugLine="s.Initialize"; +_s._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=6684675; + //BA.debugLineNum = 6684675;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; if (_values!= null && _values.IsInitialized()) { - //BA.debugLineNum = 20;BA.debugLine="For Each v As Object In Values"; +RDebugUtils.currentLine=6684676; + //BA.debugLineNum = 6684676;BA.debugLine="For Each v As Object In Values"; { final anywheresoftware.b4a.BA.IterableList group4 = _values; final int groupLen4 = group4.getSize() @@ -94,19 +134,17 @@ final int groupLen4 = group4.getSize() ; for (; index4 < groupLen4;index4++){ _v = group4.Get(index4); - //BA.debugLineNum = 21;BA.debugLine="s.Add(v)"; -_s._add /*String*/ (_v); +RDebugUtils.currentLine=6684677; + //BA.debugLineNum = 6684677;BA.debugLine="s.Add(v)"; +_s._add /*String*/ (null,_v); } }; }; - //BA.debugLineNum = 24;BA.debugLine="Return s"; +RDebugUtils.currentLine=6684680; + //BA.debugLineNum = 6684680;BA.debugLine="Return s"; if (true) return _s; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6684681; + //BA.debugLineNum = 6684681;BA.debugLine="End Sub"; return null; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcolortemplate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcolortemplate.java index 653e3c8..45896a3 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcolortemplate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcolortemplate.java @@ -10,7 +10,7 @@ public class b4xcolortemplate extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xcolortemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xcolortemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,33 @@ public class b4xcolortemplate extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public static class _colorpickerpart{ +public boolean IsInitialized; +public anywheresoftware.b4a.objects.B4XCanvas cvs; +public anywheresoftware.b4a.objects.B4XViewWrapper pnl; +public anywheresoftware.b4a.objects.B4XViewWrapper iv; +public anywheresoftware.b4a.objects.B4XCanvas checkersCanvas; +public boolean DrawCheckers; +public void Initialize() { +IsInitialized = true; +cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +checkersCanvas = new anywheresoftware.b4a.objects.B4XCanvas(); +DrawCheckers = false; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public int _selectedalpha = 0; @@ -44,10 +70,10 @@ public Object[] _initialcolor = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -55,154 +81,428 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static class _colorpickerpart{ -public boolean IsInitialized; -public anywheresoftware.b4a.objects.B4XCanvas cvs; -public anywheresoftware.b4a.objects.B4XViewWrapper pnl; -public anywheresoftware.b4a.objects.B4XViewWrapper iv; -public anywheresoftware.b4a.objects.B4XCanvas checkersCanvas; -public boolean DrawCheckers; -public void Initialize() { -IsInitialized = true; -cvs = new anywheresoftware.b4a.objects.B4XCanvas(); -pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -checkersCanvas = new anywheresoftware.b4a.objects.B4XCanvas(); -DrawCheckers = false; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _alpha_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 263;BA.debugLine="Private Sub Alpha_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 264;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { +public String _alpha_touch(reparto_intmex.keymon.lat.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "alpha_touch", true)) + {return ((String) Debug.delegate(ba, "alpha_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=18022400; + //BA.debugLineNum = 18022400;BA.debugLine="Private Sub Alpha_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=18022401; + //BA.debugLineNum = 18022401;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +if (_action==__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE_NOTOUCH) { if (true) return "";}; - //BA.debugLineNum = 265;BA.debugLine="AlphaBarSelectedChange(x)"; -_alphabarselectedchange(_x); - //BA.debugLineNum = 266;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18022402; + //BA.debugLineNum = 18022402;BA.debugLine="AlphaBarSelectedChange(x)"; +__ref._alphabarselectedchange /*String*/ (null,_x); +RDebugUtils.currentLine=18022403; + //BA.debugLineNum = 18022403;BA.debugLine="End Sub"; return ""; } -public String _alphabarselectedchange(float _x) throws Exception{ +public String _alphabarselectedchange(reparto_intmex.keymon.lat.b4xcolortemplate __ref,float _x) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "alphabarselectedchange", true)) + {return ((String) Debug.delegate(ba, "alphabarselectedchange", new Object[] {_x}));} anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 147;BA.debugLine="Private Sub AlphaBarSelectedChange(x As Float)"; - //BA.debugLineNum = 148;BA.debugLine="SelectedAlpha = 255 * Max(0, Min(1, x / AlphaBar."; -_selectedalpha = (int) (255*__c.Max(0,__c.Min(1,_x/(double)_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); - //BA.debugLineNum = 149;BA.debugLine="x = SelectedAlpha / 255 * AlphaBar.pnl.Width"; -_x = (float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); - //BA.debugLineNum = 150;BA.debugLine="AlphaBar.cvs.ClearRect(AlphaBar.cvs.TargetRect)"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 151;BA.debugLine="Dim r As B4XRect"; +RDebugUtils.currentLine=17104896; + //BA.debugLineNum = 17104896;BA.debugLine="Private Sub AlphaBarSelectedChange(x As Float)"; +RDebugUtils.currentLine=17104897; + //BA.debugLineNum = 17104897;BA.debugLine="SelectedAlpha = 255 * Max(0, Min(1, x / AlphaBar."; +__ref._selectedalpha /*int*/ = (int) (255*__c.Max(0,__c.Min(1,_x/(double)__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); +RDebugUtils.currentLine=17104898; + //BA.debugLineNum = 17104898;BA.debugLine="x = SelectedAlpha / 255 * AlphaBar.pnl.Width"; +_x = (float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=17104899; + //BA.debugLineNum = 17104899;BA.debugLine="AlphaBar.cvs.ClearRect(AlphaBar.cvs.TargetRect)"; +__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=17104900; + //BA.debugLineNum = 17104900;BA.debugLine="Dim r As B4XRect"; _r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 152;BA.debugLine="r.Initialize(x - 3dip, 1dip, x + 3dip, AlphaBar.c"; -_r.Initialize((float) (_x-__c.DipToCurrent((int) (3))),(float) (__c.DipToCurrent((int) (1))),(float) (_x+__c.DipToCurrent((int) (3))),(float) (_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1)))); - //BA.debugLineNum = 153;BA.debugLine="AlphaBar.cvs.DrawRect(r, xui.Color_Black, True, 2"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_xui.Color_Black,__c.True,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 154;BA.debugLine="AlphaBar.cvs.Invalidate"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 155;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 156;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17104901; + //BA.debugLineNum = 17104901;BA.debugLine="r.Initialize(x - 3dip, 1dip, x + 3dip, AlphaBar.c"; +_r.Initialize((float) (_x-__c.DipToCurrent((int) (3))),(float) (__c.DipToCurrent((int) (1))),(float) (_x+__c.DipToCurrent((int) (3))),(float) (__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1)))); +RDebugUtils.currentLine=17104902; + //BA.debugLineNum = 17104902;BA.debugLine="AlphaBar.cvs.DrawRect(r, xui.Color_Black, True, 2"; +__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black,__c.True,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=17104903; + //BA.debugLineNum = 17104903;BA.debugLine="AlphaBar.cvs.Invalidate"; +__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=17104904; + //BA.debugLineNum = 17104904;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=17104905; + //BA.debugLineNum = 17104905;BA.debugLine="End Sub"; return ""; } -public String _base_resize(double _width,double _height) throws Exception{ +public String _update(reparto_intmex.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +RDebugUtils.currentLine=17170432; + //BA.debugLineNum = 17170432;BA.debugLine="Private Sub Update"; +RDebugUtils.currentLine=17170433; + //BA.debugLineNum = 17170433;BA.debugLine="DrawColors"; +__ref._drawcolors /*String*/ (null); +RDebugUtils.currentLine=17170434; + //BA.debugLineNum = 17170434;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; +__ref._handleselectedcolorchanged /*String*/ (null,__ref._dont_change /*int*/ ,__ref._dont_change /*int*/ ); +RDebugUtils.currentLine=17170435; + //BA.debugLineNum = 17170435;BA.debugLine="End Sub"; +return ""; +} +public String _base_resize(reparto_intmex.keymon.lat.b4xcolortemplate __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} int _r = 0; int _w = 0; reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart _cpp = null; int _i = 0; - //BA.debugLineNum = 51;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 53;BA.debugLine="ColorScale = Max(1, Max(Width, Height) / 100 / De"; -_colorscale = (float) (__c.Max(1,__c.Max(_width,_height)/(double)100/(double)_devicescale)); - //BA.debugLineNum = 54;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; -_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (30)),(int) (_height-__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 55;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; -_r = (int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft()+__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 56;BA.debugLine="Dim w As Int = Width - r - 1dip"; +RDebugUtils.currentLine=16711680; + //BA.debugLineNum = 16711680;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=16711682; + //BA.debugLineNum = 16711682;BA.debugLine="ColorScale = Max(1, Max(Width, Height) / 100 / De"; +__ref._colorscale /*float*/ = (float) (__c.Max(1,__c.Max(_width,_height)/(double)100/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=16711683; + //BA.debugLineNum = 16711683;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; +__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (30)),(int) (_height-__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=16711684; + //BA.debugLineNum = 16711684;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; +_r = (int) (__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft()+__c.DipToCurrent((int) (1))); +RDebugUtils.currentLine=16711685; + //BA.debugLineNum = 16711685;BA.debugLine="Dim w As Int = Width - r - 1dip"; _w = (int) (_width-_r-__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 57;BA.debugLine="If xui.IsB4i Then"; -if (_xui.getIsB4i()) { - //BA.debugLineNum = 58;BA.debugLine="r = r - 1"; +RDebugUtils.currentLine=16711686; + //BA.debugLineNum = 16711686;BA.debugLine="If xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=16711687; + //BA.debugLineNum = 16711687;BA.debugLine="r = r - 1"; _r = (int) (_r-1); - //BA.debugLineNum = 59;BA.debugLine="w = w + 1"; +RDebugUtils.currentLine=16711688; + //BA.debugLineNum = 16711688;BA.debugLine="w = w + 1"; _w = (int) (_w+1); }; - //BA.debugLineNum = 61;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; -_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,(int) (_height-__c.DipToCurrent((int) (31))),_w,__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 62;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; -_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,__c.DipToCurrent((int) (1)),_w,(int) (_height-__c.DipToCurrent((int) (3))-_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 63;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; -_bccolors._initialize(ba,(int) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_colorscale),(int) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_colorscale)); - //BA.debugLineNum = 64;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; +RDebugUtils.currentLine=16711690; + //BA.debugLineNum = 16711690;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; +__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,(int) (_height-__c.DipToCurrent((int) (31))),_w,__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=16711691; + //BA.debugLineNum = 16711691;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; +__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,__c.DipToCurrent((int) (1)),_w,(int) (_height-__c.DipToCurrent((int) (3))-__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=16711692; + //BA.debugLineNum = 16711692;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; +__ref._bccolors /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._colorscale /*float*/ ),(int) (__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._colorscale /*float*/ )); +RDebugUtils.currentLine=16711693; + //BA.debugLineNum = 16711693;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; { -final Object[] group12 = new Object[]{(Object)(_huebar),(Object)(_colorpicker),(Object)(_alphabar)}; +final Object[] group12 = new Object[]{(Object)(__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ ),(Object)(__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ ),(Object)(__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ )}; final int groupLen12 = group12.length ;int index12 = 0; ; for (; index12 < groupLen12;index12++){ _cpp = (reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart)(group12[index12]); - //BA.debugLineNum = 65;BA.debugLine="For i = 0 To cpp.pnl.NumberOfViews - 1"; +RDebugUtils.currentLine=16711694; + //BA.debugLineNum = 16711694;BA.debugLine="For i = 0 To cpp.pnl.NumberOfViews - 1"; { final int step13 = 1; final int limit13 = (int) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1); _i = (int) (0) ; for (;_i <= limit13 ;_i = _i + step13 ) { - //BA.debugLineNum = 66;BA.debugLine="cpp.pnl.GetView(i).SetLayoutAnimated(0, 0, 0, c"; +RDebugUtils.currentLine=16711695; + //BA.debugLineNum = 16711695;BA.debugLine="cpp.pnl.GetView(i).SetLayoutAnimated(0, 0, 0, c"; _cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_i).SetLayoutAnimated((int) (0),(int) (0),(int) (0),_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); } }; - //BA.debugLineNum = 68;BA.debugLine="cpp.cvs.Resize(cpp.pnl.Width, cpp.pnl.Height)"; +RDebugUtils.currentLine=16711697; + //BA.debugLineNum = 16711697;BA.debugLine="cpp.cvs.Resize(cpp.pnl.Width, cpp.pnl.Height)"; _cpp.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 69;BA.debugLine="If cpp.DrawCheckers Then"; +RDebugUtils.currentLine=16711698; + //BA.debugLineNum = 16711698;BA.debugLine="If cpp.DrawCheckers Then"; if (_cpp.DrawCheckers /*boolean*/ ) { - //BA.debugLineNum = 70;BA.debugLine="DrawCheckers(cpp)"; -_drawcheckers(_cpp); +RDebugUtils.currentLine=16711699; + //BA.debugLineNum = 16711699;BA.debugLine="DrawCheckers(cpp)"; +__ref._drawcheckers /*String*/ (null,_cpp); }; } }; - //BA.debugLineNum = 73;BA.debugLine="DrawHueBar"; -_drawhuebar(); - //BA.debugLineNum = 74;BA.debugLine="DrawAlphaBar"; -_drawalphabar(); - //BA.debugLineNum = 75;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; -_huebarselectedchanged((float) (_selectedh/(double)360*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 76;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; -_alphabarselectedchange((float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); - //BA.debugLineNum = 77;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16711702; + //BA.debugLineNum = 16711702;BA.debugLine="DrawHueBar"; +__ref._drawhuebar /*String*/ (null); +RDebugUtils.currentLine=16711703; + //BA.debugLineNum = 16711703;BA.debugLine="DrawAlphaBar"; +__ref._drawalphabar /*String*/ (null); +RDebugUtils.currentLine=16711704; + //BA.debugLineNum = 16711704;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; +__ref._huebarselectedchanged /*String*/ (null,(float) (__ref._selectedh /*float*/ /(double)360*__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=16711705; + //BA.debugLineNum = 16711705;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; +__ref._alphabarselectedchange /*String*/ (null,(float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); +RDebugUtils.currentLine=16711706; + //BA.debugLineNum = 16711706;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Public mBase As B4XView 'ignore"; +public String _drawcheckers(reparto_intmex.keymon.lat.b4xcolortemplate __ref,reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart _cpp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawcheckers", true)) + {return ((String) Debug.delegate(ba, "drawcheckers", new Object[] {_cpp}));} +int _size = 0; +int[] _clrs = null; +int _clr = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +int _x = 0; +int _xx = 0; +int _y = 0; +RDebugUtils.currentLine=16777216; + //BA.debugLineNum = 16777216;BA.debugLine="Private Sub DrawCheckers (cpp As ColorPickerPart)"; +RDebugUtils.currentLine=16777217; + //BA.debugLineNum = 16777217;BA.debugLine="cpp.checkersCanvas.Resize(cpp.pnl.Width, cpp.pnl."; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=16777218; + //BA.debugLineNum = 16777218;BA.debugLine="cpp.checkersCanvas.ClearRect(cpp.checkersCanvas.T"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=16777219; + //BA.debugLineNum = 16777219;BA.debugLine="Dim size As Int = 10dip"; +_size = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=16777220; + //BA.debugLineNum = 16777220;BA.debugLine="Dim clrs() As Int = Array As Int(0xFFC0C0C0, 0xFF"; +_clrs = new int[]{((int)0xffc0c0c0),((int)0xff757575)}; +RDebugUtils.currentLine=16777221; + //BA.debugLineNum = 16777221;BA.debugLine="Dim clr As Int = 0"; +_clr = (int) (0); +RDebugUtils.currentLine=16777222; + //BA.debugLineNum = 16777222;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=16777223; + //BA.debugLineNum = 16777223;BA.debugLine="For x = 0 To cpp.checkersCanvas.TargetRect.Right"; +{ +final int step7 = _size; +final int limit7 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight()-__c.DipToCurrent((int) (1))); +_x = (int) (0) ; +for (;(step7 > 0 && _x <= limit7) || (step7 < 0 && _x >= limit7) ;_x = ((int)(0 + _x + step7)) ) { +RDebugUtils.currentLine=16777224; + //BA.debugLineNum = 16777224;BA.debugLine="Dim xx As Int = x / size"; +_xx = (int) (_x/(double)_size); +RDebugUtils.currentLine=16777225; + //BA.debugLineNum = 16777225;BA.debugLine="clr = xx Mod 2"; +_clr = (int) (_xx%2); +RDebugUtils.currentLine=16777226; + //BA.debugLineNum = 16777226;BA.debugLine="For y = 0 To cpp.checkersCanvas.TargetRect.Botto"; +{ +final int step10 = _size; +final int limit10 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1))); +_y = (int) (0) ; +for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { +RDebugUtils.currentLine=16777227; + //BA.debugLineNum = 16777227;BA.debugLine="clr = (clr + 1) Mod 2"; +_clr = (int) ((_clr+1)%2); +RDebugUtils.currentLine=16777228; + //BA.debugLineNum = 16777228;BA.debugLine="r.Initialize(x, y, x + size, y + size)"; +_r.Initialize((float) (_x),(float) (_y),(float) (_x+_size),(float) (_y+_size)); +RDebugUtils.currentLine=16777229; + //BA.debugLineNum = 16777229;BA.debugLine="cpp.checkersCanvas.DrawRect(r, clrs(clr), True,"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_clrs[_clr],__c.True,(float) (0)); + } +}; + } +}; +RDebugUtils.currentLine=16777232; + //BA.debugLineNum = 16777232;BA.debugLine="cpp.checkersCanvas.Invalidate"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=16777233; + //BA.debugLineNum = 16777233;BA.debugLine="End Sub"; +return ""; +} +public String _drawhuebar(reparto_intmex.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawhuebar", true)) + {return ((String) Debug.delegate(ba, "drawhuebar", null));} +b4a.example.bitmapcreator _bchue = null; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=16842752; + //BA.debugLineNum = 16842752;BA.debugLine="Private Sub DrawHueBar"; +RDebugUtils.currentLine=16842753; + //BA.debugLineNum = 16842753;BA.debugLine="Dim bcHue As BitmapCreator"; +_bchue = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=16842754; + //BA.debugLineNum = 16842754;BA.debugLine="bcHue.Initialize(HueBar.pnl.Width / DeviceScale,"; +_bchue._initialize(ba,(int) (__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._devicescale /*float*/ ),(int) (__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=16842755; + //BA.debugLineNum = 16842755;BA.debugLine="For y = 0 To bcHue.mHeight - 1"; +{ +final int step3 = 1; +final int limit3 = (int) (_bchue._mheight-1); +_y = (int) (0) ; +for (;_y <= limit3 ;_y = _y + step3 ) { +RDebugUtils.currentLine=16842756; + //BA.debugLineNum = 16842756;BA.debugLine="For x = 0 To bcHue.mWidth - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_bchue._mwidth-1); +_x = (int) (0) ; +for (;_x <= limit4 ;_x = _x + step4 ) { +RDebugUtils.currentLine=16842757; + //BA.debugLineNum = 16842757;BA.debugLine="bcHue.SetHSV(x, y, 255, 360 / bcHue.mHeight * y"; +_bchue._sethsv(_x,_y,(int) (255),(int) (360/(double)_bchue._mheight*_y),(float) (1),(float) (1)); + } +}; + } +}; +RDebugUtils.currentLine=16842760; + //BA.debugLineNum = 16842760;BA.debugLine="HueBar.iv.SetBitmap(bcHue.Bitmap)"; +__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bchue._getbitmap().getObject())); +RDebugUtils.currentLine=16842761; + //BA.debugLineNum = 16842761;BA.debugLine="End Sub"; +return ""; +} +public String _drawalphabar(reparto_intmex.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawalphabar", true)) + {return ((String) Debug.delegate(ba, "drawalphabar", null));} +b4a.example.bitmapcreator _bc = null; +b4a.example.bitmapcreator._argbcolor _argb = null; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=16908288; + //BA.debugLineNum = 16908288;BA.debugLine="Private Sub DrawAlphaBar"; +RDebugUtils.currentLine=16908289; + //BA.debugLineNum = 16908289;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=16908290; + //BA.debugLineNum = 16908290;BA.debugLine="bc.Initialize(AlphaBar.pnl.Width / DeviceScale, A"; +_bc._initialize(ba,(int) (__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._devicescale /*float*/ ),(int) (__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=16908291; + //BA.debugLineNum = 16908291;BA.debugLine="Dim argb As ARGBColor"; +_argb = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=16908292; + //BA.debugLineNum = 16908292;BA.debugLine="argb.r = 0xcc"; +_argb.r = ((int)0xcc); +RDebugUtils.currentLine=16908293; + //BA.debugLineNum = 16908293;BA.debugLine="argb.g = 0xcc"; +_argb.g = ((int)0xcc); +RDebugUtils.currentLine=16908294; + //BA.debugLineNum = 16908294;BA.debugLine="argb.b = 0xcc"; +_argb.b = ((int)0xcc); +RDebugUtils.currentLine=16908296; + //BA.debugLineNum = 16908296;BA.debugLine="For y = 0 To bc.mHeight - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (_bc._mheight-1); +_y = (int) (0) ; +for (;_y <= limit7 ;_y = _y + step7 ) { +RDebugUtils.currentLine=16908297; + //BA.debugLineNum = 16908297;BA.debugLine="For x = 0 To bc.mWidth - 1"; +{ +final int step8 = 1; +final int limit8 = (int) (_bc._mwidth-1); +_x = (int) (0) ; +for (;_x <= limit8 ;_x = _x + step8 ) { +RDebugUtils.currentLine=16908298; + //BA.debugLineNum = 16908298;BA.debugLine="argb.a = x / bc.mWidth * 255"; +_argb.a = (int) (_x/(double)_bc._mwidth*255); +RDebugUtils.currentLine=16908299; + //BA.debugLineNum = 16908299;BA.debugLine="bc.SetARGB(x, y, argb)"; +_bc._setargb(_x,_y,_argb); + } +}; + } +}; +RDebugUtils.currentLine=16908302; + //BA.debugLineNum = 16908302;BA.debugLine="AlphaBar.iv.SetBitmap(bc.Bitmap)"; +__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bc._getbitmap().getObject())); +RDebugUtils.currentLine=16908303; + //BA.debugLineNum = 16908303;BA.debugLine="End Sub"; +return ""; +} +public String _huebarselectedchanged(reparto_intmex.keymon.lat.b4xcolortemplate __ref,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "huebarselectedchanged", true)) + {return ((String) Debug.delegate(ba, "huebarselectedchanged", new Object[] {_y}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=17039360; + //BA.debugLineNum = 17039360;BA.debugLine="Private Sub HueBarSelectedChanged (y As Float)"; +RDebugUtils.currentLine=17039361; + //BA.debugLineNum = 17039361;BA.debugLine="selectedH = Max(0, Min(360, 360 * y / HueBar.pnl."; +__ref._selectedh /*float*/ = (float) (__c.Max(0,__c.Min(360,360*_y/(double)__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); +RDebugUtils.currentLine=17039362; + //BA.debugLineNum = 17039362;BA.debugLine="y = selectedH * HueBar.pnl.Height / 360"; +_y = (float) (__ref._selectedh /*float*/ *__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)360); +RDebugUtils.currentLine=17039363; + //BA.debugLineNum = 17039363;BA.debugLine="HueBar.cvs.ClearRect(HueBar.cvs.TargetRect)"; +__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=17039364; + //BA.debugLineNum = 17039364;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=17039365; + //BA.debugLineNum = 17039365;BA.debugLine="r.Initialize(0, y - 3dip, HueBar.cvs.TargetRect.R"; +_r.Initialize((float) (0),(float) (_y-__c.DipToCurrent((int) (3))),__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight(),(float) (_y+__c.DipToCurrent((int) (3)))); +RDebugUtils.currentLine=17039366; + //BA.debugLineNum = 17039366;BA.debugLine="HueBar.cvs.DrawRect(r, xui.Color_White, False, 2d"; +__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=17039367; + //BA.debugLineNum = 17039367;BA.debugLine="HueBar.cvs.Invalidate"; +__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=17039368; + //BA.debugLineNum = 17039368;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=17039369; + //BA.debugLineNum = 17039369;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +RDebugUtils.currentLine=16515072; + //BA.debugLineNum = 16515072;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=16515073; + //BA.debugLineNum = 16515073;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=16515074; + //BA.debugLineNum = 16515074;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private SelectedAlpha As Int = 255"; +RDebugUtils.currentLine=16515075; + //BA.debugLineNum = 16515075;BA.debugLine="Private SelectedAlpha As Int = 255"; _selectedalpha = (int) (255); - //BA.debugLineNum = 5;BA.debugLine="Private bcColors As BitmapCreator"; +RDebugUtils.currentLine=16515076; + //BA.debugLineNum = 16515076;BA.debugLine="Private bcColors As BitmapCreator"; _bccolors = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 6;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; +RDebugUtils.currentLine=16515077; + //BA.debugLineNum = 16515077;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; _selectedh = (float) (60); _selecteds = (float) (0.5); _selectedv = (float) (0.5); - //BA.debugLineNum = 7;BA.debugLine="Private DeviceScale, ColorScale As Float"; +RDebugUtils.currentLine=16515078; + //BA.debugLineNum = 16515078;BA.debugLine="Private DeviceScale, ColorScale As Float"; _devicescale = 0f; _colorscale = 0f; - //BA.debugLineNum = 8;BA.debugLine="Private tempBC As BitmapCreator"; +RDebugUtils.currentLine=16515079; + //BA.debugLineNum = 16515079;BA.debugLine="Private tempBC As BitmapCreator"; _tempbc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 9;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; +RDebugUtils.currentLine=16515080; + //BA.debugLineNum = 16515080;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; _dont_change = (int) (-999999999); - //BA.debugLineNum = 10;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; +RDebugUtils.currentLine=16515081; + //BA.debugLineNum = 16515081;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; ; - //BA.debugLineNum = 11;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; +RDebugUtils.currentLine=16515082; + //BA.debugLineNum = 16515082;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; _huebar = new reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart(); _colorpicker = new reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart(); _alphabar = new reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart(); - //BA.debugLineNum = 12;BA.debugLine="Private BordersColor As Int"; +RDebugUtils.currentLine=16515083; + //BA.debugLineNum = 16515083;BA.debugLine="Private BordersColor As Int"; _borderscolor = 0; - //BA.debugLineNum = 13;BA.debugLine="Private xDialog As B4XDialog"; +RDebugUtils.currentLine=16515084; + //BA.debugLineNum = 16515084;BA.debugLine="Private xDialog As B4XDialog"; _xdialog = new reparto_intmex.keymon.lat.b4xdialog(); - //BA.debugLineNum = 14;BA.debugLine="Private InitialColor() As Object"; +RDebugUtils.currentLine=16515085; + //BA.debugLineNum = 16515085;BA.debugLine="Private InitialColor() As Object"; _initialcolor = new Object[(int) (0)]; { int d0 = _initialcolor.length; @@ -211,20 +511,66 @@ _initialcolor[i0] = new Object(); } } ; - //BA.debugLineNum = 15;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16515086; + //BA.debugLineNum = 16515086;BA.debugLine="End Sub"; return ""; } -public String _colors_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Private Sub Colors_Touch (Action As Int, X As Floa"; - //BA.debugLineNum = 254;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { +public String _colors_touch(reparto_intmex.keymon.lat.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "colors_touch", true)) + {return ((String) Debug.delegate(ba, "colors_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=17891328; + //BA.debugLineNum = 17891328;BA.debugLine="Private Sub Colors_Touch (Action As Int, X As Floa"; +RDebugUtils.currentLine=17891329; + //BA.debugLineNum = 17891329;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +if (_action==__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE_NOTOUCH) { if (true) return "";}; - //BA.debugLineNum = 255;BA.debugLine="HandleSelectedColorChanged(X, Y)"; -_handleselectedcolorchanged((int) (_x),(int) (_y)); - //BA.debugLineNum = 256;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17891330; + //BA.debugLineNum = 17891330;BA.debugLine="HandleSelectedColorChanged(X, Y)"; +__ref._handleselectedcolorchanged /*String*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=17891331; + //BA.debugLineNum = 17891331;BA.debugLine="End Sub"; return ""; } -public Object[] _colortohsv(int _clr) throws Exception{ +public String _handleselectedcolorchanged(reparto_intmex.keymon.lat.b4xcolortemplate __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "handleselectedcolorchanged", true)) + {return ((String) Debug.delegate(ba, "handleselectedcolorchanged", new Object[] {_x,_y}));} +RDebugUtils.currentLine=17235968; + //BA.debugLineNum = 17235968;BA.debugLine="Private Sub HandleSelectedColorChanged (x As Int,"; +RDebugUtils.currentLine=17235969; + //BA.debugLineNum = 17235969;BA.debugLine="If x <> DONT_CHANGE Then"; +if (_x!=__ref._dont_change /*int*/ ) { +RDebugUtils.currentLine=17235970; + //BA.debugLineNum = 17235970;BA.debugLine="selectedS = Max(0, Min(1, x / ColorPicker.pnl.Wi"; +__ref._selecteds /*float*/ = (float) (__c.Max(0,__c.Min(1,_x/(double)__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); +RDebugUtils.currentLine=17235971; + //BA.debugLineNum = 17235971;BA.debugLine="selectedV = Max(0, Min(1, (ColorPicker.pnl.Heigh"; +__ref._selectedv /*float*/ = (float) (__c.Max(0,__c.Min(1,(__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_y)/(double)__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); + }; +RDebugUtils.currentLine=17235973; + //BA.debugLineNum = 17235973;BA.debugLine="ColorPicker.cvs.ClearRect(ColorPicker.cvs.TargetR"; +__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=17235974; + //BA.debugLineNum = 17235974;BA.debugLine="ColorPicker.cvs.DrawCircle(selectedS * ColorPicke"; +__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (__ref._selecteds /*float*/ *__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._selectedv /*float*/ *__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()),(float) (__c.DipToCurrent((int) (10))),__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=17235976; + //BA.debugLineNum = 17235976;BA.debugLine="ColorPicker.cvs.Invalidate"; +__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=17235977; + //BA.debugLineNum = 17235977;BA.debugLine="UpdateBarColor"; +__ref._updatebarcolor /*String*/ (null); +RDebugUtils.currentLine=17235978; + //BA.debugLineNum = 17235978;BA.debugLine="End Sub"; +return ""; +} +public Object[] _colortohsv(reparto_intmex.keymon.lat.b4xcolortemplate __ref,int _clr) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "colortohsv", true)) + {return ((Object[]) Debug.delegate(ba, "colortohsv", new Object[] {_clr}));} int _a = 0; int _r = 0; int _g = 0; @@ -237,413 +583,404 @@ int _cmin = 0; float _rc = 0f; float _gc = 0f; float _bc = 0f; - //BA.debugLineNum = 199;BA.debugLine="Public Sub ColorToHSV(clr As Int) As Object()"; - //BA.debugLineNum = 200;BA.debugLine="Dim a As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +RDebugUtils.currentLine=17563648; + //BA.debugLineNum = 17563648;BA.debugLine="Public Sub ColorToHSV(clr As Int) As Object()"; +RDebugUtils.currentLine=17563649; + //BA.debugLineNum = 17563649;BA.debugLine="Dim a As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; _a = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (24))); - //BA.debugLineNum = 201;BA.debugLine="Dim r As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +RDebugUtils.currentLine=17563650; + //BA.debugLineNum = 17563650;BA.debugLine="Dim r As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; _r = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (16))); - //BA.debugLineNum = 202;BA.debugLine="Dim g As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +RDebugUtils.currentLine=17563651; + //BA.debugLineNum = 17563651;BA.debugLine="Dim g As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; _g = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (8))); - //BA.debugLineNum = 203;BA.debugLine="Dim b As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +RDebugUtils.currentLine=17563652; + //BA.debugLineNum = 17563652;BA.debugLine="Dim b As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; _b = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (0))); - //BA.debugLineNum = 204;BA.debugLine="Dim h, s, v As Float"; +RDebugUtils.currentLine=17563653; + //BA.debugLineNum = 17563653;BA.debugLine="Dim h, s, v As Float"; _h = 0f; _s = 0f; _v = 0f; - //BA.debugLineNum = 205;BA.debugLine="Dim cmax As Int = Max(Max(r, g), b)"; +RDebugUtils.currentLine=17563654; + //BA.debugLineNum = 17563654;BA.debugLine="Dim cmax As Int = Max(Max(r, g), b)"; _cmax = (int) (__c.Max(__c.Max(_r,_g),_b)); - //BA.debugLineNum = 206;BA.debugLine="Dim cmin As Int = Min(Min(r, g), b)"; +RDebugUtils.currentLine=17563655; + //BA.debugLineNum = 17563655;BA.debugLine="Dim cmin As Int = Min(Min(r, g), b)"; _cmin = (int) (__c.Min(__c.Min(_r,_g),_b)); - //BA.debugLineNum = 207;BA.debugLine="v = cmax / 255"; +RDebugUtils.currentLine=17563656; + //BA.debugLineNum = 17563656;BA.debugLine="v = cmax / 255"; _v = (float) (_cmax/(double)255); - //BA.debugLineNum = 208;BA.debugLine="If cmax <> 0 Then"; +RDebugUtils.currentLine=17563657; + //BA.debugLineNum = 17563657;BA.debugLine="If cmax <> 0 Then"; if (_cmax!=0) { - //BA.debugLineNum = 209;BA.debugLine="s = (cmax - cmin) / cmax"; +RDebugUtils.currentLine=17563658; + //BA.debugLineNum = 17563658;BA.debugLine="s = (cmax - cmin) / cmax"; _s = (float) ((_cmax-_cmin)/(double)_cmax); }; - //BA.debugLineNum = 211;BA.debugLine="If s = 0 Then"; +RDebugUtils.currentLine=17563660; + //BA.debugLineNum = 17563660;BA.debugLine="If s = 0 Then"; if (_s==0) { - //BA.debugLineNum = 212;BA.debugLine="h = 0"; +RDebugUtils.currentLine=17563661; + //BA.debugLineNum = 17563661;BA.debugLine="h = 0"; _h = (float) (0); }else { - //BA.debugLineNum = 214;BA.debugLine="Dim rc As Float = (cmax - r) / (cmax - cmin)"; +RDebugUtils.currentLine=17563663; + //BA.debugLineNum = 17563663;BA.debugLine="Dim rc As Float = (cmax - r) / (cmax - cmin)"; _rc = (float) ((_cmax-_r)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 215;BA.debugLine="Dim gc As Float = (cmax - g) / (cmax - cmin)"; +RDebugUtils.currentLine=17563664; + //BA.debugLineNum = 17563664;BA.debugLine="Dim gc As Float = (cmax - g) / (cmax - cmin)"; _gc = (float) ((_cmax-_g)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 216;BA.debugLine="Dim bc As Float = (cmax - b) / (cmax - cmin)"; +RDebugUtils.currentLine=17563665; + //BA.debugLineNum = 17563665;BA.debugLine="Dim bc As Float = (cmax - b) / (cmax - cmin)"; _bc = (float) ((_cmax-_b)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 217;BA.debugLine="If r = cmax Then"; +RDebugUtils.currentLine=17563666; + //BA.debugLineNum = 17563666;BA.debugLine="If r = cmax Then"; if (_r==_cmax) { - //BA.debugLineNum = 218;BA.debugLine="h = bc - gc"; +RDebugUtils.currentLine=17563667; + //BA.debugLineNum = 17563667;BA.debugLine="h = bc - gc"; _h = (float) (_bc-_gc); - }else if(_g==_cmax) { - //BA.debugLineNum = 220;BA.debugLine="h = 2 + rc - bc"; + }else +{RDebugUtils.currentLine=17563668; + //BA.debugLineNum = 17563668;BA.debugLine="Else If g = cmax Then"; +if (_g==_cmax) { +RDebugUtils.currentLine=17563669; + //BA.debugLineNum = 17563669;BA.debugLine="h = 2 + rc - bc"; _h = (float) (2+_rc-_bc); }else { - //BA.debugLineNum = 222;BA.debugLine="h = 4 + gc - rc"; +RDebugUtils.currentLine=17563671; + //BA.debugLineNum = 17563671;BA.debugLine="h = 4 + gc - rc"; _h = (float) (4+_gc-_rc); - }; - //BA.debugLineNum = 224;BA.debugLine="h = h / 6"; + }} +; +RDebugUtils.currentLine=17563673; + //BA.debugLineNum = 17563673;BA.debugLine="h = h / 6"; _h = (float) (_h/(double)6); - //BA.debugLineNum = 225;BA.debugLine="If h < 0 Then h = h + 1"; +RDebugUtils.currentLine=17563674; + //BA.debugLineNum = 17563674;BA.debugLine="If h < 0 Then h = h + 1"; if (_h<0) { _h = (float) (_h+1);}; }; - //BA.debugLineNum = 227;BA.debugLine="Return Array (h * 360, s, v, a)"; +RDebugUtils.currentLine=17563676; + //BA.debugLineNum = 17563676;BA.debugLine="Return Array (h * 360, s, v, a)"; if (true) return new Object[]{(Object)(_h*360),(Object)(_s),(Object)(_v),(Object)(_a)}; - //BA.debugLineNum = 228;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17563677; + //BA.debugLineNum = 17563677;BA.debugLine="End Sub"; return null; } -public reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart _createpanelforbitmapcreator(String _eventname,boolean _withcheckers) throws Exception{ +public reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart _createpanelforbitmapcreator(reparto_intmex.keymon.lat.b4xcolortemplate __ref,String _eventname,boolean _withcheckers) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "createpanelforbitmapcreator", true)) + {return ((reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart) Debug.delegate(ba, "createpanelforbitmapcreator", new Object[] {_eventname,_withcheckers}));} reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart _cpp = null; anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; anywheresoftware.b4a.objects.B4XViewWrapper _overlay = null; - //BA.debugLineNum = 30;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; - //BA.debugLineNum = 31;BA.debugLine="Dim cpp As ColorPickerPart"; +RDebugUtils.currentLine=16646144; + //BA.debugLineNum = 16646144;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; +RDebugUtils.currentLine=16646145; + //BA.debugLineNum = 16646145;BA.debugLine="Dim cpp As ColorPickerPart"; _cpp = new reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart(); - //BA.debugLineNum = 32;BA.debugLine="cpp.Initialize"; +RDebugUtils.currentLine=16646146; + //BA.debugLineNum = 16646146;BA.debugLine="cpp.Initialize"; _cpp.Initialize(); - //BA.debugLineNum = 33;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 34;BA.debugLine="cpp.pnl.SetColorAndBorder(BordersColor, 1dip, Bor"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(_borderscolor,__c.DipToCurrent((int) (1)),_borderscolor,(int) (0)); - //BA.debugLineNum = 35;BA.debugLine="cpp.pnl.SetLayoutAnimated(0, 1dip, 1dip, 1dip, 1d"; +RDebugUtils.currentLine=16646147; + //BA.debugLineNum = 16646147;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; +_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=16646148; + //BA.debugLineNum = 16646148;BA.debugLine="cpp.pnl.SetColorAndBorder(BordersColor, 1dip, Bor"; +_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._borderscolor /*int*/ ,__c.DipToCurrent((int) (1)),__ref._borderscolor /*int*/ ,(int) (0)); +RDebugUtils.currentLine=16646149; + //BA.debugLineNum = 16646149;BA.debugLine="cpp.pnl.SetLayoutAnimated(0, 1dip, 1dip, 1dip, 1d"; _cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 36;BA.debugLine="If WithCheckers Then"; +RDebugUtils.currentLine=16646150; + //BA.debugLineNum = 16646150;BA.debugLine="If WithCheckers Then"; if (_withcheckers) { - //BA.debugLineNum = 37;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; +RDebugUtils.currentLine=16646151; + //BA.debugLineNum = 16646151;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; _cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); - //BA.debugLineNum = 38;BA.debugLine="cpp.DrawCheckers = True"; +RDebugUtils.currentLine=16646152; + //BA.debugLineNum = 16646152;BA.debugLine="cpp.DrawCheckers = True"; _cpp.DrawCheckers /*boolean*/ = __c.True; }; - //BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=16646154; + //BA.debugLineNum = 16646154;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; +RDebugUtils.currentLine=16646155; + //BA.debugLineNum = 16646155;BA.debugLine="iv.Initialize(\"\")"; _iv.Initialize(ba,""); - //BA.debugLineNum = 42;BA.debugLine="cpp.iv = iv"; +RDebugUtils.currentLine=16646156; + //BA.debugLineNum = 16646156;BA.debugLine="cpp.iv = iv"; _cpp.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 43;BA.debugLine="Dim overlay As B4XView = xui.CreatePanel(EventNam"; +RDebugUtils.currentLine=16646157; + //BA.debugLineNum = 16646157;BA.debugLine="Dim overlay As B4XView = xui.CreatePanel(EventNam"; _overlay = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_overlay = _xui.CreatePanel(ba,_eventname); - //BA.debugLineNum = 44;BA.debugLine="cpp.pnl.AddView(iv, 0, 0, 0, 0)"; +_overlay = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,_eventname); +RDebugUtils.currentLine=16646158; + //BA.debugLineNum = 16646158;BA.debugLine="cpp.pnl.AddView(iv, 0, 0, 0, 0)"; _cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 45;BA.debugLine="cpp.pnl.AddView(overlay, 1dip, 1dip, 1dip, 1dip)"; +RDebugUtils.currentLine=16646159; + //BA.debugLineNum = 16646159;BA.debugLine="cpp.pnl.AddView(overlay, 1dip, 1dip, 1dip, 1dip)"; _cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_overlay.getObject()),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 46;BA.debugLine="cpp.cvs.Initialize(overlay)"; +RDebugUtils.currentLine=16646160; + //BA.debugLineNum = 16646160;BA.debugLine="cpp.cvs.Initialize(overlay)"; _cpp.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_overlay); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(cpp.pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="Return cpp"; +RDebugUtils.currentLine=16646161; + //BA.debugLineNum = 16646161;BA.debugLine="mBase.AddView(cpp.pnl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=16646162; + //BA.debugLineNum = 16646162;BA.debugLine="Return cpp"; if (true) return _cpp; - //BA.debugLineNum = 49;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16646163; + //BA.debugLineNum = 16646163;BA.debugLine="End Sub"; return null; } -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 241;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 242;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; -if (_result!=_xui.DialogResponse_Positive) { - //BA.debugLineNum = 243;BA.debugLine="setSelectedHSVColor(InitialColor)"; -_setselectedhsvcolor(_initialcolor); +public String _dialogclosed(reparto_intmex.keymon.lat.b4xcolortemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=17760256; + //BA.debugLineNum = 17760256;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=17760257; + //BA.debugLineNum = 17760257;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +if (_result!=__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=17760258; + //BA.debugLineNum = 17760258;BA.debugLine="setSelectedHSVColor(InitialColor)"; +__ref._setselectedhsvcolor /*String*/ (null,__ref._initialcolor /*Object[]*/ ); }; - //BA.debugLineNum = 245;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17760260; + //BA.debugLineNum = 17760260;BA.debugLine="End Sub"; return ""; } -public String _drawalphabar() throws Exception{ -b4a.example.bitmapcreator _bc = null; -b4a.example.bitmapcreator._argbcolor _argb = null; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 109;BA.debugLine="Private Sub DrawAlphaBar"; - //BA.debugLineNum = 110;BA.debugLine="Dim bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 111;BA.debugLine="bc.Initialize(AlphaBar.pnl.Width / DeviceScale, A"; -_bc._initialize(ba,(int) (_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_devicescale),(int) (_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_devicescale)); - //BA.debugLineNum = 112;BA.debugLine="Dim argb As ARGBColor"; -_argb = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 113;BA.debugLine="argb.r = 0xcc"; -_argb.r = ((int)0xcc); - //BA.debugLineNum = 114;BA.debugLine="argb.g = 0xcc"; -_argb.g = ((int)0xcc); - //BA.debugLineNum = 115;BA.debugLine="argb.b = 0xcc"; -_argb.b = ((int)0xcc); - //BA.debugLineNum = 117;BA.debugLine="For y = 0 To bc.mHeight - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_bc._mheight-1); -_y = (int) (0) ; -for (;_y <= limit7 ;_y = _y + step7 ) { - //BA.debugLineNum = 118;BA.debugLine="For x = 0 To bc.mWidth - 1"; -{ -final int step8 = 1; -final int limit8 = (int) (_bc._mwidth-1); -_x = (int) (0) ; -for (;_x <= limit8 ;_x = _x + step8 ) { - //BA.debugLineNum = 119;BA.debugLine="argb.a = x / bc.mWidth * 255"; -_argb.a = (int) (_x/(double)_bc._mwidth*255); - //BA.debugLineNum = 120;BA.debugLine="bc.SetARGB(x, y, argb)"; -_bc._setargb(_x,_y,_argb); - } -}; - } -}; - //BA.debugLineNum = 123;BA.debugLine="AlphaBar.iv.SetBitmap(bc.Bitmap)"; -_alphabar.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bc._getbitmap().getObject())); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; +public String _setselectedhsvcolor(reparto_intmex.keymon.lat.b4xcolortemplate __ref,Object[] _hsv) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "setselectedhsvcolor", true)) + {return ((String) Debug.delegate(ba, "setselectedhsvcolor", new Object[] {_hsv}));} +RDebugUtils.currentLine=17498112; + //BA.debugLineNum = 17498112;BA.debugLine="Public Sub setSelectedHSVColor (HSV() As Object)"; +RDebugUtils.currentLine=17498113; + //BA.debugLineNum = 17498113;BA.debugLine="selectedH = HSV(0)"; +__ref._selectedh /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (0)])); +RDebugUtils.currentLine=17498114; + //BA.debugLineNum = 17498114;BA.debugLine="selectedS = HSV(1)"; +__ref._selecteds /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (1)])); +RDebugUtils.currentLine=17498115; + //BA.debugLineNum = 17498115;BA.debugLine="selectedV = HSV(2)"; +__ref._selectedv /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (2)])); +RDebugUtils.currentLine=17498116; + //BA.debugLineNum = 17498116;BA.debugLine="SelectedAlpha = HSV(3)"; +__ref._selectedalpha /*int*/ = (int)(BA.ObjectToNumber(_hsv[(int) (3)])); +RDebugUtils.currentLine=17498117; + //BA.debugLineNum = 17498117;BA.debugLine="HueBarSelectedChanged(selectedH / 360 * HueBar.pn"; +__ref._huebarselectedchanged /*String*/ (null,(float) (__ref._selectedh /*float*/ /(double)360*__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=17498118; + //BA.debugLineNum = 17498118;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; +__ref._alphabarselectedchange /*String*/ (null,(float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); +RDebugUtils.currentLine=17498119; + //BA.debugLineNum = 17498119;BA.debugLine="End Sub"; return ""; } -public String _drawcheckers(reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart _cpp) throws Exception{ -int _size = 0; -int[] _clrs = null; -int _clr = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -int _x = 0; -int _xx = 0; -int _y = 0; - //BA.debugLineNum = 79;BA.debugLine="Private Sub DrawCheckers (cpp As ColorPickerPart)"; - //BA.debugLineNum = 80;BA.debugLine="cpp.checkersCanvas.Resize(cpp.pnl.Width, cpp.pnl."; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 81;BA.debugLine="cpp.checkersCanvas.ClearRect(cpp.checkersCanvas.T"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 82;BA.debugLine="Dim size As Int = 10dip"; -_size = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 83;BA.debugLine="Dim clrs() As Int = Array As Int(0xFFC0C0C0, 0xFF"; -_clrs = new int[]{((int)0xffc0c0c0),((int)0xff757575)}; - //BA.debugLineNum = 84;BA.debugLine="Dim clr As Int = 0"; -_clr = (int) (0); - //BA.debugLineNum = 85;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 86;BA.debugLine="For x = 0 To cpp.checkersCanvas.TargetRect.Right"; -{ -final int step7 = _size; -final int limit7 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight()-__c.DipToCurrent((int) (1))); -_x = (int) (0) ; -for (;(step7 > 0 && _x <= limit7) || (step7 < 0 && _x >= limit7) ;_x = ((int)(0 + _x + step7)) ) { - //BA.debugLineNum = 87;BA.debugLine="Dim xx As Int = x / size"; -_xx = (int) (_x/(double)_size); - //BA.debugLineNum = 88;BA.debugLine="clr = xx Mod 2"; -_clr = (int) (_xx%2); - //BA.debugLineNum = 89;BA.debugLine="For y = 0 To cpp.checkersCanvas.TargetRect.Botto"; -{ -final int step10 = _size; -final int limit10 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1))); -_y = (int) (0) ; -for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { - //BA.debugLineNum = 90;BA.debugLine="clr = (clr + 1) Mod 2"; -_clr = (int) ((_clr+1)%2); - //BA.debugLineNum = 91;BA.debugLine="r.Initialize(x, y, x + size, y + size)"; -_r.Initialize((float) (_x),(float) (_y),(float) (_x+_size),(float) (_y+_size)); - //BA.debugLineNum = 92;BA.debugLine="cpp.checkersCanvas.DrawRect(r, clrs(clr), True,"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_clrs[_clr],__c.True,(float) (0)); - } -}; - } -}; - //BA.debugLineNum = 95;BA.debugLine="cpp.checkersCanvas.Invalidate"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return ""; -} -public String _drawcolors() throws Exception{ +public String _drawcolors(reparto_intmex.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawcolors", true)) + {return ((String) Debug.delegate(ba, "drawcolors", null));} int _x = 0; int _y = 0; - //BA.debugLineNum = 126;BA.debugLine="Private Sub DrawColors"; - //BA.debugLineNum = 127;BA.debugLine="For x = 0 To bcColors.mWidth - 1"; +RDebugUtils.currentLine=16973824; + //BA.debugLineNum = 16973824;BA.debugLine="Private Sub DrawColors"; +RDebugUtils.currentLine=16973825; + //BA.debugLineNum = 16973825;BA.debugLine="For x = 0 To bcColors.mWidth - 1"; { final int step1 = 1; -final int limit1 = (int) (_bccolors._mwidth-1); +final int limit1 = (int) (__ref._bccolors /*b4a.example.bitmapcreator*/ ._mwidth-1); _x = (int) (0) ; for (;_x <= limit1 ;_x = _x + step1 ) { - //BA.debugLineNum = 128;BA.debugLine="For y = 0 To bcColors.mHeight - 1"; +RDebugUtils.currentLine=16973826; + //BA.debugLineNum = 16973826;BA.debugLine="For y = 0 To bcColors.mHeight - 1"; { final int step2 = 1; -final int limit2 = (int) (_bccolors._mheight-1); +final int limit2 = (int) (__ref._bccolors /*b4a.example.bitmapcreator*/ ._mheight-1); _y = (int) (0) ; for (;_y <= limit2 ;_y = _y + step2 ) { - //BA.debugLineNum = 129;BA.debugLine="bcColors.SetHSV(x, y, SelectedAlpha, selectedH,"; -_bccolors._sethsv(_x,_y,_selectedalpha,(int) (_selectedh),(float) (_x/(double)_bccolors._mwidth),(float) ((_bccolors._mheight-_y)/(double)_bccolors._mheight)); +RDebugUtils.currentLine=16973827; + //BA.debugLineNum = 16973827;BA.debugLine="bcColors.SetHSV(x, y, SelectedAlpha, selectedH,"; +__ref._bccolors /*b4a.example.bitmapcreator*/ ._sethsv(_x,_y,__ref._selectedalpha /*int*/ ,(int) (__ref._selectedh /*float*/ ),(float) (_x/(double)__ref._bccolors /*b4a.example.bitmapcreator*/ ._mwidth),(float) ((__ref._bccolors /*b4a.example.bitmapcreator*/ ._mheight-_y)/(double)__ref._bccolors /*b4a.example.bitmapcreator*/ ._mheight)); } }; } }; - //BA.debugLineNum = 133;BA.debugLine="ColorPicker.iv.SetBitmap(bcColors.Bitmap.Resize(C"; -_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bccolors._getbitmap().Resize(_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__c.False).getObject())); - //BA.debugLineNum = 134;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16973831; + //BA.debugLineNum = 16973831;BA.debugLine="ColorPicker.iv.SetBitmap(bcColors.Bitmap.Resize(C"; +__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__ref._bccolors /*b4a.example.bitmapcreator*/ ._getbitmap().Resize(__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__c.False).getObject())); +RDebugUtils.currentLine=16973832; + //BA.debugLineNum = 16973832;BA.debugLine="End Sub"; return ""; } -public String _drawhuebar() throws Exception{ -b4a.example.bitmapcreator _bchue = null; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 98;BA.debugLine="Private Sub DrawHueBar"; - //BA.debugLineNum = 99;BA.debugLine="Dim bcHue As BitmapCreator"; -_bchue = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 100;BA.debugLine="bcHue.Initialize(HueBar.pnl.Width / DeviceScale,"; -_bchue._initialize(ba,(int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_devicescale),(int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_devicescale)); - //BA.debugLineNum = 101;BA.debugLine="For y = 0 To bcHue.mHeight - 1"; -{ -final int step3 = 1; -final int limit3 = (int) (_bchue._mheight-1); -_y = (int) (0) ; -for (;_y <= limit3 ;_y = _y + step3 ) { - //BA.debugLineNum = 102;BA.debugLine="For x = 0 To bcHue.mWidth - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_bchue._mwidth-1); -_x = (int) (0) ; -for (;_x <= limit4 ;_x = _x + step4 ) { - //BA.debugLineNum = 103;BA.debugLine="bcHue.SetHSV(x, y, 255, 360 / bcHue.mHeight * y"; -_bchue._sethsv(_x,_y,(int) (255),(int) (360/(double)_bchue._mheight*_y),(float) (1),(float) (1)); - } -}; - } -}; - //BA.debugLineNum = 106;BA.debugLine="HueBar.iv.SetBitmap(bcHue.Bitmap)"; -_huebar.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bchue._getbitmap().getObject())); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 230;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 231;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 232;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xcolortemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=17629184; + //BA.debugLineNum = 17629184;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=17629185; + //BA.debugLineNum = 17629185;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=17629186; + //BA.debugLineNum = 17629186;BA.debugLine="End Sub"; return null; } -public int _getselectedcolor() throws Exception{ +public int _getselectedcolor(reparto_intmex.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getselectedcolor", true)) + {return ((Integer) Debug.delegate(ba, "getselectedcolor", null));} Object[] _hsv = null; - //BA.debugLineNum = 175;BA.debugLine="Public Sub getSelectedColor As Int"; - //BA.debugLineNum = 176;BA.debugLine="Dim hsv() As Object = getSelectedHSVColor"; -_hsv = _getselectedhsvcolor(); - //BA.debugLineNum = 177;BA.debugLine="tempBC.SetHSV(0, 0, SelectedAlpha, hsv(0), hsv(1)"; -_tempbc._sethsv((int) (0),(int) (0),_selectedalpha,(int)(BA.ObjectToNumber(_hsv[(int) (0)])),(float)(BA.ObjectToNumber(_hsv[(int) (1)])),(float)(BA.ObjectToNumber(_hsv[(int) (2)]))); - //BA.debugLineNum = 178;BA.debugLine="Return tempBC.GetColor(0, 0)"; -if (true) return _tempbc._getcolor((int) (0),(int) (0)); - //BA.debugLineNum = 179;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17301504; + //BA.debugLineNum = 17301504;BA.debugLine="Public Sub getSelectedColor As Int"; +RDebugUtils.currentLine=17301505; + //BA.debugLineNum = 17301505;BA.debugLine="Dim hsv() As Object = getSelectedHSVColor"; +_hsv = __ref._getselectedhsvcolor /*Object[]*/ (null); +RDebugUtils.currentLine=17301506; + //BA.debugLineNum = 17301506;BA.debugLine="tempBC.SetHSV(0, 0, SelectedAlpha, hsv(0), hsv(1)"; +__ref._tempbc /*b4a.example.bitmapcreator*/ ._sethsv((int) (0),(int) (0),__ref._selectedalpha /*int*/ ,(int)(BA.ObjectToNumber(_hsv[(int) (0)])),(float)(BA.ObjectToNumber(_hsv[(int) (1)])),(float)(BA.ObjectToNumber(_hsv[(int) (2)]))); +RDebugUtils.currentLine=17301507; + //BA.debugLineNum = 17301507;BA.debugLine="Return tempBC.GetColor(0, 0)"; +if (true) return __ref._tempbc /*b4a.example.bitmapcreator*/ ._getcolor((int) (0),(int) (0)); +RDebugUtils.currentLine=17301508; + //BA.debugLineNum = 17301508;BA.debugLine="End Sub"; return 0; } -public Object[] _getselectedhsvcolor() throws Exception{ - //BA.debugLineNum = 186;BA.debugLine="Public Sub getSelectedHSVColor As Object()"; - //BA.debugLineNum = 187;BA.debugLine="Return Array (selectedH, selectedS, selectedV, Se"; -if (true) return new Object[]{(Object)(_selectedh),(Object)(_selecteds),(Object)(_selectedv),(Object)(_selectedalpha)}; - //BA.debugLineNum = 188;BA.debugLine="End Sub"; +public Object[] _getselectedhsvcolor(reparto_intmex.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getselectedhsvcolor", true)) + {return ((Object[]) Debug.delegate(ba, "getselectedhsvcolor", null));} +RDebugUtils.currentLine=17432576; + //BA.debugLineNum = 17432576;BA.debugLine="Public Sub getSelectedHSVColor As Object()"; +RDebugUtils.currentLine=17432577; + //BA.debugLineNum = 17432577;BA.debugLine="Return Array (selectedH, selectedS, selectedV, Se"; +if (true) return new Object[]{(Object)(__ref._selectedh /*float*/ ),(Object)(__ref._selecteds /*float*/ ),(Object)(__ref._selectedv /*float*/ ),(Object)(__ref._selectedalpha /*int*/ )}; +RDebugUtils.currentLine=17432578; + //BA.debugLineNum = 17432578;BA.debugLine="End Sub"; return null; } -public String _handleselectedcolorchanged(int _x,int _y) throws Exception{ - //BA.debugLineNum = 163;BA.debugLine="Private Sub HandleSelectedColorChanged (x As Int,"; - //BA.debugLineNum = 164;BA.debugLine="If x <> DONT_CHANGE Then"; -if (_x!=_dont_change) { - //BA.debugLineNum = 165;BA.debugLine="selectedS = Max(0, Min(1, x / ColorPicker.pnl.Wi"; -_selecteds = (float) (__c.Max(0,__c.Min(1,_x/(double)_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); - //BA.debugLineNum = 166;BA.debugLine="selectedV = Max(0, Min(1, (ColorPicker.pnl.Heigh"; -_selectedv = (float) (__c.Max(0,__c.Min(1,(_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_y)/(double)_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); +public String _updatebarcolor(reparto_intmex.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "updatebarcolor", true)) + {return ((String) Debug.delegate(ba, "updatebarcolor", null));} +RDebugUtils.currentLine=17825792; + //BA.debugLineNum = 17825792;BA.debugLine="Private Sub UpdateBarColor"; +RDebugUtils.currentLine=17825793; + //BA.debugLineNum = 17825793;BA.debugLine="If xDialog.IsInitialized And xDialog.TitleBar.IsI"; +if (__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ .IsInitialized /*boolean*/ () && __ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=17825794; + //BA.debugLineNum = 17825794;BA.debugLine="xDialog.TitleBar.Color = getSelectedColor"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._getselectedcolor /*int*/ (null)); }; - //BA.debugLineNum = 168;BA.debugLine="ColorPicker.cvs.ClearRect(ColorPicker.cvs.TargetR"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 169;BA.debugLine="ColorPicker.cvs.DrawCircle(selectedS * ColorPicke"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_selecteds*_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_selectedv*_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()),(float) (__c.DipToCurrent((int) (10))),_xui.Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 171;BA.debugLine="ColorPicker.cvs.Invalidate"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 172;BA.debugLine="UpdateBarColor"; -_updatebarcolor(); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17825796; + //BA.debugLineNum = 17825796;BA.debugLine="End Sub"; return ""; } -public String _huebar_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 258;BA.debugLine="Private Sub HueBar_Touch (Action As Int, X As Floa"; - //BA.debugLineNum = 259;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { +public String _huebar_touch(reparto_intmex.keymon.lat.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "huebar_touch", true)) + {return ((String) Debug.delegate(ba, "huebar_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=17956864; + //BA.debugLineNum = 17956864;BA.debugLine="Private Sub HueBar_Touch (Action As Int, X As Floa"; +RDebugUtils.currentLine=17956865; + //BA.debugLineNum = 17956865;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +if (_action==__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE_NOTOUCH) { if (true) return "";}; - //BA.debugLineNum = 260;BA.debugLine="HueBarSelectedChanged(Y)"; -_huebarselectedchanged(_y); - //BA.debugLineNum = 261;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17956866; + //BA.debugLineNum = 17956866;BA.debugLine="HueBarSelectedChanged(Y)"; +__ref._huebarselectedchanged /*String*/ (null,_y); +RDebugUtils.currentLine=17956867; + //BA.debugLineNum = 17956867;BA.debugLine="End Sub"; return ""; } -public String _huebarselectedchanged(float _y) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 136;BA.debugLine="Private Sub HueBarSelectedChanged (y As Float)"; - //BA.debugLineNum = 137;BA.debugLine="selectedH = Max(0, Min(360, 360 * y / HueBar.pnl."; -_selectedh = (float) (__c.Max(0,__c.Min(360,360*_y/(double)_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); - //BA.debugLineNum = 138;BA.debugLine="y = selectedH * HueBar.pnl.Height / 360"; -_y = (float) (_selectedh*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)360); - //BA.debugLineNum = 139;BA.debugLine="HueBar.cvs.ClearRect(HueBar.cvs.TargetRect)"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 140;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 141;BA.debugLine="r.Initialize(0, y - 3dip, HueBar.cvs.TargetRect.R"; -_r.Initialize((float) (0),(float) (_y-__c.DipToCurrent((int) (3))),_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight(),(float) (_y+__c.DipToCurrent((int) (3)))); - //BA.debugLineNum = 142;BA.debugLine="HueBar.cvs.DrawRect(r, xui.Color_White, False, 2d"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_xui.Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 143;BA.debugLine="HueBar.cvs.Invalidate"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 144;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 145;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xcolortemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 18;BA.debugLine="tempBC.Initialize(1, 1)"; -_tempbc._initialize(ba,(int) (1),(int) (1)); - //BA.debugLineNum = 19;BA.debugLine="DeviceScale = 100dip / 100"; -_devicescale = (float) (__c.DipToCurrent((int) (100))/(double)100); - //BA.debugLineNum = 20;BA.debugLine="mBase = xui.CreatePanel(\"\")"; -_mbase = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 21;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 250dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (250))); - //BA.debugLineNum = 22;BA.debugLine="BordersColor = xui.Color_Black"; -_borderscolor = _xui.Color_Black; - //BA.debugLineNum = 23;BA.debugLine="mBase.SetColorAndBorder(BordersColor, 1dip, Borde"; -_mbase.SetColorAndBorder(_borderscolor,__c.DipToCurrent((int) (1)),_borderscolor,__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 24;BA.debugLine="HueBar = CreatePanelForBitmapCreator(\"hueBar\", Fa"; -_huebar = _createpanelforbitmapcreator("hueBar",__c.False); - //BA.debugLineNum = 25;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; -_colorpicker = _createpanelforbitmapcreator("colors",__c.True); - //BA.debugLineNum = 26;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; -_alphabar = _createpanelforbitmapcreator("alpha",__c.True); - //BA.debugLineNum = 27;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 28;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=16580608; + //BA.debugLineNum = 16580608;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=16580609; + //BA.debugLineNum = 16580609;BA.debugLine="tempBC.Initialize(1, 1)"; +__ref._tempbc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (1),(int) (1)); +RDebugUtils.currentLine=16580610; + //BA.debugLineNum = 16580610;BA.debugLine="DeviceScale = 100dip / 100"; +__ref._devicescale /*float*/ = (float) (__c.DipToCurrent((int) (100))/(double)100); +RDebugUtils.currentLine=16580611; + //BA.debugLineNum = 16580611;BA.debugLine="mBase = xui.CreatePanel(\"\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=16580612; + //BA.debugLineNum = 16580612;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 250dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (250))); +RDebugUtils.currentLine=16580613; + //BA.debugLineNum = 16580613;BA.debugLine="BordersColor = xui.Color_Black"; +__ref._borderscolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=16580614; + //BA.debugLineNum = 16580614;BA.debugLine="mBase.SetColorAndBorder(BordersColor, 1dip, Borde"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._borderscolor /*int*/ ,__c.DipToCurrent((int) (1)),__ref._borderscolor /*int*/ ,__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=16580615; + //BA.debugLineNum = 16580615;BA.debugLine="HueBar = CreatePanelForBitmapCreator(\"hueBar\", Fa"; +__ref._huebar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ (null,"hueBar",__c.False); +RDebugUtils.currentLine=16580616; + //BA.debugLineNum = 16580616;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; +__ref._colorpicker /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ (null,"colors",__c.True); +RDebugUtils.currentLine=16580617; + //BA.debugLineNum = 16580617;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; +__ref._alphabar /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*reparto_intmex.keymon.lat.b4xcolortemplate._colorpickerpart*/ (null,"alpha",__c.True); +RDebugUtils.currentLine=16580618; + //BA.debugLineNum = 16580618;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=16580619; + //BA.debugLineNum = 16580619;BA.debugLine="End Sub"; return ""; } -public String _setselectedcolor(int _i) throws Exception{ - //BA.debugLineNum = 181;BA.debugLine="Public Sub setSelectedColor(i As Int)"; - //BA.debugLineNum = 182;BA.debugLine="setSelectedHSVColor(ColorToHSV(i))"; -_setselectedhsvcolor(_colortohsv(_i)); - //BA.debugLineNum = 183;BA.debugLine="End Sub"; +public String _setselectedcolor(reparto_intmex.keymon.lat.b4xcolortemplate __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "setselectedcolor", true)) + {return ((String) Debug.delegate(ba, "setselectedcolor", new Object[] {_i}));} +RDebugUtils.currentLine=17367040; + //BA.debugLineNum = 17367040;BA.debugLine="Public Sub setSelectedColor(i As Int)"; +RDebugUtils.currentLine=17367041; + //BA.debugLineNum = 17367041;BA.debugLine="setSelectedHSVColor(ColorToHSV(i))"; +__ref._setselectedhsvcolor /*String*/ (null,__ref._colortohsv /*Object[]*/ (null,_i)); +RDebugUtils.currentLine=17367042; + //BA.debugLineNum = 17367042;BA.debugLine="End Sub"; return ""; } -public String _setselectedhsvcolor(Object[] _hsv) throws Exception{ - //BA.debugLineNum = 190;BA.debugLine="Public Sub setSelectedHSVColor (HSV() As Object)"; - //BA.debugLineNum = 191;BA.debugLine="selectedH = HSV(0)"; -_selectedh = (float)(BA.ObjectToNumber(_hsv[(int) (0)])); - //BA.debugLineNum = 192;BA.debugLine="selectedS = HSV(1)"; -_selecteds = (float)(BA.ObjectToNumber(_hsv[(int) (1)])); - //BA.debugLineNum = 193;BA.debugLine="selectedV = HSV(2)"; -_selectedv = (float)(BA.ObjectToNumber(_hsv[(int) (2)])); - //BA.debugLineNum = 194;BA.debugLine="SelectedAlpha = HSV(3)"; -_selectedalpha = (int)(BA.ObjectToNumber(_hsv[(int) (3)])); - //BA.debugLineNum = 195;BA.debugLine="HueBarSelectedChanged(selectedH / 360 * HueBar.pn"; -_huebarselectedchanged((float) (_selectedh/(double)360*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 196;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; -_alphabarselectedchange((float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); - //BA.debugLineNum = 197;BA.debugLine="End Sub"; -return ""; -} -public void _show(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public void _show(reparto_intmex.keymon.lat.b4xcolortemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(reparto_intmex.keymon.lat.b4xcolortemplate parent,reparto_intmex.keymon.lat.b4xdialog _dialog) { +public ResumableSub_Show(reparto_intmex.keymon.lat.b4xcolortemplate parent,reparto_intmex.keymon.lat.b4xcolortemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xcolortemplate __ref; reparto_intmex.keymon.lat.b4xcolortemplate parent; reparto_intmex.keymon.lat.b4xdialog _dialog; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xcolortemplate"; while (true) { switch (state) { @@ -653,52 +990,30 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 235;BA.debugLine="InitialColor = getSelectedHSVColor"; -parent._initialcolor = parent._getselectedhsvcolor(); - //BA.debugLineNum = 236;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 237;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); +RDebugUtils.currentLine=17694721; + //BA.debugLineNum = 17694721;BA.debugLine="InitialColor = getSelectedHSVColor"; +__ref._initialcolor /*Object[]*/ = __ref._getselectedhsvcolor /*Object[]*/ (null); +RDebugUtils.currentLine=17694722; + //BA.debugLineNum = 17694722;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=17694723; + //BA.debugLineNum = 17694723;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xcolortemplate", "show"),(int) (0)); this.state = 1; return; case 1: //C this.state = -1; ; - //BA.debugLineNum = 238;BA.debugLine="UpdateBarColor"; -parent._updatebarcolor(); - //BA.debugLineNum = 239;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17694724; + //BA.debugLineNum = 17694724;BA.debugLine="UpdateBarColor"; +__ref._updatebarcolor /*String*/ (null); +RDebugUtils.currentLine=17694725; + //BA.debugLineNum = 17694725;BA.debugLine="End Sub"; if (true) break; } } } } -public String _update() throws Exception{ - //BA.debugLineNum = 158;BA.debugLine="Private Sub Update"; - //BA.debugLineNum = 159;BA.debugLine="DrawColors"; -_drawcolors(); - //BA.debugLineNum = 160;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; -_handleselectedcolorchanged(_dont_change,_dont_change); - //BA.debugLineNum = 161;BA.debugLine="End Sub"; -return ""; -} -public String _updatebarcolor() throws Exception{ - //BA.debugLineNum = 247;BA.debugLine="Private Sub UpdateBarColor"; - //BA.debugLineNum = 248;BA.debugLine="If xDialog.IsInitialized And xDialog.TitleBar.IsI"; -if (_xdialog.IsInitialized /*boolean*/ () && _xdialog._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 249;BA.debugLine="xDialog.TitleBar.Color = getSelectedColor"; -_xdialog._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(_getselectedcolor()); - }; - //BA.debugLineNum = 251;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((reparto_intmex.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcombobox.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcombobox.java index 2451d15..990b5dc 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcombobox.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcombobox.java @@ -10,7 +10,7 @@ public class b4xcombobox extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xcombobox"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xcombobox"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xcombobox extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -37,10 +44,10 @@ public String _b4icancelbutton = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -48,136 +55,154 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 56;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +public String _setselectedindex(reparto_intmex.keymon.lat.b4xcombobox __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "setselectedindex", true)) + {return ((String) Debug.delegate(ba, "setselectedindex", new Object[] {_i}));} +RDebugUtils.currentLine=18612224; + //BA.debugLineNum = 18612224;BA.debugLine="Public Sub setSelectedIndex(i As Int)"; +RDebugUtils.currentLine=18612225; + //BA.debugLineNum = 18612225;BA.debugLine="LastSelectedIndex = i"; +__ref._lastselectedindex /*int*/ = _i; +RDebugUtils.currentLine=18612227; + //BA.debugLineNum = 18612227;BA.debugLine="cmbBox.SelectedIndex = i"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setSelectedIndex(_i); +RDebugUtils.currentLine=18612236; + //BA.debugLineNum = 18612236;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 7;BA.debugLine="Private LastSelectedIndex As Int"; -_lastselectedindex = 0; - //BA.debugLineNum = 11;BA.debugLine="Public cmbBox As Spinner"; -_cmbbox = new anywheresoftware.b4a.objects.SpinnerWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Public DelayBeforeChangeEvent As Int"; -_delaybeforechangeevent = 0; - //BA.debugLineNum = 19;BA.debugLine="Private DelayIndex As Int"; -_delayindex = 0; - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public B4iCancelButton As String = \"Cancel\""; -_b4icancelbutton = "Cancel"; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; +public String _setitems(reparto_intmex.keymon.lat.b4xcombobox __ref,anywheresoftware.b4a.objects.collections.List _items) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((String) Debug.delegate(ba, "setitems", new Object[] {_items}));} +RDebugUtils.currentLine=18350080; + //BA.debugLineNum = 18350080;BA.debugLine="Public Sub SetItems(Items As List)"; +RDebugUtils.currentLine=18350085; + //BA.debugLineNum = 18350085;BA.debugLine="cmbBox.Clear"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Clear(); +RDebugUtils.currentLine=18350086; + //BA.debugLineNum = 18350086;BA.debugLine="cmbBox.AddAll(Items)"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .AddAll(_items); +RDebugUtils.currentLine=18350093; + //BA.debugLineNum = 18350093;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)"; +if (_items.getSize()>0) { +__ref._setselectedindex /*String*/ (null,(int) (0));}; +RDebugUtils.currentLine=18350094; + //BA.debugLineNum = 18350094;BA.debugLine="End Sub"; return ""; } -public String _cmbbox_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 157;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val"; - //BA.debugLineNum = 158;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim xlbl As B4XView = Lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 42;BA.debugLine="cmbBox.Initialize(\"cmbBox\")"; -_cmbbox.Initialize(ba,"cmbBox"); - //BA.debugLineNum = 43;BA.debugLine="cmbBox.TextSize = xlbl.TextSize"; -_cmbbox.setTextSize(_xlbl.getTextSize()); - //BA.debugLineNum = 44;BA.debugLine="mBase.AddView(cmbBox, 0, 0, mBase.Width, mBase.He"; -_mbase.AddView((android.view.View)(_cmbbox.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return ""; -} -public String _getitem(int _index) throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub GetItem(Index As Int) As String"; - //BA.debugLineNum = 131;BA.debugLine="Return cmbBox.GetItem(Index)"; -if (true) return _cmbbox.GetItem(_index); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return ""; -} -public int _getselectedindex() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub getSelectedIndex As Int"; - //BA.debugLineNum = 100;BA.debugLine="Return cmbBox.SelectedIndex"; -if (true) return _cmbbox.getSelectedIndex(); - //BA.debugLineNum = 104;BA.debugLine="End Sub"; -return 0; -} -public String _getselecteditem() throws Exception{ +public String _getselecteditem(reparto_intmex.keymon.lat.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getselecteditem", true)) + {return ((String) Debug.delegate(ba, "getselecteditem", null));} int _i = 0; - //BA.debugLineNum = 121;BA.debugLine="Public Sub getSelectedItem As String"; - //BA.debugLineNum = 122;BA.debugLine="Dim i As Int = getSelectedIndex"; -_i = _getselectedindex(); - //BA.debugLineNum = 123;BA.debugLine="If i = -1 Then Return \"\""; +RDebugUtils.currentLine=18677760; + //BA.debugLineNum = 18677760;BA.debugLine="Public Sub getSelectedItem As String"; +RDebugUtils.currentLine=18677761; + //BA.debugLineNum = 18677761;BA.debugLine="Dim i As Int = getSelectedIndex"; +_i = __ref._getselectedindex /*int*/ (null); +RDebugUtils.currentLine=18677762; + //BA.debugLineNum = 18677762;BA.debugLine="If i = -1 Then Return \"\""; if (_i==-1) { if (true) return "";}; - //BA.debugLineNum = 124;BA.debugLine="Return GetItem(i)"; -if (true) return _getitem(_i); - //BA.debugLineNum = 125;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18677763; + //BA.debugLineNum = 18677763;BA.debugLine="Return GetItem(i)"; +if (true) return __ref._getitem /*String*/ (null,_i); +RDebugUtils.currentLine=18677764; + //BA.debugLineNum = 18677764;BA.debugLine="End Sub"; return ""; } -public int _getsize() throws Exception{ - //BA.debugLineNum = 76;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 80;BA.debugLine="Return cmbBox.Size"; -if (true) return _cmbbox.getSize(); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; -return 0; -} -public int _indexof(String _item) throws Exception{ - //BA.debugLineNum = 87;BA.debugLine="Public Sub IndexOf(Item As String) As Int"; - //BA.debugLineNum = 91;BA.debugLine="Return cmbBox.IndexOf(Item)"; -if (true) return _cmbbox.IndexOf(_item); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 25;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 27;BA.debugLine="LastSelectedIndex = -1"; -_lastselectedindex = (int) (-1); - //BA.debugLineNum = 28;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500"; -if (_xui.getIsB4J()) { -_delaybeforechangeevent = (int) (500);}; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.b4xcombobox __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=18284544; + //BA.debugLineNum = 18284544;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=18284545; + //BA.debugLineNum = 18284545;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=18284546; + //BA.debugLineNum = 18284546;BA.debugLine="End Sub"; return ""; } -public void _raiseevent() throws Exception{ -ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(this); +public String _class_globals(reparto_intmex.keymon.lat.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +RDebugUtils.currentLine=18087936; + //BA.debugLineNum = 18087936;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=18087937; + //BA.debugLineNum = 18087937;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=18087938; + //BA.debugLineNum = 18087938;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=18087939; + //BA.debugLineNum = 18087939;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18087940; + //BA.debugLineNum = 18087940;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=18087941; + //BA.debugLineNum = 18087941;BA.debugLine="Private LastSelectedIndex As Int"; +_lastselectedindex = 0; +RDebugUtils.currentLine=18087945; + //BA.debugLineNum = 18087945;BA.debugLine="Public cmbBox As Spinner"; +_cmbbox = new anywheresoftware.b4a.objects.SpinnerWrapper(); +RDebugUtils.currentLine=18087951; + //BA.debugLineNum = 18087951;BA.debugLine="Public DelayBeforeChangeEvent As Int"; +_delaybeforechangeevent = 0; +RDebugUtils.currentLine=18087953; + //BA.debugLineNum = 18087953;BA.debugLine="Private DelayIndex As Int"; +_delayindex = 0; +RDebugUtils.currentLine=18087954; + //BA.debugLineNum = 18087954;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=18087955; + //BA.debugLineNum = 18087955;BA.debugLine="Public B4iCancelButton As String = \"Cancel\""; +_b4icancelbutton = "Cancel"; +RDebugUtils.currentLine=18087956; + //BA.debugLineNum = 18087956;BA.debugLine="End Sub"; +return ""; +} +public String _cmbbox_itemclick(reparto_intmex.keymon.lat.b4xcombobox __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "cmbbox_itemclick", true)) + {return ((String) Debug.delegate(ba, "cmbbox_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=18874368; + //BA.debugLineNum = 18874368;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val"; +RDebugUtils.currentLine=18874369; + //BA.debugLineNum = 18874369;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*void*/ (null); +RDebugUtils.currentLine=18874370; + //BA.debugLineNum = 18874370;BA.debugLine="End Sub"; +return ""; +} +public void _raiseevent(reparto_intmex.keymon.lat.b4xcombobox __ref) throws Exception{ +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "raiseevent", true)) + {Debug.delegate(ba, "raiseevent", null); return;} +ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_RaiseEvent extends BA.ResumableSub { -public ResumableSub_RaiseEvent(reparto_intmex.keymon.lat.b4xcombobox parent) { +public ResumableSub_RaiseEvent(reparto_intmex.keymon.lat.b4xcombobox parent,reparto_intmex.keymon.lat.b4xcombobox __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xcombobox __ref; reparto_intmex.keymon.lat.b4xcombobox parent; int _index = 0; int _myindex = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xcombobox"; while (true) { switch (state) { @@ -187,15 +212,17 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 138;BA.debugLine="Dim index As Int = getSelectedIndex"; -_index = parent._getselectedindex(); - //BA.debugLineNum = 139;BA.debugLine="If LastSelectedIndex = index Then Return"; +RDebugUtils.currentLine=18808833; + //BA.debugLineNum = 18808833;BA.debugLine="Dim index As Int = getSelectedIndex"; +_index = __ref._getselectedindex /*int*/ (null); +RDebugUtils.currentLine=18808834; + //BA.debugLineNum = 18808834;BA.debugLine="If LastSelectedIndex = index Then Return"; if (true) break; case 1: //if this.state = 6; -if (parent._lastselectedindex==_index) { +if (__ref._lastselectedindex /*int*/ ==_index) { this.state = 3; ;}if (true) break; @@ -209,38 +236,43 @@ case 6: //C this.state = 7; ; - //BA.debugLineNum = 140;BA.debugLine="If DelayBeforeChangeEvent > 0 Then"; +RDebugUtils.currentLine=18808835; + //BA.debugLineNum = 18808835;BA.debugLine="If DelayBeforeChangeEvent > 0 Then"; if (true) break; case 7: //if this.state = 16; -if (parent._delaybeforechangeevent>0) { +if (__ref._delaybeforechangeevent /*int*/ >0) { this.state = 9; }if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 141;BA.debugLine="DelayIndex = DelayIndex + 1"; -parent._delayindex = (int) (parent._delayindex+1); - //BA.debugLineNum = 142;BA.debugLine="Dim MyIndex As Int = DelayIndex"; -_myindex = parent._delayindex; - //BA.debugLineNum = 143;BA.debugLine="Sleep(DelayBeforeChangeEvent)"; -parent.__c.Sleep(ba,this,parent._delaybeforechangeevent); +RDebugUtils.currentLine=18808836; + //BA.debugLineNum = 18808836;BA.debugLine="DelayIndex = DelayIndex + 1"; +__ref._delayindex /*int*/ = (int) (__ref._delayindex /*int*/ +1); +RDebugUtils.currentLine=18808837; + //BA.debugLineNum = 18808837;BA.debugLine="Dim MyIndex As Int = DelayIndex"; +_myindex = __ref._delayindex /*int*/ ; +RDebugUtils.currentLine=18808838; + //BA.debugLineNum = 18808838;BA.debugLine="Sleep(DelayBeforeChangeEvent)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xcombobox", "raiseevent"),__ref._delaybeforechangeevent /*int*/ ); this.state = 21; return; case 21: //C this.state = 10; ; - //BA.debugLineNum = 144;BA.debugLine="If MyIndex <> DelayIndex Then Return"; +RDebugUtils.currentLine=18808839; + //BA.debugLineNum = 18808839;BA.debugLine="If MyIndex <> DelayIndex Then Return"; if (true) break; case 10: //if this.state = 15; -if (_myindex!=parent._delayindex) { +if (_myindex!=__ref._delayindex /*int*/ ) { this.state = 12; ;}if (true) break; @@ -260,59 +292,153 @@ case 16: //C this.state = 17; ; - //BA.debugLineNum = 146;BA.debugLine="LastSelectedIndex = index"; -parent._lastselectedindex = _index; - //BA.debugLineNum = 147;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select"; +RDebugUtils.currentLine=18808841; + //BA.debugLineNum = 18808841;BA.debugLine="LastSelectedIndex = index"; +__ref._lastselectedindex /*int*/ = _index; +RDebugUtils.currentLine=18808842; + //BA.debugLineNum = 18808842;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select"; if (true) break; case 17: //if this.state = 20; -if (parent._xui.SubExists(ba,parent._mcallback,parent._meventname+"_SelectedIndexChanged",(int) (1))) { +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_SelectedIndexChanged",(int) (1))) { this.state = 19; }if (true) break; case 19: //C this.state = 20; - //BA.debugLineNum = 148;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex"; -parent.__c.CallSubNew2(ba,parent._mcallback,parent._meventname+"_SelectedIndexChanged",(Object)(_index)); +RDebugUtils.currentLine=18808843; + //BA.debugLineNum = 18808843;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex"; +parent.__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_SelectedIndexChanged",(Object)(_index)); if (true) break; case 20: //C this.state = -1; ; - //BA.debugLineNum = 150;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18808845; + //BA.debugLineNum = 18808845;BA.debugLine="End Sub"; if (true) break; } } } } -public String _setitems(anywheresoftware.b4a.objects.collections.List _items) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Public Sub SetItems(Items As List)"; - //BA.debugLineNum = 64;BA.debugLine="cmbBox.Clear"; -_cmbbox.Clear(); - //BA.debugLineNum = 65;BA.debugLine="cmbBox.AddAll(Items)"; -_cmbbox.AddAll(_items); - //BA.debugLineNum = 72;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)"; -if (_items.getSize()>0) { -_setselectedindex((int) (0));}; - //BA.debugLineNum = 73;BA.debugLine="End Sub"; +public String _designercreateview(reparto_intmex.keymon.lat.b4xcombobox __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +RDebugUtils.currentLine=18219008; + //BA.debugLineNum = 18219008;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=18219009; + //BA.debugLineNum = 18219009;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=18219010; + //BA.debugLineNum = 18219010;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=18219010; + //BA.debugLineNum = 18219010;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=18219011; + //BA.debugLineNum = 18219011;BA.debugLine="Dim xlbl As B4XView = Lbl"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=18219018; + //BA.debugLineNum = 18219018;BA.debugLine="cmbBox.Initialize(\"cmbBox\")"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Initialize(ba,"cmbBox"); +RDebugUtils.currentLine=18219019; + //BA.debugLineNum = 18219019;BA.debugLine="cmbBox.TextSize = xlbl.TextSize"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setTextSize(_xlbl.getTextSize()); +RDebugUtils.currentLine=18219020; + //BA.debugLineNum = 18219020;BA.debugLine="mBase.AddView(cmbBox, 0, 0, mBase.Width, mBase.He"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=18219029; + //BA.debugLineNum = 18219029;BA.debugLine="End Sub"; return ""; } -public String _setselectedindex(int _i) throws Exception{ - //BA.debugLineNum = 106;BA.debugLine="Public Sub setSelectedIndex(i As Int)"; - //BA.debugLineNum = 107;BA.debugLine="LastSelectedIndex = i"; -_lastselectedindex = _i; - //BA.debugLineNum = 109;BA.debugLine="cmbBox.SelectedIndex = i"; -_cmbbox.setSelectedIndex(_i); - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +public String _getitem(reparto_intmex.keymon.lat.b4xcombobox __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getitem", true)) + {return ((String) Debug.delegate(ba, "getitem", new Object[] {_index}));} +RDebugUtils.currentLine=18743296; + //BA.debugLineNum = 18743296;BA.debugLine="Public Sub GetItem(Index As Int) As String"; +RDebugUtils.currentLine=18743300; + //BA.debugLineNum = 18743300;BA.debugLine="Return cmbBox.GetItem(Index)"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .GetItem(_index); +RDebugUtils.currentLine=18743304; + //BA.debugLineNum = 18743304;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public int _getselectedindex(reparto_intmex.keymon.lat.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getselectedindex", true)) + {return ((Integer) Debug.delegate(ba, "getselectedindex", null));} +RDebugUtils.currentLine=18546688; + //BA.debugLineNum = 18546688;BA.debugLine="Public Sub getSelectedIndex As Int"; +RDebugUtils.currentLine=18546690; + //BA.debugLineNum = 18546690;BA.debugLine="Return cmbBox.SelectedIndex"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSelectedIndex(); +RDebugUtils.currentLine=18546694; + //BA.debugLineNum = 18546694;BA.debugLine="End Sub"; +return 0; } +public int _getsize(reparto_intmex.keymon.lat.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=18415616; + //BA.debugLineNum = 18415616;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=18415620; + //BA.debugLineNum = 18415620;BA.debugLine="Return cmbBox.Size"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSize(); +RDebugUtils.currentLine=18415624; + //BA.debugLineNum = 18415624;BA.debugLine="End Sub"; +return 0; } +public int _indexof(reparto_intmex.keymon.lat.b4xcombobox __ref,String _item) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "indexof", true)) + {return ((Integer) Debug.delegate(ba, "indexof", new Object[] {_item}));} +RDebugUtils.currentLine=18481152; + //BA.debugLineNum = 18481152;BA.debugLine="Public Sub IndexOf(Item As String) As Int"; +RDebugUtils.currentLine=18481156; + //BA.debugLineNum = 18481156;BA.debugLine="Return cmbBox.IndexOf(Item)"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .IndexOf(_item); +RDebugUtils.currentLine=18481160; + //BA.debugLineNum = 18481160;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_intmex.keymon.lat.b4xcombobox __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=18153472; + //BA.debugLineNum = 18153472;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=18153473; + //BA.debugLineNum = 18153473;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=18153474; + //BA.debugLineNum = 18153474;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=18153475; + //BA.debugLineNum = 18153475;BA.debugLine="LastSelectedIndex = -1"; +__ref._lastselectedindex /*int*/ = (int) (-1); +RDebugUtils.currentLine=18153476; + //BA.debugLineNum = 18153476;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +__ref._delaybeforechangeevent /*int*/ = (int) (500);}; +RDebugUtils.currentLine=18153477; + //BA.debugLineNum = 18153477;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcomparatorsort.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcomparatorsort.java index f433481..c3f2ec2 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcomparatorsort.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xcomparatorsort.java @@ -10,7 +10,7 @@ public class b4xcomparatorsort extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xcomparatorsort"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xcomparatorsort"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,14 +23,21 @@ public class b4xcomparatorsort extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -38,89 +45,137 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.b4xcomparatorsort __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +RDebugUtils.currentLine=6946816; + //BA.debugLineNum = 6946816;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=6946817; + //BA.debugLineNum = 6946817;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xcomparatorsort __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 5;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=7012352; + //BA.debugLineNum = 7012352;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=7012353; + //BA.debugLineNum = 7012353;BA.debugLine="End Sub"; return ""; } -public int _partition(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,int _pivotindex,Object _comparator) throws Exception{ +public int _partition(reparto_intmex.keymon.lat.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,int _pivotindex,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "partition", true)) + {return ((Integer) Debug.delegate(ba, "partition", new Object[] {_data,_startindex,_length,_pivotindex,_comparator}));} Object _pivotvalue = null; int _l = 0; int _i = 0; - //BA.debugLineNum = 30;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; - //BA.debugLineNum = 31;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; +RDebugUtils.currentLine=7208960; + //BA.debugLineNum = 7208960;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; +RDebugUtils.currentLine=7208961; + //BA.debugLineNum = 7208961;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; _pivotvalue = _data.Get((int) (_startindex+_pivotindex)); - //BA.debugLineNum = 32;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; -_swap(_data,_startindex,_pivotindex,(int) (_length-1)); - //BA.debugLineNum = 33;BA.debugLine="Dim L As Int = 0"; +RDebugUtils.currentLine=7208962; + //BA.debugLineNum = 7208962;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; +__ref._swap /*String*/ (null,_data,_startindex,_pivotindex,(int) (_length-1)); +RDebugUtils.currentLine=7208963; + //BA.debugLineNum = 7208963;BA.debugLine="Dim L As Int = 0"; _l = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="For i = 0 To Length - 2"; +RDebugUtils.currentLine=7208964; + //BA.debugLineNum = 7208964;BA.debugLine="For i = 0 To Length - 2"; { final int step4 = 1; final int limit4 = (int) (_length-2); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 35;BA.debugLine="If CallSub3(Comparator, \"Compare\", Data.Get(Star"; -if (((int)(BA.ObjectToNumber(__c.CallSubNew3(ba,_comparator,"Compare",_data.Get((int) (_startindex+_i)),_pivotvalue))))<0) { - //BA.debugLineNum = 36;BA.debugLine="L = L + 1"; +RDebugUtils.currentLine=7208965; + //BA.debugLineNum = 7208965;BA.debugLine="If CallSub3(Comparator, \"Compare\", Data.Get(Star"; +if (((int)(BA.ObjectToNumber(__c.CallSubDebug3(ba,_comparator,"Compare",_data.Get((int) (_startindex+_i)),_pivotvalue))))<0) { +RDebugUtils.currentLine=7208966; + //BA.debugLineNum = 7208966;BA.debugLine="L = L + 1"; _l = (int) (_l+1); - //BA.debugLineNum = 37;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; -_swap(_data,_startindex,(int) (_l-1),_i); +RDebugUtils.currentLine=7208967; + //BA.debugLineNum = 7208967;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; +__ref._swap /*String*/ (null,_data,_startindex,(int) (_l-1),_i); }; } }; - //BA.debugLineNum = 40;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; -_swap(_data,_startindex,(int) (_length-1),_l); - //BA.debugLineNum = 41;BA.debugLine="Return L"; +RDebugUtils.currentLine=7208970; + //BA.debugLineNum = 7208970;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; +__ref._swap /*String*/ (null,_data,_startindex,(int) (_length-1),_l); +RDebugUtils.currentLine=7208971; + //BA.debugLineNum = 7208971;BA.debugLine="Return L"; if (true) return _l; - //BA.debugLineNum = 42;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7208972; + //BA.debugLineNum = 7208972;BA.debugLine="End Sub"; return 0; } -public String _quicksort(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,Object _comparator) throws Exception{ +public String _swap(reparto_intmex.keymon.lat.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _i1,int _i2) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "swap", true)) + {return ((String) Debug.delegate(ba, "swap", new Object[] {_data,_startindex,_i1,_i2}));} +Object _o = null; +RDebugUtils.currentLine=7274496; + //BA.debugLineNum = 7274496;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; +RDebugUtils.currentLine=7274497; + //BA.debugLineNum = 7274497;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; +_o = _data.Get((int) (_startindex+_i1)); +RDebugUtils.currentLine=7274498; + //BA.debugLineNum = 7274498;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; +_data.Set((int) (_startindex+_i1),_data.Get((int) (_startindex+_i2))); +RDebugUtils.currentLine=7274499; + //BA.debugLineNum = 7274499;BA.debugLine="Data.Set(StartIndex + i2, o)"; +_data.Set((int) (_startindex+_i2),_o); +RDebugUtils.currentLine=7274500; + //BA.debugLineNum = 7274500;BA.debugLine="End Sub"; +return ""; +} +public String _quicksort(reparto_intmex.keymon.lat.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "quicksort", true)) + {return ((String) Debug.delegate(ba, "quicksort", new Object[] {_data,_startindex,_length,_comparator}));} int _pivotindex = 0; int _r = 0; - //BA.debugLineNum = 21;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; - //BA.debugLineNum = 22;BA.debugLine="If Length > 1 Then"; +RDebugUtils.currentLine=7143424; + //BA.debugLineNum = 7143424;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; +RDebugUtils.currentLine=7143425; + //BA.debugLineNum = 7143425;BA.debugLine="If Length > 1 Then"; if (_length>1) { - //BA.debugLineNum = 23;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; +RDebugUtils.currentLine=7143426; + //BA.debugLineNum = 7143426;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; _pivotindex = __c.Rnd((int) (0),_length); - //BA.debugLineNum = 24;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; -_r = _partition(_data,_startindex,_length,_pivotindex,_comparator); - //BA.debugLineNum = 25;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; -_quicksort(_data,_startindex,_r,_comparator); - //BA.debugLineNum = 26;BA.debugLine="QuickSort(Data, StartIndex + r + 1, Length - r -"; -_quicksort(_data,(int) (_startindex+_r+1),(int) (_length-_r-1),_comparator); +RDebugUtils.currentLine=7143427; + //BA.debugLineNum = 7143427;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; +_r = __ref._partition /*int*/ (null,_data,_startindex,_length,_pivotindex,_comparator); +RDebugUtils.currentLine=7143428; + //BA.debugLineNum = 7143428;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; +__ref._quicksort /*String*/ (null,_data,_startindex,_r,_comparator); +RDebugUtils.currentLine=7143429; + //BA.debugLineNum = 7143429;BA.debugLine="QuickSort(Data, StartIndex + r + 1, Length - r -"; +__ref._quicksort /*String*/ (null,_data,(int) (_startindex+_r+1),(int) (_length-_r-1),_comparator); }; - //BA.debugLineNum = 28;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7143431; + //BA.debugLineNum = 7143431;BA.debugLine="End Sub"; return ""; } -public String _sort(anywheresoftware.b4a.objects.collections.List _data,Object _comparator) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; - //BA.debugLineNum = 14;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; -_quicksort(_data,(int) (0),_data.getSize(),_comparator); - //BA.debugLineNum = 18;BA.debugLine="End Sub"; +public String _sort(reparto_intmex.keymon.lat.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "sort", true)) + {return ((String) Debug.delegate(ba, "sort", new Object[] {_data,_comparator}));} +RDebugUtils.currentLine=7077888; + //BA.debugLineNum = 7077888;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; +RDebugUtils.currentLine=7077890; + //BA.debugLineNum = 7077890;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; +__ref._quicksort /*String*/ (null,_data,(int) (0),_data.getSize(),_comparator); +RDebugUtils.currentLine=7077894; + //BA.debugLineNum = 7077894;BA.debugLine="End Sub"; return ""; } -public String _swap(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _i1,int _i2) throws Exception{ -Object _o = null; - //BA.debugLineNum = 44;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; - //BA.debugLineNum = 45;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; -_o = _data.Get((int) (_startindex+_i1)); - //BA.debugLineNum = 46;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; -_data.Set((int) (_startindex+_i1),_data.Get((int) (_startindex+_i2))); - //BA.debugLineNum = 47;BA.debugLine="Data.Set(StartIndex + i2, o)"; -_data.Set((int) (_startindex+_i2),_o); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xdatetemplate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xdatetemplate.java index 14b1cbe..cf75a90 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xdatetemplate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xdatetemplate.java @@ -10,7 +10,7 @@ public class b4xdatetemplate extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xdatetemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xdatetemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xdatetemplate extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public int _month = 0; public int _year = 0; @@ -65,10 +72,10 @@ public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -76,355 +83,562 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _btnmonth_click() throws Exception{ +public String _btnmonth_click(reparto_intmex.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "btnmonth_click", true)) + {return ((String) Debug.delegate(ba, "btnmonth_click", null));} anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; int _m = 0; - //BA.debugLineNum = 160;BA.debugLine="Private Sub btnMonth_Click"; - //BA.debugLineNum = 161;BA.debugLine="Dim btn As B4XView = Sender"; +RDebugUtils.currentLine=19660800; + //BA.debugLineNum = 19660800;BA.debugLine="Private Sub btnMonth_Click"; +RDebugUtils.currentLine=19660801; + //BA.debugLineNum = 19660801;BA.debugLine="Dim btn As B4XView = Sender"; _btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); _btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 162;BA.debugLine="Dim m As Int = 12 + month - 1 + btn.Tag"; -_m = (int) (12+_month-1+(double)(BA.ObjectToNumber(_btn.getTag()))); - //BA.debugLineNum = 163;BA.debugLine="month = (m Mod 12) + 1"; -_month = (int) ((_m%12)+1); - //BA.debugLineNum = 164;BA.debugLine="DrawDays"; -_drawdays(); - //BA.debugLineNum = 165;BA.debugLine="End Sub"; +RDebugUtils.currentLine=19660802; + //BA.debugLineNum = 19660802;BA.debugLine="Dim m As Int = 12 + month - 1 + btn.Tag"; +_m = (int) (12+__ref._month /*int*/ -1+(double)(BA.ObjectToNumber(_btn.getTag()))); +RDebugUtils.currentLine=19660803; + //BA.debugLineNum = 19660803;BA.debugLine="month = (m Mod 12) + 1"; +__ref._month /*int*/ = (int) ((_m%12)+1); +RDebugUtils.currentLine=19660804; + //BA.debugLineNum = 19660804;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=19660805; + //BA.debugLineNum = 19660805;BA.debugLine="End Sub"; return ""; } -public String _btnyear_click() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; - //BA.debugLineNum = 154;BA.debugLine="Private Sub btnYear_Click"; - //BA.debugLineNum = 155;BA.debugLine="Dim btn As B4XView = Sender"; -_btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 156;BA.debugLine="year = year + btn.Tag"; -_year = (int) (_year+(double)(BA.ObjectToNumber(_btn.getTag()))); - //BA.debugLineNum = 157;BA.debugLine="DrawDays"; -_drawdays(); - //BA.debugLineNum = 158;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Private month, year As Int"; -_month = 0; -_year = 0; - //BA.debugLineNum = 4;BA.debugLine="Private boxW, boxH As Float"; -_boxw = 0f; -_boxh = 0f; - //BA.debugLineNum = 5;BA.debugLine="Private vCorrection As Float"; -_vcorrection = 0f; - //BA.debugLineNum = 6;BA.debugLine="Private tempSelectedDay As Int"; -_tempselectedday = 0; - //BA.debugLineNum = 7;BA.debugLine="Private dayOfWeekOffset As Int"; -_dayofweekoffset = 0; - //BA.debugLineNum = 8;BA.debugLine="Private daysInMonth As Int"; -_daysinmonth = 0; - //BA.debugLineNum = 9;BA.debugLine="Private DaysPaneBg As B4XView"; -_dayspanebg = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private DaysPaneFg As B4XView"; -_dayspanefg = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 12;BA.debugLine="Private cvsBackground As B4XCanvas"; -_cvsbackground = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 13;BA.debugLine="Private selectedDate As Long"; -_selecteddate = 0L; - //BA.debugLineNum = 14;BA.debugLine="Private PreviousSelectedDate As Long"; -_previousselecteddate = 0L; - //BA.debugLineNum = 15;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; -_selectedyear = 0; -_selectedmonth = 0; -_selectedday = 0; - //BA.debugLineNum = 16;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; -_highlightedcolor = ((int)0xff001bbd); - //BA.debugLineNum = 17;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; -_selectedcolor = ((int)0xff0ba29b); - //BA.debugLineNum = 18;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; -_daysinmonthcolor = _xui.Color_White; - //BA.debugLineNum = 19;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; -_daysinweekcolor = _xui.Color_Gray; - //BA.debugLineNum = 20;BA.debugLine="Private cvsDays As B4XCanvas"; -_cvsdays = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 21;BA.debugLine="Private DaysTitlesPane As B4XView"; -_daystitlespane = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public FirstDay As Int = 0"; -_firstday = (int) (0); - //BA.debugLineNum = 23;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; -_minyear = (int) (1970); -_maxyear = (int) (2030); - //BA.debugLineNum = 24;BA.debugLine="Public btnMonthLeft As B4XView"; -_btnmonthleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Public btnMonthRight As B4XView"; -_btnmonthright = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Public btnYearLeft As B4XView"; -_btnyearleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Public btnYearRight As B4XView"; -_btnyearright = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Public lblMonth As B4XView"; -_lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Public lblYear As B4XView"; -_lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private pnlDialog As B4XView"; -_pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private months As List"; -_months = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 32;BA.debugLine="Private mDialog As B4XDialog"; -_mdialog = new reparto_intmex.keymon.lat.b4xdialog(); - //BA.debugLineNum = 33;BA.debugLine="Public CloseOnSelection As Boolean = True"; -_closeonselection = __c.True; - //BA.debugLineNum = 34;BA.debugLine="Public DaysOfWeekNames As List"; -_daysofweeknames = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public String _dayspanefg_touch(int _action,float _x,float _y) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 167;BA.debugLine="Private Sub DaysPaneFg_Touch (Action As Int, X As"; - //BA.debugLineNum = 168;BA.debugLine="Dim p As B4XView = DaysPaneFg"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _dayspanefg; - //BA.debugLineNum = 169;BA.debugLine="HandleMouse(X, Y, Action <> p.TOUCH_ACTION_UP)"; -_handlemouse(_x,_y,_action!=_p.TOUCH_ACTION_UP); - //BA.debugLineNum = 170;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 193;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 194;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; -if (_result!=_xui.DialogResponse_Positive) { - //BA.debugLineNum = 195;BA.debugLine="setDate(PreviousSelectedDate)"; -_setdate(_previousselecteddate); - }; - //BA.debugLineNum = 197;BA.debugLine="End Sub"; -return ""; -} -public String _drawbox(anywheresoftware.b4a.objects.B4XCanvas _c,int _clr,int _x,int _y) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 91;BA.debugLine="Private Sub DrawBox(c As B4XCanvas, clr As Int, x"; - //BA.debugLineNum = 92;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 93;BA.debugLine="r.Initialize(x * boxW, y * boxH, x * boxW + boxW,"; -_r.Initialize((float) (_x*_boxw),(float) (_y*_boxh),(float) (_x*_boxw+_boxw),(float) (_y*_boxh+_boxh)); - //BA.debugLineNum = 94;BA.debugLine="c.DrawRect(r, clr, True, 1dip)"; -_c.DrawRect(_r,_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return ""; -} -public String _drawdays() throws Exception{ +public String _drawdays(reparto_intmex.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "drawdays", true)) + {return ((String) Debug.delegate(ba, "drawdays", null));} long _firstdayofmonth = 0L; anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _daysfont = null; int _day = 0; int _row = 0; - //BA.debugLineNum = 62;BA.debugLine="Private Sub DrawDays"; - //BA.debugLineNum = 63;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; -_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1)))); - //BA.debugLineNum = 64;BA.debugLine="lblYear.Text = year"; -_lblyear.setText(BA.ObjectToCharSequence(_year)); - //BA.debugLineNum = 65;BA.debugLine="SetYearsButtonState"; -_setyearsbuttonstate(); - //BA.debugLineNum = 66;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 67;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 68;BA.debugLine="Dim firstDayOfMonth As Long = DateUtils.setDate(y"; -_firstdayofmonth = (long) (_dateutils._setdate(ba,_year,_month,(int) (1))-1); - //BA.debugLineNum = 69;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; -_dayofweekoffset = (int) ((7+__c.DateTime.GetDayOfWeek(_firstdayofmonth)-_firstday)%7); - //BA.debugLineNum = 70;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; -_daysinmonth = _dateutils._numberofdaysinmonth(ba,_month,_year); - //BA.debugLineNum = 71;BA.debugLine="If year = selectedYear And month = selectedMonth"; -if (_year==_selectedyear && _month==_selectedmonth) { - //BA.debugLineNum = 73;BA.debugLine="DrawBox(cvs, SelectedColor, (selectedDay - 1 + d"; -_drawbox(_cvs,_selectedcolor,(int) ((_selectedday-1+_dayofweekoffset)%7),(int) ((_selectedday-1+_dayofweekoffset)/(double)7)); +RDebugUtils.currentLine=19070976; + //BA.debugLineNum = 19070976;BA.debugLine="Private Sub DrawDays"; +RDebugUtils.currentLine=19070977; + //BA.debugLineNum = 19070977;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; +__ref._lblmonth /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._months /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._month /*int*/ -1)))); +RDebugUtils.currentLine=19070978; + //BA.debugLineNum = 19070978;BA.debugLine="lblYear.Text = year"; +__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._year /*int*/ )); +RDebugUtils.currentLine=19070979; + //BA.debugLineNum = 19070979;BA.debugLine="SetYearsButtonState"; +__ref._setyearsbuttonstate /*String*/ (null); +RDebugUtils.currentLine=19070980; + //BA.debugLineNum = 19070980;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=19070981; + //BA.debugLineNum = 19070981;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=19070982; + //BA.debugLineNum = 19070982;BA.debugLine="Dim firstDayOfMonth As Long = DateUtils.setDate(y"; +_firstdayofmonth = (long) (_dateutils._setdate(ba,__ref._year /*int*/ ,__ref._month /*int*/ ,(int) (1))-1); +RDebugUtils.currentLine=19070983; + //BA.debugLineNum = 19070983;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; +__ref._dayofweekoffset /*int*/ = (int) ((7+__c.DateTime.GetDayOfWeek(_firstdayofmonth)-__ref._firstday /*int*/ )%7); +RDebugUtils.currentLine=19070984; + //BA.debugLineNum = 19070984;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; +__ref._daysinmonth /*int*/ = _dateutils._numberofdaysinmonth(ba,__ref._month /*int*/ ,__ref._year /*int*/ ); +RDebugUtils.currentLine=19070985; + //BA.debugLineNum = 19070985;BA.debugLine="If year = selectedYear And month = selectedMonth"; +if (__ref._year /*int*/ ==__ref._selectedyear /*int*/ && __ref._month /*int*/ ==__ref._selectedmonth /*int*/ ) { +RDebugUtils.currentLine=19070987; + //BA.debugLineNum = 19070987;BA.debugLine="DrawBox(cvs, SelectedColor, (selectedDay - 1 + d"; +__ref._drawbox /*String*/ (null,__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ ,__ref._selectedcolor /*int*/ ,(int) ((__ref._selectedday /*int*/ -1+__ref._dayofweekoffset /*int*/ )%7),(int) ((__ref._selectedday /*int*/ -1+__ref._dayofweekoffset /*int*/ )/(double)7)); }; - //BA.debugLineNum = 76;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; -_daysfont = _xui.CreateDefaultBoldFont((float) (14)); - //BA.debugLineNum = 77;BA.debugLine="For day = 1 To daysInMonth"; +RDebugUtils.currentLine=19070990; + //BA.debugLineNum = 19070990;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +_daysfont = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (14)); +RDebugUtils.currentLine=19070991; + //BA.debugLineNum = 19070991;BA.debugLine="For day = 1 To daysInMonth"; { final int step13 = 1; -final int limit13 = _daysinmonth; +final int limit13 = __ref._daysinmonth /*int*/ ; _day = (int) (1) ; for (;_day <= limit13 ;_day = _day + step13 ) { - //BA.debugLineNum = 78;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; -_row = (int) ((_day-1+_dayofweekoffset)/(double)7); - //BA.debugLineNum = 79;BA.debugLine="cvs.DrawText(day, (((dayOfWeekOffset + day - 1)"; -_cvs.DrawText(ba,BA.NumberToString(_day),(float) ((((_dayofweekoffset+_day-1)%7)+0.5)*_boxw),(float) ((_row+0.5)*_boxh+_vcorrection),_daysfont,_daysinmonthcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=19070992; + //BA.debugLineNum = 19070992;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; +_row = (int) ((_day-1+__ref._dayofweekoffset /*int*/ )/(double)7); +RDebugUtils.currentLine=19070993; + //BA.debugLineNum = 19070993;BA.debugLine="cvs.DrawText(day, (((dayOfWeekOffset + day - 1)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawText(ba,BA.NumberToString(_day),(float) ((((__ref._dayofweekoffset /*int*/ +_day-1)%7)+0.5)*__ref._boxw /*float*/ ),(float) ((_row+0.5)*__ref._boxh /*float*/ +__ref._vcorrection /*float*/ ),_daysfont,__ref._daysinmonthcolor /*int*/ ,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); } }; - //BA.debugLineNum = 82;BA.debugLine="cvsBackground.Invalidate"; -_cvsbackground.Invalidate(); - //BA.debugLineNum = 83;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; +RDebugUtils.currentLine=19070996; + //BA.debugLineNum = 19070996;BA.debugLine="cvsBackground.Invalidate"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=19070997; + //BA.debugLineNum = 19070997;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=19070998; + //BA.debugLineNum = 19070998;BA.debugLine="End Sub"; return ""; } -public long _getdate() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub getDate As Long"; - //BA.debugLineNum = 99;BA.debugLine="Return selectedDate"; -if (true) return _selecteddate; - //BA.debugLineNum = 100;BA.debugLine="End Sub"; -return 0L; +public String _btnyear_click(reparto_intmex.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "btnyear_click", true)) + {return ((String) Debug.delegate(ba, "btnyear_click", null));} +anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; +RDebugUtils.currentLine=19595264; + //BA.debugLineNum = 19595264;BA.debugLine="Private Sub btnYear_Click"; +RDebugUtils.currentLine=19595265; + //BA.debugLineNum = 19595265;BA.debugLine="Dim btn As B4XView = Sender"; +_btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); +RDebugUtils.currentLine=19595266; + //BA.debugLineNum = 19595266;BA.debugLine="year = year + btn.Tag"; +__ref._year /*int*/ = (int) (__ref._year /*int*/ +(double)(BA.ObjectToNumber(_btn.getTag()))); +RDebugUtils.currentLine=19595267; + //BA.debugLineNum = 19595267;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=19595268; + //BA.debugLineNum = 19595268;BA.debugLine="End Sub"; +return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 172;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 173;BA.debugLine="Return pnlDialog"; -if (true) return _pnldialog; - //BA.debugLineNum = 174;BA.debugLine="End Sub"; -return null; +public String _class_globals(reparto_intmex.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +RDebugUtils.currentLine=18939904; + //BA.debugLineNum = 18939904;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=18939905; + //BA.debugLineNum = 18939905;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=18939906; + //BA.debugLineNum = 18939906;BA.debugLine="Private month, year As Int"; +_month = 0; +_year = 0; +RDebugUtils.currentLine=18939907; + //BA.debugLineNum = 18939907;BA.debugLine="Private boxW, boxH As Float"; +_boxw = 0f; +_boxh = 0f; +RDebugUtils.currentLine=18939908; + //BA.debugLineNum = 18939908;BA.debugLine="Private vCorrection As Float"; +_vcorrection = 0f; +RDebugUtils.currentLine=18939909; + //BA.debugLineNum = 18939909;BA.debugLine="Private tempSelectedDay As Int"; +_tempselectedday = 0; +RDebugUtils.currentLine=18939910; + //BA.debugLineNum = 18939910;BA.debugLine="Private dayOfWeekOffset As Int"; +_dayofweekoffset = 0; +RDebugUtils.currentLine=18939911; + //BA.debugLineNum = 18939911;BA.debugLine="Private daysInMonth As Int"; +_daysinmonth = 0; +RDebugUtils.currentLine=18939912; + //BA.debugLineNum = 18939912;BA.debugLine="Private DaysPaneBg As B4XView"; +_dayspanebg = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939913; + //BA.debugLineNum = 18939913;BA.debugLine="Private DaysPaneFg As B4XView"; +_dayspanefg = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939914; + //BA.debugLineNum = 18939914;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=18939915; + //BA.debugLineNum = 18939915;BA.debugLine="Private cvsBackground As B4XCanvas"; +_cvsbackground = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=18939916; + //BA.debugLineNum = 18939916;BA.debugLine="Private selectedDate As Long"; +_selecteddate = 0L; +RDebugUtils.currentLine=18939917; + //BA.debugLineNum = 18939917;BA.debugLine="Private PreviousSelectedDate As Long"; +_previousselecteddate = 0L; +RDebugUtils.currentLine=18939918; + //BA.debugLineNum = 18939918;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; +_selectedyear = 0; +_selectedmonth = 0; +_selectedday = 0; +RDebugUtils.currentLine=18939919; + //BA.debugLineNum = 18939919;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; +_highlightedcolor = ((int)0xff001bbd); +RDebugUtils.currentLine=18939920; + //BA.debugLineNum = 18939920;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; +_selectedcolor = ((int)0xff0ba29b); +RDebugUtils.currentLine=18939921; + //BA.debugLineNum = 18939921;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; +_daysinmonthcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=18939922; + //BA.debugLineNum = 18939922;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; +_daysinweekcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Gray; +RDebugUtils.currentLine=18939923; + //BA.debugLineNum = 18939923;BA.debugLine="Private cvsDays As B4XCanvas"; +_cvsdays = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=18939924; + //BA.debugLineNum = 18939924;BA.debugLine="Private DaysTitlesPane As B4XView"; +_daystitlespane = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939925; + //BA.debugLineNum = 18939925;BA.debugLine="Public FirstDay As Int = 0"; +_firstday = (int) (0); +RDebugUtils.currentLine=18939926; + //BA.debugLineNum = 18939926;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; +_minyear = (int) (1970); +_maxyear = (int) (2030); +RDebugUtils.currentLine=18939927; + //BA.debugLineNum = 18939927;BA.debugLine="Public btnMonthLeft As B4XView"; +_btnmonthleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939928; + //BA.debugLineNum = 18939928;BA.debugLine="Public btnMonthRight As B4XView"; +_btnmonthright = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939929; + //BA.debugLineNum = 18939929;BA.debugLine="Public btnYearLeft As B4XView"; +_btnyearleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939930; + //BA.debugLineNum = 18939930;BA.debugLine="Public btnYearRight As B4XView"; +_btnyearright = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939931; + //BA.debugLineNum = 18939931;BA.debugLine="Public lblMonth As B4XView"; +_lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939932; + //BA.debugLineNum = 18939932;BA.debugLine="Public lblYear As B4XView"; +_lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939933; + //BA.debugLineNum = 18939933;BA.debugLine="Private pnlDialog As B4XView"; +_pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=18939934; + //BA.debugLineNum = 18939934;BA.debugLine="Private months As List"; +_months = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=18939935; + //BA.debugLineNum = 18939935;BA.debugLine="Private mDialog As B4XDialog"; +_mdialog = new reparto_intmex.keymon.lat.b4xdialog(); +RDebugUtils.currentLine=18939936; + //BA.debugLineNum = 18939936;BA.debugLine="Public CloseOnSelection As Boolean = True"; +_closeonselection = __c.True; +RDebugUtils.currentLine=18939937; + //BA.debugLineNum = 18939937;BA.debugLine="Public DaysOfWeekNames As List"; +_daysofweeknames = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=18939938; + //BA.debugLineNum = 18939938;BA.debugLine="End Sub"; +return ""; } -public String _handlemouse(double _x,double _y,boolean _move) throws Exception{ +public String _dayspanefg_touch(reparto_intmex.keymon.lat.b4xdatetemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "dayspanefg_touch", true)) + {return ((String) Debug.delegate(ba, "dayspanefg_touch", new Object[] {_action,_x,_y}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=19726336; + //BA.debugLineNum = 19726336;BA.debugLine="Private Sub DaysPaneFg_Touch (Action As Int, X As"; +RDebugUtils.currentLine=19726337; + //BA.debugLineNum = 19726337;BA.debugLine="Dim p As B4XView = DaysPaneFg"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._dayspanefg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=19726338; + //BA.debugLineNum = 19726338;BA.debugLine="HandleMouse(X, Y, Action <> p.TOUCH_ACTION_UP)"; +__ref._handlemouse /*String*/ (null,_x,_y,_action!=_p.TOUCH_ACTION_UP); +RDebugUtils.currentLine=19726339; + //BA.debugLineNum = 19726339;BA.debugLine="End Sub"; +return ""; +} +public String _handlemouse(reparto_intmex.keymon.lat.b4xdatetemplate __ref,double _x,double _y,boolean _move) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "handlemouse", true)) + {return ((String) Debug.delegate(ba, "handlemouse", new Object[] {_x,_y,_move}));} int _boxx = 0; int _boxy = 0; int _newselectedday = 0; boolean _validday = false; - //BA.debugLineNum = 123;BA.debugLine="Private Sub HandleMouse(x As Double, y As Double,"; - //BA.debugLineNum = 124;BA.debugLine="Dim boxX = x / boxW, boxY = y / boxH As Int"; -_boxx = (int) (_x/(double)_boxw); -_boxy = (int) (_y/(double)_boxh); - //BA.debugLineNum = 125;BA.debugLine="Dim newSelectedDay As Int = boxY * 7 + boxX + 1 -"; -_newselectedday = (int) (_boxy*7+_boxx+1-_dayofweekoffset); - //BA.debugLineNum = 126;BA.debugLine="Dim validDay As Boolean = newSelectedDay > 0 And"; -_validday = _newselectedday>0 && _newselectedday<=_daysinmonth; - //BA.debugLineNum = 127;BA.debugLine="If move Then"; +RDebugUtils.currentLine=19464192; + //BA.debugLineNum = 19464192;BA.debugLine="Private Sub HandleMouse(x As Double, y As Double,"; +RDebugUtils.currentLine=19464193; + //BA.debugLineNum = 19464193;BA.debugLine="Dim boxX = x / boxW, boxY = y / boxH As Int"; +_boxx = (int) (_x/(double)__ref._boxw /*float*/ ); +_boxy = (int) (_y/(double)__ref._boxh /*float*/ ); +RDebugUtils.currentLine=19464194; + //BA.debugLineNum = 19464194;BA.debugLine="Dim newSelectedDay As Int = boxY * 7 + boxX + 1 -"; +_newselectedday = (int) (_boxy*7+_boxx+1-__ref._dayofweekoffset /*int*/ ); +RDebugUtils.currentLine=19464195; + //BA.debugLineNum = 19464195;BA.debugLine="Dim validDay As Boolean = newSelectedDay > 0 And"; +_validday = _newselectedday>0 && _newselectedday<=__ref._daysinmonth /*int*/ ; +RDebugUtils.currentLine=19464196; + //BA.debugLineNum = 19464196;BA.debugLine="If move Then"; if (_move) { - //BA.debugLineNum = 128;BA.debugLine="If newSelectedDay = tempSelectedDay Then Return"; -if (_newselectedday==_tempselectedday) { +RDebugUtils.currentLine=19464197; + //BA.debugLineNum = 19464197;BA.debugLine="If newSelectedDay = tempSelectedDay Then Return"; +if (_newselectedday==__ref._tempselectedday /*int*/ ) { if (true) return "";}; - //BA.debugLineNum = 129;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 130;BA.debugLine="tempSelectedDay = newSelectedDay"; -_tempselectedday = _newselectedday; - //BA.debugLineNum = 131;BA.debugLine="If validDay Then"; +RDebugUtils.currentLine=19464198; + //BA.debugLineNum = 19464198;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=19464199; + //BA.debugLineNum = 19464199;BA.debugLine="tempSelectedDay = newSelectedDay"; +__ref._tempselectedday /*int*/ = _newselectedday; +RDebugUtils.currentLine=19464200; + //BA.debugLineNum = 19464200;BA.debugLine="If validDay Then"; if (_validday) { - //BA.debugLineNum = 132;BA.debugLine="DrawBox(cvsBackground, HighlightedColor, boxX,"; -_drawbox(_cvsbackground,_highlightedcolor,_boxx,_boxy); +RDebugUtils.currentLine=19464201; + //BA.debugLineNum = 19464201;BA.debugLine="DrawBox(cvsBackground, HighlightedColor, boxX,"; +__ref._drawbox /*String*/ (null,__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ ,__ref._highlightedcolor /*int*/ ,_boxx,_boxy); }; }else { - //BA.debugLineNum = 135;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 136;BA.debugLine="If validDay Then"; +RDebugUtils.currentLine=19464204; + //BA.debugLineNum = 19464204;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=19464205; + //BA.debugLineNum = 19464205;BA.debugLine="If validDay Then"; if (_validday) { - //BA.debugLineNum = 137;BA.debugLine="SelectDay(newSelectedDay)"; -_selectday(_newselectedday); - //BA.debugLineNum = 138;BA.debugLine="If CloseOnSelection Then"; -if (_closeonselection) { - //BA.debugLineNum = 139;BA.debugLine="Hide"; -_hide(); +RDebugUtils.currentLine=19464206; + //BA.debugLineNum = 19464206;BA.debugLine="SelectDay(newSelectedDay)"; +__ref._selectday /*String*/ (null,_newselectedday); +RDebugUtils.currentLine=19464207; + //BA.debugLineNum = 19464207;BA.debugLine="If CloseOnSelection Then"; +if (__ref._closeonselection /*boolean*/ ) { +RDebugUtils.currentLine=19464208; + //BA.debugLineNum = 19464208;BA.debugLine="Hide"; +__ref._hide /*String*/ (null); }else { - //BA.debugLineNum = 141;BA.debugLine="DrawDays"; -_drawdays(); +RDebugUtils.currentLine=19464210; + //BA.debugLineNum = 19464210;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); }; }; }; - //BA.debugLineNum = 146;BA.debugLine="cvsBackground.Invalidate"; -_cvsbackground.Invalidate(); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; +RDebugUtils.currentLine=19464215; + //BA.debugLineNum = 19464215;BA.debugLine="cvsBackground.Invalidate"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=19464216; + //BA.debugLineNum = 19464216;BA.debugLine="End Sub"; return ""; } -public String _hide() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Private Sub Hide"; - //BA.debugLineNum = 150;BA.debugLine="mDialog.Close(xui.DialogResponse_Positive)"; -_mdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +public String _dialogclosed(reparto_intmex.keymon.lat.b4xdatetemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=19922944; + //BA.debugLineNum = 19922944;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=19922945; + //BA.debugLineNum = 19922945;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +if (_result!=__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=19922946; + //BA.debugLineNum = 19922946;BA.debugLine="setDate(PreviousSelectedDate)"; +__ref._setdate /*String*/ (null,__ref._previousselecteddate /*long*/ ); + }; +RDebugUtils.currentLine=19922948; + //BA.debugLineNum = 19922948;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 37;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 38;BA.debugLine="pnlDialog = xui.CreatePanel(\"\")"; -_pnldialog = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 39;BA.debugLine="pnlDialog.SetLayoutAnimated(0, 0, 0, 320dip,300di"; -_pnldialog.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (320)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 40;BA.debugLine="pnlDialog.LoadLayout(\"DateTemplate\")"; -_pnldialog.LoadLayout("DateTemplate",ba); - //BA.debugLineNum = 41;BA.debugLine="pnlDialog.Tag = Me"; -_pnldialog.setTag(this); - //BA.debugLineNum = 42;BA.debugLine="month = DateTime.GetMonth(DateTime.Now)"; -_month = __c.DateTime.GetMonth(__c.DateTime.getNow()); - //BA.debugLineNum = 43;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; -_year = __c.DateTime.GetYear(__c.DateTime.getNow()); - //BA.debugLineNum = 44;BA.debugLine="months = DateUtils.GetMonthsNames"; -_months = _dateutils._getmonthsnames(ba); - //BA.debugLineNum = 45;BA.debugLine="selectedDate = DateTime.Now"; -_selecteddate = __c.DateTime.getNow(); - //BA.debugLineNum = 46;BA.debugLine="setDate(selectedDate)"; -_setdate(_selecteddate); - //BA.debugLineNum = 47;BA.debugLine="cvs.Initialize(DaysPaneFg)"; -_cvs.Initialize(_dayspanefg); - //BA.debugLineNum = 48;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; -_cvsbackground.Initialize(_dayspanebg); - //BA.debugLineNum = 49;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; -_boxw = (float) (_cvs.getTargetRect().getWidth()/(double)7); - //BA.debugLineNum = 50;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; -_boxh = (float) (_cvs.getTargetRect().getHeight()/(double)6); - //BA.debugLineNum = 51;BA.debugLine="vCorrection = 5dip"; -_vcorrection = (float) (__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 52;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; -_cvsdays.Initialize(_daystitlespane); - //BA.debugLineNum = 58;BA.debugLine="DaysOfWeekNames.Initialize"; -_daysofweeknames.Initialize(); - //BA.debugLineNum = 59;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; -_daysofweeknames.AddAll(_dateutils._getdaysnames(ba)); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public String _selectday(int _day) throws Exception{ - //BA.debugLineNum = 115;BA.debugLine="Private Sub SelectDay(day As Int)"; - //BA.debugLineNum = 116;BA.debugLine="selectedDate = DateUtils.setDate(year, month, day"; -_selecteddate = _dateutils._setdate(ba,_year,_month,_day); - //BA.debugLineNum = 117;BA.debugLine="selectedDay = day"; -_selectedday = _day; - //BA.debugLineNum = 118;BA.debugLine="selectedMonth = month"; -_selectedmonth = _month; - //BA.debugLineNum = 119;BA.debugLine="selectedYear = year"; -_selectedyear = _year; - //BA.debugLineNum = 120;BA.debugLine="End Sub"; -return ""; -} -public String _setdate(long _date) throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Public Sub setDate(date As Long)"; - //BA.debugLineNum = 104;BA.debugLine="If lblYear.IsInitialized = False Then"; -if (_lblyear.IsInitialized()==__c.False) { - //BA.debugLineNum = 105;BA.debugLine="selectedDate = date"; -_selecteddate = _date; - //BA.debugLineNum = 106;BA.debugLine="Return 'the date will be set after the layout is"; +public String _setdate(reparto_intmex.keymon.lat.b4xdatetemplate __ref,long _date) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "setdate", true)) + {return ((String) Debug.delegate(ba, "setdate", new Object[] {_date}));} +RDebugUtils.currentLine=19333120; + //BA.debugLineNum = 19333120;BA.debugLine="Public Sub setDate(date As Long)"; +RDebugUtils.currentLine=19333122; + //BA.debugLineNum = 19333122;BA.debugLine="If lblYear.IsInitialized = False Then"; +if (__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()==__c.False) { +RDebugUtils.currentLine=19333123; + //BA.debugLineNum = 19333123;BA.debugLine="selectedDate = date"; +__ref._selecteddate /*long*/ = _date; +RDebugUtils.currentLine=19333124; + //BA.debugLineNum = 19333124;BA.debugLine="Return 'the date will be set after the layout is"; if (true) return ""; }; - //BA.debugLineNum = 108;BA.debugLine="year = DateTime.GetYear(date)"; -_year = __c.DateTime.GetYear(_date); - //BA.debugLineNum = 109;BA.debugLine="month = DateTime.GetMonth(date)"; -_month = __c.DateTime.GetMonth(_date); - //BA.debugLineNum = 110;BA.debugLine="SelectDay(DateTime.GetDayOfMonth(date))"; -_selectday(__c.DateTime.GetDayOfMonth(_date)); - //BA.debugLineNum = 111;BA.debugLine="lblYear.Text = year"; -_lblyear.setText(BA.ObjectToCharSequence(_year)); - //BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; -_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1)))); - //BA.debugLineNum = 113;BA.debugLine="End Sub"; +RDebugUtils.currentLine=19333126; + //BA.debugLineNum = 19333126;BA.debugLine="year = DateTime.GetYear(date)"; +__ref._year /*int*/ = __c.DateTime.GetYear(_date); +RDebugUtils.currentLine=19333127; + //BA.debugLineNum = 19333127;BA.debugLine="month = DateTime.GetMonth(date)"; +__ref._month /*int*/ = __c.DateTime.GetMonth(_date); +RDebugUtils.currentLine=19333128; + //BA.debugLineNum = 19333128;BA.debugLine="SelectDay(DateTime.GetDayOfMonth(date))"; +__ref._selectday /*String*/ (null,__c.DateTime.GetDayOfMonth(_date)); +RDebugUtils.currentLine=19333129; + //BA.debugLineNum = 19333129;BA.debugLine="lblYear.Text = year"; +__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._year /*int*/ )); +RDebugUtils.currentLine=19333130; + //BA.debugLineNum = 19333130;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; +__ref._lblmonth /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._months /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._month /*int*/ -1)))); +RDebugUtils.currentLine=19333131; + //BA.debugLineNum = 19333131;BA.debugLine="End Sub"; return ""; } -public String _setyearsbuttonstate() throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Private Sub SetYearsButtonState"; - //BA.debugLineNum = 87;BA.debugLine="btnYearLeft.Enabled = year > MinYear"; -_btnyearleft.setEnabled(_year>_minyear); - //BA.debugLineNum = 88;BA.debugLine="btnYearRight.Enabled = year < MaxYear"; -_btnyearright.setEnabled(_year<_maxyear); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; +public String _drawbox(reparto_intmex.keymon.lat.b4xdatetemplate __ref,anywheresoftware.b4a.objects.B4XCanvas _c,int _clr,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "drawbox", true)) + {return ((String) Debug.delegate(ba, "drawbox", new Object[] {_c,_clr,_x,_y}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=19202048; + //BA.debugLineNum = 19202048;BA.debugLine="Private Sub DrawBox(c As B4XCanvas, clr As Int, x"; +RDebugUtils.currentLine=19202049; + //BA.debugLineNum = 19202049;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=19202050; + //BA.debugLineNum = 19202050;BA.debugLine="r.Initialize(x * boxW, y * boxH, x * boxW + boxW,"; +_r.Initialize((float) (_x*__ref._boxw /*float*/ ),(float) (_y*__ref._boxh /*float*/ ),(float) (_x*__ref._boxw /*float*/ +__ref._boxw /*float*/ ),(float) (_y*__ref._boxh /*float*/ +__ref._boxh /*float*/ )); +RDebugUtils.currentLine=19202051; + //BA.debugLineNum = 19202051;BA.debugLine="c.DrawRect(r, clr, True, 1dip)"; +_c.DrawRect(_r,_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); +RDebugUtils.currentLine=19202052; + //BA.debugLineNum = 19202052;BA.debugLine="End Sub"; return ""; } -public void _show(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public String _setyearsbuttonstate(reparto_intmex.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "setyearsbuttonstate", true)) + {return ((String) Debug.delegate(ba, "setyearsbuttonstate", null));} +RDebugUtils.currentLine=19136512; + //BA.debugLineNum = 19136512;BA.debugLine="Private Sub SetYearsButtonState"; +RDebugUtils.currentLine=19136513; + //BA.debugLineNum = 19136513;BA.debugLine="btnYearLeft.Enabled = year > MinYear"; +__ref._btnyearleft /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._year /*int*/ >__ref._minyear /*int*/ ); +RDebugUtils.currentLine=19136514; + //BA.debugLineNum = 19136514;BA.debugLine="btnYearRight.Enabled = year < MaxYear"; +__ref._btnyearright /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._year /*int*/ <__ref._maxyear /*int*/ ); +RDebugUtils.currentLine=19136515; + //BA.debugLineNum = 19136515;BA.debugLine="End Sub"; +return ""; +} +public long _getdate(reparto_intmex.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "getdate", true)) + {return ((Long) Debug.delegate(ba, "getdate", null));} +RDebugUtils.currentLine=19267584; + //BA.debugLineNum = 19267584;BA.debugLine="Public Sub getDate As Long"; +RDebugUtils.currentLine=19267585; + //BA.debugLineNum = 19267585;BA.debugLine="Return selectedDate"; +if (true) return __ref._selecteddate /*long*/ ; +RDebugUtils.currentLine=19267586; + //BA.debugLineNum = 19267586;BA.debugLine="End Sub"; +return 0L; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdatetemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=19791872; + //BA.debugLineNum = 19791872;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=19791873; + //BA.debugLineNum = 19791873;BA.debugLine="Return pnlDialog"; +if (true) return __ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=19791874; + //BA.debugLineNum = 19791874;BA.debugLine="End Sub"; +return null; +} +public String _selectday(reparto_intmex.keymon.lat.b4xdatetemplate __ref,int _day) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "selectday", true)) + {return ((String) Debug.delegate(ba, "selectday", new Object[] {_day}));} +RDebugUtils.currentLine=19398656; + //BA.debugLineNum = 19398656;BA.debugLine="Private Sub SelectDay(day As Int)"; +RDebugUtils.currentLine=19398657; + //BA.debugLineNum = 19398657;BA.debugLine="selectedDate = DateUtils.setDate(year, month, day"; +__ref._selecteddate /*long*/ = _dateutils._setdate(ba,__ref._year /*int*/ ,__ref._month /*int*/ ,_day); +RDebugUtils.currentLine=19398658; + //BA.debugLineNum = 19398658;BA.debugLine="selectedDay = day"; +__ref._selectedday /*int*/ = _day; +RDebugUtils.currentLine=19398659; + //BA.debugLineNum = 19398659;BA.debugLine="selectedMonth = month"; +__ref._selectedmonth /*int*/ = __ref._month /*int*/ ; +RDebugUtils.currentLine=19398660; + //BA.debugLineNum = 19398660;BA.debugLine="selectedYear = year"; +__ref._selectedyear /*int*/ = __ref._year /*int*/ ; +RDebugUtils.currentLine=19398661; + //BA.debugLineNum = 19398661;BA.debugLine="End Sub"; +return ""; +} +public String _hide(reparto_intmex.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "hide", true)) + {return ((String) Debug.delegate(ba, "hide", null));} +RDebugUtils.currentLine=19529728; + //BA.debugLineNum = 19529728;BA.debugLine="Private Sub Hide"; +RDebugUtils.currentLine=19529729; + //BA.debugLineNum = 19529729;BA.debugLine="mDialog.Close(xui.DialogResponse_Positive)"; +__ref._mdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); +RDebugUtils.currentLine=19529730; + //BA.debugLineNum = 19529730;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_intmex.keymon.lat.b4xdatetemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=19005440; + //BA.debugLineNum = 19005440;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=19005441; + //BA.debugLineNum = 19005441;BA.debugLine="pnlDialog = xui.CreatePanel(\"\")"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=19005442; + //BA.debugLineNum = 19005442;BA.debugLine="pnlDialog.SetLayoutAnimated(0, 0, 0, 320dip,300di"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (320)),__c.DipToCurrent((int) (300))); +RDebugUtils.currentLine=19005443; + //BA.debugLineNum = 19005443;BA.debugLine="pnlDialog.LoadLayout(\"DateTemplate\")"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("DateTemplate",ba); +RDebugUtils.currentLine=19005444; + //BA.debugLineNum = 19005444;BA.debugLine="pnlDialog.Tag = Me"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=19005445; + //BA.debugLineNum = 19005445;BA.debugLine="month = DateTime.GetMonth(DateTime.Now)"; +__ref._month /*int*/ = __c.DateTime.GetMonth(__c.DateTime.getNow()); +RDebugUtils.currentLine=19005446; + //BA.debugLineNum = 19005446;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; +__ref._year /*int*/ = __c.DateTime.GetYear(__c.DateTime.getNow()); +RDebugUtils.currentLine=19005447; + //BA.debugLineNum = 19005447;BA.debugLine="months = DateUtils.GetMonthsNames"; +__ref._months /*anywheresoftware.b4a.objects.collections.List*/ = _dateutils._getmonthsnames(ba); +RDebugUtils.currentLine=19005448; + //BA.debugLineNum = 19005448;BA.debugLine="selectedDate = DateTime.Now"; +__ref._selecteddate /*long*/ = __c.DateTime.getNow(); +RDebugUtils.currentLine=19005449; + //BA.debugLineNum = 19005449;BA.debugLine="setDate(selectedDate)"; +__ref._setdate /*String*/ (null,__ref._selecteddate /*long*/ ); +RDebugUtils.currentLine=19005450; + //BA.debugLineNum = 19005450;BA.debugLine="cvs.Initialize(DaysPaneFg)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._dayspanefg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=19005451; + //BA.debugLineNum = 19005451;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._dayspanebg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=19005452; + //BA.debugLineNum = 19005452;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; +__ref._boxw /*float*/ = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()/(double)7); +RDebugUtils.currentLine=19005453; + //BA.debugLineNum = 19005453;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; +__ref._boxh /*float*/ = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()/(double)6); +RDebugUtils.currentLine=19005454; + //BA.debugLineNum = 19005454;BA.debugLine="vCorrection = 5dip"; +__ref._vcorrection /*float*/ = (float) (__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=19005455; + //BA.debugLineNum = 19005455;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._daystitlespane /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=19005461; + //BA.debugLineNum = 19005461;BA.debugLine="DaysOfWeekNames.Initialize"; +__ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=19005462; + //BA.debugLineNum = 19005462;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; +__ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ .AddAll(_dateutils._getdaysnames(ba)); +RDebugUtils.currentLine=19005463; + //BA.debugLineNum = 19005463;BA.debugLine="End Sub"; +return ""; +} +public void _show(reparto_intmex.keymon.lat.b4xdatetemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(reparto_intmex.keymon.lat.b4xdatetemplate parent,reparto_intmex.keymon.lat.b4xdialog _dialog) { +public ResumableSub_Show(reparto_intmex.keymon.lat.b4xdatetemplate parent,reparto_intmex.keymon.lat.b4xdatetemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xdatetemplate __ref; reparto_intmex.keymon.lat.b4xdatetemplate parent; reparto_intmex.keymon.lat.b4xdialog _dialog; anywheresoftware.b4a.objects.collections.List _days = null; @@ -436,6 +650,7 @@ int limit4; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdatetemplate"; while (true) { switch (state) { @@ -445,22 +660,26 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 177;BA.debugLine="Dim days As List = DaysOfWeekNames"; +RDebugUtils.currentLine=19857409; + //BA.debugLineNum = 19857409;BA.debugLine="Dim days As List = DaysOfWeekNames"; _days = new anywheresoftware.b4a.objects.collections.List(); -_days = parent._daysofweeknames; - //BA.debugLineNum = 178;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; -_daysfont = parent._xui.CreateDefaultBoldFont((float) (14)); - //BA.debugLineNum = 179;BA.debugLine="cvsDays.ClearRect(cvsDays.TargetRect)"; -parent._cvsdays.ClearRect(parent._cvsdays.getTargetRect()); - //BA.debugLineNum = 180;BA.debugLine="For i = FirstDay To FirstDay + 7 - 1"; +_days = __ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=19857410; + //BA.debugLineNum = 19857410;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +_daysfont = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (14)); +RDebugUtils.currentLine=19857411; + //BA.debugLineNum = 19857411;BA.debugLine="cvsDays.ClearRect(cvsDays.TargetRect)"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=19857412; + //BA.debugLineNum = 19857412;BA.debugLine="For i = FirstDay To FirstDay + 7 - 1"; if (true) break; case 1: //for this.state = 10; step4 = 1; -limit4 = (int) (parent._firstday+7-1); -_i = parent._firstday ; +limit4 = (int) (__ref._firstday /*int*/ +7-1); +_i = __ref._firstday /*int*/ ; this.state = 11; if (true) break; @@ -479,9 +698,11 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 181;BA.debugLine="Dim d As String = days.Get(i Mod 7)"; +RDebugUtils.currentLine=19857413; + //BA.debugLineNum = 19857413;BA.debugLine="Dim d As String = days.Get(i Mod 7)"; _d = BA.ObjectToString(_days.Get((int) (_i%7))); - //BA.debugLineNum = 182;BA.debugLine="If d.Length > 2 Then d = d.SubString2(0, 2)"; +RDebugUtils.currentLine=19857414; + //BA.debugLineNum = 19857414;BA.debugLine="If d.Length > 2 Then d = d.SubString2(0, 2)"; if (true) break; case 4: @@ -501,8 +722,9 @@ case 9: //C this.state = 12; ; - //BA.debugLineNum = 183;BA.debugLine="cvsDays.DrawText(d, (i - FirstDay + 0.5) * boxW,"; -parent._cvsdays.DrawText(ba,_d,(float) ((_i-parent._firstday+0.5)*parent._boxw),(float) (parent.__c.DipToCurrent((int) (20))),_daysfont,parent._daysinweekcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=19857415; + //BA.debugLineNum = 19857415;BA.debugLine="cvsDays.DrawText(d, (i - FirstDay + 0.5) * boxW,"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawText(ba,_d,(float) ((_i-__ref._firstday /*int*/ +0.5)*__ref._boxw /*float*/ ),(float) (parent.__c.DipToCurrent((int) (20))),_daysfont,__ref._daysinweekcolor /*int*/ ,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); if (true) break; if (true) break; @@ -510,37 +732,36 @@ case 10: //C this.state = -1; ; - //BA.debugLineNum = 185;BA.debugLine="cvsDays.Invalidate"; -parent._cvsdays.Invalidate(); - //BA.debugLineNum = 186;BA.debugLine="mDialog = Dialog"; -parent._mdialog = _dialog; - //BA.debugLineNum = 187;BA.debugLine="DrawDays"; -parent._drawdays(); - //BA.debugLineNum = 188;BA.debugLine="PreviousSelectedDate = selectedDate"; -parent._previousselecteddate = parent._selecteddate; - //BA.debugLineNum = 189;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); +RDebugUtils.currentLine=19857417; + //BA.debugLineNum = 19857417;BA.debugLine="cvsDays.Invalidate"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=19857418; + //BA.debugLineNum = 19857418;BA.debugLine="mDialog = Dialog"; +__ref._mdialog /*reparto_intmex.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=19857419; + //BA.debugLineNum = 19857419;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=19857420; + //BA.debugLineNum = 19857420;BA.debugLine="PreviousSelectedDate = selectedDate"; +__ref._previousselecteddate /*long*/ = __ref._selecteddate /*long*/ ; +RDebugUtils.currentLine=19857421; + //BA.debugLineNum = 19857421;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdatetemplate", "show"),(int) (0)); this.state = 13; return; case 13: //C this.state = -1; ; - //BA.debugLineNum = 190;BA.debugLine="SetYearsButtonState"; -parent._setyearsbuttonstate(); - //BA.debugLineNum = 191;BA.debugLine="End Sub"; +RDebugUtils.currentLine=19857422; + //BA.debugLineNum = 19857422;BA.debugLine="SetYearsButtonState"; +__ref._setyearsbuttonstate /*String*/ (null); +RDebugUtils.currentLine=19857423; + //BA.debugLineNum = 19857423;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((reparto_intmex.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xdialog.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xdialog.java index f109f4c..a7164bd 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xdialog.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xdialog.java @@ -10,7 +10,7 @@ public class b4xdialog extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xdialog"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xdialog"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xdialog extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public int _buttonsheight = 0; public int _titlebarheight = 0; @@ -56,10 +63,10 @@ public anywheresoftware.b4a.objects.collections.Map _buttonsstate = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -67,17 +74,57 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _background_click() throws Exception{ - //BA.debugLineNum = 258;BA.debugLine="Private Sub Background_Click"; - //BA.debugLineNum = 260;BA.debugLine="End Sub"; +public boolean _close(reparto_intmex.keymon.lat.b4xdialog __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "close", true)) + {return ((Boolean) Debug.delegate(ba, "close", new Object[] {_result}));} +RDebugUtils.currentLine=20643840; + //BA.debugLineNum = 20643840;BA.debugLine="Public Sub Close (Result As Int) As Boolean"; +RDebugUtils.currentLine=20643841; + //BA.debugLineNum = 20643841;BA.debugLine="If getVisible Then"; +if (__ref._getvisible /*boolean*/ (null)) { +RDebugUtils.currentLine=20643842; + //BA.debugLineNum = 20643842;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; +__c.CallSubDelayed2(ba,this,"CloseMessage",(Object)(_result)); +RDebugUtils.currentLine=20643843; + //BA.debugLineNum = 20643843;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=20643845; + //BA.debugLineNum = 20643845;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=20643846; + //BA.debugLineNum = 20643846;BA.debugLine="End Sub"; +return false; +} +public String _background_click(reparto_intmex.keymon.lat.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "background_click", true)) + {return ((String) Debug.delegate(ba, "background_click", null));} +RDebugUtils.currentLine=20774912; + //BA.debugLineNum = 20774912;BA.debugLine="Private Sub Background_Click"; +RDebugUtils.currentLine=20774914; + //BA.debugLineNum = 20774914;BA.debugLine="End Sub"; return ""; } -public String _background_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Private Sub Background_Touch (Action As Int, X As"; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +public String _background_touch(reparto_intmex.keymon.lat.b4xdialog __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "background_touch", true)) + {return ((String) Debug.delegate(ba, "background_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=20709376; + //BA.debugLineNum = 20709376;BA.debugLine="Private Sub Background_Touch (Action As Int, X As"; +RDebugUtils.currentLine=20709378; + //BA.debugLineNum = 20709378;BA.debugLine="End Sub"; return ""; } -public b4a.example.bitmapcreator _blur(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +public b4a.example.bitmapcreator _blur(reparto_intmex.keymon.lat.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "blur", true)) + {return ((b4a.example.bitmapcreator) Debug.delegate(ba, "blur", new Object[] {_bmp}));} b4a.example.bitmapcreator _bc = null; int _reducescale = 0; int _count = 0; @@ -87,18 +134,25 @@ int _m = 0; int _steps = 0; int _y = 0; int _x = 0; - //BA.debugLineNum = 287;BA.debugLine="Private Sub Blur (bmp As B4XBitmap) As BitmapCreat"; - //BA.debugLineNum = 288;BA.debugLine="Dim bc As BitmapCreator"; +RDebugUtils.currentLine=20971520; + //BA.debugLineNum = 20971520;BA.debugLine="Private Sub Blur (bmp As B4XBitmap) As BitmapCreat"; +RDebugUtils.currentLine=20971521; + //BA.debugLineNum = 20971521;BA.debugLine="Dim bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 289;BA.debugLine="Dim ReduceScale As Int = BlurReduceScale"; -_reducescale = _blurreducescale; - //BA.debugLineNum = 290;BA.debugLine="bc.Initialize(bmp.Width / ReduceScale / bmp.Scale"; +RDebugUtils.currentLine=20971522; + //BA.debugLineNum = 20971522;BA.debugLine="Dim ReduceScale As Int = BlurReduceScale"; +_reducescale = __ref._blurreducescale /*int*/ ; +RDebugUtils.currentLine=20971523; + //BA.debugLineNum = 20971523;BA.debugLine="bc.Initialize(bmp.Width / ReduceScale / bmp.Scale"; _bc._initialize(ba,(int) (_bmp.getWidth()/(double)_reducescale/(double)_bmp.getScale()),(int) (_bmp.getHeight()/(double)_reducescale/(double)_bmp.getScale())); - //BA.debugLineNum = 291;BA.debugLine="bc.CopyPixelsFromBitmap(bmp)"; +RDebugUtils.currentLine=20971524; + //BA.debugLineNum = 20971524;BA.debugLine="bc.CopyPixelsFromBitmap(bmp)"; _bc._copypixelsfrombitmap(_bmp); - //BA.debugLineNum = 292;BA.debugLine="Dim count As Int = 2"; +RDebugUtils.currentLine=20971525; + //BA.debugLineNum = 20971525;BA.debugLine="Dim count As Int = 2"; _count = (int) (2); - //BA.debugLineNum = 293;BA.debugLine="Dim clrs(3) As ARGBColor"; +RDebugUtils.currentLine=20971526; + //BA.debugLineNum = 20971526;BA.debugLine="Dim clrs(3) As ARGBColor"; _clrs = new b4a.example.bitmapcreator._argbcolor[(int) (3)]; { int d0 = _clrs.length; @@ -107,321 +161,131 @@ _clrs[i0] = new b4a.example.bitmapcreator._argbcolor(); } } ; - //BA.debugLineNum = 294;BA.debugLine="Dim temp As ARGBColor"; +RDebugUtils.currentLine=20971527; + //BA.debugLineNum = 20971527;BA.debugLine="Dim temp As ARGBColor"; _temp = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 295;BA.debugLine="Dim m As Int"; +RDebugUtils.currentLine=20971528; + //BA.debugLineNum = 20971528;BA.debugLine="Dim m As Int"; _m = 0; - //BA.debugLineNum = 296;BA.debugLine="For steps = 1 To count"; +RDebugUtils.currentLine=20971529; + //BA.debugLineNum = 20971529;BA.debugLine="For steps = 1 To count"; { final int step9 = 1; final int limit9 = _count; _steps = (int) (1) ; for (;_steps <= limit9 ;_steps = _steps + step9 ) { - //BA.debugLineNum = 297;BA.debugLine="For y = 0 To bc.mHeight - 1"; +RDebugUtils.currentLine=20971530; + //BA.debugLineNum = 20971530;BA.debugLine="For y = 0 To bc.mHeight - 1"; { final int step10 = 1; final int limit10 = (int) (_bc._mheight-1); _y = (int) (0) ; for (;_y <= limit10 ;_y = _y + step10 ) { - //BA.debugLineNum = 298;BA.debugLine="For x = 0 To 2"; +RDebugUtils.currentLine=20971531; + //BA.debugLineNum = 20971531;BA.debugLine="For x = 0 To 2"; { final int step11 = 1; final int limit11 = (int) (2); _x = (int) (0) ; for (;_x <= limit11 ;_x = _x + step11 ) { - //BA.debugLineNum = 299;BA.debugLine="bc.GetARGB(x, y, clrs(x))"; +RDebugUtils.currentLine=20971532; + //BA.debugLineNum = 20971532;BA.debugLine="bc.GetARGB(x, y, clrs(x))"; _bc._getargb(_x,_y,_clrs[_x]); } }; - //BA.debugLineNum = 301;BA.debugLine="SetAvg(bc, 1, y, clrs, temp)"; -_setavg(_bc,(int) (1),_y,_clrs,_temp); - //BA.debugLineNum = 302;BA.debugLine="m = 0"; +RDebugUtils.currentLine=20971534; + //BA.debugLineNum = 20971534;BA.debugLine="SetAvg(bc, 1, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,(int) (1),_y,_clrs,_temp); +RDebugUtils.currentLine=20971535; + //BA.debugLineNum = 20971535;BA.debugLine="m = 0"; _m = (int) (0); - //BA.debugLineNum = 303;BA.debugLine="For x = 2 To bc.mWidth - 2"; +RDebugUtils.currentLine=20971536; + //BA.debugLineNum = 20971536;BA.debugLine="For x = 2 To bc.mWidth - 2"; { final int step16 = 1; final int limit16 = (int) (_bc._mwidth-2); _x = (int) (2) ; for (;_x <= limit16 ;_x = _x + step16 ) { - //BA.debugLineNum = 304;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; +RDebugUtils.currentLine=20971537; + //BA.debugLineNum = 20971537;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; _bc._getargb((int) (_x+1),_y,_clrs[_m]); - //BA.debugLineNum = 305;BA.debugLine="m = (m + 1) Mod 3"; +RDebugUtils.currentLine=20971538; + //BA.debugLineNum = 20971538;BA.debugLine="m = (m + 1) Mod 3"; _m = (int) ((_m+1)%3); - //BA.debugLineNum = 306;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; -_setavg(_bc,_x,_y,_clrs,_temp); +RDebugUtils.currentLine=20971539; + //BA.debugLineNum = 20971539;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,_y,_clrs,_temp); } }; } }; - //BA.debugLineNum = 309;BA.debugLine="For x = 0 To bc.mWidth - 1"; +RDebugUtils.currentLine=20971542; + //BA.debugLineNum = 20971542;BA.debugLine="For x = 0 To bc.mWidth - 1"; { final int step22 = 1; final int limit22 = (int) (_bc._mwidth-1); _x = (int) (0) ; for (;_x <= limit22 ;_x = _x + step22 ) { - //BA.debugLineNum = 310;BA.debugLine="For y = 0 To 2"; +RDebugUtils.currentLine=20971543; + //BA.debugLineNum = 20971543;BA.debugLine="For y = 0 To 2"; { final int step23 = 1; final int limit23 = (int) (2); _y = (int) (0) ; for (;_y <= limit23 ;_y = _y + step23 ) { - //BA.debugLineNum = 311;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; +RDebugUtils.currentLine=20971544; + //BA.debugLineNum = 20971544;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; _bc._getargb(_x,_y,_clrs[_y]); } }; - //BA.debugLineNum = 313;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; -_setavg(_bc,_x,(int) (1),_clrs,_temp); - //BA.debugLineNum = 314;BA.debugLine="m = 0"; +RDebugUtils.currentLine=20971546; + //BA.debugLineNum = 20971546;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,(int) (1),_clrs,_temp); +RDebugUtils.currentLine=20971547; + //BA.debugLineNum = 20971547;BA.debugLine="m = 0"; _m = (int) (0); - //BA.debugLineNum = 315;BA.debugLine="For y = 2 To bc.mHeight - 2"; +RDebugUtils.currentLine=20971548; + //BA.debugLineNum = 20971548;BA.debugLine="For y = 2 To bc.mHeight - 2"; { final int step28 = 1; final int limit28 = (int) (_bc._mheight-2); _y = (int) (2) ; for (;_y <= limit28 ;_y = _y + step28 ) { - //BA.debugLineNum = 316;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; +RDebugUtils.currentLine=20971549; + //BA.debugLineNum = 20971549;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; _bc._getargb(_x,(int) (_y+1),_clrs[_m]); - //BA.debugLineNum = 317;BA.debugLine="m = (m + 1) Mod 3"; +RDebugUtils.currentLine=20971550; + //BA.debugLineNum = 20971550;BA.debugLine="m = (m + 1) Mod 3"; _m = (int) ((_m+1)%3); - //BA.debugLineNum = 318;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; -_setavg(_bc,_x,_y,_clrs,_temp); +RDebugUtils.currentLine=20971551; + //BA.debugLineNum = 20971551;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,_y,_clrs,_temp); } }; } }; } }; - //BA.debugLineNum = 322;BA.debugLine="Return bc"; +RDebugUtils.currentLine=20971555; + //BA.debugLineNum = 20971555;BA.debugLine="Return bc"; if (true) return _bc; - //BA.debugLineNum = 323;BA.debugLine="End Sub"; +RDebugUtils.currentLine=20971556; + //BA.debugLineNum = 20971556;BA.debugLine="End Sub"; return null; } -public String _button_click() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 233;BA.debugLine="Private Sub Button_Click"; - //BA.debugLineNum = 234;BA.debugLine="Dim b As B4XView = Sender"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 235;BA.debugLine="If ButtonsState.GetDefault(b.Tag, True) = False T"; -if ((_buttonsstate.GetDefault(_b.getTag(),(Object)(__c.True))).equals((Object)(__c.False))) { -if (true) return "";}; - //BA.debugLineNum = 236;BA.debugLine="Close(b.Tag)"; -_close((int)(BA.ObjectToNumber(_b.getTag()))); - //BA.debugLineNum = 237;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Public ButtonsHeight As Int = 40dip"; -_buttonsheight = __c.DipToCurrent((int) (40)); - //BA.debugLineNum = 7;BA.debugLine="Public TitleBarHeight As Int = 30dip"; -_titlebarheight = __c.DipToCurrent((int) (30)); - //BA.debugLineNum = 8;BA.debugLine="Private ButtonWidth As Int = 80dip"; -_buttonwidth = __c.DipToCurrent((int) (80)); - //BA.debugLineNum = 9;BA.debugLine="Public Base As B4XView"; -_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; -_backgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 11;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; -_overlaycolor = ((int)0xaa000000); - //BA.debugLineNum = 12;BA.debugLine="Public BorderColor As Int = 0xff000000"; -_bordercolor = ((int)0xff000000); - //BA.debugLineNum = 13;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; -_bordercornersradius = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 14;BA.debugLine="Public BorderWidth As Int = 2dip"; -_borderwidth = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 15;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; -_buttonscolor = ((int)0xff555555); - //BA.debugLineNum = 16;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; -_buttonstextcolor = ((int)0xff89d5ff); - //BA.debugLineNum = 17;BA.debugLine="Private Background As B4XView"; -_background = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private BlurImageView As B4XView"; -_blurimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Public BlurBackground As Boolean"; -_blurbackground = false; - //BA.debugLineNum = 20;BA.debugLine="Private BlurReduceScale As Int"; -_blurreducescale = 0; - //BA.debugLineNum = 21;BA.debugLine="Public mParent As B4XView"; -_mparent = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public Title As Object = \"\""; -_title = (Object)(""); - //BA.debugLineNum = 23;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; -_titlebarcolor = ((int)0xff0083b8); - //BA.debugLineNum = 24;BA.debugLine="Public TitleBarTextColor As Int"; -_titlebartextcolor = 0; - //BA.debugLineNum = 25;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; -_bodytextcolor = _xui.Color_White; - //BA.debugLineNum = 26;BA.debugLine="Public TitleBar As B4XView"; -_titlebar = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Public PutAtTop As Boolean"; -_putattop = false; - //BA.debugLineNum = 28;BA.debugLine="Public TitleBarFont As B4XFont"; -_titlebarfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 29;BA.debugLine="Public ButtonsFont As B4XFont"; -_buttonsfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 30;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; -_buttonstextcolordisabled = ((int)0xff808080); - //BA.debugLineNum = 31;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; -_visibleanimationduration = (int) (100); - //BA.debugLineNum = 32;BA.debugLine="Public ButtonsOrder() As Int = Array As Int(xui.D"; -_buttonsorder = new int[]{_xui.DialogResponse_Positive,_xui.DialogResponse_Negative,_xui.DialogResponse_Cancel}; - //BA.debugLineNum = 33;BA.debugLine="Public ButtonsState As Map"; -_buttonsstate = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public boolean _close(int _result) throws Exception{ - //BA.debugLineNum = 239;BA.debugLine="Public Sub Close (Result As Int) As Boolean"; - //BA.debugLineNum = 240;BA.debugLine="If getVisible Then"; -if (_getvisible()) { - //BA.debugLineNum = 241;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; -__c.CallSubDelayed2(ba,this,"CloseMessage",(Object)(_result)); - //BA.debugLineNum = 242;BA.debugLine="Return True"; -if (true) return __c.True; - }; - //BA.debugLineNum = 244;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 245;BA.debugLine="End Sub"; -return false; -} -public String _createbutton(Object _text,int _code) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _btn = null; -anywheresoftware.b4a.objects.B4XViewWrapper _xbtn = null; -int _numberofbuttons = 0; - //BA.debugLineNum = 193;BA.debugLine="Private Sub CreateButton (Text As Object, Code As"; - //BA.debugLineNum = 194;BA.debugLine="If Text = \"\" Then Return"; -if ((_text).equals((Object)(""))) { -if (true) return "";}; - //BA.debugLineNum = 198;BA.debugLine="Dim btn As Label"; -_btn = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 200;BA.debugLine="btn.Initialize(\"Button\")"; -_btn.Initialize(ba,"Button"); - //BA.debugLineNum = 201;BA.debugLine="Dim xbtn As B4XView = btn"; -_xbtn = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xbtn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_btn.getObject())); - //BA.debugLineNum = 202;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xbtn, Tex"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xbtn,_text); - //BA.debugLineNum = 203;BA.debugLine="xbtn.Tag = Code"; -_xbtn.setTag((Object)(_code)); - //BA.debugLineNum = 204;BA.debugLine="xbtn.SetColorAndBorder(ButtonsColor, 0dip, Border"; -_xbtn.SetColorAndBorder(_buttonscolor,__c.DipToCurrent((int) (0)),_bordercolor,__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 205;BA.debugLine="xbtn.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xbtn.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 206;BA.debugLine="xbtn.TextColor = ButtonsTextColor"; -_xbtn.setTextColor(_buttonstextcolor); - //BA.debugLineNum = 207;BA.debugLine="xbtn.Font = ButtonsFont"; -_xbtn.setFont(_buttonsfont); - //BA.debugLineNum = 208;BA.debugLine="Dim numberOfButtons As Int = Base.NumberOfViews '"; -_numberofbuttons = _base.getNumberOfViews(); - //BA.debugLineNum = 209;BA.debugLine="Base.AddView(xbtn, Base.Width - 4dip - numberOfBu"; -_base.AddView((android.view.View)(_xbtn.getObject()),(int) (_base.getWidth()-__c.DipToCurrent((int) (4))-_numberofbuttons*(_buttonwidth+__c.DipToCurrent((int) (5)))-_buttonwidth),(int) (_base.getHeight()-_buttonsheight-__c.DipToCurrent((int) (4))),_buttonwidth,_buttonsheight); - //BA.debugLineNum = 211;BA.debugLine="If Code = xui.DialogResponse_Cancel Then xbtn.Req"; -if (_code==_xui.DialogResponse_Cancel) { -_xbtn.RequestFocus();}; - //BA.debugLineNum = 212;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getbutton(int _resultcode) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 215;BA.debugLine="Public Sub GetButton (ResultCode As Int) As B4XVie"; - //BA.debugLineNum = 216;BA.debugLine="For Each b As B4XView In Base.GetAllViewsRecursiv"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -{ -final anywheresoftware.b4a.BA.IterableList group1 = _base.GetAllViewsRecursive(); -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1))); - //BA.debugLineNum = 217;BA.debugLine="If b.Tag = ResultCode Then Return b 'ignore"; -if ((_b.getTag()).equals((Object)(_resultcode))) { -if (true) return _b;}; - } -}; - //BA.debugLineNum = 219;BA.debugLine="Return Null"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Null)); - //BA.debugLineNum = 220;BA.debugLine="End Sub"; -return null; -} -public boolean _getvisible() throws Exception{ - //BA.debugLineNum = 189;BA.debugLine="Public Sub getVisible As Boolean"; - //BA.debugLineNum = 190;BA.debugLine="Return Background.IsInitialized And Background.Pa"; -if (true) return _background.IsInitialized() && _background.getParent().IsInitialized(); - //BA.debugLineNum = 191;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _parent) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 36;BA.debugLine="Public Sub Initialize (Parent As B4XView)"; - //BA.debugLineNum = 37;BA.debugLine="BlurBackground = False"; -_blurbackground = __c.False; - //BA.debugLineNum = 38;BA.debugLine="If xui.IsB4i Then"; -if (_xui.getIsB4i()) { - //BA.debugLineNum = 39;BA.debugLine="BlurReduceScale = 3"; -_blurreducescale = (int) (3); - }else if(_xui.getIsB4J()) { - //BA.debugLineNum = 41;BA.debugLine="BlurReduceScale = 1"; -_blurreducescale = (int) (1); - }else if(_xui.getIsB4A()) { - //BA.debugLineNum = 43;BA.debugLine="BlurReduceScale = 3"; -_blurreducescale = (int) (3); - }; - //BA.debugLineNum = 45;BA.debugLine="mParent = Parent"; -_mparent = _parent; - //BA.debugLineNum = 51;BA.debugLine="TitleBarFont = xui.CreateDefaultBoldFont(16)"; -_titlebarfont = _xui.CreateDefaultBoldFont((float) (16)); - //BA.debugLineNum = 52;BA.debugLine="ButtonsFont = xui.CreateDefaultBoldFont(15)"; -_buttonsfont = _xui.CreateDefaultBoldFont((float) (15)); - //BA.debugLineNum = 53;BA.debugLine="TitleBarTextColor = xui.Color_White"; -_titlebartextcolor = _xui.Color_White; - //BA.debugLineNum = 54;BA.debugLine="ButtonsState.Initialize"; -_buttonsstate.Initialize(); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _internaladdstubtoclvifneeded(b4a.example3.customlistview _customlistview1,int _color) throws Exception{ - //BA.debugLineNum = 343;BA.debugLine="Public Sub InternalAddStubToCLVIfNeeded(CustomList"; - //BA.debugLineNum = 344;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_color); - //BA.debugLineNum = 345;BA.debugLine="End Sub"; -return ""; -} -public String _internalsettextorcsbuildertolabel(anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 339;BA.debugLine="Public Sub InternalSetTextOrCSBuilderToLabel(xlbl"; - //BA.debugLineNum = 340;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); - //BA.debugLineNum = 341;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ -int _top = 0; - //BA.debugLineNum = 263;BA.debugLine="Public Sub Resize (Width As Int, Height As Int)"; - //BA.debugLineNum = 265;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - Ba"; -_top = (int) (__c.Round(_background.getHeight()/(double)2-_base.getHeight()/(double)2)); - //BA.debugLineNum = 266;BA.debugLine="If PutAtTop Then Top = 20dip"; -if (_putattop) { -_top = __c.DipToCurrent((int) (20));}; - //BA.debugLineNum = 267;BA.debugLine="Background.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_background.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 268;BA.debugLine="Base.SetLayoutAnimated(200, Round(Background.Widt"; -_base.SetLayoutAnimated((int) (200),(int) (__c.Round(_background.getWidth()/(double)2-_base.getWidth()/(double)2)),_top,_base.getWidth(),_base.getHeight()); - //BA.debugLineNum = 269;BA.debugLine="If xui.IsB4J Then"; -if (_xui.getIsB4J()) { - //BA.debugLineNum = 270;BA.debugLine="UpdateBlur"; -_updateblur(); - }; - //BA.debugLineNum = 272;BA.debugLine="End Sub"; -return ""; -} -public String _setavg(b4a.example.bitmapcreator _bc,int _x,int _y,b4a.example.bitmapcreator._argbcolor[] _clrs,b4a.example.bitmapcreator._argbcolor _temp) throws Exception{ +public String _setavg(reparto_intmex.keymon.lat.b4xdialog __ref,b4a.example.bitmapcreator _bc,int _x,int _y,b4a.example.bitmapcreator._argbcolor[] _clrs,b4a.example.bitmapcreator._argbcolor _temp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "setavg", true)) + {return ((String) Debug.delegate(ba, "setavg", new Object[] {_bc,_x,_y,_clrs,_temp}));} b4a.example.bitmapcreator._argbcolor _c = null; - //BA.debugLineNum = 325;BA.debugLine="Private Sub SetAvg(bc As BitmapCreator, x As Int,"; - //BA.debugLineNum = 326;BA.debugLine="temp.Initialize"; +RDebugUtils.currentLine=21037056; + //BA.debugLineNum = 21037056;BA.debugLine="Private Sub SetAvg(bc As BitmapCreator, x As Int,"; +RDebugUtils.currentLine=21037057; + //BA.debugLineNum = 21037057;BA.debugLine="temp.Initialize"; _temp.Initialize(); - //BA.debugLineNum = 327;BA.debugLine="For Each c As ARGBColor In clrs"; +RDebugUtils.currentLine=21037058; + //BA.debugLineNum = 21037058;BA.debugLine="For Each c As ARGBColor In clrs"; { final b4a.example.bitmapcreator._argbcolor[] group2 = _clrs; final int groupLen2 = group2.length @@ -429,61 +293,462 @@ final int groupLen2 = group2.length ; for (; index2 < groupLen2;index2++){ _c = group2[index2]; - //BA.debugLineNum = 328;BA.debugLine="temp.r = temp.r + c.r"; +RDebugUtils.currentLine=21037059; + //BA.debugLineNum = 21037059;BA.debugLine="temp.r = temp.r + c.r"; _temp.r = (int) (_temp.r+_c.r); - //BA.debugLineNum = 329;BA.debugLine="temp.g = temp.g + c.g"; +RDebugUtils.currentLine=21037060; + //BA.debugLineNum = 21037060;BA.debugLine="temp.g = temp.g + c.g"; _temp.g = (int) (_temp.g+_c.g); - //BA.debugLineNum = 330;BA.debugLine="temp.b = temp.b + c.b"; +RDebugUtils.currentLine=21037061; + //BA.debugLineNum = 21037061;BA.debugLine="temp.b = temp.b + c.b"; _temp.b = (int) (_temp.b+_c.b); } }; - //BA.debugLineNum = 332;BA.debugLine="temp.a = 255"; +RDebugUtils.currentLine=21037063; + //BA.debugLineNum = 21037063;BA.debugLine="temp.a = 255"; _temp.a = (int) (255); - //BA.debugLineNum = 333;BA.debugLine="temp.r = temp.r / 3"; +RDebugUtils.currentLine=21037064; + //BA.debugLineNum = 21037064;BA.debugLine="temp.r = temp.r / 3"; _temp.r = (int) (_temp.r/(double)3); - //BA.debugLineNum = 334;BA.debugLine="temp.g = temp.g / 3"; +RDebugUtils.currentLine=21037065; + //BA.debugLineNum = 21037065;BA.debugLine="temp.g = temp.g / 3"; _temp.g = (int) (_temp.g/(double)3); - //BA.debugLineNum = 335;BA.debugLine="temp.b = temp.b / 3"; +RDebugUtils.currentLine=21037066; + //BA.debugLineNum = 21037066;BA.debugLine="temp.b = temp.b / 3"; _temp.b = (int) (_temp.b/(double)3); - //BA.debugLineNum = 336;BA.debugLine="bc.SetARGB(x, y, temp)"; +RDebugUtils.currentLine=21037067; + //BA.debugLineNum = 21037067;BA.debugLine="bc.SetARGB(x, y, temp)"; _bc._setargb(_x,_y,_temp); - //BA.debugLineNum = 337;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21037068; + //BA.debugLineNum = 21037068;BA.debugLine="End Sub"; return ""; } -public String _setbuttonstate(int _resultcode,boolean _enabled) throws Exception{ +public String _button_click(reparto_intmex.keymon.lat.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "button_click", true)) + {return ((String) Debug.delegate(ba, "button_click", null));} anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 223;BA.debugLine="Public Sub SetButtonState (ResultCode As Int, Enab"; - //BA.debugLineNum = 224;BA.debugLine="Dim b As B4XView = GetButton(ResultCode)"; +RDebugUtils.currentLine=20578304; + //BA.debugLineNum = 20578304;BA.debugLine="Private Sub Button_Click"; +RDebugUtils.currentLine=20578305; + //BA.debugLineNum = 20578305;BA.debugLine="Dim b As B4XView = Sender"; _b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_b = _getbutton(_resultcode); - //BA.debugLineNum = 225;BA.debugLine="If b.IsInitialized Then"; -if (_b.IsInitialized()) { - //BA.debugLineNum = 226;BA.debugLine="b.Enabled = Enabled"; -_b.setEnabled(_enabled); - //BA.debugLineNum = 227;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; -if (_enabled) { -_b.setTextColor(_buttonstextcolor);} -else { -_b.setTextColor(_buttonstextcolordisabled);}; - //BA.debugLineNum = 228;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; -_buttonsstate.Put((Object)(_resultcode),(Object)(_enabled)); - }; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; +_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); +RDebugUtils.currentLine=20578306; + //BA.debugLineNum = 20578306;BA.debugLine="If ButtonsState.GetDefault(b.Tag, True) = False T"; +if ((__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault(_b.getTag(),(Object)(__c.True))).equals((Object)(__c.False))) { +if (true) return "";}; +RDebugUtils.currentLine=20578307; + //BA.debugLineNum = 20578307;BA.debugLine="Close(b.Tag)"; +__ref._close /*boolean*/ (null,(int)(BA.ObjectToNumber(_b.getTag()))); +RDebugUtils.currentLine=20578308; + //BA.debugLineNum = 20578308;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _show(Object _text,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_text,_yes,_no,_cancel); +public String _class_globals(reparto_intmex.keymon.lat.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +RDebugUtils.currentLine=19988480; + //BA.debugLineNum = 19988480;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=19988481; + //BA.debugLineNum = 19988481;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=19988482; + //BA.debugLineNum = 19988482;BA.debugLine="Public ButtonsHeight As Int = 40dip"; +_buttonsheight = __c.DipToCurrent((int) (40)); +RDebugUtils.currentLine=19988483; + //BA.debugLineNum = 19988483;BA.debugLine="Public TitleBarHeight As Int = 30dip"; +_titlebarheight = __c.DipToCurrent((int) (30)); +RDebugUtils.currentLine=19988484; + //BA.debugLineNum = 19988484;BA.debugLine="Private ButtonWidth As Int = 80dip"; +_buttonwidth = __c.DipToCurrent((int) (80)); +RDebugUtils.currentLine=19988485; + //BA.debugLineNum = 19988485;BA.debugLine="Public Base As B4XView"; +_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=19988486; + //BA.debugLineNum = 19988486;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; +_backgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=19988487; + //BA.debugLineNum = 19988487;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; +_overlaycolor = ((int)0xaa000000); +RDebugUtils.currentLine=19988488; + //BA.debugLineNum = 19988488;BA.debugLine="Public BorderColor As Int = 0xff000000"; +_bordercolor = ((int)0xff000000); +RDebugUtils.currentLine=19988489; + //BA.debugLineNum = 19988489;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; +_bordercornersradius = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=19988490; + //BA.debugLineNum = 19988490;BA.debugLine="Public BorderWidth As Int = 2dip"; +_borderwidth = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=19988491; + //BA.debugLineNum = 19988491;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; +_buttonscolor = ((int)0xff555555); +RDebugUtils.currentLine=19988492; + //BA.debugLineNum = 19988492;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; +_buttonstextcolor = ((int)0xff89d5ff); +RDebugUtils.currentLine=19988493; + //BA.debugLineNum = 19988493;BA.debugLine="Private Background As B4XView"; +_background = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=19988494; + //BA.debugLineNum = 19988494;BA.debugLine="Private BlurImageView As B4XView"; +_blurimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=19988495; + //BA.debugLineNum = 19988495;BA.debugLine="Public BlurBackground As Boolean"; +_blurbackground = false; +RDebugUtils.currentLine=19988496; + //BA.debugLineNum = 19988496;BA.debugLine="Private BlurReduceScale As Int"; +_blurreducescale = 0; +RDebugUtils.currentLine=19988497; + //BA.debugLineNum = 19988497;BA.debugLine="Public mParent As B4XView"; +_mparent = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=19988498; + //BA.debugLineNum = 19988498;BA.debugLine="Public Title As Object = \"\""; +_title = (Object)(""); +RDebugUtils.currentLine=19988499; + //BA.debugLineNum = 19988499;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; +_titlebarcolor = ((int)0xff0083b8); +RDebugUtils.currentLine=19988500; + //BA.debugLineNum = 19988500;BA.debugLine="Public TitleBarTextColor As Int"; +_titlebartextcolor = 0; +RDebugUtils.currentLine=19988501; + //BA.debugLineNum = 19988501;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; +_bodytextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=19988502; + //BA.debugLineNum = 19988502;BA.debugLine="Public TitleBar As B4XView"; +_titlebar = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=19988503; + //BA.debugLineNum = 19988503;BA.debugLine="Public PutAtTop As Boolean"; +_putattop = false; +RDebugUtils.currentLine=19988504; + //BA.debugLineNum = 19988504;BA.debugLine="Public TitleBarFont As B4XFont"; +_titlebarfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=19988505; + //BA.debugLineNum = 19988505;BA.debugLine="Public ButtonsFont As B4XFont"; +_buttonsfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=19988506; + //BA.debugLineNum = 19988506;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; +_buttonstextcolordisabled = ((int)0xff808080); +RDebugUtils.currentLine=19988507; + //BA.debugLineNum = 19988507;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; +_visibleanimationduration = (int) (100); +RDebugUtils.currentLine=19988508; + //BA.debugLineNum = 19988508;BA.debugLine="Public ButtonsOrder() As Int = Array As Int(xui.D"; +_buttonsorder = new int[]{__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Negative,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Cancel}; +RDebugUtils.currentLine=19988509; + //BA.debugLineNum = 19988509;BA.debugLine="Public ButtonsState As Map"; +_buttonsstate = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=19988510; + //BA.debugLineNum = 19988510;BA.debugLine="End Sub"; +return ""; +} +public boolean _getvisible(reparto_intmex.keymon.lat.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "getvisible", true)) + {return ((Boolean) Debug.delegate(ba, "getvisible", null));} +RDebugUtils.currentLine=20316160; + //BA.debugLineNum = 20316160;BA.debugLine="Public Sub getVisible As Boolean"; +RDebugUtils.currentLine=20316161; + //BA.debugLineNum = 20316161;BA.debugLine="Return Background.IsInitialized And Background.Pa"; +if (true) return __ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized() && __ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().IsInitialized(); +RDebugUtils.currentLine=20316162; + //BA.debugLineNum = 20316162;BA.debugLine="End Sub"; +return false; +} +public String _createbutton(reparto_intmex.keymon.lat.b4xdialog __ref,Object _text,int _code) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "createbutton", true)) + {return ((String) Debug.delegate(ba, "createbutton", new Object[] {_text,_code}));} +anywheresoftware.b4a.objects.LabelWrapper _btn = null; +anywheresoftware.b4a.objects.B4XViewWrapper _xbtn = null; +int _numberofbuttons = 0; +RDebugUtils.currentLine=20381696; + //BA.debugLineNum = 20381696;BA.debugLine="Private Sub CreateButton (Text As Object, Code As"; +RDebugUtils.currentLine=20381697; + //BA.debugLineNum = 20381697;BA.debugLine="If Text = \"\" Then Return"; +if ((_text).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=20381701; + //BA.debugLineNum = 20381701;BA.debugLine="Dim btn As Label"; +_btn = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20381703; + //BA.debugLineNum = 20381703;BA.debugLine="btn.Initialize(\"Button\")"; +_btn.Initialize(ba,"Button"); +RDebugUtils.currentLine=20381704; + //BA.debugLineNum = 20381704;BA.debugLine="Dim xbtn As B4XView = btn"; +_xbtn = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xbtn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_btn.getObject())); +RDebugUtils.currentLine=20381705; + //BA.debugLineNum = 20381705;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xbtn, Tex"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xbtn,_text); +RDebugUtils.currentLine=20381706; + //BA.debugLineNum = 20381706;BA.debugLine="xbtn.Tag = Code"; +_xbtn.setTag((Object)(_code)); +RDebugUtils.currentLine=20381707; + //BA.debugLineNum = 20381707;BA.debugLine="xbtn.SetColorAndBorder(ButtonsColor, 0dip, Border"; +_xbtn.SetColorAndBorder(__ref._buttonscolor /*int*/ ,__c.DipToCurrent((int) (0)),__ref._bordercolor /*int*/ ,__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=20381708; + //BA.debugLineNum = 20381708;BA.debugLine="xbtn.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_xbtn.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=20381709; + //BA.debugLineNum = 20381709;BA.debugLine="xbtn.TextColor = ButtonsTextColor"; +_xbtn.setTextColor(__ref._buttonstextcolor /*int*/ ); +RDebugUtils.currentLine=20381710; + //BA.debugLineNum = 20381710;BA.debugLine="xbtn.Font = ButtonsFont"; +_xbtn.setFont(__ref._buttonsfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=20381711; + //BA.debugLineNum = 20381711;BA.debugLine="Dim numberOfButtons As Int = Base.NumberOfViews '"; +_numberofbuttons = __ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews(); +RDebugUtils.currentLine=20381712; + //BA.debugLineNum = 20381712;BA.debugLine="Base.AddView(xbtn, Base.Width - 4dip - numberOfBu"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_xbtn.getObject()),(int) (__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__c.DipToCurrent((int) (4))-_numberofbuttons*(__ref._buttonwidth /*int*/ +__c.DipToCurrent((int) (5)))-__ref._buttonwidth /*int*/ ),(int) (__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._buttonsheight /*int*/ -__c.DipToCurrent((int) (4))),__ref._buttonwidth /*int*/ ,__ref._buttonsheight /*int*/ ); +RDebugUtils.currentLine=20381714; + //BA.debugLineNum = 20381714;BA.debugLine="If Code = xui.DialogResponse_Cancel Then xbtn.Req"; +if (_code==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Cancel) { +_xbtn.RequestFocus();}; +RDebugUtils.currentLine=20381715; + //BA.debugLineNum = 20381715;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getbutton(reparto_intmex.keymon.lat.b4xdialog __ref,int _resultcode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "getbutton", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getbutton", new Object[] {_resultcode}));} +anywheresoftware.b4a.objects.B4XViewWrapper _b = null; +RDebugUtils.currentLine=20447232; + //BA.debugLineNum = 20447232;BA.debugLine="Public Sub GetButton (ResultCode As Int) As B4XVie"; +RDebugUtils.currentLine=20447233; + //BA.debugLineNum = 20447233;BA.debugLine="For Each b As B4XView In Base.GetAllViewsRecursiv"; +_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); +{ +final anywheresoftware.b4a.BA.IterableList group1 = __ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1))); +RDebugUtils.currentLine=20447234; + //BA.debugLineNum = 20447234;BA.debugLine="If b.Tag = ResultCode Then Return b 'ignore"; +if ((_b.getTag()).equals((Object)(_resultcode))) { +if (true) return _b;}; + } +}; +RDebugUtils.currentLine=20447236; + //BA.debugLineNum = 20447236;BA.debugLine="Return Null"; +if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Null)); +RDebugUtils.currentLine=20447237; + //BA.debugLineNum = 20447237;BA.debugLine="End Sub"; +return null; +} +public String _initialize(reparto_intmex.keymon.lat.b4xdialog __ref,anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _parent) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_parent}));} +RDebugUtils.currentLine=20054016; + //BA.debugLineNum = 20054016;BA.debugLine="Public Sub Initialize (Parent As B4XView)"; +RDebugUtils.currentLine=20054017; + //BA.debugLineNum = 20054017;BA.debugLine="BlurBackground = False"; +__ref._blurbackground /*boolean*/ = __c.False; +RDebugUtils.currentLine=20054018; + //BA.debugLineNum = 20054018;BA.debugLine="If xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=20054019; + //BA.debugLineNum = 20054019;BA.debugLine="BlurReduceScale = 3"; +__ref._blurreducescale /*int*/ = (int) (3); + }else +{RDebugUtils.currentLine=20054020; + //BA.debugLineNum = 20054020;BA.debugLine="Else If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=20054021; + //BA.debugLineNum = 20054021;BA.debugLine="BlurReduceScale = 1"; +__ref._blurreducescale /*int*/ = (int) (1); + }else +{RDebugUtils.currentLine=20054022; + //BA.debugLineNum = 20054022;BA.debugLine="Else if xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=20054023; + //BA.debugLineNum = 20054023;BA.debugLine="BlurReduceScale = 3"; +__ref._blurreducescale /*int*/ = (int) (3); + }}} +; +RDebugUtils.currentLine=20054025; + //BA.debugLineNum = 20054025;BA.debugLine="mParent = Parent"; +__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _parent; +RDebugUtils.currentLine=20054031; + //BA.debugLineNum = 20054031;BA.debugLine="TitleBarFont = xui.CreateDefaultBoldFont(16)"; +__ref._titlebarfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (16)); +RDebugUtils.currentLine=20054032; + //BA.debugLineNum = 20054032;BA.debugLine="ButtonsFont = xui.CreateDefaultBoldFont(15)"; +__ref._buttonsfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (15)); +RDebugUtils.currentLine=20054033; + //BA.debugLineNum = 20054033;BA.debugLine="TitleBarTextColor = xui.Color_White"; +__ref._titlebartextcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=20054034; + //BA.debugLineNum = 20054034;BA.debugLine="ButtonsState.Initialize"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=20054035; + //BA.debugLineNum = 20054035;BA.debugLine="End Sub"; +return ""; +} +public String _internaladdstubtoclvifneeded(reparto_intmex.keymon.lat.b4xdialog __ref,b4a.example3.customlistview _customlistview1,int _color) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "internaladdstubtoclvifneeded", true)) + {return ((String) Debug.delegate(ba, "internaladdstubtoclvifneeded", new Object[] {_customlistview1,_color}));} +RDebugUtils.currentLine=21168128; + //BA.debugLineNum = 21168128;BA.debugLine="Public Sub InternalAddStubToCLVIfNeeded(CustomList"; +RDebugUtils.currentLine=21168129; + //BA.debugLineNum = 21168129;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_color); +RDebugUtils.currentLine=21168130; + //BA.debugLineNum = 21168130;BA.debugLine="End Sub"; +return ""; +} +public String _internalsettextorcsbuildertolabel(reparto_intmex.keymon.lat.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "internalsettextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(ba, "internalsettextorcsbuildertolabel", new Object[] {_xlbl,_text}));} +RDebugUtils.currentLine=21102592; + //BA.debugLineNum = 21102592;BA.debugLine="Public Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=21102593; + //BA.debugLineNum = 21102593;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); +RDebugUtils.currentLine=21102594; + //BA.debugLineNum = 21102594;BA.debugLine="End Sub"; +return ""; +} +public String _resize(reparto_intmex.keymon.lat.b4xdialog __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +int _top = 0; +RDebugUtils.currentLine=20840448; + //BA.debugLineNum = 20840448;BA.debugLine="Public Sub Resize (Width As Int, Height As Int)"; +RDebugUtils.currentLine=20840450; + //BA.debugLineNum = 20840450;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - Ba"; +_top = (int) (__c.Round(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2)); +RDebugUtils.currentLine=20840451; + //BA.debugLineNum = 20840451;BA.debugLine="If PutAtTop Then Top = 20dip"; +if (__ref._putattop /*boolean*/ ) { +_top = __c.DipToCurrent((int) (20));}; +RDebugUtils.currentLine=20840452; + //BA.debugLineNum = 20840452;BA.debugLine="Background.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=20840453; + //BA.debugLineNum = 20840453;BA.debugLine="Base.SetLayoutAnimated(200, Round(Background.Widt"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (200),(int) (__c.Round(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2-__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)),_top,__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=20840454; + //BA.debugLineNum = 20840454;BA.debugLine="If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=20840455; + //BA.debugLineNum = 20840455;BA.debugLine="UpdateBlur"; +__ref._updateblur /*String*/ (null); + }; +RDebugUtils.currentLine=20840457; + //BA.debugLineNum = 20840457;BA.debugLine="End Sub"; +return ""; +} +public String _updateblur(reparto_intmex.keymon.lat.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "updateblur", true)) + {return ((String) Debug.delegate(ba, "updateblur", null));} +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _source = null; +b4a.example.bitmapcreator _blurred = null; +RDebugUtils.currentLine=20905984; + //BA.debugLineNum = 20905984;BA.debugLine="Private Sub UpdateBlur"; +RDebugUtils.currentLine=20905985; + //BA.debugLineNum = 20905985;BA.debugLine="If BlurBackground = False Then Return"; +if (__ref._blurbackground /*boolean*/ ==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=20905986; + //BA.debugLineNum = 20905986;BA.debugLine="Background.Visible = False"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=20905987; + //BA.debugLineNum = 20905987;BA.debugLine="Dim source As B4XBitmap = Background.Parent.Snaps"; +_source = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +_source = __ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().Snapshot(); +RDebugUtils.currentLine=20905988; + //BA.debugLineNum = 20905988;BA.debugLine="If source.Width > Background.Width Or source.Heig"; +if (_source.getWidth()>__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth() || _source.getHeight()>__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()) { +RDebugUtils.currentLine=20905989; + //BA.debugLineNum = 20905989;BA.debugLine="source = source.Crop(0, 0, Background.Width, Bac"; +_source = _source.Crop((int) (0),(int) (0),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); + }; +RDebugUtils.currentLine=20905991; + //BA.debugLineNum = 20905991;BA.debugLine="Background.Visible = True"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=20905992; + //BA.debugLineNum = 20905992;BA.debugLine="BlurImageView.SetLayoutAnimated(0, 0, 0, Backgrou"; +__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=20905993; + //BA.debugLineNum = 20905993;BA.debugLine="Dim blurred As BitmapCreator = Blur(source)"; +_blurred = __ref._blur /*b4a.example.bitmapcreator*/ (null,_source); +RDebugUtils.currentLine=20905994; + //BA.debugLineNum = 20905994;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; +_blurred._setbitmaptoimageview(_blurred._getbitmap(),__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=20905995; + //BA.debugLineNum = 20905995;BA.debugLine="End Sub"; +return ""; +} +public String _setbuttonstate(reparto_intmex.keymon.lat.b4xdialog __ref,int _resultcode,boolean _enabled) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "setbuttonstate", true)) + {return ((String) Debug.delegate(ba, "setbuttonstate", new Object[] {_resultcode,_enabled}));} +anywheresoftware.b4a.objects.B4XViewWrapper _b = null; +RDebugUtils.currentLine=20512768; + //BA.debugLineNum = 20512768;BA.debugLine="Public Sub SetButtonState (ResultCode As Int, Enab"; +RDebugUtils.currentLine=20512769; + //BA.debugLineNum = 20512769;BA.debugLine="Dim b As B4XView = GetButton(ResultCode)"; +_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_b = __ref._getbutton /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,_resultcode); +RDebugUtils.currentLine=20512770; + //BA.debugLineNum = 20512770;BA.debugLine="If b.IsInitialized Then"; +if (_b.IsInitialized()) { +RDebugUtils.currentLine=20512771; + //BA.debugLineNum = 20512771;BA.debugLine="b.Enabled = Enabled"; +_b.setEnabled(_enabled); +RDebugUtils.currentLine=20512772; + //BA.debugLineNum = 20512772;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; +if (_enabled) { +_b.setTextColor(__ref._buttonstextcolor /*int*/ );} +else { +_b.setTextColor(__ref._buttonstextcolordisabled /*int*/ );}; +RDebugUtils.currentLine=20512773; + //BA.debugLineNum = 20512773;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_resultcode),(Object)(_enabled)); + }; +RDebugUtils.currentLine=20512775; + //BA.debugLineNum = 20512775;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _show(reparto_intmex.keymon.lat.b4xdialog __ref,Object _text,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "show", new Object[] {_text,_yes,_no,_cancel}));} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_text,_yes,_no,_cancel); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(reparto_intmex.keymon.lat.b4xdialog parent,Object _text,Object _yes,Object _no,Object _cancel) { +public ResumableSub_Show(reparto_intmex.keymon.lat.b4xdialog parent,reparto_intmex.keymon.lat.b4xdialog __ref,Object _text,Object _yes,Object _no,Object _cancel) { this.parent = parent; +this.__ref = __ref; this._text = _text; this._yes = _yes; this._no = _no; this._cancel = _cancel; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xdialog __ref; reparto_intmex.keymon.lat.b4xdialog parent; Object _text; Object _yes; @@ -496,6 +761,7 @@ int _result = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; while (true) { switch (state) { @@ -505,65 +771,84 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 75;BA.debugLine="Dim p As B4XView"; +RDebugUtils.currentLine=20185089; + //BA.debugLineNum = 20185089;BA.debugLine="Dim p As B4XView"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 76;BA.debugLine="p = xui.CreatePanel(\"\")"; -_p = parent._xui.CreatePanel(ba,""); - //BA.debugLineNum = 77;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 300dip, 100dip)"; +RDebugUtils.currentLine=20185090; + //BA.debugLineNum = 20185090;BA.debugLine="p = xui.CreatePanel(\"\")"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=20185091; + //BA.debugLineNum = 20185091;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 300dip, 100dip)"; _p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),parent.__c.DipToCurrent((int) (300)),parent.__c.DipToCurrent((int) (100))); - //BA.debugLineNum = 78;BA.debugLine="Dim lbl As Label"; +RDebugUtils.currentLine=20185092; + //BA.debugLineNum = 20185092;BA.debugLine="Dim lbl As Label"; _lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 79;BA.debugLine="lbl.Initialize(\"\")"; +RDebugUtils.currentLine=20185093; + //BA.debugLineNum = 20185093;BA.debugLine="lbl.Initialize(\"\")"; _lbl.Initialize(ba,""); - //BA.debugLineNum = 83;BA.debugLine="lbl.SingleLine = False"; +RDebugUtils.currentLine=20185097; + //BA.debugLineNum = 20185097;BA.debugLine="lbl.SingleLine = False"; _lbl.setSingleLine(parent.__c.False); - //BA.debugLineNum = 87;BA.debugLine="Dim xlbl As B4XView = lbl"; +RDebugUtils.currentLine=20185101; + //BA.debugLineNum = 20185101;BA.debugLine="Dim xlbl As B4XView = lbl"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 88;BA.debugLine="p.AddView(xlbl, 5dip, 0, p.Width - 10dip, p.Heigh"; +RDebugUtils.currentLine=20185102; + //BA.debugLineNum = 20185102;BA.debugLine="p.AddView(xlbl, 5dip, 0, p.Width - 10dip, p.Heigh"; _p.AddView((android.view.View)(_xlbl.getObject()),parent.__c.DipToCurrent((int) (5)),(int) (0),(int) (_p.getWidth()-parent.__c.DipToCurrent((int) (10))),_p.getHeight()); - //BA.debugLineNum = 89;BA.debugLine="xlbl.TextColor = BodyTextColor"; -_xlbl.setTextColor(parent._bodytextcolor); - //BA.debugLineNum = 90;BA.debugLine="xlbl.Font = TitleBarFont"; -_xlbl.setFont(parent._titlebarfont); - //BA.debugLineNum = 91;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +RDebugUtils.currentLine=20185103; + //BA.debugLineNum = 20185103;BA.debugLine="xlbl.TextColor = BodyTextColor"; +_xlbl.setTextColor(__ref._bodytextcolor /*int*/ ); +RDebugUtils.currentLine=20185104; + //BA.debugLineNum = 20185104;BA.debugLine="xlbl.Font = TitleBarFont"; +_xlbl.setFont(__ref._titlebarfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=20185105; + //BA.debugLineNum = 20185105;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; parent._xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); - //BA.debugLineNum = 92;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +RDebugUtils.currentLine=20185106; + //BA.debugLineNum = 20185106;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; _xlbl.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 93;BA.debugLine="Wait For (ShowCustom(p, Yes, No, Cancel)) Complet"; -parent.__c.WaitFor("complete", ba, this, parent._showcustom(_p,_yes,_no,_cancel)); +RDebugUtils.currentLine=20185107; + //BA.debugLineNum = 20185107;BA.debugLine="Wait For (ShowCustom(p, Yes, No, Cancel)) Complet"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdialog", "show"), __ref._showcustom /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null,_p,_yes,_no,_cancel)); this.state = 1; return; case 1: //C this.state = -1; -_result = (Integer) result[0]; +_result = (Integer) result[1]; ; - //BA.debugLineNum = 94;BA.debugLine="Return Result"; +RDebugUtils.currentLine=20185108; + //BA.debugLineNum = 20185108;BA.debugLine="Return Result"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; +RDebugUtils.currentLine=20185109; + //BA.debugLineNum = 20185109;BA.debugLine="End Sub"; if (true) break; } } } } -public void _complete(int _result) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showcustom(anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_ShowCustom rsub = new ResumableSub_ShowCustom(this,_content,_yes,_no,_cancel); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showcustom(reparto_intmex.keymon.lat.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "showcustom", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "showcustom", new Object[] {_content,_yes,_no,_cancel}));} +ResumableSub_ShowCustom rsub = new ResumableSub_ShowCustom(this,__ref,_content,_yes,_no,_cancel); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_ShowCustom extends BA.ResumableSub { -public ResumableSub_ShowCustom(reparto_intmex.keymon.lat.b4xdialog parent,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) { +public ResumableSub_ShowCustom(reparto_intmex.keymon.lat.b4xdialog parent,reparto_intmex.keymon.lat.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) { this.parent = parent; +this.__ref = __ref; this._content = _content; this._yes = _yes; this._no = _no; this._cancel = _cancel; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xdialog __ref; reparto_intmex.keymon.lat.b4xdialog parent; anywheresoftware.b4a.objects.B4XViewWrapper _content; Object _yes; @@ -597,6 +882,7 @@ int groupLen78; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; while (true) { switch (state) { @@ -606,14 +892,15 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 98;BA.debugLine="For Each v As B4XView In mParent.GetAllViewsRecur"; +RDebugUtils.currentLine=20250625; + //BA.debugLineNum = 20250625;BA.debugLine="For Each v As B4XView In mParent.GetAllViewsRecur"; if (true) break; case 1: //for this.state = 8; _v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -group1 = parent._mparent.GetAllViewsRecursive(); +group1 = __ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); index1 = 0; groupLen1 = group1.getSize(); this.state = 60; @@ -636,7 +923,8 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 99;BA.debugLine="If v.Tag <> Null And v.Tag = \"b4xdialog_backgrou"; +RDebugUtils.currentLine=20250626; + //BA.debugLineNum = 20250626;BA.debugLine="If v.Tag <> Null And v.Tag = \"b4xdialog_backgrou"; if (true) break; case 4: @@ -649,9 +937,11 @@ this.state = 6; case 6: //C this.state = 7; - //BA.debugLineNum = 100;BA.debugLine="v.RemoveViewFromParent"; +RDebugUtils.currentLine=20250627; + //BA.debugLineNum = 20250627;BA.debugLine="v.RemoveViewFromParent"; _v.RemoveViewFromParent(); - //BA.debugLineNum = 101;BA.debugLine="Exit"; +RDebugUtils.currentLine=20250628; + //BA.debugLineNum = 20250628;BA.debugLine="Exit"; this.state = 8; if (true) break; if (true) break; @@ -667,20 +957,24 @@ case 8: //C this.state = 9; ; - //BA.debugLineNum = 104;BA.debugLine="ButtonsState.Clear"; -parent._buttonsstate.Clear(); - //BA.debugLineNum = 105;BA.debugLine="Dim Background As B4XView = xui.CreatePanel(\"back"; +RDebugUtils.currentLine=20250631; + //BA.debugLineNum = 20250631;BA.debugLine="ButtonsState.Clear"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=20250632; + //BA.debugLineNum = 20250632;BA.debugLine="Dim Background As B4XView = xui.CreatePanel(\"back"; parent._background = new anywheresoftware.b4a.objects.B4XViewWrapper(); -parent._background = parent._xui.CreatePanel(ba,"background"); - //BA.debugLineNum = 106;BA.debugLine="Background.Tag = \"b4xdialog_background\""; -parent._background.setTag((Object)("b4xdialog_background")); - //BA.debugLineNum = 107;BA.debugLine="If BlurBackground Then"; +parent._background = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"background"); +RDebugUtils.currentLine=20250633; + //BA.debugLineNum = 20250633;BA.debugLine="Background.Tag = \"b4xdialog_background\""; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("b4xdialog_background")); +RDebugUtils.currentLine=20250634; + //BA.debugLineNum = 20250634;BA.debugLine="If BlurBackground Then"; if (true) break; case 9: //if this.state = 14; -if (parent._blurbackground) { +if (__ref._blurbackground /*boolean*/ ) { this.state = 11; }else { this.state = 13; @@ -689,49 +983,65 @@ this.state = 13; case 11: //C this.state = 14; - //BA.debugLineNum = 108;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=20250635; + //BA.debugLineNum = 20250635;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 109;BA.debugLine="iv.Initialize(\"\")"; +RDebugUtils.currentLine=20250636; + //BA.debugLineNum = 20250636;BA.debugLine="iv.Initialize(\"\")"; _iv.Initialize(ba,""); - //BA.debugLineNum = 110;BA.debugLine="BlurImageView = iv"; -parent._blurimageview = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 111;BA.debugLine="Background.AddView(BlurImageView, 0, 0, Backgrou"; -parent._background.AddView((android.view.View)(parent._blurimageview.getObject()),(int) (0),(int) (0),parent._background.getWidth(),parent._background.getHeight()); - //BA.debugLineNum = 112;BA.debugLine="Background.Color = xui.Color_Transparent"; -parent._background.setColor(parent._xui.Color_Transparent); +RDebugUtils.currentLine=20250637; + //BA.debugLineNum = 20250637;BA.debugLine="BlurImageView = iv"; +__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); +RDebugUtils.currentLine=20250638; + //BA.debugLineNum = 20250638;BA.debugLine="Background.AddView(BlurImageView, 0, 0, Backgrou"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=20250639; + //BA.debugLineNum = 20250639;BA.debugLine="Background.Color = xui.Color_Transparent"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); if (true) break; case 13: //C this.state = 14; - //BA.debugLineNum = 114;BA.debugLine="Background.Color = OverlayColor"; -parent._background.setColor(parent._overlaycolor); +RDebugUtils.currentLine=20250641; + //BA.debugLineNum = 20250641;BA.debugLine="Background.Color = OverlayColor"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._overlaycolor /*int*/ ); if (true) break; case 14: //C this.state = 15; ; - //BA.debugLineNum = 117;BA.debugLine="Dim p As Panel = Background"; +RDebugUtils.currentLine=20250644; + //BA.debugLineNum = 20250644;BA.debugLine="Dim p As Panel = Background"; _p = new anywheresoftware.b4a.objects.PanelWrapper(); -_p = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(parent._background.getObject())); - //BA.debugLineNum = 118;BA.debugLine="p.Elevation = 4dip"; +_p = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=20250645; + //BA.debugLineNum = 20250645;BA.debugLine="p.Elevation = 4dip"; _p.setElevation((float) (parent.__c.DipToCurrent((int) (4)))); - //BA.debugLineNum = 120;BA.debugLine="mParent.AddView(Background, 0, 0, mParent.Width,"; -parent._mparent.AddView((android.view.View)(parent._background.getObject()),(int) (0),(int) (0),parent._mparent.getWidth(),parent._mparent.getHeight()); - //BA.debugLineNum = 121;BA.debugLine="UpdateBlur"; -parent._updateblur(); - //BA.debugLineNum = 122;BA.debugLine="Base = xui.CreatePanel(\"\")"; -parent._base = parent._xui.CreatePanel(ba,""); - //BA.debugLineNum = 123;BA.debugLine="Base.SetColorAndBorder(BackgroundColor, BorderWid"; -parent._base.SetColorAndBorder(parent._backgroundcolor,parent._borderwidth,parent._bordercolor,parent._bordercornersradius); - //BA.debugLineNum = 124;BA.debugLine="Base.RequestFocus"; -parent._base.RequestFocus(); - //BA.debugLineNum = 125;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; -_includetitle = (parent._title).equals((Object)("")) == false; - //BA.debugLineNum = 126;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; +RDebugUtils.currentLine=20250647; + //BA.debugLineNum = 20250647;BA.debugLine="mParent.AddView(Background, 0, 0, mParent.Width,"; +__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=20250648; + //BA.debugLineNum = 20250648;BA.debugLine="UpdateBlur"; +__ref._updateblur /*String*/ (null); +RDebugUtils.currentLine=20250649; + //BA.debugLineNum = 20250649;BA.debugLine="Base = xui.CreatePanel(\"\")"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=20250650; + //BA.debugLineNum = 20250650;BA.debugLine="Base.SetColorAndBorder(BackgroundColor, BorderWid"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._backgroundcolor /*int*/ ,__ref._borderwidth /*int*/ ,__ref._bordercolor /*int*/ ,__ref._bordercornersradius /*int*/ ); +RDebugUtils.currentLine=20250651; + //BA.debugLineNum = 20250651;BA.debugLine="Base.RequestFocus"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=20250652; + //BA.debugLineNum = 20250652;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; +_includetitle = (__ref._title /*Object*/ ).equals((Object)("")) == false; +RDebugUtils.currentLine=20250653; + //BA.debugLineNum = 20250653;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; _temptitlebarheight = (int) (0); - //BA.debugLineNum = 127;BA.debugLine="If IncludeTitle Then"; +RDebugUtils.currentLine=20250654; + //BA.debugLineNum = 20250654;BA.debugLine="If IncludeTitle Then"; if (true) break; case 15: @@ -744,44 +1054,52 @@ this.state = 17; case 17: //C this.state = 18; - //BA.debugLineNum = 128;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; -_temptitlebarheight = parent._titlebarheight; +RDebugUtils.currentLine=20250655; + //BA.debugLineNum = 20250655;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; +_temptitlebarheight = __ref._titlebarheight /*int*/ ; if (true) break; case 18: //C this.state = 19; ; - //BA.debugLineNum = 130;BA.debugLine="Dim height As Int = Content.Height + ButtonsHeigh"; -_height = (int) (_content.getHeight()+parent._buttonsheight+parent.__c.DipToCurrent((int) (3))+parent.__c.DipToCurrent((int) (3))+_temptitlebarheight); - //BA.debugLineNum = 131;BA.debugLine="Dim width As Int = Content.Width + 4dip"; +RDebugUtils.currentLine=20250657; + //BA.debugLineNum = 20250657;BA.debugLine="Dim height As Int = Content.Height + ButtonsHeigh"; +_height = (int) (_content.getHeight()+__ref._buttonsheight /*int*/ +parent.__c.DipToCurrent((int) (3))+parent.__c.DipToCurrent((int) (3))+_temptitlebarheight); +RDebugUtils.currentLine=20250658; + //BA.debugLineNum = 20250658;BA.debugLine="Dim width As Int = Content.Width + 4dip"; _width = (int) (_content.getWidth()+parent.__c.DipToCurrent((int) (4))); - //BA.debugLineNum = 132;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - he"; -_top = (int) (parent.__c.Round(parent._background.getHeight()/(double)2-_height/(double)2)); - //BA.debugLineNum = 133;BA.debugLine="Dim RemoveTitle As Boolean"; +RDebugUtils.currentLine=20250659; + //BA.debugLineNum = 20250659;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - he"; +_top = (int) (parent.__c.Round(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-_height/(double)2)); +RDebugUtils.currentLine=20250660; + //BA.debugLineNum = 20250660;BA.debugLine="Dim RemoveTitle As Boolean"; _removetitle = false; - //BA.debugLineNum = 134;BA.debugLine="If PutAtTop Then"; +RDebugUtils.currentLine=20250661; + //BA.debugLineNum = 20250661;BA.debugLine="If PutAtTop Then"; if (true) break; case 19: //if this.state = 28; -if (parent._putattop) { +if (__ref._putattop /*boolean*/ ) { this.state = 21; }if (true) break; case 21: //C this.state = 22; - //BA.debugLineNum = 135;BA.debugLine="Top = 20dip"; +RDebugUtils.currentLine=20250662; + //BA.debugLineNum = 20250662;BA.debugLine="Top = 20dip"; _top = parent.__c.DipToCurrent((int) (20)); - //BA.debugLineNum = 136;BA.debugLine="If Background.Height - Top - height < 200dip The"; +RDebugUtils.currentLine=20250663; + //BA.debugLineNum = 20250663;BA.debugLine="If Background.Height - Top - height < 200dip The"; if (true) break; case 22: //if this.state = 27; -if (parent._background.getHeight()-_top-_height 0 Then"; +RDebugUtils.currentLine=20250708; + //BA.debugLineNum = 20250708;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetVisibleAnimated(__ref._visibleanimationduration /*int*/ ,parent.__c.False); +RDebugUtils.currentLine=20250709; + //BA.debugLineNum = 20250709;BA.debugLine="If VisibleAnimationDuration > 0 Then"; if (true) break; case 56: //if this.state = 59; -if (parent._visibleanimationduration>0) { +if (__ref._visibleanimationduration /*int*/ >0) { this.state = 58; }if (true) break; case 58: //C this.state = 59; - //BA.debugLineNum = 183;BA.debugLine="Sleep(VisibleAnimationDuration)"; -parent.__c.Sleep(ba,this,parent._visibleanimationduration); +RDebugUtils.currentLine=20250710; + //BA.debugLineNum = 20250710;BA.debugLine="Sleep(VisibleAnimationDuration)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdialog", "showcustom"),__ref._visibleanimationduration /*int*/ ); this.state = 69; return; case 69: @@ -1074,33 +1428,40 @@ case 59: //C this.state = -1; ; - //BA.debugLineNum = 185;BA.debugLine="Background.RemoveViewFromParent"; -parent._background.RemoveViewFromParent(); - //BA.debugLineNum = 186;BA.debugLine="Return Result"; +RDebugUtils.currentLine=20250712; + //BA.debugLineNum = 20250712;BA.debugLine="Background.RemoveViewFromParent"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); +RDebugUtils.currentLine=20250713; + //BA.debugLineNum = 20250713;BA.debugLine="Return Result"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 187;BA.debugLine="End Sub"; +RDebugUtils.currentLine=20250714; + //BA.debugLineNum = 20250714;BA.debugLine="End Sub"; if (true) break; } } } } -public void _closemessage(int _result) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showtemplate(Object _dialogtemplate,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_ShowTemplate rsub = new ResumableSub_ShowTemplate(this,_dialogtemplate,_yes,_no,_cancel); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showtemplate(reparto_intmex.keymon.lat.b4xdialog __ref,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "showtemplate", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "showtemplate", new Object[] {_dialogtemplate,_yes,_no,_cancel}));} +ResumableSub_ShowTemplate rsub = new ResumableSub_ShowTemplate(this,__ref,_dialogtemplate,_yes,_no,_cancel); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_ShowTemplate extends BA.ResumableSub { -public ResumableSub_ShowTemplate(reparto_intmex.keymon.lat.b4xdialog parent,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) { +public ResumableSub_ShowTemplate(reparto_intmex.keymon.lat.b4xdialog parent,reparto_intmex.keymon.lat.b4xdialog __ref,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) { this.parent = parent; +this.__ref = __ref; this._dialogtemplate = _dialogtemplate; this._yes = _yes; this._no = _no; this._cancel = _cancel; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xdialog __ref; reparto_intmex.keymon.lat.b4xdialog parent; Object _dialogtemplate; Object _yes; @@ -1111,6 +1472,7 @@ int _result = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; while (true) { switch (state) { @@ -1120,69 +1482,50 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 66;BA.debugLine="Dim content As B4XView = CallSub2(DialogTemplate,"; +RDebugUtils.currentLine=20119553; + //BA.debugLineNum = 20119553;BA.debugLine="Dim content As B4XView = CallSub2(DialogTemplate,"; _content = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_content = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(parent.__c.CallSubNew2(ba,_dialogtemplate,"GetPanel",parent))); - //BA.debugLineNum = 67;BA.debugLine="CallSub2(DialogTemplate, \"Show\", Me)"; -parent.__c.CallSubNew2(ba,_dialogtemplate,"Show",parent); - //BA.debugLineNum = 68;BA.debugLine="Wait For (ShowCustom(content , Yes, No, Cancel))"; -parent.__c.WaitFor("complete", ba, this, parent._showcustom(_content,_yes,_no,_cancel)); +_content = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(parent.__c.CallSubDebug2(ba,_dialogtemplate,"GetPanel",parent))); +RDebugUtils.currentLine=20119554; + //BA.debugLineNum = 20119554;BA.debugLine="CallSub2(DialogTemplate, \"Show\", Me)"; +parent.__c.CallSubDebug2(ba,_dialogtemplate,"Show",parent); +RDebugUtils.currentLine=20119555; + //BA.debugLineNum = 20119555;BA.debugLine="Wait For (ShowCustom(content , Yes, No, Cancel))"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdialog", "showtemplate"), __ref._showcustom /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null,_content,_yes,_no,_cancel)); this.state = 1; return; case 1: //C this.state = -1; -_result = (Integer) result[0]; +_result = (Integer) result[1]; ; - //BA.debugLineNum = 69;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; -parent.__c.CallSubNew2(ba,_dialogtemplate,"DialogClosed",(Object)(_result)); - //BA.debugLineNum = 70;BA.debugLine="PutAtTop = False"; -parent._putattop = parent.__c.False; - //BA.debugLineNum = 71;BA.debugLine="Return Result"; +RDebugUtils.currentLine=20119556; + //BA.debugLineNum = 20119556;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; +parent.__c.CallSubDebug2(ba,_dialogtemplate,"DialogClosed",(Object)(_result)); +RDebugUtils.currentLine=20119557; + //BA.debugLineNum = 20119557;BA.debugLine="PutAtTop = False"; +__ref._putattop /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=20119558; + //BA.debugLineNum = 20119558;BA.debugLine="Return Result"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 72;BA.debugLine="End Sub"; +RDebugUtils.currentLine=20119559; + //BA.debugLineNum = 20119559;BA.debugLine="End Sub"; if (true) break; } } } } -public String _stub_click() throws Exception{ - //BA.debugLineNum = 349;BA.debugLine="Private Sub Stub_Click"; - //BA.debugLineNum = 351;BA.debugLine="End Sub"; +public String _stub_click(reparto_intmex.keymon.lat.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "stub_click", true)) + {return ((String) Debug.delegate(ba, "stub_click", null));} +RDebugUtils.currentLine=21233664; + //BA.debugLineNum = 21233664;BA.debugLine="Private Sub Stub_Click"; +RDebugUtils.currentLine=21233666; + //BA.debugLineNum = 21233666;BA.debugLine="End Sub"; return ""; } -public String _updateblur() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _source = null; -b4a.example.bitmapcreator _blurred = null; - //BA.debugLineNum = 274;BA.debugLine="Private Sub UpdateBlur"; - //BA.debugLineNum = 275;BA.debugLine="If BlurBackground = False Then Return"; -if (_blurbackground==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 276;BA.debugLine="Background.Visible = False"; -_background.setVisible(__c.False); - //BA.debugLineNum = 277;BA.debugLine="Dim source As B4XBitmap = Background.Parent.Snaps"; -_source = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_source = _background.getParent().Snapshot(); - //BA.debugLineNum = 278;BA.debugLine="If source.Width > Background.Width Or source.Heig"; -if (_source.getWidth()>_background.getWidth() || _source.getHeight()>_background.getHeight()) { - //BA.debugLineNum = 279;BA.debugLine="source = source.Crop(0, 0, Background.Width, Bac"; -_source = _source.Crop((int) (0),(int) (0),_background.getWidth(),_background.getHeight()); - }; - //BA.debugLineNum = 281;BA.debugLine="Background.Visible = True"; -_background.setVisible(__c.True); - //BA.debugLineNum = 282;BA.debugLine="BlurImageView.SetLayoutAnimated(0, 0, 0, Backgrou"; -_blurimageview.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_background.getWidth(),_background.getHeight()); - //BA.debugLineNum = 283;BA.debugLine="Dim blurred As BitmapCreator = Blur(source)"; -_blurred = _blur(_source); - //BA.debugLineNum = 284;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; -_blurred._setbitmaptoimageview(_blurred._getbitmap(),_blurimageview); - //BA.debugLineNum = 285;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xfloattextfield.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xfloattextfield.java index 66cc33c..a02c96e 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xfloattextfield.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xfloattextfield.java @@ -10,7 +10,7 @@ public class b4xfloattextfield extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xfloattextfield"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xfloattextfield"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xfloattextfield extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -59,10 +66,10 @@ public long _lastswitchtextfieldtime = 0L; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -70,465 +77,844 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ +public String _base_resize(reparto_intmex.keymon.lat.b4xfloattextfield __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} int _firstdistance = 0; - //BA.debugLineNum = 196;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 197;BA.debugLine="mTextField.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mtextfield.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 198;BA.debugLine="Dim FirstDistance As Int = 2dip"; +RDebugUtils.currentLine=21889024; + //BA.debugLineNum = 21889024;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=21889025; + //BA.debugLineNum = 21889025;BA.debugLine="mTextField.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=21889026; + //BA.debugLineNum = 21889026;BA.debugLine="Dim FirstDistance As Int = 2dip"; _firstdistance = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 199;BA.debugLine="If Multiline And xui.IsB4J Then FirstDistance = 2"; -if (_multiline && _xui.getIsB4J()) { +RDebugUtils.currentLine=21889027; + //BA.debugLineNum = 21889027;BA.debugLine="If Multiline And xui.IsB4J Then FirstDistance = 2"; +if (__ref._multiline /*boolean*/ && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { _firstdistance = __c.DipToCurrent((int) (22));}; - //BA.debugLineNum = 200;BA.debugLine="If lblV.IsInitialized Then"; -if (_lblv.IsInitialized()) { - //BA.debugLineNum = 201;BA.debugLine="lblV.SetLayoutAnimated(0, Width - lblV.Width - F"; -_lblv.SetLayoutAnimated((int) (0),(int) (_width-_lblv.getWidth()-_firstdistance),(int) (0),_lblv.getWidth(),(int) (_height)); - //BA.debugLineNum = 202;BA.debugLine="FirstDistance = FirstDistance + lblV.Width + 2di"; -_firstdistance = (int) (_firstdistance+_lblv.getWidth()+__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=21889028; + //BA.debugLineNum = 21889028;BA.debugLine="If lblV.IsInitialized Then"; +if (__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=21889029; + //BA.debugLineNum = 21889029;BA.debugLine="lblV.SetLayoutAnimated(0, Width - lblV.Width - F"; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (_width-__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-_firstdistance),(int) (0),__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),(int) (_height)); +RDebugUtils.currentLine=21889030; + //BA.debugLineNum = 21889030;BA.debugLine="FirstDistance = FirstDistance + lblV.Width + 2di"; +_firstdistance = (int) (_firstdistance+__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+__c.DipToCurrent((int) (2))); }; - //BA.debugLineNum = 204;BA.debugLine="If lblClear.IsInitialized Then"; -if (_lblclear.IsInitialized()) { - //BA.debugLineNum = 205;BA.debugLine="lblClear.SetLayoutAnimated(0, Width - lblClear.W"; -_lblclear.SetLayoutAnimated((int) (0),(int) (_width-_lblclear.getWidth()-_firstdistance),(int) (0),_lblclear.getWidth(),(int) (_height)); +RDebugUtils.currentLine=21889032; + //BA.debugLineNum = 21889032;BA.debugLine="If lblClear.IsInitialized Then"; +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=21889033; + //BA.debugLineNum = 21889033;BA.debugLine="lblClear.SetLayoutAnimated(0, Width - lblClear.W"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (_width-__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-_firstdistance),(int) (0),__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),(int) (_height)); }; - //BA.debugLineNum = 207;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 208;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21889035; + //BA.debugLineNum = 21889035;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=21889036; + //BA.debugLineNum = 21889036;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 16;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 17;BA.debugLine="Private mEventName As String 'ignore"; +public String _updatelabel(reparto_intmex.keymon.lat.b4xfloattextfield __ref,String _txt,boolean _force) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "updatelabel", true)) + {return ((String) Debug.delegate(ba, "updatelabel", new Object[] {_txt,_force}));} +anywheresoftware.b4a.objects.B4XViewWrapper _lbl = null; +boolean _goingtolarge = false; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _b = null; +RDebugUtils.currentLine=21954560; + //BA.debugLineNum = 21954560;BA.debugLine="Private Sub UpdateLabel (txt As String, force As B"; +RDebugUtils.currentLine=21954561; + //BA.debugLineNum = 21954561;BA.debugLine="For Each lbl As B4XView In Array As B4XView(lblCl"; +{ +final anywheresoftware.b4a.objects.B4XViewWrapper[] group1 = new anywheresoftware.b4a.objects.B4XViewWrapper[]{__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ }; +final int groupLen1 = group1.length +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_lbl = group1[index1]; +RDebugUtils.currentLine=21954562; + //BA.debugLineNum = 21954562;BA.debugLine="If lbl.IsInitialized Then lbl.Visible = Focused"; +if (_lbl.IsInitialized()) { +_lbl.setVisible(__ref._focused /*boolean*/ && _txt.length()>0);}; + } +}; +RDebugUtils.currentLine=21954565; + //BA.debugLineNum = 21954565;BA.debugLine="Dim GoingToLarge As Boolean = txt.Length = 0"; +_goingtolarge = _txt.length()==0; +RDebugUtils.currentLine=21954566; + //BA.debugLineNum = 21954566;BA.debugLine="If GoingToLarge = LargeLabel And force = False Th"; +if (_goingtolarge==__ref._largelabel /*boolean*/ && _force==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=21954567; + //BA.debugLineNum = 21954567;BA.debugLine="Dim b As B4XBitmap"; +_b = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=21954568; + //BA.debugLineNum = 21954568;BA.debugLine="If Focused Then"; +if (__ref._focused /*boolean*/ ) { +RDebugUtils.currentLine=21954569; + //BA.debugLineNum = 21954569;BA.debugLine="If GoingToLarge Then b = LargeFocused Else b = S"; +if (_goingtolarge) { +_b = __ref._largefocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;} +else { +_b = __ref._smallfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;}; + }else { +RDebugUtils.currentLine=21954571; + //BA.debugLineNum = 21954571;BA.debugLine="If GoingToLarge Then b = LargeNotFocused Else b"; +if (_goingtolarge) { +_b = __ref._largenotfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;} +else { +_b = __ref._smallnotfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;}; + }; +RDebugUtils.currentLine=21954573; + //BA.debugLineNum = 21954573;BA.debugLine="If b.IsInitialized = False Then Return"; +if (_b.IsInitialized()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=21954574; + //BA.debugLineNum = 21954574;BA.debugLine="HintImageView.SetBitmap(b)"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_b.getObject())); +RDebugUtils.currentLine=21954575; + //BA.debugLineNum = 21954575;BA.debugLine="If GoingToLarge Then"; +if (_goingtolarge) { +RDebugUtils.currentLine=21954576; + //BA.debugLineNum = 21954576;BA.debugLine="HintImageView.SetLayoutAnimated (AnimationDurati"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._animationduration /*int*/ ,__ref._hintlabellargeoffsetx /*int*/ ,(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-_b.getHeight()/(double)2),(int) (_b.getWidth()),(int) (_b.getHeight())); +RDebugUtils.currentLine=21954577; + //BA.debugLineNum = 21954577;BA.debugLine="LargeLabel = True"; +__ref._largelabel /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=21954579; + //BA.debugLineNum = 21954579;BA.debugLine="HintImageView.SetLayoutAnimated(AnimationDuratio"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._animationduration /*int*/ ,__ref._hintlabelsmalloffsetx /*int*/ ,__ref._hintlabelsmalloffsety /*int*/ ,(int) (_b.getWidth()),(int) (_b.getHeight())); +RDebugUtils.currentLine=21954580; + //BA.debugLineNum = 21954580;BA.debugLine="LargeLabel = False"; +__ref._largelabel /*boolean*/ = __c.False; + }; +RDebugUtils.currentLine=21954582; + //BA.debugLineNum = 21954582;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +RDebugUtils.currentLine=21299200; + //BA.debugLineNum = 21299200;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=21299201; + //BA.debugLineNum = 21299201;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 18;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=21299202; + //BA.debugLineNum = 21299202;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 19;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=21299203; + //BA.debugLineNum = 21299203;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=21299204; + //BA.debugLineNum = 21299204;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 21;BA.debugLine="Private mTextField As B4XView"; +RDebugUtils.currentLine=21299205; + //BA.debugLineNum = 21299205;BA.debugLine="Private mTextField As B4XView"; _mtextfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public AnimationDuration As Int = 200"; +RDebugUtils.currentLine=21299206; + //BA.debugLineNum = 21299206;BA.debugLine="Public AnimationDuration As Int = 200"; _animationduration = (int) (200); - //BA.debugLineNum = 23;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; +RDebugUtils.currentLine=21299207; + //BA.debugLineNum = 21299207;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; _largelabeltextsize = (float) (18); _smalllabeltextsize = (float) (14); - //BA.debugLineNum = 24;BA.debugLine="Private LargeLabel As Boolean"; +RDebugUtils.currentLine=21299208; + //BA.debugLineNum = 21299208;BA.debugLine="Private LargeLabel As Boolean"; _largelabel = false; - //BA.debugLineNum = 25;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; +RDebugUtils.currentLine=21299209; + //BA.debugLineNum = 21299209;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; _measuringcanvas = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 26;BA.debugLine="Public HintColor As Int"; +RDebugUtils.currentLine=21299210; + //BA.debugLineNum = 21299210;BA.debugLine="Public HintColor As Int"; _hintcolor = 0; - //BA.debugLineNum = 27;BA.debugLine="Public NonFocusedHintColor As Int"; +RDebugUtils.currentLine=21299211; + //BA.debugLineNum = 21299211;BA.debugLine="Public NonFocusedHintColor As Int"; _nonfocusedhintcolor = 0; - //BA.debugLineNum = 28;BA.debugLine="Private HintImageView As B4XView"; +RDebugUtils.currentLine=21299212; + //BA.debugLineNum = 21299212;BA.debugLine="Private HintImageView As B4XView"; _hintimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Public HintText As String"; +RDebugUtils.currentLine=21299213; + //BA.debugLineNum = 21299213;BA.debugLine="Public HintText As String"; _hinttext = ""; - //BA.debugLineNum = 30;BA.debugLine="Public HintFont As B4XFont"; +RDebugUtils.currentLine=21299214; + //BA.debugLineNum = 21299214;BA.debugLine="Public HintFont As B4XFont"; _hintfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 31;BA.debugLine="Private LargeFocused, LargeNotFocused, SmallFocus"; +RDebugUtils.currentLine=21299215; + //BA.debugLineNum = 21299215;BA.debugLine="Private LargeFocused, LargeNotFocused, SmallFocus"; _largefocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _largenotfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _smallfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _smallnotfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Public Focused As Boolean"; +RDebugUtils.currentLine=21299216; + //BA.debugLineNum = 21299216;BA.debugLine="Public Focused As Boolean"; _focused = false; - //BA.debugLineNum = 33;BA.debugLine="Public lblClear As B4XView"; +RDebugUtils.currentLine=21299217; + //BA.debugLineNum = 21299217;BA.debugLine="Public lblClear As B4XView"; _lblclear = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Public lblV As B4XView"; +RDebugUtils.currentLine=21299218; + //BA.debugLineNum = 21299218;BA.debugLine="Public lblV As B4XView"; _lblv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private mProps As Map"; +RDebugUtils.currentLine=21299219; + //BA.debugLineNum = 21299219;BA.debugLine="Private mProps As Map"; _mprops = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 36;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=21299220; + //BA.debugLineNum = 21299220;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 37;BA.debugLine="Private KeyboardType As String 'ignore"; +RDebugUtils.currentLine=21299221; + //BA.debugLineNum = 21299221;BA.debugLine="Private KeyboardType As String 'ignore"; _keyboardtype = ""; - //BA.debugLineNum = 38;BA.debugLine="Private Multiline As Boolean"; +RDebugUtils.currentLine=21299222; + //BA.debugLineNum = 21299222;BA.debugLine="Private Multiline As Boolean"; _multiline = false; - //BA.debugLineNum = 39;BA.debugLine="Private mNextTextField As B4XFloatTextField"; +RDebugUtils.currentLine=21299223; + //BA.debugLineNum = 21299223;BA.debugLine="Private mNextTextField As B4XFloatTextField"; _mnexttextfield = new reparto_intmex.keymon.lat.b4xfloattextfield(); - //BA.debugLineNum = 41;BA.debugLine="Private IME As IME"; +RDebugUtils.currentLine=21299225; + //BA.debugLineNum = 21299225;BA.debugLine="Private IME As IME"; _ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 46;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; +RDebugUtils.currentLine=21299230; + //BA.debugLineNum = 21299230;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; _hintlabellargeoffsetx = 0; _hintlabelsmalloffsety = __c.DipToCurrent((int) (2)); _hintlabelsmalloffsetx = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 47;BA.debugLine="Private LastSwitchTextFieldTime As Long"; +RDebugUtils.currentLine=21299231; + //BA.debugLineNum = 21299231;BA.debugLine="Private LastSwitchTextFieldTime As Long"; _lastswitchtextfieldtime = 0L; - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21299232; + //BA.debugLineNum = 21299232;BA.debugLine="End Sub"; return ""; } -public String _createacceptbutton() throws Exception{ - //BA.debugLineNum = 125;BA.debugLine="Private Sub CreateAcceptButton"; - //BA.debugLineNum = 126;BA.debugLine="If mProps.GetDefault(\"ShowAccept\", True) = False"; -if ((_mprops.GetDefault((Object)("ShowAccept"),(Object)(__c.True))).equals((Object)(__c.False))) { +public String _createacceptbutton(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createacceptbutton", true)) + {return ((String) Debug.delegate(ba, "createacceptbutton", null));} +RDebugUtils.currentLine=21626880; + //BA.debugLineNum = 21626880;BA.debugLine="Private Sub CreateAcceptButton"; +RDebugUtils.currentLine=21626881; + //BA.debugLineNum = 21626881;BA.debugLine="If mProps.GetDefault(\"ShowAccept\", True) = False"; +if ((__ref._mprops /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault((Object)("ShowAccept"),(Object)(__c.True))).equals((Object)(__c.False))) { if (true) return "";}; - //BA.debugLineNum = 127;BA.debugLine="lblV = CreateButton(Chr(0xE5CA))"; -_lblv = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe5ca)))); - //BA.debugLineNum = 128;BA.debugLine="lblV.Tag = \"v\""; -_lblv.setTag((Object)("v")); - //BA.debugLineNum = 129;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21626882; + //BA.debugLineNum = 21626882;BA.debugLine="lblV = CreateButton(Chr(0xE5CA))"; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createbutton /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe5ca)))); +RDebugUtils.currentLine=21626883; + //BA.debugLineNum = 21626883;BA.debugLine="lblV.Tag = \"v\""; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("v")); +RDebugUtils.currentLine=21626884; + //BA.debugLineNum = 21626884;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r,int _color,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _createbutton(reparto_intmex.keymon.lat.b4xfloattextfield __ref,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createbutton", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createbutton", new Object[] {_text}));} +anywheresoftware.b4a.objects.LabelWrapper _lc = null; +anywheresoftware.b4a.objects.B4XViewWrapper _x = null; +RDebugUtils.currentLine=21823488; + //BA.debugLineNum = 21823488;BA.debugLine="Private Sub CreateButton (Text As String) As B4XVi"; +RDebugUtils.currentLine=21823489; + //BA.debugLineNum = 21823489;BA.debugLine="Dim lc As Label"; +_lc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21823490; + //BA.debugLineNum = 21823490;BA.debugLine="lc.Initialize(\"lc\")"; +_lc.Initialize(ba,"lc"); +RDebugUtils.currentLine=21823491; + //BA.debugLineNum = 21823491;BA.debugLine="Dim x As B4XView = lc"; +_x = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); +RDebugUtils.currentLine=21823492; + //BA.debugLineNum = 21823492;BA.debugLine="x = lc"; +_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); +RDebugUtils.currentLine=21823493; + //BA.debugLineNum = 21823493;BA.debugLine="x.Font = xui.CreateMaterialIcons(20)"; +_x.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons((float) (20))); +RDebugUtils.currentLine=21823494; + //BA.debugLineNum = 21823494;BA.debugLine="x.Text = Text"; +_x.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=21823495; + //BA.debugLineNum = 21823495;BA.debugLine="x.TextColor = mTextField.TextColor"; +_x.setTextColor(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor()); +RDebugUtils.currentLine=21823496; + //BA.debugLineNum = 21823496;BA.debugLine="x.Visible = False"; +_x.setVisible(__c.False); +RDebugUtils.currentLine=21823497; + //BA.debugLineNum = 21823497;BA.debugLine="x.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_x.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=21823498; + //BA.debugLineNum = 21823498;BA.debugLine="mBase.AddView(x, 0, 0, 30dip, 30dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_x.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (30)),__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=21823499; + //BA.debugLineNum = 21823499;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=21823500; + //BA.debugLineNum = 21823500;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(reparto_intmex.keymon.lat.b4xfloattextfield __ref,anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r,int _color,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createbitmap", new Object[] {_r,_color,_fnt}));} anywheresoftware.b4a.objects.B4XViewWrapper _p = null; anywheresoftware.b4a.objects.B4XCanvas _c = null; int _baseline = 0; anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; - //BA.debugLineNum = 257;BA.debugLine="Private Sub CreateBitmap(r As B4XRect, Color As In"; - //BA.debugLineNum = 258;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=22151168; + //BA.debugLineNum = 22151168;BA.debugLine="Private Sub CreateBitmap(r As B4XRect, Color As In"; +RDebugUtils.currentLine=22151169; + //BA.debugLineNum = 22151169;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 259;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Max(1, r.Width + 2di"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=22151170; + //BA.debugLineNum = 22151170;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Max(1, r.Width + 2di"; _p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (__c.Max(1,_r.getWidth()+__c.DipToCurrent((int) (2)))),(int) (__c.Max(1,_r.getHeight()+__c.DipToCurrent((int) (2))))); - //BA.debugLineNum = 260;BA.debugLine="Dim c As B4XCanvas"; +RDebugUtils.currentLine=22151171; + //BA.debugLineNum = 22151171;BA.debugLine="Dim c As B4XCanvas"; _c = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 261;BA.debugLine="c.Initialize(p)"; +RDebugUtils.currentLine=22151172; + //BA.debugLineNum = 22151172;BA.debugLine="c.Initialize(p)"; _c.Initialize(_p); - //BA.debugLineNum = 262;BA.debugLine="Dim BaseLine As Int = p.Height / 2 - r.Height / 2"; +RDebugUtils.currentLine=22151173; + //BA.debugLineNum = 22151173;BA.debugLine="Dim BaseLine As Int = p.Height / 2 - r.Height / 2"; _baseline = (int) (_p.getHeight()/(double)2-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 263;BA.debugLine="c.DrawText(HintText, p.Width / 2, BaseLine, Fnt,"; -_c.DrawText(ba,_hinttext,(float) (_p.getWidth()/(double)2),(float) (_baseline),_fnt,_color,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - //BA.debugLineNum = 264;BA.debugLine="Dim bmp As B4XBitmap = c.CreateBitmap"; +RDebugUtils.currentLine=22151174; + //BA.debugLineNum = 22151174;BA.debugLine="c.DrawText(HintText, p.Width / 2, BaseLine, Fnt,"; +_c.DrawText(ba,__ref._hinttext /*String*/ ,(float) (_p.getWidth()/(double)2),(float) (_baseline),_fnt,_color,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=22151175; + //BA.debugLineNum = 22151175;BA.debugLine="Dim bmp As B4XBitmap = c.CreateBitmap"; _bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _bmp = _c.CreateBitmap(); - //BA.debugLineNum = 265;BA.debugLine="c.Release"; +RDebugUtils.currentLine=22151176; + //BA.debugLineNum = 22151176;BA.debugLine="c.Release"; _c.Release(); - //BA.debugLineNum = 266;BA.debugLine="Return bmp"; +RDebugUtils.currentLine=22151177; + //BA.debugLineNum = 22151177;BA.debugLine="Return bmp"; if (true) return _bmp; - //BA.debugLineNum = 267;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22151178; + //BA.debugLineNum = 22151178;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.B4XViewWrapper _createbutton(String _text) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _lc = null; -anywheresoftware.b4a.objects.B4XViewWrapper _x = null; - //BA.debugLineNum = 182;BA.debugLine="Private Sub CreateButton (Text As String) As B4XVi"; - //BA.debugLineNum = 183;BA.debugLine="Dim lc As Label"; -_lc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 184;BA.debugLine="lc.Initialize(\"lc\")"; -_lc.Initialize(ba,"lc"); - //BA.debugLineNum = 185;BA.debugLine="Dim x As B4XView = lc"; -_x = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); - //BA.debugLineNum = 186;BA.debugLine="x = lc"; -_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); - //BA.debugLineNum = 187;BA.debugLine="x.Font = xui.CreateMaterialIcons(20)"; -_x.setFont(_xui.CreateMaterialIcons((float) (20))); - //BA.debugLineNum = 188;BA.debugLine="x.Text = Text"; -_x.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 189;BA.debugLine="x.TextColor = mTextField.TextColor"; -_x.setTextColor(_mtextfield.getTextColor()); - //BA.debugLineNum = 190;BA.debugLine="x.Visible = False"; -_x.setVisible(__c.False); - //BA.debugLineNum = 191;BA.debugLine="x.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_x.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 192;BA.debugLine="mBase.AddView(x, 0, 0, 30dip, 30dip)"; -_mbase.AddView((android.view.View)(_x.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (30)),__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 193;BA.debugLine="Return x"; -if (true) return _x; - //BA.debugLineNum = 194;BA.debugLine="End Sub"; -return null; -} -public String _createclearbutton() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Private Sub CreateClearButton"; - //BA.debugLineNum = 118;BA.debugLine="If mProps.GetDefault(\"ShowClear\", True) = False T"; -if ((_mprops.GetDefault((Object)("ShowClear"),(Object)(__c.True))).equals((Object)(__c.False))) { +public String _createclearbutton(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createclearbutton", true)) + {return ((String) Debug.delegate(ba, "createclearbutton", null));} +RDebugUtils.currentLine=21561344; + //BA.debugLineNum = 21561344;BA.debugLine="Private Sub CreateClearButton"; +RDebugUtils.currentLine=21561345; + //BA.debugLineNum = 21561345;BA.debugLine="If mProps.GetDefault(\"ShowClear\", True) = False T"; +if ((__ref._mprops /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault((Object)("ShowClear"),(Object)(__c.True))).equals((Object)(__c.False))) { if (true) return "";}; - //BA.debugLineNum = 119;BA.debugLine="If lblClear.IsInitialized And lblClear.Parent.IsI"; -if (_lblclear.IsInitialized() && _lblclear.getParent().IsInitialized()) { -_lblclear.RemoveViewFromParent();}; - //BA.debugLineNum = 120;BA.debugLine="lblClear = CreateButton(Chr(0xE14C))"; -_lblclear = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe14c)))); - //BA.debugLineNum = 121;BA.debugLine="lblClear.Tag = \"clear\""; -_lblclear.setTag((Object)("clear")); - //BA.debugLineNum = 123;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21561346; + //BA.debugLineNum = 21561346;BA.debugLine="If lblClear.IsInitialized And lblClear.Parent.IsI"; +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized() && __ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().IsInitialized()) { +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent();}; +RDebugUtils.currentLine=21561347; + //BA.debugLineNum = 21561347;BA.debugLine="lblClear = CreateButton(Chr(0xE14C))"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createbutton /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe14c)))); +RDebugUtils.currentLine=21561348; + //BA.debugLineNum = 21561348;BA.debugLine="lblClear.Tag = \"clear\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("clear")); +RDebugUtils.currentLine=21561350; + //BA.debugLineNum = 21561350;BA.debugLine="End Sub"; return ""; } -public String _createrevealbutton() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Private Sub CreateRevealButton"; - //BA.debugLineNum = 133;BA.debugLine="lblClear = CreateButton(Chr(0xE8F4))"; -_lblclear = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe8f4)))); - //BA.debugLineNum = 134;BA.debugLine="lblClear.Tag = \"reveal\""; -_lblclear.setTag((Object)("reveal")); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; +public String _createrevealbutton(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createrevealbutton", true)) + {return ((String) Debug.delegate(ba, "createrevealbutton", null));} +RDebugUtils.currentLine=21692416; + //BA.debugLineNum = 21692416;BA.debugLine="Private Sub CreateRevealButton"; +RDebugUtils.currentLine=21692417; + //BA.debugLineNum = 21692417;BA.debugLine="lblClear = CreateButton(Chr(0xE8F4))"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createbutton /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe8f4)))); +RDebugUtils.currentLine=21692418; + //BA.debugLineNum = 21692418;BA.debugLine="lblClear.Tag = \"reveal\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("reveal")); +RDebugUtils.currentLine=21692419; + //BA.debugLineNum = 21692419;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _createtextfield(boolean _password) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _createtextfield(reparto_intmex.keymon.lat.b4xfloattextfield __ref,boolean _password) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createtextfield", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createtextfield", new Object[] {_password}));} anywheresoftware.b4a.objects.EditTextWrapper _tf = null; - //BA.debugLineNum = 328;BA.debugLine="Private Sub CreateTextField (Password As Boolean)"; - //BA.debugLineNum = 344;BA.debugLine="Dim tf As EditText"; +RDebugUtils.currentLine=22740992; + //BA.debugLineNum = 22740992;BA.debugLine="Private Sub CreateTextField (Password As Boolean)"; +RDebugUtils.currentLine=22741008; + //BA.debugLineNum = 22741008;BA.debugLine="Dim tf As EditText"; _tf = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 345;BA.debugLine="tf.Initialize(\"tf\")"; +RDebugUtils.currentLine=22741009; + //BA.debugLineNum = 22741009;BA.debugLine="tf.Initialize(\"tf\")"; _tf.Initialize(ba,"tf"); - //BA.debugLineNum = 346;BA.debugLine="tf.SingleLine = Not(Multiline)"; -_tf.setSingleLine(__c.Not(_multiline)); - //BA.debugLineNum = 347;BA.debugLine="tf.PasswordMode = Password"; +RDebugUtils.currentLine=22741010; + //BA.debugLineNum = 22741010;BA.debugLine="tf.SingleLine = Not(Multiline)"; +_tf.setSingleLine(__c.Not(__ref._multiline /*boolean*/ )); +RDebugUtils.currentLine=22741011; + //BA.debugLineNum = 22741011;BA.debugLine="tf.PasswordMode = Password"; _tf.setPasswordMode(_password); - //BA.debugLineNum = 348;BA.debugLine="If Password Then"; +RDebugUtils.currentLine=22741012; + //BA.debugLineNum = 22741012;BA.debugLine="If Password Then"; if (_password) { - //BA.debugLineNum = 349;BA.debugLine="If KeyboardType <> \"Text\" Then"; -if ((_keyboardtype).equals("Text") == false) { - //BA.debugLineNum = 350;BA.debugLine="tf.InputType = Bit.Or(tf.INPUT_TYPE_NUMBERS, 16"; +RDebugUtils.currentLine=22741013; + //BA.debugLineNum = 22741013;BA.debugLine="If KeyboardType <> \"Text\" Then"; +if ((__ref._keyboardtype /*String*/ ).equals("Text") == false) { +RDebugUtils.currentLine=22741014; + //BA.debugLineNum = 22741014;BA.debugLine="tf.InputType = Bit.Or(tf.INPUT_TYPE_NUMBERS, 16"; _tf.setInputType(__c.Bit.Or(_tf.INPUT_TYPE_NUMBERS,(int) (16))); }else { - //BA.debugLineNum = 352;BA.debugLine="tf.InputType = Bit.Or(0x00000080, 0x00080000) '"; +RDebugUtils.currentLine=22741016; + //BA.debugLineNum = 22741016;BA.debugLine="tf.InputType = Bit.Or(0x00000080, 0x00080000) '"; _tf.setInputType(__c.Bit.Or(((int)0x00000080),((int)0x00080000))); }; }else { - //BA.debugLineNum = 355;BA.debugLine="Select KeyboardType"; -switch (BA.switchObjectToInt(_keyboardtype,"Numbers","Decimal")) { +RDebugUtils.currentLine=22741019; + //BA.debugLineNum = 22741019;BA.debugLine="Select KeyboardType"; +switch (BA.switchObjectToInt(__ref._keyboardtype /*String*/ ,"Numbers","Decimal")) { case 0: { - //BA.debugLineNum = 357;BA.debugLine="tf.InputType = tf.INPUT_TYPE_NUMBERS"; +RDebugUtils.currentLine=22741021; + //BA.debugLineNum = 22741021;BA.debugLine="tf.InputType = tf.INPUT_TYPE_NUMBERS"; _tf.setInputType(_tf.INPUT_TYPE_NUMBERS); break; } case 1: { - //BA.debugLineNum = 359;BA.debugLine="tf.InputType = tf.INPUT_TYPE_DECIMAL_NUMBERS"; +RDebugUtils.currentLine=22741023; + //BA.debugLineNum = 22741023;BA.debugLine="tf.InputType = tf.INPUT_TYPE_DECIMAL_NUMBERS"; _tf.setInputType(_tf.INPUT_TYPE_DECIMAL_NUMBERS); break; } } ; }; - //BA.debugLineNum = 362;BA.debugLine="Return tf"; +RDebugUtils.currentLine=22741026; + //BA.debugLineNum = 22741026;BA.debugLine="Return tf"; if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_tf.getObject())); - //BA.debugLineNum = 386;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22741050; + //BA.debugLineNum = 22741050;BA.debugLine="End Sub"; return null; } -public String _createtextfieldall(boolean _passwordmode,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1,int _textcolor) throws Exception{ - //BA.debugLineNum = 109;BA.debugLine="Private Sub CreateTextFieldAll (PasswordMode As Bo"; - //BA.debugLineNum = 110;BA.debugLine="mTextField = CreateTextField (PasswordMode)"; -_mtextfield = _createtextfield(_passwordmode); - //BA.debugLineNum = 111;BA.debugLine="mTextField.Font = Font1"; -_mtextfield.setFont(_font1); - //BA.debugLineNum = 112;BA.debugLine="mTextField.TextColor = TextColor"; -_mtextfield.setTextColor(_textcolor); - //BA.debugLineNum = 113;BA.debugLine="setNextField(mNextTextField)"; -_setnextfield(_mnexttextfield); - //BA.debugLineNum = 114;BA.debugLine="mBase.AddView(mTextField, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mtextfield.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; +public String _createtextfieldall(reparto_intmex.keymon.lat.b4xfloattextfield __ref,boolean _passwordmode,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1,int _textcolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createtextfieldall", true)) + {return ((String) Debug.delegate(ba, "createtextfieldall", new Object[] {_passwordmode,_font1,_textcolor}));} +RDebugUtils.currentLine=21495808; + //BA.debugLineNum = 21495808;BA.debugLine="Private Sub CreateTextFieldAll (PasswordMode As Bo"; +RDebugUtils.currentLine=21495809; + //BA.debugLineNum = 21495809;BA.debugLine="mTextField = CreateTextField (PasswordMode)"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,_passwordmode); +RDebugUtils.currentLine=21495810; + //BA.debugLineNum = 21495810;BA.debugLine="mTextField.Font = Font1"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setFont(_font1); +RDebugUtils.currentLine=21495811; + //BA.debugLineNum = 21495811;BA.debugLine="mTextField.TextColor = TextColor"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTextColor(_textcolor); +RDebugUtils.currentLine=21495812; + //BA.debugLineNum = 21495812;BA.debugLine="setNextField(mNextTextField)"; +__ref._setnextfield /*String*/ (null,__ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ); +RDebugUtils.currentLine=21495813; + //BA.debugLineNum = 21495813;BA.debugLine="mBase.AddView(mTextField, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=21495814; + //BA.debugLineNum = 21495814;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _setnextfield(reparto_intmex.keymon.lat.b4xfloattextfield __ref,reparto_intmex.keymon.lat.b4xfloattextfield _field) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "setnextfield", true)) + {return ((String) Debug.delegate(ba, "setnextfield", new Object[] {_field}));} +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +Object _o = null; +RDebugUtils.currentLine=22544384; + //BA.debugLineNum = 22544384;BA.debugLine="Public Sub setNextField (Field As B4XFloatTextFiel"; +RDebugUtils.currentLine=22544385; + //BA.debugLineNum = 22544385;BA.debugLine="If Field.IsInitialized = False Then Return"; +if (_field.IsInitialized /*boolean*/ ()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=22544387; + //BA.debugLineNum = 22544387;BA.debugLine="If Multiline = False Then"; +if (__ref._multiline /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=22544388; + //BA.debugLineNum = 22544388;BA.debugLine="If Field <> Me Then"; +if ((_field).equals((reparto_intmex.keymon.lat.b4xfloattextfield)(this)) == false) { +RDebugUtils.currentLine=22544389; + //BA.debugLineNum = 22544389;BA.debugLine="IME.AddHandleActionEvent(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .AddHandleActionEvent((android.widget.EditText)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),ba); + }; +RDebugUtils.currentLine=22544391; + //BA.debugLineNum = 22544391;BA.debugLine="Dim et As EditText = mTextField"; +_et = new anywheresoftware.b4a.objects.EditTextWrapper(); +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=22544392; + //BA.debugLineNum = 22544392;BA.debugLine="et.ForceDoneButton = True"; +_et.setForceDoneButton(__c.True); + }; +RDebugUtils.currentLine=22544395; + //BA.debugLineNum = 22544395;BA.debugLine="Dim o As Object = Field"; +_o = (Object)(_field); +RDebugUtils.currentLine=22544396; + //BA.debugLineNum = 22544396;BA.debugLine="mNextTextField = o"; +__ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ = (reparto_intmex.keymon.lat.b4xfloattextfield)(_o); +RDebugUtils.currentLine=22544397; + //BA.debugLineNum = 22544397;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_intmex.keymon.lat.b4xfloattextfield __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _passedlabel = null; anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; boolean _passwordmode = false; anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 67;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 68;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 69;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 69;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 70;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 71;BA.debugLine="mProps = Props"; -_mprops = _props; - //BA.debugLineNum = 72;BA.debugLine="Dim PassedLabel As B4XView = lbl"; +RDebugUtils.currentLine=21430272; + //BA.debugLineNum = 21430272;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=21430273; + //BA.debugLineNum = 21430273;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=21430274; + //BA.debugLineNum = 21430274;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=21430274; + //BA.debugLineNum = 21430274;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=21430275; + //BA.debugLineNum = 21430275;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=21430276; + //BA.debugLineNum = 21430276;BA.debugLine="mProps = Props"; +__ref._mprops /*anywheresoftware.b4a.objects.collections.Map*/ = _props; +RDebugUtils.currentLine=21430277; + //BA.debugLineNum = 21430277;BA.debugLine="Dim PassedLabel As B4XView = lbl"; _passedlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _passedlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 73;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=21430278; + //BA.debugLineNum = 21430278;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 74;BA.debugLine="iv.Initialize(\"HintImageView\")"; +RDebugUtils.currentLine=21430279; + //BA.debugLineNum = 21430279;BA.debugLine="iv.Initialize(\"HintImageView\")"; _iv.Initialize(ba,"HintImageView"); - //BA.debugLineNum = 75;BA.debugLine="HintImageView = iv"; -_hintimageview = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 76;BA.debugLine="KeyboardType = Props.GetDefault(\"KeyboardType\", \""; -_keyboardtype = BA.ObjectToString(_props.GetDefault((Object)("KeyboardType"),(Object)("Text"))); - //BA.debugLineNum = 82;BA.debugLine="HintColor = xui.PaintOrColorToColor(Props.Get(\"Hi"; -_hintcolor = _xui.PaintOrColorToColor(_props.Get((Object)("HintColor"))); - //BA.debugLineNum = 83;BA.debugLine="NonFocusedHintColor = xui.PaintOrColorToColor(Pro"; -_nonfocusedhintcolor = _xui.PaintOrColorToColor(_props.Get((Object)("NonFocusedHintColor"))); - //BA.debugLineNum = 85;BA.debugLine="HintText = Props.Get(\"Hint\")"; -_hinttext = BA.ObjectToString(_props.Get((Object)("Hint"))); - //BA.debugLineNum = 86;BA.debugLine="HintFont = PassedLabel.Font"; -_hintfont = _passedlabel.getFont(); - //BA.debugLineNum = 87;BA.debugLine="Dim PasswordMode As Boolean = Props.GetDefault(\"P"; +RDebugUtils.currentLine=21430280; + //BA.debugLineNum = 21430280;BA.debugLine="HintImageView = iv"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); +RDebugUtils.currentLine=21430281; + //BA.debugLineNum = 21430281;BA.debugLine="KeyboardType = Props.GetDefault(\"KeyboardType\", \""; +__ref._keyboardtype /*String*/ = BA.ObjectToString(_props.GetDefault((Object)("KeyboardType"),(Object)("Text"))); +RDebugUtils.currentLine=21430287; + //BA.debugLineNum = 21430287;BA.debugLine="HintColor = xui.PaintOrColorToColor(Props.Get(\"Hi"; +__ref._hintcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("HintColor"))); +RDebugUtils.currentLine=21430288; + //BA.debugLineNum = 21430288;BA.debugLine="NonFocusedHintColor = xui.PaintOrColorToColor(Pro"; +__ref._nonfocusedhintcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("NonFocusedHintColor"))); +RDebugUtils.currentLine=21430290; + //BA.debugLineNum = 21430290;BA.debugLine="HintText = Props.Get(\"Hint\")"; +__ref._hinttext /*String*/ = BA.ObjectToString(_props.Get((Object)("Hint"))); +RDebugUtils.currentLine=21430291; + //BA.debugLineNum = 21430291;BA.debugLine="HintFont = PassedLabel.Font"; +__ref._hintfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _passedlabel.getFont(); +RDebugUtils.currentLine=21430292; + //BA.debugLineNum = 21430292;BA.debugLine="Dim PasswordMode As Boolean = Props.GetDefault(\"P"; _passwordmode = BA.ObjectToBoolean(_props.GetDefault((Object)("PasswordField"),(Object)(__c.False))); - //BA.debugLineNum = 88;BA.debugLine="Multiline = Props.GetDefault(\"Multiline\", False)"; -_multiline = BA.ObjectToBoolean(_props.GetDefault((Object)("Multiline"),(Object)(__c.False))); - //BA.debugLineNum = 89;BA.debugLine="If PasswordMode And Multiline Then"; -if (_passwordmode && _multiline) { - //BA.debugLineNum = 90;BA.debugLine="Multiline = False"; -_multiline = __c.False; - //BA.debugLineNum = 91;BA.debugLine="Log(\"Multiline not supported with password mode."; -__c.LogImpl("958195992","Multiline not supported with password mode.",0); +RDebugUtils.currentLine=21430293; + //BA.debugLineNum = 21430293;BA.debugLine="Multiline = Props.GetDefault(\"Multiline\", False)"; +__ref._multiline /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("Multiline"),(Object)(__c.False))); +RDebugUtils.currentLine=21430294; + //BA.debugLineNum = 21430294;BA.debugLine="If PasswordMode And Multiline Then"; +if (_passwordmode && __ref._multiline /*boolean*/ ) { +RDebugUtils.currentLine=21430295; + //BA.debugLineNum = 21430295;BA.debugLine="Multiline = False"; +__ref._multiline /*boolean*/ = __c.False; +RDebugUtils.currentLine=21430296; + //BA.debugLineNum = 21430296;BA.debugLine="Log(\"Multiline not supported with password mode."; +__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()))); - //BA.debugLineNum = 95;BA.debugLine="mBase.AddView(HintImageView, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_hintimageview.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 96;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=21430298; + //BA.debugLineNum = 21430298;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font"; +__ref._createtextfieldall /*String*/ (null,_passwordmode,_passedlabel.getFont(),__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor((Object)(_lbl.getTextColor()))); +RDebugUtils.currentLine=21430300; + //BA.debugLineNum = 21430300;BA.debugLine="mBase.AddView(HintImageView, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=21430301; + //BA.debugLineNum = 21430301;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 97;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=21430302; + //BA.debugLineNum = 21430302;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; _p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 98;BA.debugLine="MeasuringCanvas.Initialize(p)"; -_measuringcanvas.Initialize(_p); - //BA.debugLineNum = 99;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 100;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; +RDebugUtils.currentLine=21430303; + //BA.debugLineNum = 21430303;BA.debugLine="MeasuringCanvas.Initialize(p)"; +__ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_p); +RDebugUtils.currentLine=21430304; + //BA.debugLineNum = 21430304;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=21430305; + //BA.debugLineNum = 21430305;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; if (_passwordmode && BA.ObjectToBoolean(_props.GetDefault((Object)("ShowRevealButton"),(Object)(__c.False)))) { - //BA.debugLineNum = 101;BA.debugLine="CreateRevealButton"; -_createrevealbutton(); +RDebugUtils.currentLine=21430306; + //BA.debugLineNum = 21430306;BA.debugLine="CreateRevealButton"; +__ref._createrevealbutton /*String*/ (null); }else { - //BA.debugLineNum = 103;BA.debugLine="CreateClearButton"; -_createclearbutton(); +RDebugUtils.currentLine=21430308; + //BA.debugLineNum = 21430308;BA.debugLine="CreateClearButton"; +__ref._createclearbutton /*String*/ (null); }; - //BA.debugLineNum = 105;BA.debugLine="CreateAcceptButton"; -_createacceptbutton(); - //BA.debugLineNum = 106;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21430310; + //BA.debugLineNum = 21430310;BA.debugLine="CreateAcceptButton"; +__ref._createacceptbutton /*String*/ (null); +RDebugUtils.currentLine=21430311; + //BA.debugLineNum = 21430311;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=21430312; + //BA.debugLineNum = 21430312;BA.debugLine="End Sub"; return ""; } -public reparto_intmex.keymon.lat.b4xfloattextfield _getnextfield() throws Exception{ - //BA.debugLineNum = 295;BA.debugLine="Public Sub getNextField As B4XFloatTextField"; - //BA.debugLineNum = 296;BA.debugLine="Return mNextTextField"; -if (true) return _mnexttextfield; - //BA.debugLineNum = 297;BA.debugLine="End Sub"; -return null; -} -public String _gettext() throws Exception{ - //BA.debugLineNum = 388;BA.debugLine="Public Sub getText As String"; - //BA.debugLineNum = 389;BA.debugLine="Return mTextField.Text"; -if (true) return _mtextfield.getText(); - //BA.debugLineNum = 390;BA.debugLine="End Sub"; +public String _update(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _f = null; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=22085632; + //BA.debugLineNum = 22085632;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=22085633; + //BA.debugLineNum = 22085633;BA.debugLine="Dim f As B4XFont = xui.CreateFont2(HintFont, Lar"; +_f = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateFont2(__ref._hintfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ,__ref._largelabeltextsize /*float*/ ); +RDebugUtils.currentLine=22085634; + //BA.debugLineNum = 22085634;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +_r = __ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(__ref._hinttext /*String*/ ,_f); +RDebugUtils.currentLine=22085635; + //BA.debugLineNum = 22085635;BA.debugLine="LargeFocused = CreateBitmap(r, HintColor, f)"; +__ref._largefocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,_r,__ref._hintcolor /*int*/ ,_f); +RDebugUtils.currentLine=22085636; + //BA.debugLineNum = 22085636;BA.debugLine="LargeNotFocused = CreateBitmap(r, NonFocusedHintC"; +__ref._largenotfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,_r,__ref._nonfocusedhintcolor /*int*/ ,_f); +RDebugUtils.currentLine=22085637; + //BA.debugLineNum = 22085637;BA.debugLine="f = xui.CreateFont2(HintFont, SmallLabelTextSize)"; +_f = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateFont2(__ref._hintfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ,__ref._smalllabeltextsize /*float*/ ); +RDebugUtils.currentLine=22085638; + //BA.debugLineNum = 22085638;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +_r = __ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(__ref._hinttext /*String*/ ,_f); +RDebugUtils.currentLine=22085639; + //BA.debugLineNum = 22085639;BA.debugLine="SmallFocused = CreateBitmap(r, HintColor, f)"; +__ref._smallfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,_r,__ref._hintcolor /*int*/ ,_f); +RDebugUtils.currentLine=22085640; + //BA.debugLineNum = 22085640;BA.debugLine="SmallNotFocused = CreateBitmap(r, NonFocusedHintC"; +__ref._smallnotfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,_r,__ref._nonfocusedhintcolor /*int*/ ,_f); +RDebugUtils.currentLine=22085641; + //BA.debugLineNum = 22085641;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=22085642; + //BA.debugLineNum = 22085642;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _gettextfield() throws Exception{ - //BA.debugLineNum = 445;BA.debugLine="Public Sub getTextField As B4XView"; - //BA.debugLineNum = 446;BA.debugLine="Return mTextField"; -if (true) return _mtextfield; - //BA.debugLineNum = 447;BA.debugLine="End Sub"; +public reparto_intmex.keymon.lat.b4xfloattextfield _getnextfield(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "getnextfield", true)) + {return ((reparto_intmex.keymon.lat.b4xfloattextfield) Debug.delegate(ba, "getnextfield", null));} +RDebugUtils.currentLine=22478848; + //BA.debugLineNum = 22478848;BA.debugLine="Public Sub getNextField As B4XFloatTextField"; +RDebugUtils.currentLine=22478849; + //BA.debugLineNum = 22478849;BA.debugLine="Return mNextTextField"; +if (true) return __ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ; +RDebugUtils.currentLine=22478850; + //BA.debugLineNum = 22478850;BA.debugLine="End Sub"; return null; } -public boolean _ime_handleaction() throws Exception{ - //BA.debugLineNum = 314;BA.debugLine="Private Sub ime_HandleAction As Boolean"; - //BA.debugLineNum = 315;BA.debugLine="tf_EnterPressed"; -_tf_enterpressed(); - //BA.debugLineNum = 316;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; -if (_mnexttextfield.IsInitialized /*boolean*/ ()) { +public String _gettext(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((String) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=22806528; + //BA.debugLineNum = 22806528;BA.debugLine="Public Sub getText As String"; +RDebugUtils.currentLine=22806529; + //BA.debugLineNum = 22806529;BA.debugLine="Return mTextField.Text"; +if (true) return __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=22806530; + //BA.debugLineNum = 22806530;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _gettextfield(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "gettextfield", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "gettextfield", null));} +RDebugUtils.currentLine=23003136; + //BA.debugLineNum = 23003136;BA.debugLine="Public Sub getTextField As B4XView"; +RDebugUtils.currentLine=23003137; + //BA.debugLineNum = 23003137;BA.debugLine="Return mTextField"; +if (true) return __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=23003138; + //BA.debugLineNum = 23003138;BA.debugLine="End Sub"; +return null; +} +public boolean _ime_handleaction(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "ime_handleaction", true)) + {return ((Boolean) Debug.delegate(ba, "ime_handleaction", null));} +RDebugUtils.currentLine=22609920; + //BA.debugLineNum = 22609920;BA.debugLine="Private Sub ime_HandleAction As Boolean"; +RDebugUtils.currentLine=22609921; + //BA.debugLineNum = 22609921;BA.debugLine="tf_EnterPressed"; +__ref._tf_enterpressed /*String*/ (null); +RDebugUtils.currentLine=22609922; + //BA.debugLineNum = 22609922;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; +if (__ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ .IsInitialized /*boolean*/ ()) { if (true) return __c.True;}; - //BA.debugLineNum = 317;BA.debugLine="Return False"; +RDebugUtils.currentLine=22609923; + //BA.debugLineNum = 22609923;BA.debugLine="Return False"; if (true) return __c.False; - //BA.debugLineNum = 318;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22609924; + //BA.debugLineNum = 22609924;BA.debugLine="End Sub"; return false; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 50;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 51;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 52;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 53;BA.debugLine="If xui.IsB4A Then"; -if (_xui.getIsB4A()) { - //BA.debugLineNum = 54;BA.debugLine="HintLabelLargeOffsetX = 6dip"; -_hintlabellargeoffsetx = __c.DipToCurrent((int) (6)); - }else { - //BA.debugLineNum = 56;BA.debugLine="HintLabelLargeOffsetX = 12dip"; -_hintlabellargeoffsetx = __c.DipToCurrent((int) (12)); - }; - //BA.debugLineNum = 59;BA.debugLine="IME.Initialize(\"ime\")"; -_ime.Initialize("ime"); - //BA.debugLineNum = 65;BA.debugLine="End Sub"; +public String _tf_enterpressed(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_enterpressed", true)) + {return ((String) Debug.delegate(ba, "tf_enterpressed", null));} +RDebugUtils.currentLine=22675456; + //BA.debugLineNum = 22675456;BA.debugLine="Private Sub tf_EnterPressed"; +RDebugUtils.currentLine=22675457; + //BA.debugLineNum = 22675457;BA.debugLine="tf_Action"; +__ref._tf_action /*String*/ (null); +RDebugUtils.currentLine=22675462; + //BA.debugLineNum = 22675462;BA.debugLine="End Sub"; return ""; } -public String _lc_click() throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xfloattextfield __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=21364736; + //BA.debugLineNum = 21364736;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=21364737; + //BA.debugLineNum = 21364737;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=21364738; + //BA.debugLineNum = 21364738;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=21364739; + //BA.debugLineNum = 21364739;BA.debugLine="If xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=21364740; + //BA.debugLineNum = 21364740;BA.debugLine="HintLabelLargeOffsetX = 6dip"; +__ref._hintlabellargeoffsetx /*int*/ = __c.DipToCurrent((int) (6)); + }else { +RDebugUtils.currentLine=21364742; + //BA.debugLineNum = 21364742;BA.debugLine="HintLabelLargeOffsetX = 12dip"; +__ref._hintlabellargeoffsetx /*int*/ = __c.DipToCurrent((int) (12)); + }; +RDebugUtils.currentLine=21364745; + //BA.debugLineNum = 21364745;BA.debugLine="IME.Initialize(\"ime\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize("ime"); +RDebugUtils.currentLine=21364751; + //BA.debugLineNum = 21364751;BA.debugLine="End Sub"; +return ""; +} +public String _lc_click(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "lc_click", true)) + {return ((String) Debug.delegate(ba, "lc_click", null));} anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; - //BA.debugLineNum = 403;BA.debugLine="Private Sub lc_Click"; - //BA.debugLineNum = 404;BA.debugLine="Dim btn As B4XView = Sender"; +RDebugUtils.currentLine=22937600; + //BA.debugLineNum = 22937600;BA.debugLine="Private Sub lc_Click"; +RDebugUtils.currentLine=22937601; + //BA.debugLineNum = 22937601;BA.debugLine="Dim btn As B4XView = Sender"; _btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); _btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 405;BA.debugLine="Select btn.Tag"; +RDebugUtils.currentLine=22937602; + //BA.debugLineNum = 22937602;BA.debugLine="Select btn.Tag"; switch (BA.switchObjectToInt(_btn.getTag(),(Object)("clear"),(Object)("reveal"),(Object)("hide"),(Object)("v"))) { case 0: { - //BA.debugLineNum = 407;BA.debugLine="setText(\"\")"; -_settext(""); +RDebugUtils.currentLine=22937604; + //BA.debugLineNum = 22937604;BA.debugLine="setText(\"\")"; +__ref._settext /*String*/ (null,""); break; } case 1: { - //BA.debugLineNum = 409;BA.debugLine="SwitchFromPasswordToRegular (True)"; -_switchfrompasswordtoregular(__c.True); +RDebugUtils.currentLine=22937606; + //BA.debugLineNum = 22937606;BA.debugLine="SwitchFromPasswordToRegular (True)"; +__ref._switchfrompasswordtoregular /*void*/ (null,__c.True); break; } case 2: { - //BA.debugLineNum = 411;BA.debugLine="SwitchFromPasswordToRegular(False)"; -_switchfrompasswordtoregular(__c.False); +RDebugUtils.currentLine=22937608; + //BA.debugLineNum = 22937608;BA.debugLine="SwitchFromPasswordToRegular(False)"; +__ref._switchfrompasswordtoregular /*void*/ (null,__c.False); break; } case 3: { - //BA.debugLineNum = 413;BA.debugLine="tf_EnterPressed"; -_tf_enterpressed(); - //BA.debugLineNum = 414;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; -if (_mnexttextfield.IsInitialized /*boolean*/ ()==__c.False || (_mnexttextfield).equals((reparto_intmex.keymon.lat.b4xfloattextfield)(this))) { - //BA.debugLineNum = 416;BA.debugLine="IME.HideKeyboard"; -_ime.HideKeyboard(ba); +RDebugUtils.currentLine=22937610; + //BA.debugLineNum = 22937610;BA.debugLine="tf_EnterPressed"; +__ref._tf_enterpressed /*String*/ (null); +RDebugUtils.currentLine=22937611; + //BA.debugLineNum = 22937611;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; +if (__ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ .IsInitialized /*boolean*/ ()==__c.False || (__ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ).equals((reparto_intmex.keymon.lat.b4xfloattextfield)(this))) { +RDebugUtils.currentLine=22937613; + //BA.debugLineNum = 22937613;BA.debugLine="IME.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); }; break; } } ; - //BA.debugLineNum = 422;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22937619; + //BA.debugLineNum = 22937619;BA.debugLine="End Sub"; return ""; } -public String _requestfocusandshowkeyboard() throws Exception{ - //BA.debugLineNum = 450;BA.debugLine="Public Sub RequestFocusAndShowKeyboard"; - //BA.debugLineNum = 451;BA.debugLine="mTextField.RequestFocus"; -_mtextfield.RequestFocus(); - //BA.debugLineNum = 453;BA.debugLine="IME.ShowKeyboard(mTextField)"; -_ime.ShowKeyboard((android.view.View)(_mtextfield.getObject())); - //BA.debugLineNum = 455;BA.debugLine="End Sub"; -return ""; -} -public String _setnextfield(reparto_intmex.keymon.lat.b4xfloattextfield _field) throws Exception{ -anywheresoftware.b4a.objects.EditTextWrapper _et = null; -Object _o = null; - //BA.debugLineNum = 299;BA.debugLine="Public Sub setNextField (Field As B4XFloatTextFiel"; - //BA.debugLineNum = 300;BA.debugLine="If Field.IsInitialized = False Then Return"; -if (_field.IsInitialized /*boolean*/ ()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 302;BA.debugLine="If Multiline = False Then"; -if (_multiline==__c.False) { - //BA.debugLineNum = 303;BA.debugLine="If Field <> Me Then"; -if ((_field).equals((reparto_intmex.keymon.lat.b4xfloattextfield)(this)) == false) { - //BA.debugLineNum = 304;BA.debugLine="IME.AddHandleActionEvent(mTextField)"; -_ime.AddHandleActionEvent((android.widget.EditText)(_mtextfield.getObject()),ba); - }; - //BA.debugLineNum = 306;BA.debugLine="Dim et As EditText = mTextField"; -_et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_mtextfield.getObject())); - //BA.debugLineNum = 307;BA.debugLine="et.ForceDoneButton = True"; -_et.setForceDoneButton(__c.True); - }; - //BA.debugLineNum = 310;BA.debugLine="Dim o As Object = Field"; -_o = (Object)(_field); - //BA.debugLineNum = 311;BA.debugLine="mNextTextField = o"; -_mnexttextfield = (reparto_intmex.keymon.lat.b4xfloattextfield)(_o); - //BA.debugLineNum = 312;BA.debugLine="End Sub"; -return ""; -} -public String _settext(String _s) throws Exception{ +public String _settext(reparto_intmex.keymon.lat.b4xfloattextfield __ref,String _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_s}));} String _old = ""; - //BA.debugLineNum = 392;BA.debugLine="Public Sub setText(s As String)"; - //BA.debugLineNum = 393;BA.debugLine="Dim old As String = mTextField.Text 'ignore"; -_old = _mtextfield.getText(); - //BA.debugLineNum = 394;BA.debugLine="mTextField.Text = s"; -_mtextfield.setText(BA.ObjectToCharSequence(_s)); - //BA.debugLineNum = 396;BA.debugLine="If IsPaused(Me) Then tf_TextChanged(old, s)"; +RDebugUtils.currentLine=22872064; + //BA.debugLineNum = 22872064;BA.debugLine="Public Sub setText(s As String)"; +RDebugUtils.currentLine=22872065; + //BA.debugLineNum = 22872065;BA.debugLine="Dim old As String = mTextField.Text 'ignore"; +_old = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=22872066; + //BA.debugLineNum = 22872066;BA.debugLine="mTextField.Text = s"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(_s)); +RDebugUtils.currentLine=22872068; + //BA.debugLineNum = 22872068;BA.debugLine="If IsPaused(Me) Then tf_TextChanged(old, s)"; if (__c.IsPaused(ba,this)) { -_tf_textchanged(_old,_s);}; - //BA.debugLineNum = 400;BA.debugLine="End Sub"; +__ref._tf_textchanged /*String*/ (null,_old,_s);}; +RDebugUtils.currentLine=22872072; + //BA.debugLineNum = 22872072;BA.debugLine="End Sub"; return ""; } -public void _switchfrompasswordtoregular(boolean _toregular) throws Exception{ -ResumableSub_SwitchFromPasswordToRegular rsub = new ResumableSub_SwitchFromPasswordToRegular(this,_toregular); +public void _switchfrompasswordtoregular(reparto_intmex.keymon.lat.b4xfloattextfield __ref,boolean _toregular) throws Exception{ +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "switchfrompasswordtoregular", true)) + {Debug.delegate(ba, "switchfrompasswordtoregular", new Object[] {_toregular}); return;} +ResumableSub_SwitchFromPasswordToRegular rsub = new ResumableSub_SwitchFromPasswordToRegular(this,__ref,_toregular); rsub.resume(ba, null); } public static class ResumableSub_SwitchFromPasswordToRegular extends BA.ResumableSub { -public ResumableSub_SwitchFromPasswordToRegular(reparto_intmex.keymon.lat.b4xfloattextfield parent,boolean _toregular) { +public ResumableSub_SwitchFromPasswordToRegular(reparto_intmex.keymon.lat.b4xfloattextfield parent,reparto_intmex.keymon.lat.b4xfloattextfield __ref,boolean _toregular) { this.parent = parent; +this.__ref = __ref; this._toregular = _toregular; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xfloattextfield __ref; reparto_intmex.keymon.lat.b4xfloattextfield parent; boolean _toregular; String _text = ""; @@ -539,6 +925,7 @@ anywheresoftware.b4a.objects.EditTextWrapper _et = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xfloattextfield"; while (true) { switch (state) { @@ -548,33 +935,41 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 138;BA.debugLine="Dim text As String = mTextField.Text"; -_text = parent._mtextfield.getText(); - //BA.debugLineNum = 139;BA.debugLine="Dim textcolor As Int = mTextField.TextColor"; -_textcolor = parent._mtextfield.getTextColor(); - //BA.debugLineNum = 140;BA.debugLine="Dim Font1 As B4XFont = mTextField.Font"; -_font1 = parent._mtextfield.getFont(); - //BA.debugLineNum = 141;BA.debugLine="Dim oldfield As B4XView = mTextField"; +RDebugUtils.currentLine=21757953; + //BA.debugLineNum = 21757953;BA.debugLine="Dim text As String = mTextField.Text"; +_text = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=21757954; + //BA.debugLineNum = 21757954;BA.debugLine="Dim textcolor As Int = mTextField.TextColor"; +_textcolor = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor(); +RDebugUtils.currentLine=21757955; + //BA.debugLineNum = 21757955;BA.debugLine="Dim Font1 As B4XFont = mTextField.Font"; +_font1 = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getFont(); +RDebugUtils.currentLine=21757956; + //BA.debugLineNum = 21757956;BA.debugLine="Dim oldfield As B4XView = mTextField"; _oldfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_oldfield = parent._mtextfield; - //BA.debugLineNum = 143;BA.debugLine="CreateTextFieldAll(Not(ToRegular), Font1, textcol"; -parent._createtextfieldall(parent.__c.Not(_toregular),_font1,_textcolor); - //BA.debugLineNum = 144;BA.debugLine="mTextField.Text = text"; -parent._mtextfield.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 145;BA.debugLine="If lblClear.IsInitialized Then"; +_oldfield = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=21757958; + //BA.debugLineNum = 21757958;BA.debugLine="CreateTextFieldAll(Not(ToRegular), Font1, textcol"; +__ref._createtextfieldall /*String*/ (null,parent.__c.Not(_toregular),_font1,_textcolor); +RDebugUtils.currentLine=21757959; + //BA.debugLineNum = 21757959;BA.debugLine="mTextField.Text = text"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=21757960; + //BA.debugLineNum = 21757960;BA.debugLine="If lblClear.IsInitialized Then"; if (true) break; case 1: //if this.state = 10; -if (parent._lblclear.IsInitialized()) { +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 146;BA.debugLine="If ToRegular = False Then"; +RDebugUtils.currentLine=21757961; + //BA.debugLineNum = 21757961;BA.debugLine="If ToRegular = False Then"; if (true) break; case 4: @@ -589,268 +984,268 @@ this.state = 8; case 6: //C this.state = 9; - //BA.debugLineNum = 147;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; -parent._lblclear.setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f4)))); - //BA.debugLineNum = 148;BA.debugLine="lblClear.Tag = \"reveal\""; -parent._lblclear.setTag((Object)("reveal")); +RDebugUtils.currentLine=21757962; + //BA.debugLineNum = 21757962;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f4)))); +RDebugUtils.currentLine=21757963; + //BA.debugLineNum = 21757963;BA.debugLine="lblClear.Tag = \"reveal\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("reveal")); if (true) break; case 8: //C this.state = 9; - //BA.debugLineNum = 150;BA.debugLine="lblClear.Tag = \"hide\""; -parent._lblclear.setTag((Object)("hide")); - //BA.debugLineNum = 151;BA.debugLine="lblClear.Text = Chr(0xE8F5)"; -parent._lblclear.setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f5)))); +RDebugUtils.currentLine=21757965; + //BA.debugLineNum = 21757965;BA.debugLine="lblClear.Tag = \"hide\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("hide")); +RDebugUtils.currentLine=21757966; + //BA.debugLineNum = 21757966;BA.debugLine="lblClear.Text = Chr(0xE8F5)"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f5)))); if (true) break; case 9: //C this.state = 10; ; - //BA.debugLineNum = 153;BA.debugLine="lblClear.BringToFront"; -parent._lblclear.BringToFront(); +RDebugUtils.currentLine=21757968; + //BA.debugLineNum = 21757968;BA.debugLine="lblClear.BringToFront"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); if (true) break; ; - //BA.debugLineNum = 155;BA.debugLine="If lblV.IsInitialized Then lblV.BringToFront"; +RDebugUtils.currentLine=21757970; + //BA.debugLineNum = 21757970;BA.debugLine="If lblV.IsInitialized Then lblV.BringToFront"; case 10: //if this.state = 15; -if (parent._lblv.IsInitialized()) { +if (__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { this.state = 12; ;}if (true) break; case 12: //C this.state = 15; -parent._lblv.BringToFront(); +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); if (true) break; case 15: //C this.state = 16; ; - //BA.debugLineNum = 156;BA.debugLine="HintImageView.BringToFront"; -parent._hintimageview.BringToFront(); - //BA.debugLineNum = 157;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -parent._base_resize(parent._mbase.getWidth(),parent._mbase.getHeight()); - //BA.debugLineNum = 162;BA.debugLine="Dim et As EditText = mTextField"; +RDebugUtils.currentLine=21757971; + //BA.debugLineNum = 21757971;BA.debugLine="HintImageView.BringToFront"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); +RDebugUtils.currentLine=21757972; + //BA.debugLineNum = 21757972;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=21757977; + //BA.debugLineNum = 21757977;BA.debugLine="Dim et As EditText = mTextField"; _et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(parent._mtextfield.getObject())); - //BA.debugLineNum = 163;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; -_et.setSelectionStart(parent._mtextfield.getText().length()); - //BA.debugLineNum = 165;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; -parent._lastswitchtextfieldtime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 166;BA.debugLine="mTextField.RequestFocus"; -parent._mtextfield.RequestFocus(); - //BA.debugLineNum = 167;BA.debugLine="oldfield.RemoveViewFromParent"; +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=21757978; + //BA.debugLineNum = 21757978;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; +_et.setSelectionStart(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText().length()); +RDebugUtils.currentLine=21757980; + //BA.debugLineNum = 21757980;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; +__ref._lastswitchtextfieldtime /*long*/ = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=21757981; + //BA.debugLineNum = 21757981;BA.debugLine="mTextField.RequestFocus"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=21757982; + //BA.debugLineNum = 21757982;BA.debugLine="oldfield.RemoveViewFromParent"; _oldfield.RemoveViewFromParent(); - //BA.debugLineNum = 169;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; -parent._lastswitchtextfieldtime = (long) (parent.__c.DateTime.getNow()+200); - //BA.debugLineNum = 170;BA.debugLine="et.Enabled = False"; +RDebugUtils.currentLine=21757984; + //BA.debugLineNum = 21757984;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; +__ref._lastswitchtextfieldtime /*long*/ = (long) (parent.__c.DateTime.getNow()+200); +RDebugUtils.currentLine=21757985; + //BA.debugLineNum = 21757985;BA.debugLine="et.Enabled = False"; _et.setEnabled(parent.__c.False); - //BA.debugLineNum = 171;BA.debugLine="Sleep(50)"; -parent.__c.Sleep(ba,this,(int) (50)); +RDebugUtils.currentLine=21757986; + //BA.debugLineNum = 21757986;BA.debugLine="Sleep(50)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xfloattextfield", "switchfrompasswordtoregular"),(int) (50)); this.state = 20; return; case 20: //C this.state = 16; ; - //BA.debugLineNum = 172;BA.debugLine="et.Enabled = True"; +RDebugUtils.currentLine=21757987; + //BA.debugLineNum = 21757987;BA.debugLine="et.Enabled = True"; _et.setEnabled(parent.__c.True); - //BA.debugLineNum = 173;BA.debugLine="Sleep(50)"; -parent.__c.Sleep(ba,this,(int) (50)); +RDebugUtils.currentLine=21757988; + //BA.debugLineNum = 21757988;BA.debugLine="Sleep(50)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xfloattextfield", "switchfrompasswordtoregular"),(int) (50)); this.state = 21; return; case 21: //C this.state = 16; ; - //BA.debugLineNum = 174;BA.debugLine="et.RequestFocus"; +RDebugUtils.currentLine=21757989; + //BA.debugLineNum = 21757989;BA.debugLine="et.RequestFocus"; _et.RequestFocus(); - //BA.debugLineNum = 175;BA.debugLine="IME.ShowKeyboard(mTextField)"; -parent._ime.ShowKeyboard((android.view.View)(parent._mtextfield.getObject())); - //BA.debugLineNum = 177;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Passwo"; +RDebugUtils.currentLine=21757990; + //BA.debugLineNum = 21757990;BA.debugLine="IME.ShowKeyboard(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=21757992; + //BA.debugLineNum = 21757992;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Passwo"; if (true) break; case 16: //if this.state = 19; -if (parent._xui.SubExists(ba,parent._mcallback,parent._meventname+"_PasswordRevealChanged",(int) (1))) { +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_PasswordRevealChanged",(int) (1))) { this.state = 18; }if (true) break; case 18: //C this.state = 19; - //BA.debugLineNum = 178;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Passwo"; -parent.__c.CallSubDelayed2(ba,parent._mcallback,parent._meventname+"_PasswordRevealChanged",(Object)(_toregular)); +RDebugUtils.currentLine=21757993; + //BA.debugLineNum = 21757993;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Passwo"; +parent.__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_PasswordRevealChanged",(Object)(_toregular)); if (true) break; case 19: //C this.state = -1; ; - //BA.debugLineNum = 180;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21757995; + //BA.debugLineNum = 21757995;BA.debugLine="End Sub"; if (true) break; } } } } -public String _tf_action() throws Exception{ - //BA.debugLineNum = 277;BA.debugLine="Private Sub tf_Action"; - //BA.debugLineNum = 278;BA.debugLine="If mNextTextField.IsInitialized And mNextTextFiel"; -if (_mnexttextfield.IsInitialized /*boolean*/ () && (_mnexttextfield).equals((reparto_intmex.keymon.lat.b4xfloattextfield)(this)) == false) { - //BA.debugLineNum = 279;BA.debugLine="mNextTextField.TextField.RequestFocus"; -_mnexttextfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().RequestFocus(); +public String _requestfocusandshowkeyboard(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "requestfocusandshowkeyboard", true)) + {return ((String) Debug.delegate(ba, "requestfocusandshowkeyboard", null));} +RDebugUtils.currentLine=23068672; + //BA.debugLineNum = 23068672;BA.debugLine="Public Sub RequestFocusAndShowKeyboard"; +RDebugUtils.currentLine=23068673; + //BA.debugLineNum = 23068673;BA.debugLine="mTextField.RequestFocus"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=23068675; + //BA.debugLineNum = 23068675;BA.debugLine="IME.ShowKeyboard(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=23068677; + //BA.debugLineNum = 23068677;BA.debugLine="End Sub"; +return ""; +} +public String _tf_textchanged(reparto_intmex.keymon.lat.b4xfloattextfield __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_textchanged", true)) + {return ((String) Debug.delegate(ba, "tf_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=22413312; + //BA.debugLineNum = 22413312;BA.debugLine="Private Sub tf_TextChanged (Old As String, New As"; +RDebugUtils.currentLine=22413313; + //BA.debugLineNum = 22413313;BA.debugLine="UpdateLabel(New, False)"; +__ref._updatelabel /*String*/ (null,_new,__c.False); +RDebugUtils.currentLine=22413314; + //BA.debugLineNum = 22413314;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TextCh"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TextChanged",(int) (2)) && __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=22413315; + //BA.debugLineNum = 22413315;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; +__c.CallSubNew3(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TextChanged",(Object)(_old),(Object)(_new)); }; - //BA.debugLineNum = 281;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_EnterP"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_EnterPressed",(int) (0))) { - //BA.debugLineNum = 282;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_EnterPressed"); +RDebugUtils.currentLine=22413317; + //BA.debugLineNum = 22413317;BA.debugLine="End Sub"; +return ""; +} +public String _tf_action(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_action", true)) + {return ((String) Debug.delegate(ba, "tf_action", null));} +RDebugUtils.currentLine=22347776; + //BA.debugLineNum = 22347776;BA.debugLine="Private Sub tf_Action"; +RDebugUtils.currentLine=22347777; + //BA.debugLineNum = 22347777;BA.debugLine="If mNextTextField.IsInitialized And mNextTextFiel"; +if (__ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ .IsInitialized /*boolean*/ () && (__ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ).equals((reparto_intmex.keymon.lat.b4xfloattextfield)(this)) == false) { +RDebugUtils.currentLine=22347778; + //BA.debugLineNum = 22347778;BA.debugLine="mNextTextField.TextField.RequestFocus"; +__ref._mnexttextfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).RequestFocus(); }; - //BA.debugLineNum = 284;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22347780; + //BA.debugLineNum = 22347780;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_EnterP"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_EnterPressed",(int) (0))) { +RDebugUtils.currentLine=22347781; + //BA.debugLineNum = 22347781;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_EnterPressed"); + }; +RDebugUtils.currentLine=22347783; + //BA.debugLineNum = 22347783;BA.debugLine="End Sub"; return ""; } -public String _tf_beginedit() throws Exception{ - //BA.debugLineNum = 269;BA.debugLine="Private Sub tf_BeginEdit"; - //BA.debugLineNum = 270;BA.debugLine="tf_FocusChanged(True)"; -_tf_focuschanged(__c.True); - //BA.debugLineNum = 271;BA.debugLine="End Sub"; +public String _tf_beginedit(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_beginedit", true)) + {return ((String) Debug.delegate(ba, "tf_beginedit", null));} +RDebugUtils.currentLine=22216704; + //BA.debugLineNum = 22216704;BA.debugLine="Private Sub tf_BeginEdit"; +RDebugUtils.currentLine=22216705; + //BA.debugLineNum = 22216705;BA.debugLine="tf_FocusChanged(True)"; +__ref._tf_focuschanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=22216706; + //BA.debugLineNum = 22216706;BA.debugLine="End Sub"; return ""; } -public String _tf_endedit() throws Exception{ - //BA.debugLineNum = 273;BA.debugLine="Private Sub tf_EndEdit"; - //BA.debugLineNum = 274;BA.debugLine="tf_FocusChanged(False)"; -_tf_focuschanged(__c.False); - //BA.debugLineNum = 275;BA.debugLine="End Sub"; -return ""; -} -public String _tf_enterpressed() throws Exception{ - //BA.debugLineNum = 320;BA.debugLine="Private Sub tf_EnterPressed"; - //BA.debugLineNum = 321;BA.debugLine="tf_Action"; -_tf_action(); - //BA.debugLineNum = 326;BA.debugLine="End Sub"; -return ""; -} -public String _tf_focuschanged(boolean _hasfocus) throws Exception{ - //BA.debugLineNum = 234;BA.debugLine="Private Sub tf_FocusChanged (HasFocus As Boolean)"; - //BA.debugLineNum = 235;BA.debugLine="Focused = HasFocus"; -_focused = _hasfocus; - //BA.debugLineNum = 236;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 237;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_FocusC"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_FocusChanged",(int) (1))) { - //BA.debugLineNum = 238;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; -if (_lastswitchtextfieldtime+100<__c.DateTime.getNow()) { - //BA.debugLineNum = 239;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_FocusChanged",(Object)(_focused)); +public String _tf_focuschanged(reparto_intmex.keymon.lat.b4xfloattextfield __ref,boolean _hasfocus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_focuschanged", true)) + {return ((String) Debug.delegate(ba, "tf_focuschanged", new Object[] {_hasfocus}));} +RDebugUtils.currentLine=22020096; + //BA.debugLineNum = 22020096;BA.debugLine="Private Sub tf_FocusChanged (HasFocus As Boolean)"; +RDebugUtils.currentLine=22020097; + //BA.debugLineNum = 22020097;BA.debugLine="Focused = HasFocus"; +__ref._focused /*boolean*/ = _hasfocus; +RDebugUtils.currentLine=22020098; + //BA.debugLineNum = 22020098;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=22020099; + //BA.debugLineNum = 22020099;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_FocusC"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_FocusChanged",(int) (1))) { +RDebugUtils.currentLine=22020100; + //BA.debugLineNum = 22020100;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; +if (__ref._lastswitchtextfieldtime /*long*/ +100<__c.DateTime.getNow()) { +RDebugUtils.currentLine=22020101; + //BA.debugLineNum = 22020101;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_FocusChanged",(Object)(__ref._focused /*boolean*/ )); }; }; - //BA.debugLineNum = 242;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22020104; + //BA.debugLineNum = 22020104;BA.debugLine="End Sub"; return ""; } -public String _tf_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 287;BA.debugLine="Private Sub tf_TextChanged (Old As String, New As"; - //BA.debugLineNum = 288;BA.debugLine="UpdateLabel(New, False)"; -_updatelabel(_new,__c.False); - //BA.debugLineNum = 289;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TextCh"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_TextChanged",(int) (2)) && _mtextfield.IsInitialized()) { - //BA.debugLineNum = 290;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; -__c.CallSubNew3(ba,_mcallback,_meventname+"_TextChanged",(Object)(_old),(Object)(_new)); - }; - //BA.debugLineNum = 292;BA.debugLine="End Sub"; +public String _tf_endedit(reparto_intmex.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_endedit", true)) + {return ((String) Debug.delegate(ba, "tf_endedit", null));} +RDebugUtils.currentLine=22282240; + //BA.debugLineNum = 22282240;BA.debugLine="Private Sub tf_EndEdit"; +RDebugUtils.currentLine=22282241; + //BA.debugLineNum = 22282241;BA.debugLine="tf_FocusChanged(False)"; +__ref._tf_focuschanged /*String*/ (null,__c.False); +RDebugUtils.currentLine=22282242; + //BA.debugLineNum = 22282242;BA.debugLine="End Sub"; return ""; } -public String _update() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _f = null; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 245;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 246;BA.debugLine="Dim f As B4XFont = xui.CreateFont2(HintFont, Lar"; -_f = _xui.CreateFont2(_hintfont,_largelabeltextsize); - //BA.debugLineNum = 247;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; -_r = _measuringcanvas.MeasureText(_hinttext,_f); - //BA.debugLineNum = 248;BA.debugLine="LargeFocused = CreateBitmap(r, HintColor, f)"; -_largefocused = _createbitmap(_r,_hintcolor,_f); - //BA.debugLineNum = 249;BA.debugLine="LargeNotFocused = CreateBitmap(r, NonFocusedHintC"; -_largenotfocused = _createbitmap(_r,_nonfocusedhintcolor,_f); - //BA.debugLineNum = 250;BA.debugLine="f = xui.CreateFont2(HintFont, SmallLabelTextSize)"; -_f = _xui.CreateFont2(_hintfont,_smalllabeltextsize); - //BA.debugLineNum = 251;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; -_r = _measuringcanvas.MeasureText(_hinttext,_f); - //BA.debugLineNum = 252;BA.debugLine="SmallFocused = CreateBitmap(r, HintColor, f)"; -_smallfocused = _createbitmap(_r,_hintcolor,_f); - //BA.debugLineNum = 253;BA.debugLine="SmallNotFocused = CreateBitmap(r, NonFocusedHintC"; -_smallnotfocused = _createbitmap(_r,_nonfocusedhintcolor,_f); - //BA.debugLineNum = 254;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 255;BA.debugLine="End Sub"; -return ""; -} -public String _updatelabel(String _txt,boolean _force) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _lbl = null; -boolean _goingtolarge = false; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _b = null; - //BA.debugLineNum = 210;BA.debugLine="Private Sub UpdateLabel (txt As String, force As B"; - //BA.debugLineNum = 211;BA.debugLine="For Each lbl As B4XView In Array As B4XView(lblCl"; -{ -final anywheresoftware.b4a.objects.B4XViewWrapper[] group1 = new anywheresoftware.b4a.objects.B4XViewWrapper[]{_lblclear,_lblv}; -final int groupLen1 = group1.length -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_lbl = group1[index1]; - //BA.debugLineNum = 212;BA.debugLine="If lbl.IsInitialized Then lbl.Visible = Focused"; -if (_lbl.IsInitialized()) { -_lbl.setVisible(_focused && _txt.length()>0);}; - } -}; - //BA.debugLineNum = 215;BA.debugLine="Dim GoingToLarge As Boolean = txt.Length = 0"; -_goingtolarge = _txt.length()==0; - //BA.debugLineNum = 216;BA.debugLine="If GoingToLarge = LargeLabel And force = False Th"; -if (_goingtolarge==_largelabel && _force==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 217;BA.debugLine="Dim b As B4XBitmap"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 218;BA.debugLine="If Focused Then"; -if (_focused) { - //BA.debugLineNum = 219;BA.debugLine="If GoingToLarge Then b = LargeFocused Else b = S"; -if (_goingtolarge) { -_b = _largefocused;} -else { -_b = _smallfocused;}; - }else { - //BA.debugLineNum = 221;BA.debugLine="If GoingToLarge Then b = LargeNotFocused Else b"; -if (_goingtolarge) { -_b = _largenotfocused;} -else { -_b = _smallnotfocused;}; - }; - //BA.debugLineNum = 223;BA.debugLine="If b.IsInitialized = False Then Return"; -if (_b.IsInitialized()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 224;BA.debugLine="HintImageView.SetBitmap(b)"; -_hintimageview.SetBitmap((android.graphics.Bitmap)(_b.getObject())); - //BA.debugLineNum = 225;BA.debugLine="If GoingToLarge Then"; -if (_goingtolarge) { - //BA.debugLineNum = 226;BA.debugLine="HintImageView.SetLayoutAnimated (AnimationDurati"; -_hintimageview.SetLayoutAnimated(_animationduration,_hintlabellargeoffsetx,(int) (_mbase.getHeight()/(double)2-_b.getHeight()/(double)2),(int) (_b.getWidth()),(int) (_b.getHeight())); - //BA.debugLineNum = 227;BA.debugLine="LargeLabel = True"; -_largelabel = __c.True; - }else { - //BA.debugLineNum = 229;BA.debugLine="HintImageView.SetLayoutAnimated(AnimationDuratio"; -_hintimageview.SetLayoutAnimated(_animationduration,_hintlabelsmalloffsetx,_hintlabelsmalloffsety,(int) (_b.getWidth()),(int) (_b.getHeight())); - //BA.debugLineNum = 230;BA.debugLine="LargeLabel = False"; -_largelabel = __c.False; - }; - //BA.debugLineNum = 232;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public void RemoveWarning() throws Exception{ + anywheresoftware.b4a.shell.Shell s = anywheresoftware.b4a.shell.Shell.INSTANCE; + java.lang.reflect.Field f = s.getClass().getDeclaredField("errorMessagesForSyncEvents"); + f.setAccessible(true); + java.util.HashSet h = (java.util.HashSet)f.get(s); + if (h == null) { + h = new java.util.HashSet(); + f.set(s, h); + } + h.add("tf_focuschanged"); } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xformatter.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xformatter.java index cc5f741..c932bb3 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xformatter.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xformatter.java @@ -10,7 +10,7 @@ public class b4xformatter extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xformatter"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xformatter"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,25 +23,13 @@ public class b4xformatter extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public anywheresoftware.b4a.objects.collections.List _formats = null; -public int _max_value = 0; -public int _min_value = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public b4a.example.dateutils _dateutils = null; -public reparto_intmex.keymon.lat.main _main = null; -public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; -public reparto_intmex.keymon.lat.foto _foto = null; -public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_intmex.keymon.lat.subs _subs = null; -public reparto_intmex.keymon.lat.tracker _tracker = null; -public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; -public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; -public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _b4xformatdata{ public boolean IsInitialized; public String Prefix; @@ -79,113 +67,44 @@ FractionPaddingChar = ""; public String toString() { return BA.TypeToString(this, false); }} -public String _addformatdata(reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _data,double _rangestart,double _rangeend,boolean _includeedges) throws Exception{ -double _factor = 0; - //BA.debugLineNum = 65;BA.debugLine="Public Sub AddFormatData (Data As B4XFormatData, R"; - //BA.debugLineNum = 66;BA.debugLine="Dim factor As Double = Power(10, -Data.MaximumFra"; -_factor = __c.Power(10,-_data.MaximumFractions /*int*/ ); - //BA.debugLineNum = 67;BA.debugLine="If IncludeEdges = False Then"; -if (_includeedges==__c.False) { - //BA.debugLineNum = 68;BA.debugLine="RangeStart = RangeStart + factor"; -_rangestart = _rangestart+_factor; - //BA.debugLineNum = 69;BA.debugLine="RangeEnd = RangeEnd - factor"; -_rangeend = _rangeend-_factor; - }; - //BA.debugLineNum = 71;BA.debugLine="RangeStart = RangeStart - factor / 2"; -_rangestart = _rangestart-_factor/(double)2; - //BA.debugLineNum = 72;BA.debugLine="RangeEnd = RangeEnd + factor / 2"; -_rangeend = _rangeend+_factor/(double)2; - //BA.debugLineNum = 73;BA.debugLine="Data.RangeStart = RangeStart"; -_data.RangeStart /*double*/ = _rangestart; - //BA.debugLineNum = 74;BA.debugLine="Data.RangeEnd = RangeEnd"; -_data.RangeEnd /*double*/ = _rangeend; - //BA.debugLineNum = 75;BA.debugLine="formats.Add(Data)"; -_formats.Add((Object)(_data)); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Type B4XFormatData (Prefix As String, Postfix As"; -; - //BA.debugLineNum = 6;BA.debugLine="Private formats As List"; -_formats = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 7;BA.debugLine="Public Const MAX_VALUE = 0x7fffffff, MIN_VALUE ="; -_max_value = ((int)0x7fffffff); -_min_value = ((int)0x80000000); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return ""; -} -public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _copyformatdata(reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _data) throws Exception{ -reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; - //BA.debugLineNum = 39;BA.debugLine="Dim d As B4XFormatData"; -_d = new reparto_intmex.keymon.lat.b4xformatter._b4xformatdata(); - //BA.debugLineNum = 40;BA.debugLine="d.Initialize"; -_d.Initialize(); - //BA.debugLineNum = 41;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; -_d.DecimalPoint /*String*/ = _data.DecimalPoint /*String*/ ; - //BA.debugLineNum = 42;BA.debugLine="If Data.FormatFont.IsInitialized Then"; -if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { - //BA.debugLineNum = 44;BA.debugLine="d.FormatFont = xui.CreateFont(Data.FormatFont.To"; -_d.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _xui.CreateFont((android.graphics.Typeface)(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .ToNativeFont().getObject()),_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getSize()); - }; - //BA.debugLineNum = 47;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; -_d.GroupingCharacter /*String*/ = _data.GroupingCharacter /*String*/ ; - //BA.debugLineNum = 48;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; -_d.MaximumFractions /*int*/ = _data.MaximumFractions /*int*/ ; - //BA.debugLineNum = 49;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; -_d.MinimumFractions /*int*/ = _data.MinimumFractions /*int*/ ; - //BA.debugLineNum = 50;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; -_d.MinimumIntegers /*int*/ = _data.MinimumIntegers /*int*/ ; - //BA.debugLineNum = 51;BA.debugLine="d.Postfix = Data.Postfix"; -_d.Postfix /*String*/ = _data.Postfix /*String*/ ; - //BA.debugLineNum = 52;BA.debugLine="d.Prefix = Data.Prefix"; -_d.Prefix /*String*/ = _data.Prefix /*String*/ ; - //BA.debugLineNum = 53;BA.debugLine="d.RangeEnd = Data.RangeEnd"; -_d.RangeEnd /*double*/ = _data.RangeEnd /*double*/ ; - //BA.debugLineNum = 54;BA.debugLine="d.RangeStart = Data.RangeStart"; -_d.RangeStart /*double*/ = _data.RangeStart /*double*/ ; - //BA.debugLineNum = 55;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; -_d.RemoveMinusSign /*boolean*/ = _data.RemoveMinusSign /*boolean*/ ; - //BA.debugLineNum = 56;BA.debugLine="d.TextColor = Data.TextColor"; -_d.TextColor /*int*/ = _data.TextColor /*int*/ ; - //BA.debugLineNum = 57;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; -_d.FractionPaddingChar /*String*/ = _data.FractionPaddingChar /*String*/ ; - //BA.debugLineNum = 58;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; -_d.IntegerPaddingChar /*String*/ = _data.IntegerPaddingChar /*String*/ ; - //BA.debugLineNum = 59;BA.debugLine="Return d"; -if (true) return _d; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +public anywheresoftware.b4a.keywords.Common __c = null; +public anywheresoftware.b4a.objects.collections.List _formats = null; +public int _max_value = 0; +public int _min_value = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public b4a.example.dateutils _dateutils = null; +public reparto_intmex.keymon.lat.main _main = null; +public reparto_intmex.keymon.lat.appupdater _appupdater = null; +public reparto_intmex.keymon.lat.foto _foto = null; +public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; +public reparto_intmex.keymon.lat.subs _subs = null; +public reparto_intmex.keymon.lat.tracker _tracker = null; +public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; +public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; +public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; +public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _getdefaultformat(reparto_intmex.keymon.lat.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "getdefaultformat", true)) + {return ((reparto_intmex.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "getdefaultformat", null));} +RDebugUtils.currentLine=32636928; + //BA.debugLineNum = 32636928;BA.debugLine="Public Sub GetDefaultFormat As B4XFormatData"; +RDebugUtils.currentLine=32636929; + //BA.debugLineNum = 32636929;BA.debugLine="Return formats.Get(0)"; +if (true) return (reparto_intmex.keymon.lat.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0))); +RDebugUtils.currentLine=32636930; + //BA.debugLineNum = 32636930;BA.debugLine="End Sub"; return null; } -public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _createdefaultformat() throws Exception{ -reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 19;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; - //BA.debugLineNum = 20;BA.debugLine="Dim d As B4XFormatData"; -_d = new reparto_intmex.keymon.lat.b4xformatter._b4xformatdata(); - //BA.debugLineNum = 21;BA.debugLine="d.Initialize"; -_d.Initialize(); - //BA.debugLineNum = 22;BA.debugLine="d.GroupingCharacter = \",\""; -_d.GroupingCharacter /*String*/ = ","; - //BA.debugLineNum = 23;BA.debugLine="d.DecimalPoint = \".\""; -_d.DecimalPoint /*String*/ = "."; - //BA.debugLineNum = 24;BA.debugLine="d.MaximumFractions = 3"; -_d.MaximumFractions /*int*/ = (int) (3); - //BA.debugLineNum = 25;BA.debugLine="d.MinimumIntegers = 1"; -_d.MinimumIntegers /*int*/ = (int) (1); - //BA.debugLineNum = 26;BA.debugLine="d.IntegerPaddingChar = \"0\""; -_d.IntegerPaddingChar /*String*/ = "0"; - //BA.debugLineNum = 27;BA.debugLine="d.FractionPaddingChar = \"0\""; -_d.FractionPaddingChar /*String*/ = "0"; - //BA.debugLineNum = 28;BA.debugLine="Return d"; -if (true) return _d; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return null; -} -public String _format(double _number) throws Exception{ +public String _format(reparto_intmex.keymon.lat.b4xformatter __ref,double _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "format", true)) + {return ((String) Debug.delegate(ba, "format", new Object[] {_number}));} reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _data = null; anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; int _numberstartindex = 0; @@ -197,183 +116,422 @@ int _fracstartindex = 0; int _lastzerocount = 0; int _multipler = 0; int _w = 0; - //BA.debugLineNum = 92;BA.debugLine="Public Sub Format (Number As Double) As String"; - //BA.debugLineNum = 93;BA.debugLine="If Number < MIN_VALUE Or Number > MAX_VALUE Then"; -if (_number<_min_value || _number>_max_value) { +RDebugUtils.currentLine=32768000; + //BA.debugLineNum = 32768000;BA.debugLine="Public Sub Format (Number As Double) As String"; +RDebugUtils.currentLine=32768001; + //BA.debugLineNum = 32768001;BA.debugLine="If Number < MIN_VALUE Or Number > MAX_VALUE Then"; +if (_number<__ref._min_value /*int*/ || _number>__ref._max_value /*int*/ ) { if (true) return "OVERFLOW";}; - //BA.debugLineNum = 94;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; -_data = _getformatdata(_number); - //BA.debugLineNum = 95;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=32768002; + //BA.debugLineNum = 32768002;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; +_data = __ref._getformatdata /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ (null,_number); +RDebugUtils.currentLine=32768003; + //BA.debugLineNum = 32768003;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 96;BA.debugLine="sb.Initialize"; +RDebugUtils.currentLine=32768004; + //BA.debugLineNum = 32768004;BA.debugLine="sb.Initialize"; _sb.Initialize(); - //BA.debugLineNum = 97;BA.debugLine="sb.Append(data.Prefix)"; +RDebugUtils.currentLine=32768005; + //BA.debugLineNum = 32768005;BA.debugLine="sb.Append(data.Prefix)"; _sb.Append(_data.Prefix /*String*/ ); - //BA.debugLineNum = 98;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; +RDebugUtils.currentLine=32768006; + //BA.debugLineNum = 32768006;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; _numberstartindex = _sb.getLength(); - //BA.debugLineNum = 99;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; +RDebugUtils.currentLine=32768007; + //BA.debugLineNum = 32768007;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; _factor = __c.Power(10,-_data.MaximumFractions /*int*/ -1)*5; - //BA.debugLineNum = 100;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; +RDebugUtils.currentLine=32768008; + //BA.debugLineNum = 32768008;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; if (_number<-_factor && _data.RemoveMinusSign /*boolean*/ ==__c.False) { - //BA.debugLineNum = 101;BA.debugLine="sb.Append(\"-\")"; +RDebugUtils.currentLine=32768009; + //BA.debugLineNum = 32768009;BA.debugLine="sb.Append(\"-\")"; _sb.Append("-"); - //BA.debugLineNum = 102;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; +RDebugUtils.currentLine=32768010; + //BA.debugLineNum = 32768010;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; _numberstartindex = (int) (_numberstartindex+1); }; - //BA.debugLineNum = 104;BA.debugLine="Number = Abs(Number) + factor"; +RDebugUtils.currentLine=32768012; + //BA.debugLineNum = 32768012;BA.debugLine="Number = Abs(Number) + factor"; _number = __c.Abs(_number)+_factor; - //BA.debugLineNum = 105;BA.debugLine="Dim whole As Int = Number"; +RDebugUtils.currentLine=32768013; + //BA.debugLineNum = 32768013;BA.debugLine="Dim whole As Int = Number"; _whole = (int) (_number); - //BA.debugLineNum = 106;BA.debugLine="Dim frac As Double = Number - whole"; +RDebugUtils.currentLine=32768014; + //BA.debugLineNum = 32768014;BA.debugLine="Dim frac As Double = Number - whole"; _frac = _number-_whole; - //BA.debugLineNum = 107;BA.debugLine="Dim g As Int"; +RDebugUtils.currentLine=32768015; + //BA.debugLineNum = 32768015;BA.debugLine="Dim g As Int"; _g = 0; - //BA.debugLineNum = 108;BA.debugLine="Do While whole > 0"; +RDebugUtils.currentLine=32768016; + //BA.debugLineNum = 32768016;BA.debugLine="Do While whole > 0"; while (_whole>0) { - //BA.debugLineNum = 109;BA.debugLine="If g > 0 And g Mod 3 = 0 And data.GroupingCharac"; +RDebugUtils.currentLine=32768017; + //BA.debugLineNum = 32768017;BA.debugLine="If g > 0 And g Mod 3 = 0 And data.GroupingCharac"; if (_g>0 && _g%3==0 && _data.GroupingCharacter /*String*/ .length()>0) { - //BA.debugLineNum = 110;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; +RDebugUtils.currentLine=32768018; + //BA.debugLineNum = 32768018;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; _sb.Insert(_numberstartindex,_data.GroupingCharacter /*String*/ ); }; - //BA.debugLineNum = 112;BA.debugLine="g = g + 1"; +RDebugUtils.currentLine=32768020; + //BA.debugLineNum = 32768020;BA.debugLine="g = g + 1"; _g = (int) (_g+1); - //BA.debugLineNum = 113;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; +RDebugUtils.currentLine=32768021; + //BA.debugLineNum = 32768021;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; _sb.Insert(_numberstartindex,BA.NumberToString(_whole%10)); - //BA.debugLineNum = 114;BA.debugLine="whole = whole / 10"; +RDebugUtils.currentLine=32768022; + //BA.debugLineNum = 32768022;BA.debugLine="whole = whole / 10"; _whole = (int) (_whole/(double)10); } ; - //BA.debugLineNum = 116;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; +RDebugUtils.currentLine=32768024; + //BA.debugLineNum = 32768024;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; while (_sb.getLength()-_numberstartindex<_data.MinimumIntegers /*int*/ ) { - //BA.debugLineNum = 117;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; +RDebugUtils.currentLine=32768025; + //BA.debugLineNum = 32768025;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; _sb.Insert(_numberstartindex,_data.IntegerPaddingChar /*String*/ ); } ; - //BA.debugLineNum = 119;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; +RDebugUtils.currentLine=32768027; + //BA.debugLineNum = 32768027;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; if (_data.MaximumFractions /*int*/ >0 && (_data.MinimumFractions /*int*/ >0 || _frac>0)) { - //BA.debugLineNum = 120;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; +RDebugUtils.currentLine=32768028; + //BA.debugLineNum = 32768028;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; _fracstartindex = _sb.getLength(); - //BA.debugLineNum = 121;BA.debugLine="Dim LastZeroCount As Int"; +RDebugUtils.currentLine=32768029; + //BA.debugLineNum = 32768029;BA.debugLine="Dim LastZeroCount As Int"; _lastzerocount = 0; - //BA.debugLineNum = 122;BA.debugLine="Dim Multipler As Int = 10"; +RDebugUtils.currentLine=32768030; + //BA.debugLineNum = 32768030;BA.debugLine="Dim Multipler As Int = 10"; _multipler = (int) (10); - //BA.debugLineNum = 123;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; +RDebugUtils.currentLine=32768031; + //BA.debugLineNum = 32768031;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; while (_frac>=2*_factor && _sb.getLength()-_fracstartindex<_data.MaximumFractions /*int*/ ) { - //BA.debugLineNum = 124;BA.debugLine="Dim w As Int = (frac * Multipler)"; +RDebugUtils.currentLine=32768032; + //BA.debugLineNum = 32768032;BA.debugLine="Dim w As Int = (frac * Multipler)"; _w = (int) ((_frac*_multipler)); - //BA.debugLineNum = 125;BA.debugLine="w = w Mod 10"; +RDebugUtils.currentLine=32768033; + //BA.debugLineNum = 32768033;BA.debugLine="w = w Mod 10"; _w = (int) (_w%10); - //BA.debugLineNum = 126;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; +RDebugUtils.currentLine=32768034; + //BA.debugLineNum = 32768034;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; if (_w==0) { _lastzerocount = (int) (_lastzerocount+1);} else { _lastzerocount = (int) (0);}; - //BA.debugLineNum = 127;BA.debugLine="sb.Append(w)"; +RDebugUtils.currentLine=32768035; + //BA.debugLineNum = 32768035;BA.debugLine="sb.Append(w)"; _sb.Append(BA.NumberToString(_w)); - //BA.debugLineNum = 128;BA.debugLine="Multipler = Multipler * 10"; +RDebugUtils.currentLine=32768036; + //BA.debugLineNum = 32768036;BA.debugLine="Multipler = Multipler * 10"; _multipler = (int) (_multipler*10); } ; - //BA.debugLineNum = 130;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; +RDebugUtils.currentLine=32768038; + //BA.debugLineNum = 32768038;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; if ((_data.FractionPaddingChar /*String*/ ).equals("0") == false && _lastzerocount>0) { - //BA.debugLineNum = 131;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +RDebugUtils.currentLine=32768039; + //BA.debugLineNum = 32768039;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; _sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); - //BA.debugLineNum = 132;BA.debugLine="LastZeroCount = 0"; +RDebugUtils.currentLine=32768040; + //BA.debugLineNum = 32768040;BA.debugLine="LastZeroCount = 0"; _lastzerocount = (int) (0); }; - //BA.debugLineNum = 134;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; +RDebugUtils.currentLine=32768042; + //BA.debugLineNum = 32768042;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; while (_sb.getLength()-_fracstartindex<_data.MinimumFractions /*int*/ ) { - //BA.debugLineNum = 135;BA.debugLine="sb.Append(data.FractionPaddingChar)"; +RDebugUtils.currentLine=32768043; + //BA.debugLineNum = 32768043;BA.debugLine="sb.Append(data.FractionPaddingChar)"; _sb.Append(_data.FractionPaddingChar /*String*/ ); - //BA.debugLineNum = 136;BA.debugLine="LastZeroCount = 0"; +RDebugUtils.currentLine=32768044; + //BA.debugLineNum = 32768044;BA.debugLine="LastZeroCount = 0"; _lastzerocount = (int) (0); } ; - //BA.debugLineNum = 138;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; +RDebugUtils.currentLine=32768046; + //BA.debugLineNum = 32768046;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; _lastzerocount = (int) (__c.Min(_lastzerocount,_sb.getLength()-_fracstartindex-_data.MinimumFractions /*int*/ )); - //BA.debugLineNum = 139;BA.debugLine="If LastZeroCount > 0 Then"; +RDebugUtils.currentLine=32768047; + //BA.debugLineNum = 32768047;BA.debugLine="If LastZeroCount > 0 Then"; if (_lastzerocount>0) { - //BA.debugLineNum = 140;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +RDebugUtils.currentLine=32768048; + //BA.debugLineNum = 32768048;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; _sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); }; - //BA.debugLineNum = 142;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; +RDebugUtils.currentLine=32768050; + //BA.debugLineNum = 32768050;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; if (_sb.getLength()>_fracstartindex) { _sb.Insert(_fracstartindex,_data.DecimalPoint /*String*/ );}; }; - //BA.debugLineNum = 144;BA.debugLine="sb.Append(data.Postfix)"; +RDebugUtils.currentLine=32768052; + //BA.debugLineNum = 32768052;BA.debugLine="sb.Append(data.Postfix)"; _sb.Append(_data.Postfix /*String*/ ); - //BA.debugLineNum = 145;BA.debugLine="Return sb.ToString"; +RDebugUtils.currentLine=32768053; + //BA.debugLineNum = 32768053;BA.debugLine="Return sb.ToString"; if (true) return _sb.ToString(); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; +RDebugUtils.currentLine=32768054; + //BA.debugLineNum = 32768054;BA.debugLine="End Sub"; return ""; } -public String _formatlabel(double _number,anywheresoftware.b4a.objects.B4XViewWrapper _label) throws Exception{ -reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _data = null; - //BA.debugLineNum = 150;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; - //BA.debugLineNum = 151;BA.debugLine="Label.Text = Format(Number)"; -_label.setText(BA.ObjectToCharSequence(_format(_number))); - //BA.debugLineNum = 152;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; -_data = _getformatdata(_number); - //BA.debugLineNum = 153;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; -if (_data.TextColor /*int*/ !=0) { -_label.setTextColor(_data.TextColor /*int*/ );}; - //BA.debugLineNum = 154;BA.debugLine="If data.FormatFont.IsInitialized Then Label.Font"; +public String _initialize(reparto_intmex.keymon.lat.b4xformatter __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=32309248; + //BA.debugLineNum = 32309248;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=32309249; + //BA.debugLineNum = 32309249;BA.debugLine="formats.Initialize"; +__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=32309250; + //BA.debugLineNum = 32309250;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; +_d = __ref._createdefaultformat /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ (null); +RDebugUtils.currentLine=32309251; + //BA.debugLineNum = 32309251;BA.debugLine="AddFormatData(d, MIN_VALUE, MAX_VALUE, True)"; +__ref._addformatdata /*String*/ (null,_d,__ref._min_value /*int*/ ,__ref._max_value /*int*/ ,__c.True); +RDebugUtils.currentLine=32309252; + //BA.debugLineNum = 32309252;BA.debugLine="End Sub"; +return ""; +} +public String _addformatdata(reparto_intmex.keymon.lat.b4xformatter __ref,reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _data,double _rangestart,double _rangeend,boolean _includeedges) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "addformatdata", true)) + {return ((String) Debug.delegate(ba, "addformatdata", new Object[] {_data,_rangestart,_rangeend,_includeedges}));} +double _factor = 0; +RDebugUtils.currentLine=32571392; + //BA.debugLineNum = 32571392;BA.debugLine="Public Sub AddFormatData (Data As B4XFormatData, R"; +RDebugUtils.currentLine=32571393; + //BA.debugLineNum = 32571393;BA.debugLine="Dim factor As Double = Power(10, -Data.MaximumFra"; +_factor = __c.Power(10,-_data.MaximumFractions /*int*/ ); +RDebugUtils.currentLine=32571394; + //BA.debugLineNum = 32571394;BA.debugLine="If IncludeEdges = False Then"; +if (_includeedges==__c.False) { +RDebugUtils.currentLine=32571395; + //BA.debugLineNum = 32571395;BA.debugLine="RangeStart = RangeStart + factor"; +_rangestart = _rangestart+_factor; +RDebugUtils.currentLine=32571396; + //BA.debugLineNum = 32571396;BA.debugLine="RangeEnd = RangeEnd - factor"; +_rangeend = _rangeend-_factor; + }; +RDebugUtils.currentLine=32571398; + //BA.debugLineNum = 32571398;BA.debugLine="RangeStart = RangeStart - factor / 2"; +_rangestart = _rangestart-_factor/(double)2; +RDebugUtils.currentLine=32571399; + //BA.debugLineNum = 32571399;BA.debugLine="RangeEnd = RangeEnd + factor / 2"; +_rangeend = _rangeend+_factor/(double)2; +RDebugUtils.currentLine=32571400; + //BA.debugLineNum = 32571400;BA.debugLine="Data.RangeStart = RangeStart"; +_data.RangeStart /*double*/ = _rangestart; +RDebugUtils.currentLine=32571401; + //BA.debugLineNum = 32571401;BA.debugLine="Data.RangeEnd = RangeEnd"; +_data.RangeEnd /*double*/ = _rangeend; +RDebugUtils.currentLine=32571402; + //BA.debugLineNum = 32571402;BA.debugLine="formats.Add(Data)"; +__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_data)); +RDebugUtils.currentLine=32571403; + //BA.debugLineNum = 32571403;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +RDebugUtils.currentLine=32243712; + //BA.debugLineNum = 32243712;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=32243713; + //BA.debugLineNum = 32243713;BA.debugLine="Type B4XFormatData (Prefix As String, Postfix As"; +; +RDebugUtils.currentLine=32243717; + //BA.debugLineNum = 32243717;BA.debugLine="Private formats As List"; +_formats = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=32243718; + //BA.debugLineNum = 32243718;BA.debugLine="Public Const MAX_VALUE = 0x7fffffff, MIN_VALUE ="; +_max_value = ((int)0x7fffffff); +_min_value = ((int)0x80000000); +RDebugUtils.currentLine=32243720; + //BA.debugLineNum = 32243720;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=32243722; + //BA.debugLineNum = 32243722;BA.debugLine="End Sub"; +return ""; +} +public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _copyformatdata(reparto_intmex.keymon.lat.b4xformatter __ref,reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "copyformatdata", true)) + {return ((reparto_intmex.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "copyformatdata", new Object[] {_data}));} +reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=32505856; + //BA.debugLineNum = 32505856;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; +RDebugUtils.currentLine=32505857; + //BA.debugLineNum = 32505857;BA.debugLine="Dim d As B4XFormatData"; +_d = new reparto_intmex.keymon.lat.b4xformatter._b4xformatdata(); +RDebugUtils.currentLine=32505858; + //BA.debugLineNum = 32505858;BA.debugLine="d.Initialize"; +_d.Initialize(); +RDebugUtils.currentLine=32505859; + //BA.debugLineNum = 32505859;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; +_d.DecimalPoint /*String*/ = _data.DecimalPoint /*String*/ ; +RDebugUtils.currentLine=32505860; + //BA.debugLineNum = 32505860;BA.debugLine="If Data.FormatFont.IsInitialized Then"; if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { -_label.setFont(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ );}; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return ""; -} -public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _getdefaultformat() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Public Sub GetDefaultFormat As B4XFormatData"; - //BA.debugLineNum = 79;BA.debugLine="Return formats.Get(0)"; -if (true) return (reparto_intmex.keymon.lat.b4xformatter._b4xformatdata)(_formats.Get((int) (0))); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; +RDebugUtils.currentLine=32505862; + //BA.debugLineNum = 32505862;BA.debugLine="d.FormatFont = xui.CreateFont(Data.FormatFont.To"; +_d.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateFont((android.graphics.Typeface)(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .ToNativeFont().getObject()),_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getSize()); + }; +RDebugUtils.currentLine=32505865; + //BA.debugLineNum = 32505865;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; +_d.GroupingCharacter /*String*/ = _data.GroupingCharacter /*String*/ ; +RDebugUtils.currentLine=32505866; + //BA.debugLineNum = 32505866;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; +_d.MaximumFractions /*int*/ = _data.MaximumFractions /*int*/ ; +RDebugUtils.currentLine=32505867; + //BA.debugLineNum = 32505867;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; +_d.MinimumFractions /*int*/ = _data.MinimumFractions /*int*/ ; +RDebugUtils.currentLine=32505868; + //BA.debugLineNum = 32505868;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; +_d.MinimumIntegers /*int*/ = _data.MinimumIntegers /*int*/ ; +RDebugUtils.currentLine=32505869; + //BA.debugLineNum = 32505869;BA.debugLine="d.Postfix = Data.Postfix"; +_d.Postfix /*String*/ = _data.Postfix /*String*/ ; +RDebugUtils.currentLine=32505870; + //BA.debugLineNum = 32505870;BA.debugLine="d.Prefix = Data.Prefix"; +_d.Prefix /*String*/ = _data.Prefix /*String*/ ; +RDebugUtils.currentLine=32505871; + //BA.debugLineNum = 32505871;BA.debugLine="d.RangeEnd = Data.RangeEnd"; +_d.RangeEnd /*double*/ = _data.RangeEnd /*double*/ ; +RDebugUtils.currentLine=32505872; + //BA.debugLineNum = 32505872;BA.debugLine="d.RangeStart = Data.RangeStart"; +_d.RangeStart /*double*/ = _data.RangeStart /*double*/ ; +RDebugUtils.currentLine=32505873; + //BA.debugLineNum = 32505873;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; +_d.RemoveMinusSign /*boolean*/ = _data.RemoveMinusSign /*boolean*/ ; +RDebugUtils.currentLine=32505874; + //BA.debugLineNum = 32505874;BA.debugLine="d.TextColor = Data.TextColor"; +_d.TextColor /*int*/ = _data.TextColor /*int*/ ; +RDebugUtils.currentLine=32505875; + //BA.debugLineNum = 32505875;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; +_d.FractionPaddingChar /*String*/ = _data.FractionPaddingChar /*String*/ ; +RDebugUtils.currentLine=32505876; + //BA.debugLineNum = 32505876;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; +_d.IntegerPaddingChar /*String*/ = _data.IntegerPaddingChar /*String*/ ; +RDebugUtils.currentLine=32505877; + //BA.debugLineNum = 32505877;BA.debugLine="Return d"; +if (true) return _d; +RDebugUtils.currentLine=32505878; + //BA.debugLineNum = 32505878;BA.debugLine="End Sub"; return null; } -public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _getformatdata(double _number) throws Exception{ +public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _createdefaultformat(reparto_intmex.keymon.lat.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "createdefaultformat", true)) + {return ((reparto_intmex.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "createdefaultformat", null));} +reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=32374784; + //BA.debugLineNum = 32374784;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; +RDebugUtils.currentLine=32374785; + //BA.debugLineNum = 32374785;BA.debugLine="Dim d As B4XFormatData"; +_d = new reparto_intmex.keymon.lat.b4xformatter._b4xformatdata(); +RDebugUtils.currentLine=32374786; + //BA.debugLineNum = 32374786;BA.debugLine="d.Initialize"; +_d.Initialize(); +RDebugUtils.currentLine=32374787; + //BA.debugLineNum = 32374787;BA.debugLine="d.GroupingCharacter = \",\""; +_d.GroupingCharacter /*String*/ = ","; +RDebugUtils.currentLine=32374788; + //BA.debugLineNum = 32374788;BA.debugLine="d.DecimalPoint = \".\""; +_d.DecimalPoint /*String*/ = "."; +RDebugUtils.currentLine=32374789; + //BA.debugLineNum = 32374789;BA.debugLine="d.MaximumFractions = 3"; +_d.MaximumFractions /*int*/ = (int) (3); +RDebugUtils.currentLine=32374790; + //BA.debugLineNum = 32374790;BA.debugLine="d.MinimumIntegers = 1"; +_d.MinimumIntegers /*int*/ = (int) (1); +RDebugUtils.currentLine=32374791; + //BA.debugLineNum = 32374791;BA.debugLine="d.IntegerPaddingChar = \"0\""; +_d.IntegerPaddingChar /*String*/ = "0"; +RDebugUtils.currentLine=32374792; + //BA.debugLineNum = 32374792;BA.debugLine="d.FractionPaddingChar = \"0\""; +_d.FractionPaddingChar /*String*/ = "0"; +RDebugUtils.currentLine=32374793; + //BA.debugLineNum = 32374793;BA.debugLine="Return d"; +if (true) return _d; +RDebugUtils.currentLine=32374794; + //BA.debugLineNum = 32374794;BA.debugLine="End Sub"; +return null; +} +public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _getformatdata(reparto_intmex.keymon.lat.b4xformatter __ref,double _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "getformatdata", true)) + {return ((reparto_intmex.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "getformatdata", new Object[] {_number}));} int _i = 0; reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 83;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; - //BA.debugLineNum = 84;BA.debugLine="For i = formats.Size - 1 To 1 Step - 1"; +RDebugUtils.currentLine=32702464; + //BA.debugLineNum = 32702464;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; +RDebugUtils.currentLine=32702465; + //BA.debugLineNum = 32702465;BA.debugLine="For i = formats.Size - 1 To 1 Step - 1"; { final int step1 = -1; final int limit1 = (int) (1); -_i = (int) (_formats.getSize()-1) ; +_i = (int) (__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1) ; for (;_i >= limit1 ;_i = _i + step1 ) { - //BA.debugLineNum = 85;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; -_d = (reparto_intmex.keymon.lat.b4xformatter._b4xformatdata)(_formats.Get(_i)); - //BA.debugLineNum = 86;BA.debugLine="If Number <= d.RangeEnd And Number >= d.RangeSta"; +RDebugUtils.currentLine=32702466; + //BA.debugLineNum = 32702466;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; +_d = (reparto_intmex.keymon.lat.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); +RDebugUtils.currentLine=32702467; + //BA.debugLineNum = 32702467;BA.debugLine="If Number <= d.RangeEnd And Number >= d.RangeSta"; if (_number<=_d.RangeEnd /*double*/ && _number>=_d.RangeStart /*double*/ ) { if (true) return _d;}; } }; - //BA.debugLineNum = 88;BA.debugLine="Return formats.Get(0)"; -if (true) return (reparto_intmex.keymon.lat.b4xformatter._b4xformatdata)(_formats.Get((int) (0))); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; +RDebugUtils.currentLine=32702469; + //BA.debugLineNum = 32702469;BA.debugLine="Return formats.Get(0)"; +if (true) return (reparto_intmex.keymon.lat.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0))); +RDebugUtils.currentLine=32702470; + //BA.debugLineNum = 32702470;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 13;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 14;BA.debugLine="formats.Initialize"; -_formats.Initialize(); - //BA.debugLineNum = 15;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; -_d = _createdefaultformat(); - //BA.debugLineNum = 16;BA.debugLine="AddFormatData(d, MIN_VALUE, MAX_VALUE, True)"; -_addformatdata(_d,_min_value,_max_value,__c.True); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +public String _formatlabel(reparto_intmex.keymon.lat.b4xformatter __ref,double _number,anywheresoftware.b4a.objects.B4XViewWrapper _label) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "formatlabel", true)) + {return ((String) Debug.delegate(ba, "formatlabel", new Object[] {_number,_label}));} +reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _data = null; +RDebugUtils.currentLine=32833536; + //BA.debugLineNum = 32833536;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; +RDebugUtils.currentLine=32833537; + //BA.debugLineNum = 32833537;BA.debugLine="Label.Text = Format(Number)"; +_label.setText(BA.ObjectToCharSequence(__ref._format /*String*/ (null,_number))); +RDebugUtils.currentLine=32833538; + //BA.debugLineNum = 32833538;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; +_data = __ref._getformatdata /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ (null,_number); +RDebugUtils.currentLine=32833539; + //BA.debugLineNum = 32833539;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; +if (_data.TextColor /*int*/ !=0) { +_label.setTextColor(_data.TextColor /*int*/ );}; +RDebugUtils.currentLine=32833540; + //BA.debugLineNum = 32833540;BA.debugLine="If data.FormatFont.IsInitialized Then Label.Font"; +if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { +_label.setFont(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ );}; +RDebugUtils.currentLine=32833541; + //BA.debugLineNum = 32833541;BA.debugLine="End Sub"; return ""; } -public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _newformatdata() throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub NewFormatData As B4XFormatData"; - //BA.debugLineNum = 33;BA.debugLine="Return CopyFormatData(GetDefaultFormat)"; -if (true) return _copyformatdata(_getdefaultformat()); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; +public reparto_intmex.keymon.lat.b4xformatter._b4xformatdata _newformatdata(reparto_intmex.keymon.lat.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "newformatdata", true)) + {return ((reparto_intmex.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "newformatdata", null));} +RDebugUtils.currentLine=32440320; + //BA.debugLineNum = 32440320;BA.debugLine="Public Sub NewFormatData As B4XFormatData"; +RDebugUtils.currentLine=32440321; + //BA.debugLineNum = 32440321;BA.debugLine="Return CopyFormatData(GetDefaultFormat)"; +if (true) return __ref._copyformatdata /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ (null,__ref._getdefaultformat /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ (null)); +RDebugUtils.currentLine=32440322; + //BA.debugLineNum = 32440322;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4ximageview.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4ximageview.java index 0d2d32f..10b35ef 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4ximageview.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4ximageview.java @@ -10,7 +10,7 @@ public class b4ximageview extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4ximageview"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4ximageview"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4ximageview extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -38,10 +45,10 @@ public int _mcornersradius = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -49,258 +56,418 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 41;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 42;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.b4ximageview __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=23330816; + //BA.debugLineNum = 23330816;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=23330817; + //BA.debugLineNum = 23330817;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=23330818; + //BA.debugLineNum = 23330818;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 11;BA.debugLine="Private iv As B4XView"; -_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Private mResizeMode As String"; -_mresizemode = ""; - //BA.debugLineNum = 13;BA.debugLine="Private mRound As Boolean"; -_mround = false; - //BA.debugLineNum = 14;BA.debugLine="Private mBitmap As B4XBitmap"; -_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Public mBackgroundColor As Int"; -_mbackgroundcolor = 0; - //BA.debugLineNum = 16;BA.debugLine="Private mCornersRadius As Int"; -_mcornersradius = 0; - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public String _clear() throws Exception{ - //BA.debugLineNum = 119;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 120;BA.debugLine="mBitmap = Null"; -_mbitmap = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.Null)); - //BA.debugLineNum = 121;BA.debugLine="iv.SetBitmap(Null)"; -_iv.SetBitmap((android.graphics.Bitmap)(__c.Null)); - //BA.debugLineNum = 122;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 25;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 26;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 27;BA.debugLine="Tag = mBase.Tag"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 28;BA.debugLine="mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 29;BA.debugLine="Dim iiv As ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 30;BA.debugLine="iiv.Initialize(\"\")"; -_iiv.Initialize(ba,""); - //BA.debugLineNum = 31;BA.debugLine="iv = iiv"; -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); - //BA.debugLineNum = 32;BA.debugLine="mRound =Props.Get(\"Round\")"; -_mround = BA.ObjectToBoolean(_props.Get((Object)("Round"))); - //BA.debugLineNum = 33;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")"; -_mresizemode = BA.ObjectToString(_props.Get((Object)("ResizeMode"))); - //BA.debugLineNum = 34;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props."; -_mbackgroundcolor = _xui.PaintOrColorToColor(_props.Get((Object)("BackgroundColor"))); - //BA.debugLineNum = 35;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C"; -_mcornersradius = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0))))); - //BA.debugLineNum = 36;BA.debugLine="mBase.AddView(iv, 0, 0, mBase.Width, mBase.Height"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 37;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap() throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Public Sub getBitmap As B4XBitmap"; - //BA.debugLineNum = 131;BA.debugLine="Return mBitmap"; -if (true) return _mbitmap; - //BA.debugLineNum = 132;BA.debugLine="End Sub"; -return null; -} -public int _getcornersradius() throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub getCornersRadius As Int"; - //BA.debugLineNum = 57;BA.debugLine="Return mCornersRadius"; -if (true) return _mcornersradius; - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return 0; -} -public String _getresizemode() throws Exception{ - //BA.debugLineNum = 67;BA.debugLine="Public Sub getResizeMode As String"; - //BA.debugLineNum = 68;BA.debugLine="Return mResizeMode"; -if (true) return _mresizemode; - //BA.debugLineNum = 69;BA.debugLine="End Sub"; -return ""; -} -public boolean _getroundedimage() throws Exception{ - //BA.debugLineNum = 45;BA.debugLine="Public Sub getRoundedImage As Boolean"; - //BA.debugLineNum = 46;BA.debugLine="Return mRound"; -if (true) return _mround; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 20;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 21;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _load(String _dir,String _filename) throws Exception{ - //BA.debugLineNum = 110;BA.debugLine="Public Sub Load (Dir As String, FileName As String"; - //BA.debugLineNum = 112;BA.debugLine="setBitmap(LoadBitmapSample(Dir, FileName, mBase.W"; -_setbitmap((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.LoadBitmapSample(_dir,_filename,_mbase.getWidth(),_mbase.getHeight()).getObject()))); - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public String _setbitmap(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ - //BA.debugLineNum = 124;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)"; - //BA.debugLineNum = 125;BA.debugLine="mBitmap = Bmp"; -_mbitmap = _bmp; - //BA.debugLineNum = 126;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)"; -_xuiviewsutils._setbitmapandfill /*String*/ (ba,_iv,_bmp); - //BA.debugLineNum = 127;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _setcornersradius(int _i) throws Exception{ - //BA.debugLineNum = 60;BA.debugLine="Public Sub setCornersRadius (i As Int)"; - //BA.debugLineNum = 61;BA.debugLine="mCornersRadius = i"; -_mcornersradius = _i; - //BA.debugLineNum = 62;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 63;BA.debugLine="End Sub"; -return ""; -} -public String _setresizemode(String _s) throws Exception{ - //BA.debugLineNum = 71;BA.debugLine="Public Sub setResizeMode(s As String)"; - //BA.debugLineNum = 72;BA.debugLine="If s = mResizeMode Then Return"; -if ((_s).equals(_mresizemode)) { -if (true) return "";}; - //BA.debugLineNum = 73;BA.debugLine="mResizeMode = s"; -_mresizemode = _s; - //BA.debugLineNum = 74;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return ""; -} -public String _setroundedimage(boolean _b) throws Exception{ - //BA.debugLineNum = 49;BA.debugLine="Public Sub setRoundedImage (b As Boolean)"; - //BA.debugLineNum = 50;BA.debugLine="If b = mRound Then Return"; -if (_b==_mround) { -if (true) return "";}; - //BA.debugLineNum = 51;BA.debugLine="mRound = b"; -_mround = _b; - //BA.debugLineNum = 52;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return ""; -} -public String _update() throws Exception{ +public String _update(reparto_intmex.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} float _imageviewwidth = 0f; float _imageviewheight = 0f; float _bmpratio = 0f; float _r = 0f; - //BA.debugLineNum = 77;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 78;BA.debugLine="If mBitmap.IsInitialized = False Then Return"; -if (_mbitmap.IsInitialized()==__c.False) { +RDebugUtils.currentLine=23789568; + //BA.debugLineNum = 23789568;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=23789569; + //BA.debugLineNum = 23789569;BA.debugLine="If mBitmap.IsInitialized = False Then Return"; +if (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.False) { if (true) return "";}; - //BA.debugLineNum = 79;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 80;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; +RDebugUtils.currentLine=23789570; + //BA.debugLineNum = 23789570;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=23789571; + //BA.debugLineNum = 23789571;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; _imageviewwidth = 0f; _imageviewheight = 0f; - //BA.debugLineNum = 81;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H"; -_bmpratio = (float) (_mbitmap.getWidth()/(double)_mbitmap.getHeight()); - //BA.debugLineNum = 82;BA.debugLine="Select mResizeMode"; -switch (BA.switchObjectToInt(_mresizemode,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) { +RDebugUtils.currentLine=23789572; + //BA.debugLineNum = 23789572;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H"; +_bmpratio = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()); +RDebugUtils.currentLine=23789573; + //BA.debugLineNum = 23789573;BA.debugLine="Select mResizeMode"; +switch (BA.switchObjectToInt(__ref._mresizemode /*String*/ ,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) { case 0: { - //BA.debugLineNum = 84;BA.debugLine="ImageViewWidth = mBase.Width"; -_imageviewwidth = (float) (_mbase.getWidth()); - //BA.debugLineNum = 85;BA.debugLine="ImageViewHeight = mBase.Height"; -_imageviewheight = (float) (_mbase.getHeight()); +RDebugUtils.currentLine=23789575; + //BA.debugLineNum = 23789575;BA.debugLine="ImageViewWidth = mBase.Width"; +_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=23789576; + //BA.debugLineNum = 23789576;BA.debugLine="ImageViewHeight = mBase.Height"; +_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); break; } case 1: { - //BA.debugLineNum = 87;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt"; -_r = (float) (__c.Min(_mbase.getWidth()/(double)_mbitmap.getWidth(),_mbase.getHeight()/(double)_mbitmap.getHeight())); - //BA.debugLineNum = 88;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; -_imageviewwidth = (float) (_mbitmap.getWidth()*_r); - //BA.debugLineNum = 89;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; -_imageviewheight = (float) (_mbitmap.getHeight()*_r); +RDebugUtils.currentLine=23789578; + //BA.debugLineNum = 23789578;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt"; +_r = (float) (__c.Min(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight())); +RDebugUtils.currentLine=23789579; + //BA.debugLineNum = 23789579;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r); +RDebugUtils.currentLine=23789580; + //BA.debugLineNum = 23789580;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r); break; } case 2: { - //BA.debugLineNum = 91;BA.debugLine="ImageViewWidth = mBase.Width"; -_imageviewwidth = (float) (_mbase.getWidth()); - //BA.debugLineNum = 92;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; +RDebugUtils.currentLine=23789582; + //BA.debugLineNum = 23789582;BA.debugLine="ImageViewWidth = mBase.Width"; +_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=23789583; + //BA.debugLineNum = 23789583;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; _imageviewheight = (float) (_imageviewwidth/(double)_bmpratio); break; } case 3: { - //BA.debugLineNum = 94;BA.debugLine="ImageViewHeight = mBase.Height"; -_imageviewheight = (float) (_mbase.getHeight()); - //BA.debugLineNum = 95;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; +RDebugUtils.currentLine=23789585; + //BA.debugLineNum = 23789585;BA.debugLine="ImageViewHeight = mBase.Height"; +_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=23789586; + //BA.debugLineNum = 23789586;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; _imageviewwidth = (float) (_imageviewheight*_bmpratio); break; } case 4: { - //BA.debugLineNum = 97;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt"; -_r = (float) (__c.Max(_mbase.getWidth()/(double)_mbitmap.getWidth(),_mbase.getHeight()/(double)_mbitmap.getHeight())); - //BA.debugLineNum = 98;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; -_imageviewwidth = (float) (_mbitmap.getWidth()*_r); - //BA.debugLineNum = 99;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; -_imageviewheight = (float) (_mbitmap.getHeight()*_r); +RDebugUtils.currentLine=23789588; + //BA.debugLineNum = 23789588;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt"; +_r = (float) (__c.Max(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight())); +RDebugUtils.currentLine=23789589; + //BA.debugLineNum = 23789589;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r); +RDebugUtils.currentLine=23789590; + //BA.debugLineNum = 23789590;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r); break; } case 5: { - //BA.debugLineNum = 101;BA.debugLine="ImageViewWidth = mBitmap.Width"; -_imageviewwidth = (float) (_mbitmap.getWidth()); - //BA.debugLineNum = 102;BA.debugLine="ImageViewHeight = mBitmap.Height"; -_imageviewheight = (float) (_mbitmap.getHeight()); +RDebugUtils.currentLine=23789592; + //BA.debugLineNum = 23789592;BA.debugLine="ImageViewWidth = mBitmap.Width"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()); +RDebugUtils.currentLine=23789593; + //BA.debugLineNum = 23789593;BA.debugLine="ImageViewHeight = mBitmap.Height"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()); break; } default: { - //BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; -__c.LogImpl("960555291","Invalid resize mode: "+_mresizemode,0); +RDebugUtils.currentLine=23789595; + //BA.debugLineNum = 23789595;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; +__c.LogImpl("923789595","Invalid resize mode: "+__ref._mresizemode /*String*/ ,0); break; } } ; - //BA.debugLineNum = 106;BA.debugLine="iv.SetLayoutAnimated(0, Round(mBase.Width / 2 - I"; -_iv.SetLayoutAnimated((int) (0),(int) (__c.Round(_mbase.getWidth()/(double)2-_imageviewwidth/(double)2)),(int) (__c.Round(_mbase.getHeight()/(double)2-_imageviewheight/(double)2)),(int) (__c.Round(_imageviewwidth)),(int) (__c.Round(_imageviewheight))); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=23789597; + //BA.debugLineNum = 23789597;BA.debugLine="iv.SetLayoutAnimated(0, Round(mBase.Width / 2 - I"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (__c.Round(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2-_imageviewwidth/(double)2)),(int) (__c.Round(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-_imageviewheight/(double)2)),(int) (__c.Round(_imageviewwidth)),(int) (__c.Round(_imageviewheight))); +RDebugUtils.currentLine=23789598; + //BA.debugLineNum = 23789598;BA.debugLine="End Sub"; return ""; } -public String _updateclip() throws Exception{ +public String _class_globals(reparto_intmex.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +RDebugUtils.currentLine=23134208; + //BA.debugLineNum = 23134208;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=23134209; + //BA.debugLineNum = 23134209;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=23134210; + //BA.debugLineNum = 23134210;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=23134211; + //BA.debugLineNum = 23134211;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=23134212; + //BA.debugLineNum = 23134212;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=23134213; + //BA.debugLineNum = 23134213;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=23134214; + //BA.debugLineNum = 23134214;BA.debugLine="Private iv As B4XView"; +_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=23134215; + //BA.debugLineNum = 23134215;BA.debugLine="Private mResizeMode As String"; +_mresizemode = ""; +RDebugUtils.currentLine=23134216; + //BA.debugLineNum = 23134216;BA.debugLine="Private mRound As Boolean"; +_mround = false; +RDebugUtils.currentLine=23134217; + //BA.debugLineNum = 23134217;BA.debugLine="Private mBitmap As B4XBitmap"; +_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=23134218; + //BA.debugLineNum = 23134218;BA.debugLine="Public mBackgroundColor As Int"; +_mbackgroundcolor = 0; +RDebugUtils.currentLine=23134219; + //BA.debugLineNum = 23134219;BA.debugLine="Private mCornersRadius As Int"; +_mcornersradius = 0; +RDebugUtils.currentLine=23134220; + //BA.debugLineNum = 23134220;BA.debugLine="End Sub"; +return ""; +} +public String _clear(reparto_intmex.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=23920640; + //BA.debugLineNum = 23920640;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=23920641; + //BA.debugLineNum = 23920641;BA.debugLine="mBitmap = Null"; +__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.Null)); +RDebugUtils.currentLine=23920642; + //BA.debugLineNum = 23920642;BA.debugLine="iv.SetBitmap(Null)"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__c.Null)); +RDebugUtils.currentLine=23920643; + //BA.debugLineNum = 23920643;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_intmex.keymon.lat.b4ximageview __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; +RDebugUtils.currentLine=23265280; + //BA.debugLineNum = 23265280;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=23265281; + //BA.debugLineNum = 23265281;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=23265282; + //BA.debugLineNum = 23265282;BA.debugLine="Tag = mBase.Tag"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=23265283; + //BA.debugLineNum = 23265283;BA.debugLine="mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=23265284; + //BA.debugLineNum = 23265284;BA.debugLine="Dim iiv As ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=23265285; + //BA.debugLineNum = 23265285;BA.debugLine="iiv.Initialize(\"\")"; +_iiv.Initialize(ba,""); +RDebugUtils.currentLine=23265286; + //BA.debugLineNum = 23265286;BA.debugLine="iv = iiv"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); +RDebugUtils.currentLine=23265287; + //BA.debugLineNum = 23265287;BA.debugLine="mRound =Props.Get(\"Round\")"; +__ref._mround /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Round"))); +RDebugUtils.currentLine=23265288; + //BA.debugLineNum = 23265288;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")"; +__ref._mresizemode /*String*/ = BA.ObjectToString(_props.Get((Object)("ResizeMode"))); +RDebugUtils.currentLine=23265289; + //BA.debugLineNum = 23265289;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props."; +__ref._mbackgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("BackgroundColor"))); +RDebugUtils.currentLine=23265290; + //BA.debugLineNum = 23265290;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C"; +__ref._mcornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0))))); +RDebugUtils.currentLine=23265291; + //BA.debugLineNum = 23265291;BA.debugLine="mBase.AddView(iv, 0, 0, mBase.Width, mBase.Height"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=23265292; + //BA.debugLineNum = 23265292;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=23265293; + //BA.debugLineNum = 23265293;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(reparto_intmex.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "getbitmap", null));} +RDebugUtils.currentLine=24051712; + //BA.debugLineNum = 24051712;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +RDebugUtils.currentLine=24051713; + //BA.debugLineNum = 24051713;BA.debugLine="Return mBitmap"; +if (true) return __ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ; +RDebugUtils.currentLine=24051714; + //BA.debugLineNum = 24051714;BA.debugLine="End Sub"; +return null; +} +public int _getcornersradius(reparto_intmex.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getcornersradius", true)) + {return ((Integer) Debug.delegate(ba, "getcornersradius", null));} +RDebugUtils.currentLine=23527424; + //BA.debugLineNum = 23527424;BA.debugLine="Public Sub getCornersRadius As Int"; +RDebugUtils.currentLine=23527425; + //BA.debugLineNum = 23527425;BA.debugLine="Return mCornersRadius"; +if (true) return __ref._mcornersradius /*int*/ ; +RDebugUtils.currentLine=23527426; + //BA.debugLineNum = 23527426;BA.debugLine="End Sub"; +return 0; +} +public String _getresizemode(reparto_intmex.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getresizemode", true)) + {return ((String) Debug.delegate(ba, "getresizemode", null));} +RDebugUtils.currentLine=23658496; + //BA.debugLineNum = 23658496;BA.debugLine="Public Sub getResizeMode As String"; +RDebugUtils.currentLine=23658497; + //BA.debugLineNum = 23658497;BA.debugLine="Return mResizeMode"; +if (true) return __ref._mresizemode /*String*/ ; +RDebugUtils.currentLine=23658498; + //BA.debugLineNum = 23658498;BA.debugLine="End Sub"; +return ""; +} +public boolean _getroundedimage(reparto_intmex.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getroundedimage", true)) + {return ((Boolean) Debug.delegate(ba, "getroundedimage", null));} +RDebugUtils.currentLine=23396352; + //BA.debugLineNum = 23396352;BA.debugLine="Public Sub getRoundedImage As Boolean"; +RDebugUtils.currentLine=23396353; + //BA.debugLineNum = 23396353;BA.debugLine="Return mRound"; +if (true) return __ref._mround /*boolean*/ ; +RDebugUtils.currentLine=23396354; + //BA.debugLineNum = 23396354;BA.debugLine="End Sub"; +return false; +} +public String _initialize(reparto_intmex.keymon.lat.b4ximageview __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=23199744; + //BA.debugLineNum = 23199744;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=23199745; + //BA.debugLineNum = 23199745;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=23199746; + //BA.debugLineNum = 23199746;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=23199747; + //BA.debugLineNum = 23199747;BA.debugLine="End Sub"; +return ""; +} +public String _load(reparto_intmex.keymon.lat.b4ximageview __ref,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "load", true)) + {return ((String) Debug.delegate(ba, "load", new Object[] {_dir,_filename}));} +RDebugUtils.currentLine=23855104; + //BA.debugLineNum = 23855104;BA.debugLine="Public Sub Load (Dir As String, FileName As String"; +RDebugUtils.currentLine=23855106; + //BA.debugLineNum = 23855106;BA.debugLine="setBitmap(LoadBitmapSample(Dir, FileName, mBase.W"; +__ref._setbitmap /*String*/ (null,(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.LoadBitmapSample(_dir,_filename,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()).getObject()))); +RDebugUtils.currentLine=23855110; + //BA.debugLineNum = 23855110;BA.debugLine="End Sub"; +return ""; +} +public String _setbitmap(reparto_intmex.keymon.lat.b4ximageview __ref,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setbitmap", true)) + {return ((String) Debug.delegate(ba, "setbitmap", new Object[] {_bmp}));} +RDebugUtils.currentLine=23986176; + //BA.debugLineNum = 23986176;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)"; +RDebugUtils.currentLine=23986177; + //BA.debugLineNum = 23986177;BA.debugLine="mBitmap = Bmp"; +__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bmp; +RDebugUtils.currentLine=23986178; + //BA.debugLineNum = 23986178;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)"; +_xuiviewsutils._setbitmapandfill /*String*/ (ba,__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_bmp); +RDebugUtils.currentLine=23986179; + //BA.debugLineNum = 23986179;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=23986180; + //BA.debugLineNum = 23986180;BA.debugLine="End Sub"; +return ""; +} +public String _setcornersradius(reparto_intmex.keymon.lat.b4ximageview __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setcornersradius", true)) + {return ((String) Debug.delegate(ba, "setcornersradius", new Object[] {_i}));} +RDebugUtils.currentLine=23592960; + //BA.debugLineNum = 23592960;BA.debugLine="Public Sub setCornersRadius (i As Int)"; +RDebugUtils.currentLine=23592961; + //BA.debugLineNum = 23592961;BA.debugLine="mCornersRadius = i"; +__ref._mcornersradius /*int*/ = _i; +RDebugUtils.currentLine=23592962; + //BA.debugLineNum = 23592962;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=23592963; + //BA.debugLineNum = 23592963;BA.debugLine="End Sub"; +return ""; +} +public String _updateclip(reparto_intmex.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "updateclip", true)) + {return ((String) Debug.delegate(ba, "updateclip", null));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 135;BA.debugLine="Private Sub UpdateClip"; - //BA.debugLineNum = 136;BA.debugLine="If mRound Then"; -if (_mround) { - //BA.debugLineNum = 137;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; -_mbase.SetColorAndBorder(_mbackgroundcolor,(int) (0),(int) (0),(int) (__c.Min(_mbase.getWidth()/(double)2,_mbase.getHeight()/(double)2))); +RDebugUtils.currentLine=24117248; + //BA.debugLineNum = 24117248;BA.debugLine="Private Sub UpdateClip"; +RDebugUtils.currentLine=24117249; + //BA.debugLineNum = 24117249;BA.debugLine="If mRound Then"; +if (__ref._mround /*boolean*/ ) { +RDebugUtils.currentLine=24117250; + //BA.debugLineNum = 24117250;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._mbackgroundcolor /*int*/ ,(int) (0),(int) (0),(int) (__c.Min(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2))); }else { - //BA.debugLineNum = 139;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; -_mbase.SetColorAndBorder(_mbackgroundcolor,(int) (0),(int) (0),_mcornersradius); +RDebugUtils.currentLine=24117252; + //BA.debugLineNum = 24117252;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._mbackgroundcolor /*int*/ ,(int) (0),(int) (0),__ref._mcornersradius /*int*/ ); }; - //BA.debugLineNum = 161;BA.debugLine="Dim jo As JavaObject = mBase"; +RDebugUtils.currentLine=24117274; + //BA.debugLineNum = 24117274;BA.debugLine="Dim jo As JavaObject = mBase"; _jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_mbase.getObject())); - //BA.debugLineNum = 162;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or"; -_jo.RunMethod("setClipToOutline",new Object[]{(Object)(_mround || _mcornersradius>0)}); - //BA.debugLineNum = 164;BA.debugLine="End Sub"; +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=24117275; + //BA.debugLineNum = 24117275;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or"; +_jo.RunMethod("setClipToOutline",new Object[]{(Object)(__ref._mround /*boolean*/ || __ref._mcornersradius /*int*/ >0)}); +RDebugUtils.currentLine=24117277; + //BA.debugLineNum = 24117277;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _setresizemode(reparto_intmex.keymon.lat.b4ximageview __ref,String _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setresizemode", true)) + {return ((String) Debug.delegate(ba, "setresizemode", new Object[] {_s}));} +RDebugUtils.currentLine=23724032; + //BA.debugLineNum = 23724032;BA.debugLine="Public Sub setResizeMode(s As String)"; +RDebugUtils.currentLine=23724033; + //BA.debugLineNum = 23724033;BA.debugLine="If s = mResizeMode Then Return"; +if ((_s).equals(__ref._mresizemode /*String*/ )) { +if (true) return "";}; +RDebugUtils.currentLine=23724034; + //BA.debugLineNum = 23724034;BA.debugLine="mResizeMode = s"; +__ref._mresizemode /*String*/ = _s; +RDebugUtils.currentLine=23724035; + //BA.debugLineNum = 23724035;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=23724036; + //BA.debugLineNum = 23724036;BA.debugLine="End Sub"; +return ""; } +public String _setroundedimage(reparto_intmex.keymon.lat.b4ximageview __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setroundedimage", true)) + {return ((String) Debug.delegate(ba, "setroundedimage", new Object[] {_b}));} +RDebugUtils.currentLine=23461888; + //BA.debugLineNum = 23461888;BA.debugLine="Public Sub setRoundedImage (b As Boolean)"; +RDebugUtils.currentLine=23461889; + //BA.debugLineNum = 23461889;BA.debugLine="If b = mRound Then Return"; +if (_b==__ref._mround /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=23461890; + //BA.debugLineNum = 23461890;BA.debugLine="mRound = b"; +__ref._mround /*boolean*/ = _b; +RDebugUtils.currentLine=23461891; + //BA.debugLineNum = 23461891;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=23461892; + //BA.debugLineNum = 23461892;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xinputtemplate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xinputtemplate.java index 892c24d..d8dab4b 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xinputtemplate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xinputtemplate.java @@ -10,7 +10,7 @@ public class b4xinputtemplate extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xinputtemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xinputtemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xinputtemplate extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public String _text = ""; @@ -38,10 +45,10 @@ public int _bordercolorinvalid = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -49,146 +56,42 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public Text As String"; -_text = ""; - //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new reparto_intmex.keymon.lat.b4xdialog(); - //BA.debugLineNum = 6;BA.debugLine="Public RegexPattern As String"; -_regexpattern = ""; - //BA.debugLineNum = 7;BA.debugLine="Public TextField1 As B4XView"; -_textfield1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Public lblTitle As B4XView"; -_lbltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private IME As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 12;BA.debugLine="Private mAllowDecimals As Boolean"; -_mallowdecimals = false; - //BA.debugLineNum = 13;BA.debugLine="Private BorderColor = xui.Color_White, BorderColo"; -_bordercolor = _xui.Color_White; -_bordercolorinvalid = _xui.Color_Red; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public String _configurefornumbers(boolean _allowdecimals,boolean _allownegative) throws Exception{ -anywheresoftware.b4a.objects.EditTextWrapper _et = null; - //BA.debugLineNum = 40;BA.debugLine="Public Sub ConfigureForNumbers (AllowDecimals As B"; - //BA.debugLineNum = 42;BA.debugLine="Dim et As EditText = TextField1"; -_et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_textfield1.getObject())); - //BA.debugLineNum = 43;BA.debugLine="If AllowDecimals Or AllowNegative Then"; -if (_allowdecimals || _allownegative) { - //BA.debugLineNum = 44;BA.debugLine="et.InputType = et.INPUT_TYPE_DECIMAL_NUMBERS"; -_et.setInputType(_et.INPUT_TYPE_DECIMAL_NUMBERS); - }else { - //BA.debugLineNum = 46;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; -_et.setInputType(_et.INPUT_TYPE_NUMBERS); - }; - //BA.debugLineNum = 59;BA.debugLine="If AllowDecimals And AllowNegative Then"; -if (_allowdecimals && _allownegative) { - //BA.debugLineNum = 60;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; -_regexpattern = "^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; - }else if(_allowdecimals && _allownegative==__c.False) { - //BA.debugLineNum = 62;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$\""; -_regexpattern = "^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; - }else if(_allowdecimals==__c.False && _allownegative==__c.True) { - //BA.debugLineNum = 64;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)$\""; -_regexpattern = "^-?(0|[1-9]\\d*)$"; - }else if(_allowdecimals==__c.False && _allownegative==__c.False) { - //BA.debugLineNum = 66;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)$\""; -_regexpattern = "^(0|[1-9]\\d*)$"; - }; - //BA.debugLineNum = 68;BA.debugLine="mAllowDecimals = AllowDecimals"; -_mallowdecimals = _allowdecimals; - //BA.debugLineNum = 69;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 138;BA.debugLine="If Result = xui.DialogResponse_Positive Then"; -if (_result==_xui.DialogResponse_Positive) { - //BA.debugLineNum = 139;BA.debugLine="Text = TextField1.Text"; -_text = _textfield1.getText(); - }; - //BA.debugLineNum = 141;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 116;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 117;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xinputtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=24838144; + //BA.debugLineNum = 24838144;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=24838145; + //BA.debugLineNum = 24838145;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=24838146; + //BA.debugLineNum = 24838146;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 17;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 18;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 80dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (80))); - //BA.debugLineNum = 19;BA.debugLine="mBase.LoadLayout(\"B4XInputTemplate\")"; -_mbase.LoadLayout("B4XInputTemplate",ba); - //BA.debugLineNum = 20;BA.debugLine="TextField1.TextColor = xui.Color_White"; -_textfield1.setTextColor(_xui.Color_White); - //BA.debugLineNum = 22;BA.debugLine="IME.Initialize(\"\")"; -_ime.Initialize(""); - //BA.debugLineNum = 23;BA.debugLine="Dim jo As JavaObject = TextField1"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_textfield1.getObject())); - //BA.debugLineNum = 24;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; -_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); - //BA.debugLineNum = 30;BA.debugLine="SetBorder(BorderColor)"; -_setborder(_bordercolor); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return ""; -} -public boolean _isvalid(String _new) throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Private Sub IsValid(New As String) As Boolean"; - //BA.debugLineNum = 104;BA.debugLine="Return RegexPattern = \"\" Or Regex.IsMatch(RegexPa"; -if (true) return (_regexpattern).equals("") || __c.Regex.IsMatch(_regexpattern,_new); - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return false; -} -public String _setborder(int _bc) throws Exception{ - //BA.debugLineNum = 99;BA.debugLine="Private Sub SetBorder(bc As Int)"; - //BA.debugLineNum = 100;BA.debugLine="TextField1.SetColorAndBorder(xui.Color_Transparen"; -_textfield1.SetColorAndBorder(_xui.Color_Transparent,__c.DipToCurrent((int) (1)),_bc,__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 101;BA.debugLine="End Sub"; -return ""; -} -public String _setbordercolor(int _valid,int _invalid) throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Public Sub SetBorderColor(Valid As Int, Invalid As"; - //BA.debugLineNum = 35;BA.debugLine="BorderColor = Valid"; -_bordercolor = _valid; - //BA.debugLineNum = 36;BA.debugLine="BorderColorInvalid = Invalid"; -_bordercolorinvalid = _invalid; - //BA.debugLineNum = 37;BA.debugLine="SetBorder(BorderColor)"; -_setborder(_bordercolor); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public void _show(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public void _show(reparto_intmex.keymon.lat.b4xinputtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(reparto_intmex.keymon.lat.b4xinputtemplate parent,reparto_intmex.keymon.lat.b4xdialog _dialog) { +public ResumableSub_Show(reparto_intmex.keymon.lat.b4xinputtemplate parent,reparto_intmex.keymon.lat.b4xinputtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xinputtemplate __ref; reparto_intmex.keymon.lat.b4xinputtemplate parent; reparto_intmex.keymon.lat.b4xdialog _dialog; anywheresoftware.b4a.objects.EditTextWrapper _tf = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xinputtemplate"; while (true) { switch (state) { @@ -198,91 +101,349 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 121;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 122;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; -parent._xdialog._putattop /*boolean*/ = parent._xui.getIsB4A() || parent._xui.getIsB4i(); - //BA.debugLineNum = 123;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); +RDebugUtils.currentLine=24903681; + //BA.debugLineNum = 24903681;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=24903682; + //BA.debugLineNum = 24903682;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._putattop /*boolean*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i(); +RDebugUtils.currentLine=24903683; + //BA.debugLineNum = 24903683;BA.debugLine="Sleep(20)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xinputtemplate", "show"),(int) (20)); this.state = 1; return; case 1: //C this.state = -1; ; - //BA.debugLineNum = 124;BA.debugLine="TextField1.Text = Text"; -parent._textfield1.setText(BA.ObjectToCharSequence(parent._text)); - //BA.debugLineNum = 125;BA.debugLine="Validate(Text)"; -parent._validate(parent._text); - //BA.debugLineNum = 126;BA.debugLine="TextField1.RequestFocus"; -parent._textfield1.RequestFocus(); - //BA.debugLineNum = 128;BA.debugLine="Dim tf As EditText = TextField1"; +RDebugUtils.currentLine=24903684; + //BA.debugLineNum = 24903684;BA.debugLine="TextField1.Text = Text"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._text /*String*/ )); +RDebugUtils.currentLine=24903685; + //BA.debugLineNum = 24903685;BA.debugLine="Validate(Text)"; +__ref._validate /*String*/ (null,__ref._text /*String*/ ); +RDebugUtils.currentLine=24903686; + //BA.debugLineNum = 24903686;BA.debugLine="TextField1.RequestFocus"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=24903688; + //BA.debugLineNum = 24903688;BA.debugLine="Dim tf As EditText = TextField1"; _tf = new anywheresoftware.b4a.objects.EditTextWrapper(); -_tf = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(parent._textfield1.getObject())); - //BA.debugLineNum = 129;BA.debugLine="tf.SelectAll"; +_tf = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=24903689; + //BA.debugLineNum = 24903689;BA.debugLine="tf.SelectAll"; _tf.SelectAll(); - //BA.debugLineNum = 130;BA.debugLine="IME.ShowKeyboard(TextField1)"; -parent._ime.ShowKeyboard((android.view.View)(parent._textfield1.getObject())); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24903690; + //BA.debugLineNum = 24903690;BA.debugLine="IME.ShowKeyboard(TextField1)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=24903695; + //BA.debugLineNum = 24903695;BA.debugLine="End Sub"; if (true) break; } } } } -public String _textfield1_action() throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Private Sub TextField1_Action"; - //BA.debugLineNum = 108;BA.debugLine="TextField1_EnterPressed"; -_textfield1_enterpressed(); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; +public String _dialogclosed(reparto_intmex.keymon.lat.b4xinputtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=24969216; + //BA.debugLineNum = 24969216;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=24969217; + //BA.debugLineNum = 24969217;BA.debugLine="If Result = xui.DialogResponse_Positive Then"; +if (_result==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=24969218; + //BA.debugLineNum = 24969218;BA.debugLine="Text = TextField1.Text"; +__ref._text /*String*/ = __ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); + }; +RDebugUtils.currentLine=24969220; + //BA.debugLineNum = 24969220;BA.debugLine="End Sub"; return ""; } -public String _textfield1_enterpressed() throws Exception{ - //BA.debugLineNum = 111;BA.debugLine="Private Sub TextField1_EnterPressed"; - //BA.debugLineNum = 112;BA.debugLine="If IsValid(TextField1.Text) Then xDialog.Close(xu"; -if (_isvalid(_textfield1.getText())) { -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive);}; - //BA.debugLineNum = 113;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +RDebugUtils.currentLine=24182784; + //BA.debugLineNum = 24182784;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=24182785; + //BA.debugLineNum = 24182785;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=24182786; + //BA.debugLineNum = 24182786;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=24182787; + //BA.debugLineNum = 24182787;BA.debugLine="Public Text As String"; +_text = ""; +RDebugUtils.currentLine=24182788; + //BA.debugLineNum = 24182788;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new reparto_intmex.keymon.lat.b4xdialog(); +RDebugUtils.currentLine=24182789; + //BA.debugLineNum = 24182789;BA.debugLine="Public RegexPattern As String"; +_regexpattern = ""; +RDebugUtils.currentLine=24182790; + //BA.debugLineNum = 24182790;BA.debugLine="Public TextField1 As B4XView"; +_textfield1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=24182791; + //BA.debugLineNum = 24182791;BA.debugLine="Public lblTitle As B4XView"; +_lbltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=24182793; + //BA.debugLineNum = 24182793;BA.debugLine="Private IME As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=24182795; + //BA.debugLineNum = 24182795;BA.debugLine="Private mAllowDecimals As Boolean"; +_mallowdecimals = false; +RDebugUtils.currentLine=24182796; + //BA.debugLineNum = 24182796;BA.debugLine="Private BorderColor = xui.Color_White, BorderColo"; +_bordercolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +_bordercolorinvalid = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Red; +RDebugUtils.currentLine=24182797; + //BA.debugLineNum = 24182797;BA.debugLine="End Sub"; return ""; } -public String _textfield1_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 71;BA.debugLine="Private Sub TextField1_TextChanged (Old As String,"; - //BA.debugLineNum = 83;BA.debugLine="Validate (New)"; -_validate(_new); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; +public String _configurefornumbers(reparto_intmex.keymon.lat.b4xinputtemplate __ref,boolean _allowdecimals,boolean _allownegative) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "configurefornumbers", true)) + {return ((String) Debug.delegate(ba, "configurefornumbers", new Object[] {_allowdecimals,_allownegative}));} +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +RDebugUtils.currentLine=24379392; + //BA.debugLineNum = 24379392;BA.debugLine="Public Sub ConfigureForNumbers (AllowDecimals As B"; +RDebugUtils.currentLine=24379394; + //BA.debugLineNum = 24379394;BA.debugLine="Dim et As EditText = TextField1"; +_et = new anywheresoftware.b4a.objects.EditTextWrapper(); +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=24379395; + //BA.debugLineNum = 24379395;BA.debugLine="If AllowDecimals Or AllowNegative Then"; +if (_allowdecimals || _allownegative) { +RDebugUtils.currentLine=24379396; + //BA.debugLineNum = 24379396;BA.debugLine="et.InputType = et.INPUT_TYPE_DECIMAL_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_DECIMAL_NUMBERS); + }else { +RDebugUtils.currentLine=24379398; + //BA.debugLineNum = 24379398;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_NUMBERS); + }; +RDebugUtils.currentLine=24379411; + //BA.debugLineNum = 24379411;BA.debugLine="If AllowDecimals And AllowNegative Then"; +if (_allowdecimals && _allownegative) { +RDebugUtils.currentLine=24379412; + //BA.debugLineNum = 24379412;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; +__ref._regexpattern /*String*/ = "^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; + }else +{RDebugUtils.currentLine=24379413; + //BA.debugLineNum = 24379413;BA.debugLine="Else If AllowDecimals And AllowNegative = False T"; +if (_allowdecimals && _allownegative==__c.False) { +RDebugUtils.currentLine=24379414; + //BA.debugLineNum = 24379414;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$\""; +__ref._regexpattern /*String*/ = "^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; + }else +{RDebugUtils.currentLine=24379415; + //BA.debugLineNum = 24379415;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +if (_allowdecimals==__c.False && _allownegative==__c.True) { +RDebugUtils.currentLine=24379416; + //BA.debugLineNum = 24379416;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)$\""; +__ref._regexpattern /*String*/ = "^-?(0|[1-9]\\d*)$"; + }else +{RDebugUtils.currentLine=24379417; + //BA.debugLineNum = 24379417;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +if (_allowdecimals==__c.False && _allownegative==__c.False) { +RDebugUtils.currentLine=24379418; + //BA.debugLineNum = 24379418;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)$\""; +__ref._regexpattern /*String*/ = "^(0|[1-9]\\d*)$"; + }}}} +; +RDebugUtils.currentLine=24379420; + //BA.debugLineNum = 24379420;BA.debugLine="mAllowDecimals = AllowDecimals"; +__ref._mallowdecimals /*boolean*/ = _allowdecimals; +RDebugUtils.currentLine=24379421; + //BA.debugLineNum = 24379421;BA.debugLine="End Sub"; return ""; } -public String _validate(String _new) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xinputtemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=24248320; + //BA.debugLineNum = 24248320;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=24248321; + //BA.debugLineNum = 24248321;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=24248322; + //BA.debugLineNum = 24248322;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 80dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (80))); +RDebugUtils.currentLine=24248323; + //BA.debugLineNum = 24248323;BA.debugLine="mBase.LoadLayout(\"B4XInputTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("B4XInputTemplate",ba); +RDebugUtils.currentLine=24248324; + //BA.debugLineNum = 24248324;BA.debugLine="TextField1.TextColor = xui.Color_White"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTextColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White); +RDebugUtils.currentLine=24248326; + //BA.debugLineNum = 24248326;BA.debugLine="IME.Initialize(\"\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize(""); +RDebugUtils.currentLine=24248327; + //BA.debugLineNum = 24248327;BA.debugLine="Dim jo As JavaObject = TextField1"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=24248328; + //BA.debugLineNum = 24248328;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); +RDebugUtils.currentLine=24248330; + //BA.debugLineNum = 24248330;BA.debugLine="Dim jo As JavaObject = Me"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=24248331; + //BA.debugLineNum = 24248331;BA.debugLine="jo.RunMethod(\"RemoveWarning\", Null)"; +_jo.RunMethod("RemoveWarning",(Object[])(__c.Null)); +RDebugUtils.currentLine=24248334; + //BA.debugLineNum = 24248334;BA.debugLine="SetBorder(BorderColor)"; +__ref._setborder /*String*/ (null,__ref._bordercolor /*int*/ ); +RDebugUtils.currentLine=24248335; + //BA.debugLineNum = 24248335;BA.debugLine="End Sub"; +return ""; +} +public String _setborder(reparto_intmex.keymon.lat.b4xinputtemplate __ref,int _bc) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "setborder", true)) + {return ((String) Debug.delegate(ba, "setborder", new Object[] {_bc}));} +RDebugUtils.currentLine=24576000; + //BA.debugLineNum = 24576000;BA.debugLine="Private Sub SetBorder(bc As Int)"; +RDebugUtils.currentLine=24576001; + //BA.debugLineNum = 24576001;BA.debugLine="TextField1.SetColorAndBorder(xui.Color_Transparen"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,__c.DipToCurrent((int) (1)),_bc,__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=24576002; + //BA.debugLineNum = 24576002;BA.debugLine="End Sub"; +return ""; +} +public boolean _isvalid(reparto_intmex.keymon.lat.b4xinputtemplate __ref,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "isvalid", true)) + {return ((Boolean) Debug.delegate(ba, "isvalid", new Object[] {_new}));} +RDebugUtils.currentLine=24641536; + //BA.debugLineNum = 24641536;BA.debugLine="Private Sub IsValid(New As String) As Boolean"; +RDebugUtils.currentLine=24641537; + //BA.debugLineNum = 24641537;BA.debugLine="Return RegexPattern = \"\" Or Regex.IsMatch(RegexPa"; +if (true) return (__ref._regexpattern /*String*/ ).equals("") || __c.Regex.IsMatch(__ref._regexpattern /*String*/ ,_new); +RDebugUtils.currentLine=24641538; + //BA.debugLineNum = 24641538;BA.debugLine="End Sub"; +return false; +} +public String _setbordercolor(reparto_intmex.keymon.lat.b4xinputtemplate __ref,int _valid,int _invalid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "setbordercolor", true)) + {return ((String) Debug.delegate(ba, "setbordercolor", new Object[] {_valid,_invalid}));} +RDebugUtils.currentLine=24313856; + //BA.debugLineNum = 24313856;BA.debugLine="Public Sub SetBorderColor(Valid As Int, Invalid As"; +RDebugUtils.currentLine=24313857; + //BA.debugLineNum = 24313857;BA.debugLine="BorderColor = Valid"; +__ref._bordercolor /*int*/ = _valid; +RDebugUtils.currentLine=24313858; + //BA.debugLineNum = 24313858;BA.debugLine="BorderColorInvalid = Invalid"; +__ref._bordercolorinvalid /*int*/ = _invalid; +RDebugUtils.currentLine=24313859; + //BA.debugLineNum = 24313859;BA.debugLine="SetBorder(BorderColor)"; +__ref._setborder /*String*/ (null,__ref._bordercolor /*int*/ ); +RDebugUtils.currentLine=24313860; + //BA.debugLineNum = 24313860;BA.debugLine="End Sub"; +return ""; +} +public String _validate(reparto_intmex.keymon.lat.b4xinputtemplate __ref,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "validate", true)) + {return ((String) Debug.delegate(ba, "validate", new Object[] {_new}));} int _bc = 0; boolean _enabled = false; - //BA.debugLineNum = 86;BA.debugLine="Private Sub Validate (New As String)"; - //BA.debugLineNum = 87;BA.debugLine="Dim bc As Int = BorderColor"; -_bc = _bordercolor; - //BA.debugLineNum = 88;BA.debugLine="Dim enabled As Boolean = True"; +RDebugUtils.currentLine=24510464; + //BA.debugLineNum = 24510464;BA.debugLine="Private Sub Validate (New As String)"; +RDebugUtils.currentLine=24510465; + //BA.debugLineNum = 24510465;BA.debugLine="Dim bc As Int = BorderColor"; +_bc = __ref._bordercolor /*int*/ ; +RDebugUtils.currentLine=24510466; + //BA.debugLineNum = 24510466;BA.debugLine="Dim enabled As Boolean = True"; _enabled = __c.True; - //BA.debugLineNum = 89;BA.debugLine="If IsValid(New) = False Then"; -if (_isvalid(_new)==__c.False) { - //BA.debugLineNum = 90;BA.debugLine="If New.Length > 0 Then"; +RDebugUtils.currentLine=24510467; + //BA.debugLineNum = 24510467;BA.debugLine="If IsValid(New) = False Then"; +if (__ref._isvalid /*boolean*/ (null,_new)==__c.False) { +RDebugUtils.currentLine=24510468; + //BA.debugLineNum = 24510468;BA.debugLine="If New.Length > 0 Then"; if (_new.length()>0) { - //BA.debugLineNum = 91;BA.debugLine="bc = BorderColorInvalid"; -_bc = _bordercolorinvalid; +RDebugUtils.currentLine=24510469; + //BA.debugLineNum = 24510469;BA.debugLine="bc = BorderColorInvalid"; +_bc = __ref._bordercolorinvalid /*int*/ ; }; - //BA.debugLineNum = 93;BA.debugLine="enabled = False"; +RDebugUtils.currentLine=24510471; + //BA.debugLineNum = 24510471;BA.debugLine="enabled = False"; _enabled = __c.False; }; - //BA.debugLineNum = 95;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; -_xdialog._setbuttonstate /*String*/ (_xui.DialogResponse_Positive,_enabled); - //BA.debugLineNum = 96;BA.debugLine="SetBorder(bc)"; -_setborder(_bc); - //BA.debugLineNum = 97;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24510473; + //BA.debugLineNum = 24510473;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._setbuttonstate /*String*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,_enabled); +RDebugUtils.currentLine=24510474; + //BA.debugLineNum = 24510474;BA.debugLine="SetBorder(bc)"; +__ref._setborder /*String*/ (null,_bc); +RDebugUtils.currentLine=24510475; + //BA.debugLineNum = 24510475;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((reparto_intmex.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; +public String _textfield1_action(reparto_intmex.keymon.lat.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_action", true)) + {return ((String) Debug.delegate(ba, "textfield1_action", null));} +RDebugUtils.currentLine=24707072; + //BA.debugLineNum = 24707072;BA.debugLine="Private Sub TextField1_Action"; +RDebugUtils.currentLine=24707073; + //BA.debugLineNum = 24707073;BA.debugLine="TextField1_EnterPressed"; +__ref._textfield1_enterpressed /*String*/ (null); +RDebugUtils.currentLine=24707074; + //BA.debugLineNum = 24707074;BA.debugLine="End Sub"; +return ""; } +public String _textfield1_enterpressed(reparto_intmex.keymon.lat.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_enterpressed", true)) + {return ((String) Debug.delegate(ba, "textfield1_enterpressed", null));} +RDebugUtils.currentLine=24772608; + //BA.debugLineNum = 24772608;BA.debugLine="Private Sub TextField1_EnterPressed"; +RDebugUtils.currentLine=24772609; + //BA.debugLineNum = 24772609;BA.debugLine="If IsValid(TextField1.Text) Then xDialog.Close(xu"; +if (__ref._isvalid /*boolean*/ (null,__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText())) { +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive);}; +RDebugUtils.currentLine=24772610; + //BA.debugLineNum = 24772610;BA.debugLine="End Sub"; +return ""; } +public String _textfield1_textchanged(reparto_intmex.keymon.lat.b4xinputtemplate __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_textchanged", true)) + {return ((String) Debug.delegate(ba, "textfield1_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=24444928; + //BA.debugLineNum = 24444928;BA.debugLine="Private Sub TextField1_TextChanged (Old As String,"; +RDebugUtils.currentLine=24444940; + //BA.debugLineNum = 24444940;BA.debugLine="Validate (New)"; +__ref._validate /*String*/ (null,_new); +RDebugUtils.currentLine=24444941; + //BA.debugLineNum = 24444941;BA.debugLine="End Sub"; +return ""; +} +public void RemoveWarning() throws Exception{ + anywheresoftware.b4a.shell.Shell s = anywheresoftware.b4a.shell.Shell.INSTANCE; + java.lang.reflect.Field f = s.getClass().getDeclaredField("errorMessagesForSyncEvents"); + f.setAccessible(true); + java.util.HashSet h = (java.util.HashSet)f.get(s); + if (h == null) { + h = new java.util.HashSet(); + f.set(s, h); + } + h.add("textfield1_textchanged"); +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xlisttemplate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xlisttemplate.java index 4e6d225..55e1ac4 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xlisttemplate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xlisttemplate.java @@ -10,7 +10,7 @@ public class b4xlisttemplate extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xlisttemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xlisttemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xlisttemplate extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public b4a.example3.customlistview _customlistview1 = null; @@ -37,10 +44,10 @@ public int _multiselectionminimum = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -48,146 +55,35 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; -_customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Public Options As List"; -_options = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 6;BA.debugLine="Public SelectedItem As String"; -_selecteditem = ""; - //BA.debugLineNum = 7;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new reparto_intmex.keymon.lat.b4xdialog(); - //BA.debugLineNum = 8;BA.debugLine="Public AllowMultiSelection As Boolean"; -_allowmultiselection = false; - //BA.debugLineNum = 9;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; -_selectioncolor = ((int)0xaa0086ff); - //BA.debugLineNum = 10;BA.debugLine="Public SelectedItems As List"; -_selecteditems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 11;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; -_multiselectionminimum = (int) (0); - //BA.debugLineNum = 12;BA.debugLine="End Sub"; -return ""; -} -public String _customlistview1_itemclick(int _index,Object _value) throws Exception{ -b4a.example3.customlistview._clvitem _item = null; - //BA.debugLineNum = 76;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; - //BA.debugLineNum = 77;BA.debugLine="If Value = \"\" Then Return"; -if ((_value).equals((Object)(""))) { -if (true) return "";}; - //BA.debugLineNum = 78;BA.debugLine="If AllowMultiSelection Then"; -if (_allowmultiselection) { - //BA.debugLineNum = 79;BA.debugLine="Dim Item As CLVItem = CustomListView1.GetRawList"; -_item = _customlistview1._getrawlistitem(_index); - //BA.debugLineNum = 80;BA.debugLine="SelectItem (Item, True)"; -_selectitem(_item,__c.True); - }else { - //BA.debugLineNum = 82;BA.debugLine="SelectedItem = Value"; -_selecteditem = BA.ObjectToString(_value); - //BA.debugLineNum = 83;BA.debugLine="SelectedItems.Clear"; -_selecteditems.Clear(); - //BA.debugLineNum = 84;BA.debugLine="SelectedItems.Add(Value)"; -_selecteditems.Add(_value); - //BA.debugLineNum = 85;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - }; - //BA.debugLineNum = 87;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 38;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xlisttemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=25231360; + //BA.debugLineNum = 25231360;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=25231361; + //BA.debugLineNum = 25231361;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=25231362; + //BA.debugLineNum = 25231362;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 14;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 15;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 16;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 17;BA.debugLine="mBase.LoadLayout(\"ListTemplate\")"; -_mbase.LoadLayout("ListTemplate",ba); - //BA.debugLineNum = 18;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 19;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 20;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 21;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 26;BA.debugLine="Options.Initialize"; -_options.Initialize(); - //BA.debugLineNum = 27;BA.debugLine="SelectedItems.Initialize"; -_selecteditems.Initialize(); - //BA.debugLineNum = 28;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 31;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 32;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 33;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; -_customlistview1._base_resize(_width,_height); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public String _selectitem(b4a.example3.customlistview._clvitem _item,boolean _toggle) throws Exception{ -int _index = 0; -boolean _selected = false; - //BA.debugLineNum = 59;BA.debugLine="Private Sub SelectItem (Item As CLVItem, Toggle As"; - //BA.debugLineNum = 60;BA.debugLine="Dim index As Int = SelectedItems.IndexOf(Item.Val"; -_index = _selecteditems.IndexOf(_item.Value); - //BA.debugLineNum = 61;BA.debugLine="Dim Selected As Boolean = index > -1"; -_selected = _index>-1; - //BA.debugLineNum = 62;BA.debugLine="If Toggle Then Selected = Not(Selected)"; -if (_toggle) { -_selected = __c.Not(_selected);}; - //BA.debugLineNum = 63;BA.debugLine="If Selected Then"; -if (_selected) { - //BA.debugLineNum = 64;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = Selection"; -if (__c.Not(_toggle)) { -_item.Panel.setColor(_selectioncolor);}; - //BA.debugLineNum = 65;BA.debugLine="Item.Color = CustomListView1.DefaultTextBackgrou"; -_item.Color = _customlistview1._defaulttextbackgroundcolor; - //BA.debugLineNum = 66;BA.debugLine="If index = -1 Then SelectedItems.Add(Item.Value)"; -if (_index==-1) { -_selecteditems.Add(_item.Value);}; - }else { - //BA.debugLineNum = 68;BA.debugLine="Item.Color = SelectionColor"; -_item.Color = _selectioncolor; - //BA.debugLineNum = 69;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = CustomLis"; -if (__c.Not(_toggle)) { -_item.Panel.setColor(_customlistview1._defaulttextbackgroundcolor);}; - //BA.debugLineNum = 70;BA.debugLine="If index > -1 Then SelectedItems.RemoveAt(index)"; -if (_index>-1) { -_selecteditems.RemoveAt(_index);}; - }; - //BA.debugLineNum = 72;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; -_xdialog._setbuttonstate /*String*/ (_xui.DialogResponse_Positive,_selecteditems.getSize()>=_multiselectionminimum); - //BA.debugLineNum = 73;BA.debugLine="End Sub"; -return ""; -} -public void _show(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public void _show(reparto_intmex.keymon.lat.b4xlisttemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(reparto_intmex.keymon.lat.b4xlisttemplate parent,reparto_intmex.keymon.lat.b4xdialog _dialog) { +public ResumableSub_Show(reparto_intmex.keymon.lat.b4xlisttemplate parent,reparto_intmex.keymon.lat.b4xlisttemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xlisttemplate __ref; reparto_intmex.keymon.lat.b4xlisttemplate parent; reparto_intmex.keymon.lat.b4xdialog _dialog; Object _opt = null; @@ -201,6 +97,7 @@ int limit8; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xlisttemplate"; while (true) { switch (state) { @@ -210,17 +107,20 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 42;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 43;BA.debugLine="CustomListView1.Clear"; -parent._customlistview1._clear(); - //BA.debugLineNum = 44;BA.debugLine="For Each opt As Object In Options"; +RDebugUtils.currentLine=25296897; + //BA.debugLineNum = 25296897;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=25296898; + //BA.debugLineNum = 25296898;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=25296899; + //BA.debugLineNum = 25296899;BA.debugLine="For Each opt As Object In Options"; if (true) break; case 1: //for this.state = 4; -group3 = parent._options; +group3 = __ref._options /*anywheresoftware.b4a.objects.collections.List*/ ; index3 = 0; groupLen3 = group3.getSize(); this.state = 12; @@ -243,39 +143,43 @@ if (true) break; case 3: //C this.state = 13; - //BA.debugLineNum = 45;BA.debugLine="CustomListView1.AddTextItem(opt, opt)"; -parent._customlistview1._addtextitem(_opt,_opt); +RDebugUtils.currentLine=25296900; + //BA.debugLineNum = 25296900;BA.debugLine="CustomListView1.AddTextItem(opt, opt)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem(_opt,_opt); if (true) break; if (true) break; ; - //BA.debugLineNum = 47;BA.debugLine="If AllowMultiSelection Then"; +RDebugUtils.currentLine=25296902; + //BA.debugLineNum = 25296902;BA.debugLine="If AllowMultiSelection Then"; case 4: //if this.state = 11; -if (parent._allowmultiselection) { +if (__ref._allowmultiselection /*boolean*/ ) { this.state = 6; }if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 48;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); +RDebugUtils.currentLine=25296903; + //BA.debugLineNum = 25296903;BA.debugLine="Sleep(20)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xlisttemplate", "show"),(int) (20)); this.state = 14; return; case 14: //C this.state = 7; ; - //BA.debugLineNum = 49;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; +RDebugUtils.currentLine=25296904; + //BA.debugLineNum = 25296904;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; if (true) break; case 7: //for this.state = 10; step8 = 1; -limit8 = (int) (parent._customlistview1._getsize()-1); +limit8 = (int) (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()-1); _i = (int) (0) ; this.state = 15; if (true) break; @@ -295,10 +199,12 @@ if (true) break; case 9: //C this.state = 16; - //BA.debugLineNum = 50;BA.debugLine="Dim item As CLVItem = CustomListView1.GetRawLis"; -_item = parent._customlistview1._getrawlistitem(_i); - //BA.debugLineNum = 51;BA.debugLine="SelectItem (item, False)"; -parent._selectitem(_item,parent.__c.False); +RDebugUtils.currentLine=25296905; + //BA.debugLineNum = 25296905;BA.debugLine="Dim item As CLVItem = CustomListView1.GetRawLis"; +_item = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getrawlistitem(_i); +RDebugUtils.currentLine=25296906; + //BA.debugLineNum = 25296906;BA.debugLine="SelectItem (item, False)"; +__ref._selectitem /*String*/ (null,_item,parent.__c.False); if (true) break; if (true) break; @@ -312,23 +218,216 @@ case 11: //C this.state = -1; ; - //BA.debugLineNum = 54;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -parent._xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,parent._customlistview1,parent._customlistview1._defaulttextbackgroundcolor); - //BA.debugLineNum = 55;BA.debugLine="SelectedItem = \"\""; -parent._selecteditem = ""; - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +RDebugUtils.currentLine=25296909; + //BA.debugLineNum = 25296909;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +parent._xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,__ref._customlistview1 /*b4a.example3.customlistview*/ ,__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor); +RDebugUtils.currentLine=25296910; + //BA.debugLineNum = 25296910;BA.debugLine="SelectedItem = \"\""; +__ref._selecteditem /*String*/ = ""; +RDebugUtils.currentLine=25296912; + //BA.debugLineNum = 25296912;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((reparto_intmex.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; +public String _dialogclosed(reparto_intmex.keymon.lat.b4xlisttemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=25493504; + //BA.debugLineNum = 25493504;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=25493506; + //BA.debugLineNum = 25493506;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(reparto_intmex.keymon.lat.b4xlisttemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +RDebugUtils.currentLine=25034752; + //BA.debugLineNum = 25034752;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=25034753; + //BA.debugLineNum = 25034753;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=25034754; + //BA.debugLineNum = 25034754;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=25034755; + //BA.debugLineNum = 25034755;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=25034756; + //BA.debugLineNum = 25034756;BA.debugLine="Public Options As List"; +_options = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=25034757; + //BA.debugLineNum = 25034757;BA.debugLine="Public SelectedItem As String"; +_selecteditem = ""; +RDebugUtils.currentLine=25034758; + //BA.debugLineNum = 25034758;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new reparto_intmex.keymon.lat.b4xdialog(); +RDebugUtils.currentLine=25034759; + //BA.debugLineNum = 25034759;BA.debugLine="Public AllowMultiSelection As Boolean"; +_allowmultiselection = false; +RDebugUtils.currentLine=25034760; + //BA.debugLineNum = 25034760;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; +_selectioncolor = ((int)0xaa0086ff); +RDebugUtils.currentLine=25034761; + //BA.debugLineNum = 25034761;BA.debugLine="Public SelectedItems As List"; +_selecteditems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=25034762; + //BA.debugLineNum = 25034762;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; +_multiselectionminimum = (int) (0); +RDebugUtils.currentLine=25034763; + //BA.debugLineNum = 25034763;BA.debugLine="End Sub"; +return ""; } +public String _customlistview1_itemclick(reparto_intmex.keymon.lat.b4xlisttemplate __ref,int _index,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "customlistview1_itemclick", true)) + {return ((String) Debug.delegate(ba, "customlistview1_itemclick", new Object[] {_index,_value}));} +b4a.example3.customlistview._clvitem _item = null; +RDebugUtils.currentLine=25427968; + //BA.debugLineNum = 25427968;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +RDebugUtils.currentLine=25427969; + //BA.debugLineNum = 25427969;BA.debugLine="If Value = \"\" Then Return"; +if ((_value).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=25427970; + //BA.debugLineNum = 25427970;BA.debugLine="If AllowMultiSelection Then"; +if (__ref._allowmultiselection /*boolean*/ ) { +RDebugUtils.currentLine=25427971; + //BA.debugLineNum = 25427971;BA.debugLine="Dim Item As CLVItem = CustomListView1.GetRawList"; +_item = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getrawlistitem(_index); +RDebugUtils.currentLine=25427972; + //BA.debugLineNum = 25427972;BA.debugLine="SelectItem (Item, True)"; +__ref._selectitem /*String*/ (null,_item,__c.True); + }else { +RDebugUtils.currentLine=25427974; + //BA.debugLineNum = 25427974;BA.debugLine="SelectedItem = Value"; +__ref._selecteditem /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=25427975; + //BA.debugLineNum = 25427975;BA.debugLine="SelectedItems.Clear"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=25427976; + //BA.debugLineNum = 25427976;BA.debugLine="SelectedItems.Add(Value)"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Add(_value); +RDebugUtils.currentLine=25427977; + //BA.debugLineNum = 25427977;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); + }; +RDebugUtils.currentLine=25427979; + //BA.debugLineNum = 25427979;BA.debugLine="End Sub"; +return ""; +} +public String _selectitem(reparto_intmex.keymon.lat.b4xlisttemplate __ref,b4a.example3.customlistview._clvitem _item,boolean _toggle) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "selectitem", true)) + {return ((String) Debug.delegate(ba, "selectitem", new Object[] {_item,_toggle}));} +int _index = 0; +boolean _selected = false; +RDebugUtils.currentLine=25362432; + //BA.debugLineNum = 25362432;BA.debugLine="Private Sub SelectItem (Item As CLVItem, Toggle As"; +RDebugUtils.currentLine=25362433; + //BA.debugLineNum = 25362433;BA.debugLine="Dim index As Int = SelectedItems.IndexOf(Item.Val"; +_index = __ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_item.Value); +RDebugUtils.currentLine=25362434; + //BA.debugLineNum = 25362434;BA.debugLine="Dim Selected As Boolean = index > -1"; +_selected = _index>-1; +RDebugUtils.currentLine=25362435; + //BA.debugLineNum = 25362435;BA.debugLine="If Toggle Then Selected = Not(Selected)"; +if (_toggle) { +_selected = __c.Not(_selected);}; +RDebugUtils.currentLine=25362436; + //BA.debugLineNum = 25362436;BA.debugLine="If Selected Then"; +if (_selected) { +RDebugUtils.currentLine=25362437; + //BA.debugLineNum = 25362437;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = Selection"; +if (__c.Not(_toggle)) { +_item.Panel.setColor(__ref._selectioncolor /*int*/ );}; +RDebugUtils.currentLine=25362438; + //BA.debugLineNum = 25362438;BA.debugLine="Item.Color = CustomListView1.DefaultTextBackgrou"; +_item.Color = __ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor; +RDebugUtils.currentLine=25362439; + //BA.debugLineNum = 25362439;BA.debugLine="If index = -1 Then SelectedItems.Add(Item.Value)"; +if (_index==-1) { +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Add(_item.Value);}; + }else { +RDebugUtils.currentLine=25362441; + //BA.debugLineNum = 25362441;BA.debugLine="Item.Color = SelectionColor"; +_item.Color = __ref._selectioncolor /*int*/ ; +RDebugUtils.currentLine=25362442; + //BA.debugLineNum = 25362442;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = CustomLis"; +if (__c.Not(_toggle)) { +_item.Panel.setColor(__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor);}; +RDebugUtils.currentLine=25362443; + //BA.debugLineNum = 25362443;BA.debugLine="If index > -1 Then SelectedItems.RemoveAt(index)"; +if (_index>-1) { +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_index);}; + }; +RDebugUtils.currentLine=25362445; + //BA.debugLineNum = 25362445;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._setbuttonstate /*String*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>=__ref._multiselectionminimum /*int*/ ); +RDebugUtils.currentLine=25362446; + //BA.debugLineNum = 25362446;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_intmex.keymon.lat.b4xlisttemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=25100288; + //BA.debugLineNum = 25100288;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=25100289; + //BA.debugLineNum = 25100289;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=25100290; + //BA.debugLineNum = 25100290;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); +RDebugUtils.currentLine=25100291; + //BA.debugLineNum = 25100291;BA.debugLine="mBase.LoadLayout(\"ListTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("ListTemplate",ba); +RDebugUtils.currentLine=25100292; + //BA.debugLineNum = 25100292;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=25100293; + //BA.debugLineNum = 25100293;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=25100294; + //BA.debugLineNum = 25100294;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=25100295; + //BA.debugLineNum = 25100295;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=25100300; + //BA.debugLineNum = 25100300;BA.debugLine="Options.Initialize"; +__ref._options /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=25100301; + //BA.debugLineNum = 25100301;BA.debugLine="SelectedItems.Initialize"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=25100302; + //BA.debugLineNum = 25100302;BA.debugLine="End Sub"; +return ""; +} +public String _resize(reparto_intmex.keymon.lat.b4xlisttemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=25165824; + //BA.debugLineNum = 25165824;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=25165825; + //BA.debugLineNum = 25165825;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=25165826; + //BA.debugLineNum = 25165826;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_height); +RDebugUtils.currentLine=25165827; + //BA.debugLineNum = 25165827;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xloadingindicator.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xloadingindicator.java index 427aa5c..d62be61 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xloadingindicator.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xloadingindicator.java @@ -10,7 +10,7 @@ public class b4xloadingindicator extends B4AClass.ImplB4AClass implements BA.Sub private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xloadingindicator"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xloadingindicator"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xloadingindicator extends B4AClass.ImplB4AClass implements BA.Sub ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -37,10 +44,10 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -48,274 +55,37 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 38;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 39;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 40;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.b4xloadingindicator __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=25755648; + //BA.debugLineNum = 25755648;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=25755649; + //BA.debugLineNum = 25755649;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=25755650; + //BA.debugLineNum = 25755650;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=25755651; + //BA.debugLineNum = 25755651;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 12;BA.debugLine="Private clr As Int"; -_clr = 0; - //BA.debugLineNum = 13;BA.debugLine="Private index As Int"; -_index = 0; - //BA.debugLineNum = 14;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 15;BA.debugLine="Private duration As Int"; -_duration = 0; - //BA.debugLineNum = 16;BA.debugLine="Private DrawingSubName As String"; -_drawingsubname = ""; - //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 18;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -String _style = ""; - //BA.debugLineNum = 26;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 27;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 28;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 28;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 29;BA.debugLine="clr = xui.PaintOrColorToColor(Props.Get(\"Color\""; -_clr = _xui.PaintOrColorToColor(_props.Get((Object)("Color"))); - //BA.debugLineNum = 30;BA.debugLine="Dim style As String= Props.Get(\"IndicatorStyle\")"; -_style = BA.ObjectToString(_props.Get((Object)("IndicatorStyle"))); - //BA.debugLineNum = 31;BA.debugLine="Dim duration As Int = Props.Get(\"Duration\")"; -_duration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); - //BA.debugLineNum = 32;BA.debugLine="DrawingSubName = \"Draw_\" & style.Replace(\" \", \"\")"; -_drawingsubname = "Draw_"+_style.replace(" ",""); - //BA.debugLineNum = 33;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 34;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public String _draw_arc1(float _progress) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -float _r = 0f; - //BA.debugLineNum = 105;BA.debugLine="Private Sub Draw_Arc1 (Progress As Float)"; - //BA.debugLineNum = 106;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 107;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; -_r = (float) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 108;BA.debugLine="If Progress < 0.5 Then"; -if (_progress<0.5) { - //BA.debugLineNum = 109;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); - }else { - //BA.debugLineNum = 111;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (-(1-_progress)*2*360)); - }; - //BA.debugLineNum = 113;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 114;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 115;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public String _draw_arc2(float _progress) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -float _r = 0f; - //BA.debugLineNum = 118;BA.debugLine="Private Sub Draw_Arc2 (Progress As Float)"; - //BA.debugLineNum = 119;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 120;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; -_r = (float) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 121;BA.debugLine="If Progress < 0.5 Then"; -if (_progress<0.5) { - //BA.debugLineNum = 122;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); - }else { - //BA.debugLineNum = 124;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (360-(_progress-0.5)*2*360)); - }; - //BA.debugLineNum = 126;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 127;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 128;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - //BA.debugLineNum = 129;BA.debugLine="End Sub"; -return ""; -} -public String _draw_fivelines1(float _progress) throws Exception{ -int _minr = 0; -int _maxr = 0; -int _dx = 0; -int _i = 0; -float _r = 0f; - //BA.debugLineNum = 95;BA.debugLine="Private Sub Draw_FiveLines1(Progress As Float)"; - //BA.debugLineNum = 96;BA.debugLine="Dim MinR As Int = 10dip"; -_minr = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 97;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Height / 2"; -_maxr = (int) (_cvs.getTargetRect().getHeight()/(double)2); - //BA.debugLineNum = 98;BA.debugLine="Dim dx As Int = (cvs.TargetRect.Width - 2dip) / 5"; -_dx = (int) ((_cvs.getTargetRect().getWidth()-__c.DipToCurrent((int) (2)))/(double)5); - //BA.debugLineNum = 99;BA.debugLine="For i = 0 To 4"; -{ -final int step4 = 1; -final int limit4 = (int) (4); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 100;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; -_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-30*_i)); - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawLine(2dip + i * dx, cvs.TargetRect.Cente"; -_cvs.DrawLine((float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (_cvs.getTargetRect().getCenterY()-_r),(float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (_cvs.getTargetRect().getCenterY()+_r),_clr,(float) (__c.DipToCurrent((int) (4)))); - } -}; - //BA.debugLineNum = 103;BA.debugLine="End Sub"; -return ""; -} -public String _draw_pacman(float _progress) throws Exception{ -int _dotr = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -int _angle = 0; -int _cx = 0; -int _cy = 0; -int _r = 0; - //BA.debugLineNum = 131;BA.debugLine="Private Sub Draw_PacMan(Progress As Float)"; - //BA.debugLineNum = 132;BA.debugLine="Dim DotR As Int = 5dip"; -_dotr = __c.DipToCurrent((int) (5)); - //BA.debugLineNum = 133;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.Width - DotR - Prog"; -_cvs.DrawCircle((float) (_cvs.getTargetRect().getWidth()-_dotr-_progress*(_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (10)))),_cvs.getTargetRect().getCenterY(),(float) (_dotr),_setalpha(_clr,(int) (255-200*_progress)),__c.True,(float) (0)); - //BA.debugLineNum = 134;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 135;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; -_angle = (int) (70*__c.SinD(_progress*180)); - //BA.debugLineNum = 136;BA.debugLine="Dim cx As Int = cvs.TargetRect.CenterX - 5dip"; -_cx = (int) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 137;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; -_cy = (int) (_cvs.getTargetRect().getCenterY()); - //BA.debugLineNum = 138;BA.debugLine="Dim r As Int = cvs.TargetRect.CenterY - 5dip"; -_r = (int) (_cvs.getTargetRect().getCenterY()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 139;BA.debugLine="If angle = 0 Then"; -if (_angle==0) { - //BA.debugLineNum = 140;BA.debugLine="cvs.DrawCircle(cx, cy, r, clr, True, 0)"; -_cvs.DrawCircle((float) (_cx),(float) (_cy),(float) (_r),_clr,__c.True,(float) (0)); - }else { - //BA.debugLineNum = 142;BA.debugLine="p.InitializeArc(cx, cy , r, -angle / 2, -(360-an"; -_p.InitializeArc((float) (_cx),(float) (_cy),(float) (_r),(float) (-_angle/(double)2),(float) (-(360-_angle))); - //BA.debugLineNum = 143;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 144;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 145;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - }; - //BA.debugLineNum = 148;BA.debugLine="End Sub"; -return ""; -} -public String _draw_singlecircle(float _progress) throws Exception{ -int _i = 0; - //BA.debugLineNum = 85;BA.debugLine="Private Sub Draw_SingleCircle(Progress As Float)"; - //BA.debugLineNum = 86;BA.debugLine="For i = 0 To 2"; -{ -final int step1 = 1; -final int limit1 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit1 ;_i = _i + step1 ) { - //BA.debugLineNum = 87;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX, cvs.Targe"; -_cvs.DrawCircle(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),(float) (_cvs.getTargetRect().getCenterX()*_progress),_setalpha(_clr,(int) (255-255*_progress)),__c.True,(float) (0)); - } -}; - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return ""; -} -public String _draw_threecircles1(float _progress) throws Exception{ -float _maxr = 0f; -float _r = 0f; -int _i = 0; -int _alpha = 0; - //BA.debugLineNum = 66;BA.debugLine="Private Sub Draw_ThreeCircles1 (Progress As Float)"; - //BA.debugLineNum = 67;BA.debugLine="Dim MaxR As Float = (cvs.TargetRect.Width / 2 - 2"; -_maxr = (float) ((_cvs.getTargetRect().getWidth()/(double)2-__c.DipToCurrent((int) (20)))/(double)2); - //BA.debugLineNum = 68;BA.debugLine="Dim r As Float = 10dip + MaxR + MaxR * Sin(Progre"; -_r = (float) (__c.DipToCurrent((int) (10))+_maxr+_maxr*__c.Sin(_progress*2*__c.cPI)); - //BA.debugLineNum = 69;BA.debugLine="For i = 0 To 2"; -{ -final int step3 = 1; -final int limit3 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 70;BA.debugLine="Dim alpha As Int = i * 120 + Progress * 360"; -_alpha = (int) (_i*120+_progress*360); - //BA.debugLineNum = 72;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX + r * SinD"; -_cvs.DrawCircle((float) (_cvs.getTargetRect().getCenterX()+_r*__c.SinD(_alpha)),(float) (_cvs.getTargetRect().getCenterY()+_r*__c.CosD(_alpha)),(float) (__c.DipToCurrent((int) (7))),_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); - } -}; - //BA.debugLineNum = 74;BA.debugLine="End Sub"; -return ""; -} -public String _draw_threecircles2(float _progress) throws Exception{ -int _minr = 0; -int _maxr = 0; -int _i = 0; -float _r = 0f; - //BA.debugLineNum = 76;BA.debugLine="Private Sub Draw_ThreeCircles2 (Progress As Float)"; - //BA.debugLineNum = 77;BA.debugLine="Dim MinR As Int = 5dip"; -_minr = __c.DipToCurrent((int) (5)); - //BA.debugLineNum = 78;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Width / 2 / 3 -"; -_maxr = (int) (_cvs.getTargetRect().getWidth()/(double)2/(double)3-_minr-__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 79;BA.debugLine="For i = 0 To 2"; -{ -final int step3 = 1; -final int limit3 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 80;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; -_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-60*_i)); - //BA.debugLineNum = 81;BA.debugLine="cvs.DrawCircle(MaxR + MinR + (MinR + MaxR + 2dip"; -_cvs.DrawCircle((float) (_maxr+_minr+(_minr+_maxr+__c.DipToCurrent((int) (2)))*2*_i),_cvs.getTargetRect().getCenterY(),_r,_clr,__c.True,(float) (0)); - } -}; - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public String _hide() throws Exception{ - //BA.debugLineNum = 61;BA.debugLine="Public Sub Hide"; - //BA.debugLineNum = 62;BA.debugLine="mBase.Visible = False"; -_mbase.setVisible(__c.False); - //BA.debugLineNum = 63;BA.debugLine="index = index + 1"; -_index = (int) (_index+1); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 20;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 21;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 22;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 23;BA.debugLine="End Sub"; -return ""; -} -public void _mainloop() throws Exception{ -ResumableSub_MainLoop rsub = new ResumableSub_MainLoop(this); +public void _mainloop(reparto_intmex.keymon.lat.b4xloadingindicator __ref) throws Exception{ +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "mainloop", true)) + {Debug.delegate(ba, "mainloop", null); return;} +ResumableSub_MainLoop rsub = new ResumableSub_MainLoop(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_MainLoop extends BA.ResumableSub { -public ResumableSub_MainLoop(reparto_intmex.keymon.lat.b4xloadingindicator parent) { +public ResumableSub_MainLoop(reparto_intmex.keymon.lat.b4xloadingindicator parent,reparto_intmex.keymon.lat.b4xloadingindicator __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xloadingindicator __ref; reparto_intmex.keymon.lat.b4xloadingindicator parent; int _myindex = 0; long _n = 0L; @@ -323,6 +93,7 @@ float _progress = 0f; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xloadingindicator"; while (true) { switch (state) { @@ -332,19 +103,23 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 43;BA.debugLine="index = index + 1"; -parent._index = (int) (parent._index+1); - //BA.debugLineNum = 44;BA.debugLine="Dim MyIndex As Int = index"; -_myindex = parent._index; - //BA.debugLineNum = 45;BA.debugLine="Dim n As Long = DateTime.Now"; +RDebugUtils.currentLine=25821185; + //BA.debugLineNum = 25821185;BA.debugLine="index = index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=25821186; + //BA.debugLineNum = 25821186;BA.debugLine="Dim MyIndex As Int = index"; +_myindex = __ref._index /*int*/ ; +RDebugUtils.currentLine=25821187; + //BA.debugLineNum = 25821187;BA.debugLine="Dim n As Long = DateTime.Now"; _n = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 46;BA.debugLine="Do While MyIndex = index"; +RDebugUtils.currentLine=25821188; + //BA.debugLineNum = 25821188;BA.debugLine="Do While MyIndex = index"; if (true) break; case 1: //do while this.state = 4; -while (_myindex==parent._index) { +while (_myindex==__ref._index /*int*/ ) { this.state = 3; if (true) break; } @@ -353,18 +128,24 @@ if (true) break; case 3: //C this.state = 1; - //BA.debugLineNum = 47;BA.debugLine="Dim progress As Float = (DateTime.Now - n) / dur"; -_progress = (float) ((parent.__c.DateTime.getNow()-_n)/(double)parent._duration); - //BA.debugLineNum = 48;BA.debugLine="progress = progress - Floor(progress)"; +RDebugUtils.currentLine=25821189; + //BA.debugLineNum = 25821189;BA.debugLine="Dim progress As Float = (DateTime.Now - n) / dur"; +_progress = (float) ((parent.__c.DateTime.getNow()-_n)/(double)__ref._duration /*int*/ ); +RDebugUtils.currentLine=25821190; + //BA.debugLineNum = 25821190;BA.debugLine="progress = progress - Floor(progress)"; _progress = (float) (_progress-parent.__c.Floor(_progress)); - //BA.debugLineNum = 49;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -parent._cvs.ClearRect(parent._cvs.getTargetRect()); - //BA.debugLineNum = 50;BA.debugLine="CallSub2(Me, DrawingSubName, progress)"; -parent.__c.CallSubNew2(ba,parent,parent._drawingsubname,(Object)(_progress)); - //BA.debugLineNum = 51;BA.debugLine="cvs.Invalidate"; -parent._cvs.Invalidate(); - //BA.debugLineNum = 52;BA.debugLine="Sleep(10)"; -parent.__c.Sleep(ba,this,(int) (10)); +RDebugUtils.currentLine=25821191; + //BA.debugLineNum = 25821191;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=25821192; + //BA.debugLineNum = 25821192;BA.debugLine="CallSub2(Me, DrawingSubName, progress)"; +parent.__c.CallSubDebug2(ba,parent,__ref._drawingsubname /*String*/ ,(Object)(_progress)); +RDebugUtils.currentLine=25821193; + //BA.debugLineNum = 25821193;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=25821194; + //BA.debugLineNum = 25821194;BA.debugLine="Sleep(10)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xloadingindicator", "mainloop"),(int) (10)); this.state = 5; return; case 5: @@ -377,33 +158,428 @@ case 4: //C this.state = -1; ; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +RDebugUtils.currentLine=25821196; + //BA.debugLineNum = 25821196;BA.debugLine="End Sub"; if (true) break; } } } } -public int _setalpha(int _c,int _alpha) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Private Sub SetAlpha (c As Int, alpha As Int) As I"; - //BA.debugLineNum = 92;BA.debugLine="Return Bit.And(0xffffff, c) + Bit.ShiftLeft(alpha"; -if (true) return (int) (__c.Bit.And(((int)0xffffff),_c)+__c.Bit.ShiftLeft(_alpha,(int) (24))); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return 0; -} -public String _show() throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub Show"; - //BA.debugLineNum = 57;BA.debugLine="mBase.Visible = True"; -_mbase.setVisible(__c.True); - //BA.debugLineNum = 58;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 59;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +RDebugUtils.currentLine=25559040; + //BA.debugLineNum = 25559040;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=25559041; + //BA.debugLineNum = 25559041;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=25559042; + //BA.debugLineNum = 25559042;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=25559043; + //BA.debugLineNum = 25559043;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=25559044; + //BA.debugLineNum = 25559044;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=25559045; + //BA.debugLineNum = 25559045;BA.debugLine="Private clr As Int"; +_clr = 0; +RDebugUtils.currentLine=25559046; + //BA.debugLineNum = 25559046;BA.debugLine="Private index As Int"; +_index = 0; +RDebugUtils.currentLine=25559047; + //BA.debugLineNum = 25559047;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=25559048; + //BA.debugLineNum = 25559048;BA.debugLine="Private duration As Int"; +_duration = 0; +RDebugUtils.currentLine=25559049; + //BA.debugLineNum = 25559049;BA.debugLine="Private DrawingSubName As String"; +_drawingsubname = ""; +RDebugUtils.currentLine=25559050; + //BA.debugLineNum = 25559050;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=25559051; + //BA.debugLineNum = 25559051;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "SHOW")) - return _show(); -return BA.SubDelegator.SubNotFound; +public String _designercreateview(reparto_intmex.keymon.lat.b4xloadingindicator __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +String _style = ""; +RDebugUtils.currentLine=25690112; + //BA.debugLineNum = 25690112;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=25690113; + //BA.debugLineNum = 25690113;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=25690114; + //BA.debugLineNum = 25690114;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=25690114; + //BA.debugLineNum = 25690114;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=25690115; + //BA.debugLineNum = 25690115;BA.debugLine="clr = xui.PaintOrColorToColor(Props.Get(\"Color\""; +__ref._clr /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("Color"))); +RDebugUtils.currentLine=25690116; + //BA.debugLineNum = 25690116;BA.debugLine="Dim style As String= Props.Get(\"IndicatorStyle\")"; +_style = BA.ObjectToString(_props.Get((Object)("IndicatorStyle"))); +RDebugUtils.currentLine=25690117; + //BA.debugLineNum = 25690117;BA.debugLine="Dim duration As Int = Props.Get(\"Duration\")"; +_duration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); +RDebugUtils.currentLine=25690118; + //BA.debugLineNum = 25690118;BA.debugLine="DrawingSubName = \"Draw_\" & style.Replace(\" \", \"\")"; +__ref._drawingsubname /*String*/ = "Draw_"+_style.replace(" ",""); +RDebugUtils.currentLine=25690119; + //BA.debugLineNum = 25690119;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=25690120; + //BA.debugLineNum = 25690120;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=25690121; + //BA.debugLineNum = 25690121;BA.debugLine="End Sub"; +return ""; } +public String _draw_arc1(reparto_intmex.keymon.lat.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_arc1", true)) + {return ((String) Debug.delegate(ba, "draw_arc1", new Object[] {_progress}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +float _r = 0f; +RDebugUtils.currentLine=26345472; + //BA.debugLineNum = 26345472;BA.debugLine="Private Sub Draw_Arc1 (Progress As Float)"; +RDebugUtils.currentLine=26345473; + //BA.debugLineNum = 26345473;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=26345474; + //BA.debugLineNum = 26345474;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; +_r = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=26345475; + //BA.debugLineNum = 26345475;BA.debugLine="If Progress < 0.5 Then"; +if (_progress<0.5) { +RDebugUtils.currentLine=26345476; + //BA.debugLineNum = 26345476;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +_p.InitializeArc(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); + }else { +RDebugUtils.currentLine=26345478; + //BA.debugLineNum = 26345478;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +_p.InitializeArc(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,(float) (-90),(float) (-(1-_progress)*2*360)); + }; +RDebugUtils.currentLine=26345480; + //BA.debugLineNum = 26345480;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=26345481; + //BA.debugLineNum = 26345481;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect(),__ref._clr /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=26345482; + //BA.debugLineNum = 26345482;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); +RDebugUtils.currentLine=26345483; + //BA.debugLineNum = 26345483;BA.debugLine="End Sub"; +return ""; } +public String _draw_arc2(reparto_intmex.keymon.lat.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_arc2", true)) + {return ((String) Debug.delegate(ba, "draw_arc2", new Object[] {_progress}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +float _r = 0f; +RDebugUtils.currentLine=26411008; + //BA.debugLineNum = 26411008;BA.debugLine="Private Sub Draw_Arc2 (Progress As Float)"; +RDebugUtils.currentLine=26411009; + //BA.debugLineNum = 26411009;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=26411010; + //BA.debugLineNum = 26411010;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; +_r = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=26411011; + //BA.debugLineNum = 26411011;BA.debugLine="If Progress < 0.5 Then"; +if (_progress<0.5) { +RDebugUtils.currentLine=26411012; + //BA.debugLineNum = 26411012;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +_p.InitializeArc(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); + }else { +RDebugUtils.currentLine=26411014; + //BA.debugLineNum = 26411014;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +_p.InitializeArc(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,(float) (-90),(float) (360-(_progress-0.5)*2*360)); + }; +RDebugUtils.currentLine=26411016; + //BA.debugLineNum = 26411016;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=26411017; + //BA.debugLineNum = 26411017;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect(),__ref._clr /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=26411018; + //BA.debugLineNum = 26411018;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); +RDebugUtils.currentLine=26411019; + //BA.debugLineNum = 26411019;BA.debugLine="End Sub"; +return ""; +} +public String _draw_fivelines1(reparto_intmex.keymon.lat.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_fivelines1", true)) + {return ((String) Debug.delegate(ba, "draw_fivelines1", new Object[] {_progress}));} +int _minr = 0; +int _maxr = 0; +int _dx = 0; +int _i = 0; +float _r = 0f; +RDebugUtils.currentLine=26279936; + //BA.debugLineNum = 26279936;BA.debugLine="Private Sub Draw_FiveLines1(Progress As Float)"; +RDebugUtils.currentLine=26279937; + //BA.debugLineNum = 26279937;BA.debugLine="Dim MinR As Int = 10dip"; +_minr = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=26279938; + //BA.debugLineNum = 26279938;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Height / 2"; +_maxr = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()/(double)2); +RDebugUtils.currentLine=26279939; + //BA.debugLineNum = 26279939;BA.debugLine="Dim dx As Int = (cvs.TargetRect.Width - 2dip) / 5"; +_dx = (int) ((__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()-__c.DipToCurrent((int) (2)))/(double)5); +RDebugUtils.currentLine=26279940; + //BA.debugLineNum = 26279940;BA.debugLine="For i = 0 To 4"; +{ +final int step4 = 1; +final int limit4 = (int) (4); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=26279941; + //BA.debugLineNum = 26279941;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; +_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-30*_i)); +RDebugUtils.currentLine=26279942; + //BA.debugLineNum = 26279942;BA.debugLine="cvs.DrawLine(2dip + i * dx, cvs.TargetRect.Cente"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()-_r),(float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()+_r),__ref._clr /*int*/ ,(float) (__c.DipToCurrent((int) (4)))); + } +}; +RDebugUtils.currentLine=26279944; + //BA.debugLineNum = 26279944;BA.debugLine="End Sub"; +return ""; +} +public String _draw_pacman(reparto_intmex.keymon.lat.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_pacman", true)) + {return ((String) Debug.delegate(ba, "draw_pacman", new Object[] {_progress}));} +int _dotr = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +int _angle = 0; +int _cx = 0; +int _cy = 0; +int _r = 0; +RDebugUtils.currentLine=26476544; + //BA.debugLineNum = 26476544;BA.debugLine="Private Sub Draw_PacMan(Progress As Float)"; +RDebugUtils.currentLine=26476545; + //BA.debugLineNum = 26476545;BA.debugLine="Dim DotR As Int = 5dip"; +_dotr = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=26476546; + //BA.debugLineNum = 26476546;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.Width - DotR - Prog"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()-_dotr-_progress*(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()-__c.DipToCurrent((int) (10)))),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),(float) (_dotr),__ref._setalpha /*int*/ (null,__ref._clr /*int*/ ,(int) (255-200*_progress)),__c.True,(float) (0)); +RDebugUtils.currentLine=26476547; + //BA.debugLineNum = 26476547;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=26476548; + //BA.debugLineNum = 26476548;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; +_angle = (int) (70*__c.SinD(_progress*180)); +RDebugUtils.currentLine=26476549; + //BA.debugLineNum = 26476549;BA.debugLine="Dim cx As Int = cvs.TargetRect.CenterX - 5dip"; +_cx = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=26476550; + //BA.debugLineNum = 26476550;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; +_cy = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()); +RDebugUtils.currentLine=26476551; + //BA.debugLineNum = 26476551;BA.debugLine="Dim r As Int = cvs.TargetRect.CenterY - 5dip"; +_r = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()-__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=26476552; + //BA.debugLineNum = 26476552;BA.debugLine="If angle = 0 Then"; +if (_angle==0) { +RDebugUtils.currentLine=26476553; + //BA.debugLineNum = 26476553;BA.debugLine="cvs.DrawCircle(cx, cy, r, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_cx),(float) (_cy),(float) (_r),__ref._clr /*int*/ ,__c.True,(float) (0)); + }else { +RDebugUtils.currentLine=26476555; + //BA.debugLineNum = 26476555;BA.debugLine="p.InitializeArc(cx, cy , r, -angle / 2, -(360-an"; +_p.InitializeArc((float) (_cx),(float) (_cy),(float) (_r),(float) (-_angle/(double)2),(float) (-(360-_angle))); +RDebugUtils.currentLine=26476556; + //BA.debugLineNum = 26476556;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=26476557; + //BA.debugLineNum = 26476557;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect(),__ref._clr /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=26476558; + //BA.debugLineNum = 26476558;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); + }; +RDebugUtils.currentLine=26476561; + //BA.debugLineNum = 26476561;BA.debugLine="End Sub"; +return ""; +} +public int _setalpha(reparto_intmex.keymon.lat.b4xloadingindicator __ref,int _c,int _alpha) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "setalpha", true)) + {return ((Integer) Debug.delegate(ba, "setalpha", new Object[] {_c,_alpha}));} +RDebugUtils.currentLine=26214400; + //BA.debugLineNum = 26214400;BA.debugLine="Private Sub SetAlpha (c As Int, alpha As Int) As I"; +RDebugUtils.currentLine=26214401; + //BA.debugLineNum = 26214401;BA.debugLine="Return Bit.And(0xffffff, c) + Bit.ShiftLeft(alpha"; +if (true) return (int) (__c.Bit.And(((int)0xffffff),_c)+__c.Bit.ShiftLeft(_alpha,(int) (24))); +RDebugUtils.currentLine=26214402; + //BA.debugLineNum = 26214402;BA.debugLine="End Sub"; +return 0; +} +public String _draw_singlecircle(reparto_intmex.keymon.lat.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_singlecircle", true)) + {return ((String) Debug.delegate(ba, "draw_singlecircle", new Object[] {_progress}));} +int _i = 0; +RDebugUtils.currentLine=26148864; + //BA.debugLineNum = 26148864;BA.debugLine="Private Sub Draw_SingleCircle(Progress As Float)"; +RDebugUtils.currentLine=26148865; + //BA.debugLineNum = 26148865;BA.debugLine="For i = 0 To 2"; +{ +final int step1 = 1; +final int limit1 = (int) (2); +_i = (int) (0) ; +for (;_i <= limit1 ;_i = _i + step1 ) { +RDebugUtils.currentLine=26148866; + //BA.debugLineNum = 26148866;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX, cvs.Targe"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),(float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()*_progress),__ref._setalpha /*int*/ (null,__ref._clr /*int*/ ,(int) (255-255*_progress)),__c.True,(float) (0)); + } +}; +RDebugUtils.currentLine=26148868; + //BA.debugLineNum = 26148868;BA.debugLine="End Sub"; +return ""; +} +public String _draw_threecircles1(reparto_intmex.keymon.lat.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_threecircles1", true)) + {return ((String) Debug.delegate(ba, "draw_threecircles1", new Object[] {_progress}));} +float _maxr = 0f; +float _r = 0f; +int _i = 0; +int _alpha = 0; +RDebugUtils.currentLine=26017792; + //BA.debugLineNum = 26017792;BA.debugLine="Private Sub Draw_ThreeCircles1 (Progress As Float)"; +RDebugUtils.currentLine=26017793; + //BA.debugLineNum = 26017793;BA.debugLine="Dim MaxR As Float = (cvs.TargetRect.Width / 2 - 2"; +_maxr = (float) ((__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()/(double)2-__c.DipToCurrent((int) (20)))/(double)2); +RDebugUtils.currentLine=26017794; + //BA.debugLineNum = 26017794;BA.debugLine="Dim r As Float = 10dip + MaxR + MaxR * Sin(Progre"; +_r = (float) (__c.DipToCurrent((int) (10))+_maxr+_maxr*__c.Sin(_progress*2*__c.cPI)); +RDebugUtils.currentLine=26017795; + //BA.debugLineNum = 26017795;BA.debugLine="For i = 0 To 2"; +{ +final int step3 = 1; +final int limit3 = (int) (2); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=26017796; + //BA.debugLineNum = 26017796;BA.debugLine="Dim alpha As Int = i * 120 + Progress * 360"; +_alpha = (int) (_i*120+_progress*360); +RDebugUtils.currentLine=26017798; + //BA.debugLineNum = 26017798;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX + r * SinD"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()+_r*__c.SinD(_alpha)),(float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()+_r*__c.CosD(_alpha)),(float) (__c.DipToCurrent((int) (7))),__ref._clr /*int*/ ,__c.True,(float) (__c.DipToCurrent((int) (1)))); + } +}; +RDebugUtils.currentLine=26017800; + //BA.debugLineNum = 26017800;BA.debugLine="End Sub"; +return ""; +} +public String _draw_threecircles2(reparto_intmex.keymon.lat.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_threecircles2", true)) + {return ((String) Debug.delegate(ba, "draw_threecircles2", new Object[] {_progress}));} +int _minr = 0; +int _maxr = 0; +int _i = 0; +float _r = 0f; +RDebugUtils.currentLine=26083328; + //BA.debugLineNum = 26083328;BA.debugLine="Private Sub Draw_ThreeCircles2 (Progress As Float)"; +RDebugUtils.currentLine=26083329; + //BA.debugLineNum = 26083329;BA.debugLine="Dim MinR As Int = 5dip"; +_minr = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=26083330; + //BA.debugLineNum = 26083330;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Width / 2 / 3 -"; +_maxr = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()/(double)2/(double)3-_minr-__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=26083331; + //BA.debugLineNum = 26083331;BA.debugLine="For i = 0 To 2"; +{ +final int step3 = 1; +final int limit3 = (int) (2); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=26083332; + //BA.debugLineNum = 26083332;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; +_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-60*_i)); +RDebugUtils.currentLine=26083333; + //BA.debugLineNum = 26083333;BA.debugLine="cvs.DrawCircle(MaxR + MinR + (MinR + MaxR + 2dip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_maxr+_minr+(_minr+_maxr+__c.DipToCurrent((int) (2)))*2*_i),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,__ref._clr /*int*/ ,__c.True,(float) (0)); + } +}; +RDebugUtils.currentLine=26083335; + //BA.debugLineNum = 26083335;BA.debugLine="End Sub"; +return ""; +} +public String _hide(reparto_intmex.keymon.lat.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "hide", true)) + {return ((String) Debug.delegate(ba, "hide", null));} +RDebugUtils.currentLine=25952256; + //BA.debugLineNum = 25952256;BA.debugLine="Public Sub Hide"; +RDebugUtils.currentLine=25952257; + //BA.debugLineNum = 25952257;BA.debugLine="mBase.Visible = False"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=25952258; + //BA.debugLineNum = 25952258;BA.debugLine="index = index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=25952259; + //BA.debugLineNum = 25952259;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_intmex.keymon.lat.b4xloadingindicator __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=25624576; + //BA.debugLineNum = 25624576;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=25624577; + //BA.debugLineNum = 25624577;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=25624578; + //BA.debugLineNum = 25624578;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=25624579; + //BA.debugLineNum = 25624579;BA.debugLine="End Sub"; +return ""; +} +public String _show(reparto_intmex.keymon.lat.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", null));} +RDebugUtils.currentLine=25886720; + //BA.debugLineNum = 25886720;BA.debugLine="Public Sub Show"; +RDebugUtils.currentLine=25886721; + //BA.debugLineNum = 25886721;BA.debugLine="mBase.Visible = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=25886722; + //BA.debugLineNum = 25886722;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=25886723; + //BA.debugLineNum = 25886723;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xlongtexttemplate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xlongtexttemplate.java index cb235be..fefc3d5 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xlongtexttemplate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xlongtexttemplate.java @@ -10,7 +10,7 @@ public class b4xlongtexttemplate extends B4AClass.ImplB4AClass implements BA.Sub private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xlongtexttemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xlongtexttemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xlongtexttemplate extends B4AClass.ImplB4AClass implements BA.Sub ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public b4a.example3.customlistview _customlistview1 = null; @@ -31,10 +38,10 @@ public Object _text = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -42,85 +49,129 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; -_customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Public Text As Object"; -_text = new Object(); - //BA.debugLineNum = 6;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 43;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 31;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xlongtexttemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=26738688; + //BA.debugLineNum = 26738688;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=26738689; + //BA.debugLineNum = 26738689;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=26738690; + //BA.debugLineNum = 26738690;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _show(reparto_intmex.keymon.lat.b4xlongtexttemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", new Object[] {_dialog}));} +RDebugUtils.currentLine=26804224; + //BA.debugLineNum = 26804224;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +RDebugUtils.currentLine=26804225; + //BA.debugLineNum = 26804225;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=26804226; + //BA.debugLineNum = 26804226;BA.debugLine="CustomListView1.AddTextItem(Text, \"\")"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem(__ref._text /*Object*/ ,(Object)("")); +RDebugUtils.currentLine=26804227; + //BA.debugLineNum = 26804227;BA.debugLine="CustomListView1.GetPanel(0).GetView(0).SetTextAli"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._getpanel((int) (0)).GetView((int) (0)).SetTextAlignment("TOP","LEFT"); +RDebugUtils.currentLine=26804228; + //BA.debugLineNum = 26804228;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,__ref._customlistview1 /*b4a.example3.customlistview*/ ,__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor); +RDebugUtils.currentLine=26804229; + //BA.debugLineNum = 26804229;BA.debugLine="End Sub"; +return ""; +} +public String _dialogclosed(reparto_intmex.keymon.lat.b4xlongtexttemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=26869760; + //BA.debugLineNum = 26869760;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=26869762; + //BA.debugLineNum = 26869762;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.b4xlongtexttemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +RDebugUtils.currentLine=26542080; + //BA.debugLineNum = 26542080;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=26542081; + //BA.debugLineNum = 26542081;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=26542082; + //BA.debugLineNum = 26542082;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26542083; + //BA.debugLineNum = 26542083;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=26542084; + //BA.debugLineNum = 26542084;BA.debugLine="Public Text As Object"; +_text = new Object(); +RDebugUtils.currentLine=26542085; + //BA.debugLineNum = 26542085;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_intmex.keymon.lat.b4xlongtexttemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 9;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 10;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 11;BA.debugLine="mBase.LoadLayout(\"LongTextTemplate\")"; -_mbase.LoadLayout("LongTextTemplate",ba); - //BA.debugLineNum = 12;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 13;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 14;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 15;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 16;BA.debugLine="CustomListView1.sv.Color = 0xFF464646"; -_customlistview1._sv.setColor(((int)0xff464646)); - //BA.debugLineNum = 21;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=26607616; + //BA.debugLineNum = 26607616;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=26607617; + //BA.debugLineNum = 26607617;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=26607618; + //BA.debugLineNum = 26607618;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); +RDebugUtils.currentLine=26607619; + //BA.debugLineNum = 26607619;BA.debugLine="mBase.LoadLayout(\"LongTextTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("LongTextTemplate",ba); +RDebugUtils.currentLine=26607620; + //BA.debugLineNum = 26607620;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=26607621; + //BA.debugLineNum = 26607621;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=26607622; + //BA.debugLineNum = 26607622;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=26607623; + //BA.debugLineNum = 26607623;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=26607624; + //BA.debugLineNum = 26607624;BA.debugLine="CustomListView1.sv.Color = 0xFF464646"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.setColor(((int)0xff464646)); +RDebugUtils.currentLine=26607629; + //BA.debugLineNum = 26607629;BA.debugLine="End Sub"; return ""; } -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 23;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 24;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 25;BA.debugLine="CustomListView1.AsView.SetLayoutAnimated(0, 0, 0,"; -_customlistview1._asview().SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 26;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; -_customlistview1._base_resize(_width,_height); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +public String _resize(reparto_intmex.keymon.lat.b4xlongtexttemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=26673152; + //BA.debugLineNum = 26673152;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=26673153; + //BA.debugLineNum = 26673153;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=26673154; + //BA.debugLineNum = 26673154;BA.debugLine="CustomListView1.AsView.SetLayoutAnimated(0, 0, 0,"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._asview().SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=26673155; + //BA.debugLineNum = 26673155;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_height); +RDebugUtils.currentLine=26673156; + //BA.debugLineNum = 26673156;BA.debugLine="End Sub"; return ""; } -public String _show(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; - //BA.debugLineNum = 35;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 36;BA.debugLine="CustomListView1.AddTextItem(Text, \"\")"; -_customlistview1._addtextitem(_text,(Object)("")); - //BA.debugLineNum = 37;BA.debugLine="CustomListView1.GetPanel(0).GetView(0).SetTextAli"; -_customlistview1._getpanel((int) (0)).GetView((int) (0)).SetTextAlignment("TOP","LEFT"); - //BA.debugLineNum = 38;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_customlistview1._defaulttextbackgroundcolor); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((reparto_intmex.keymon.lat.b4xdialog) args[0]); -if (BA.fastSubCompare(sub, "SHOW")) - return _show((reparto_intmex.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xmainpage.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xmainpage.java index d156a49..809828c 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xmainpage.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xmainpage.java @@ -10,7 +10,7 @@ public class b4xmainpage extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xmainpage"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xmainpage"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xmainpage extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; @@ -113,10 +120,10 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_abono = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -124,88 +131,177 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_aceptar_click() throws Exception{ - //BA.debugLineNum = 921;BA.debugLine="Private Sub b_aceptar_Click"; - //BA.debugLineNum = 922;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; +public String _muestraprogreso(reparto_intmex.keymon.lat.b4xmainpage __ref,String _mensaje) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "muestraprogreso", false)) + {return ((String) Debug.delegate(ba, "muestraprogreso", new Object[] {_mensaje}));} +RDebugUtils.currentLine=37748736; + //BA.debugLineNum = 37748736;BA.debugLine="Sub muestraProgreso(mensaje As String)"; +RDebugUtils.currentLine=37748737; + //BA.debugLineNum = 37748737;BA.debugLine="ProgressDialogShow(mensaje)"; +__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); +RDebugUtils.currentLine=37748738; + //BA.debugLineNum = 37748738;BA.debugLine="End Sub"; +return ""; +} +public String _ocultaprogreso(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "ocultaprogreso", false)) + {return ((String) Debug.delegate(ba, "ocultaprogreso", null));} +RDebugUtils.currentLine=37814272; + //BA.debugLineNum = 37814272;BA.debugLine="Sub ocultaProgreso"; +RDebugUtils.currentLine=37814273; + //BA.debugLineNum = 37814273;BA.debugLine="ProgressDialogHide"; +__c.ProgressDialogHide(); +RDebugUtils.currentLine=37814274; + //BA.debugLineNum = 37814274;BA.debugLine="End Sub"; +return ""; +} +public String _b_aceptar_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_aceptar_click", false)) + {return ((String) Debug.delegate(ba, "b_aceptar_click", null));} +RDebugUtils.currentLine=38469632; + //BA.debugLineNum = 38469632;BA.debugLine="Private Sub b_aceptar_Click"; +RDebugUtils.currentLine=38469633; + //BA.debugLineNum = 38469633;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 923;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 924;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; +RDebugUtils.currentLine=38469634; + //BA.debugLineNum = 38469634;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=38469635; + //BA.debugLineNum = 38469635;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; _a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 925;BA.debugLine="a.Position = 0"; -_a.setPosition((int) (0)); - //BA.debugLineNum = 931;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 932;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 937;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38469636; + //BA.debugLineNum = 38469636;BA.debugLine="a.Position = 0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=38469642; + //BA.debugLineNum = 38469642;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=38469643; + //BA.debugLineNum = 38469643;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=38469648; + //BA.debugLineNum = 38469648;BA.debugLine="End Sub"; return ""; } -public String _b_apk_click() throws Exception{ - //BA.debugLineNum = 579;BA.debugLine="Private Sub b_apk_Click"; - //BA.debugLineNum = 580;BA.debugLine="StartService(appUpdater)"; +public String _b_apk_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_apk_click", false)) + {return ((String) Debug.delegate(ba, "b_apk_click", null));} +RDebugUtils.currentLine=37486592; + //BA.debugLineNum = 37486592;BA.debugLine="Private Sub b_apk_Click"; +RDebugUtils.currentLine=37486593; + //BA.debugLineNum = 37486593;BA.debugLine="StartService(appUpdater)"; __c.StartService(ba,(Object)(_appupdater.getObject())); - //BA.debugLineNum = 581;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37486594; + //BA.debugLineNum = 37486594;BA.debugLine="End Sub"; return ""; } -public String _b_arqueocieego_click() throws Exception{ - //BA.debugLineNum = 726;BA.debugLine="Private Sub b_arqueocieego_Click"; - //BA.debugLineNum = 727;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM CAT_GU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CAT_GUNAPROD3"))); - //BA.debugLineNum = 728;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 729;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_validacion,(int) (0),(int) (0)); +public String _b_arqueocieego_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_arqueocieego_click", false)) + {return ((String) Debug.delegate(ba, "b_arqueocieego_click", null));} +RDebugUtils.currentLine=38141952; + //BA.debugLineNum = 38141952;BA.debugLine="Private Sub b_arqueocieego_Click"; +RDebugUtils.currentLine=38141953; + //BA.debugLineNum = 38141953;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM CAT_GU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CAT_GUNAPROD3"))); +RDebugUtils.currentLine=38141954; + //BA.debugLineNum = 38141954;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=38141955; + //BA.debugLineNum = 38141955;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); }else { - //BA.debugLineNum = 731;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +RDebugUtils.currentLine=38141957; + //BA.debugLineNum = 38141957;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; __c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 733;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38141959; + //BA.debugLineNum = 38141959;BA.debugLine="End Sub"; return ""; } -public String _b_can_monto_click() throws Exception{ - //BA.debugLineNum = 722;BA.debugLine="Private Sub B_Can_Monto_Click"; - //BA.debugLineNum = 723;BA.debugLine="p_add_monto.Visible = False"; -_p_add_monto.setVisible(__c.False); - //BA.debugLineNum = 724;BA.debugLine="End Sub"; +public String _b_can_monto_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_can_monto_click", false)) + {return ((String) Debug.delegate(ba, "b_can_monto_click", null));} +RDebugUtils.currentLine=38076416; + //BA.debugLineNum = 38076416;BA.debugLine="Private Sub B_Can_Monto_Click"; +RDebugUtils.currentLine=38076417; + //BA.debugLineNum = 38076417;BA.debugLine="p_add_monto.Visible = False"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=38076418; + //BA.debugLineNum = 38076418;BA.debugLine="End Sub"; return ""; } -public String _b_cancelarcodigo_click() throws Exception{ - //BA.debugLineNum = 965;BA.debugLine="Private Sub b_cancelarcodigo_Click"; - //BA.debugLineNum = 966;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 967;BA.debugLine="End Sub"; +public String _b_cancelarcodigo_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_cancelarcodigo_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelarcodigo_click", null));} +RDebugUtils.currentLine=38600704; + //BA.debugLineNum = 38600704;BA.debugLine="Private Sub b_cancelarcodigo_Click"; +RDebugUtils.currentLine=38600705; + //BA.debugLineNum = 38600705;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=38600706; + //BA.debugLineNum = 38600706;BA.debugLine="End Sub"; return ""; } -public String _b_cargarmonto_click() throws Exception{ - //BA.debugLineNum = 622;BA.debugLine="Private Sub b_CargarMonto_Click"; - //BA.debugLineNum = 624;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM kmt_in"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM kmt_info"))); - //BA.debugLineNum = 625;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 626;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; -if (_c.getRowCount()<0 || _c.getRowCount()==0) { - //BA.debugLineNum = 627;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +public String _b_cargarmonto_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_cargarmonto_click", false)) + {return ((String) Debug.delegate(ba, "b_cargarmonto_click", null));} +RDebugUtils.currentLine=37879808; + //BA.debugLineNum = 37879808;BA.debugLine="Private Sub b_CargarMonto_Click"; +RDebugUtils.currentLine=37879810; + //BA.debugLineNum = 37879810;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM kmt_in"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM kmt_info"))); +RDebugUtils.currentLine=37879811; + //BA.debugLineNum = 37879811;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=37879812; + //BA.debugLineNum = 37879812;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()<0 || __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=37879813; + //BA.debugLineNum = 37879813;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; __c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 629;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_add_monto,(int) (0),(int) (0)); +RDebugUtils.currentLine=37879815; + //BA.debugLineNum = 37879815;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); }; - //BA.debugLineNum = 631;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 633;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37879817; + //BA.debugLineNum = 37879817;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=37879819; + //BA.debugLineNum = 37879819;BA.debugLine="End Sub"; return ""; } -public void _b_enviobd_click() throws Exception{ -ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(this); +public void _b_enviobd_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_enviobd_click", false)) + {Debug.delegate(ba, "b_enviobd_click", null); return;} +ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_b_envioBD_Click extends BA.ResumableSub { -public ResumableSub_b_envioBD_Click(reparto_intmex.keymon.lat.b4xmainpage parent) { +public ResumableSub_b_envioBD_Click(reparto_intmex.keymon.lat.b4xmainpage parent,reparto_intmex.keymon.lat.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xmainpage __ref; reparto_intmex.keymon.lat.b4xmainpage parent; String _filename = ""; anywheresoftware.b4a.phone.Phone.Email _email = null; @@ -213,6 +309,7 @@ anywheresoftware.b4a.objects.IntentWrapper _in = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { switch (state) { @@ -222,43 +319,59 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 564;BA.debugLine="Dim FileName As String = \"kmt.db\""; +RDebugUtils.currentLine=37421059; + //BA.debugLineNum = 37421059;BA.debugLine="Dim FileName As String = \"kmt.db\""; _filename = "kmt.db"; - //BA.debugLineNum = 566;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; -parent.__c.LogImpl("82031621","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0); - //BA.debugLineNum = 567;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=37421061; + //BA.debugLineNum = 37421061;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; +parent.__c.LogImpl("237421061","xxxxxx:"+__ref._provider /*reparto_intmex.keymon.lat.fileprovider*/ ._sharedfolder /*String*/ ,0); +RDebugUtils.currentLine=37421062; + //BA.debugLineNum = 37421062;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_enviobd_click"),(int) (1000)); this.state = 1; return; case 1: //C this.state = -1; ; - //BA.debugLineNum = 568;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; -parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,parent._provider._sharedfolder /*String*/ ,_filename); - //BA.debugLineNum = 569;BA.debugLine="Dim email As Email"; +RDebugUtils.currentLine=37421063; + //BA.debugLineNum = 37421063;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; +parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,__ref._provider /*reparto_intmex.keymon.lat.fileprovider*/ ._sharedfolder /*String*/ ,_filename); +RDebugUtils.currentLine=37421064; + //BA.debugLineNum = 37421064;BA.debugLine="Dim email As Email"; _email = new anywheresoftware.b4a.phone.Phone.Email(); - //BA.debugLineNum = 570;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; +RDebugUtils.currentLine=37421065; + //BA.debugLineNum = 37421065;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; _email.To.Add((Object)("soporte@keymonsoft.com")); - //BA.debugLineNum = 571;BA.debugLine="email.Subject = \"Base de datos para revisión\""; +RDebugUtils.currentLine=37421066; + //BA.debugLineNum = 37421066;BA.debugLine="email.Subject = \"Base de datos para revisión\""; _email.Subject = "Base de datos para revisión"; - //BA.debugLineNum = 572;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; -_email.Attachments.Add(parent._provider._getfileuri /*Object*/ (_filename)); - //BA.debugLineNum = 574;BA.debugLine="Dim in As Intent = email.GetIntent"; +RDebugUtils.currentLine=37421067; + //BA.debugLineNum = 37421067;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; +_email.Attachments.Add(__ref._provider /*reparto_intmex.keymon.lat.fileprovider*/ ._getfileuri /*Object*/ (null,_filename)); +RDebugUtils.currentLine=37421069; + //BA.debugLineNum = 37421069;BA.debugLine="Dim in As Intent = email.GetIntent"; _in = new anywheresoftware.b4a.objects.IntentWrapper(); _in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent())); - //BA.debugLineNum = 575;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +RDebugUtils.currentLine=37421070; + //BA.debugLineNum = 37421070;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; _in.setFlags((int) (1)); - //BA.debugLineNum = 576;BA.debugLine="StartActivity(in)"; +RDebugUtils.currentLine=37421071; + //BA.debugLineNum = 37421071;BA.debugLine="StartActivity(in)"; parent.__c.StartActivity(ba,(Object)(_in.getObject())); - //BA.debugLineNum = 577;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37421072; + //BA.debugLineNum = 37421072;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b_pc_env_click() throws Exception{ +public String _b_pc_env_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_pc_env_click", false)) + {return ((String) Debug.delegate(ba, "b_pc_env_click", null));} int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null; anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; @@ -271,148 +384,240 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; String[] _fechatabulador = null; String[] _fechatabulador2 = null; String _fechatabulador3 = ""; - //BA.debugLineNum = 776;BA.debugLine="Private Sub B_PC_ENV_Click"; - //BA.debugLineNum = 777;BA.debugLine="Dim sDate, sTime As String"; +RDebugUtils.currentLine=38273024; + //BA.debugLineNum = 38273024;BA.debugLine="Private Sub B_PC_ENV_Click"; +RDebugUtils.currentLine=38273025; + //BA.debugLineNum = 38273025;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 778;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=38273026; + //BA.debugLineNum = 38273026;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 779;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=38273027; + //BA.debugLineNum = 38273027;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 780;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 781;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 784;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +RDebugUtils.currentLine=38273028; + //BA.debugLineNum = 38273028;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=38273029; + //BA.debugLineNum = 38273029;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=38273032; + //BA.debugLineNum = 38273032;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; { final int step6 = 1; -final int limit6 = (int) (_clv_pick_ciego._getsize()-1); +final int limit6 = (int) (__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getsize()-1); _i = (int) (0) ; for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 786;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; +RDebugUtils.currentLine=38273034; + //BA.debugLineNum = 38273034;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; _itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_itempanel = _clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 787;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +_itempanel = __ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=38273035; + //BA.debugLineNum = 38273035;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; _innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 788;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +RDebugUtils.currentLine=38273036; + //BA.debugLineNum = 38273036;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; _edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); _edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 789;BA.debugLine="Dim inputText As String = editText.As(EditText)."; +RDebugUtils.currentLine=38273037; + //BA.debugLineNum = 38273037;BA.debugLine="Dim inputText As String = editText.As(EditText)."; _inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); - //BA.debugLineNum = 792;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +RDebugUtils.currentLine=38273040; + //BA.debugLineNum = 38273040;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { - //BA.debugLineNum = 793;BA.debugLine="inputText = \"0\""; +RDebugUtils.currentLine=38273041; + //BA.debugLineNum = 38273041;BA.debugLine="inputText = \"0\""; _inputtext = "0"; }; - //BA.debugLineNum = 797;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +RDebugUtils.currentLine=38273045; + //BA.debugLineNum = 38273045;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; _idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 798;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +RDebugUtils.currentLine=38273046; + //BA.debugLineNum = 38273046;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; _idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); - //BA.debugLineNum = 799;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +RDebugUtils.currentLine=38273047; + //BA.debugLineNum = 38273047;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; _idparts = __c.Regex.Split(__c.CRLF,_idtext); - //BA.debugLineNum = 801;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 802;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 803;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82883611",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 804;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 = 805;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 806;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); +RDebugUtils.currentLine=38273049; + //BA.debugLineNum = 38273049;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=38273050; + //BA.debugLineNum = 38273050;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=38273051; + //BA.debugLineNum = 38273051;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("238273051",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0); +RDebugUtils.currentLine=38273052; + //BA.debugLineNum = 38273052;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=38273053; + //BA.debugLineNum = 38273053;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=38273054; + //BA.debugLineNum = 38273054;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); }; - //BA.debugLineNum = 808;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +RDebugUtils.currentLine=38273056; + //BA.debugLineNum = 38273056;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; _k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 809;BA.debugLine="k.Position = 0"; +RDebugUtils.currentLine=38273057; + //BA.debugLineNum = 38273057;BA.debugLine="k.Position = 0"; _k.setPosition((int) (0)); - //BA.debugLineNum = 810;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; +RDebugUtils.currentLine=38273058; + //BA.debugLineNum = 38273058;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; _fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA")); - //BA.debugLineNum = 811;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-"; +RDebugUtils.currentLine=38273059; + //BA.debugLineNum = 38273059;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-"; _fechatabulador2 = __c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 812;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2("; +RDebugUtils.currentLine=38273060; + //BA.debugLineNum = 38273060;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2("; _fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 813;BA.debugLine="k.Close"; +RDebugUtils.currentLine=38273061; + //BA.debugLineNum = 38273061;BA.debugLine="k.Close"; _k.Close(); - //BA.debugLineNum = 814;BA.debugLine="If inputText <> \"\" Then"; +RDebugUtils.currentLine=38273062; + //BA.debugLineNum = 38273062;BA.debugLine="If inputText <> \"\" Then"; if ((_inputtext).equals("") == false) { - //BA.debugLineNum = 815;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; -_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 PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); - //BA.debugLineNum = 816;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 818;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82883626",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 819;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})); +RDebugUtils.currentLine=38273063; + //BA.debugLineNum = 38273063;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); +RDebugUtils.currentLine=38273064; + //BA.debugLineNum = 38273064;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=38273066; + //BA.debugLineNum = 38273066;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("238273066",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0); +RDebugUtils.currentLine=38273067; + //BA.debugLineNum = 38273067;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_fechatabulador3+" "+__ref._stime /*String*/ })); }else { - //BA.debugLineNum = 822;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82883630",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 823;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; +RDebugUtils.currentLine=38273070; + //BA.debugLineNum = 38273070;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("238273070",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0); +RDebugUtils.currentLine=38273071; + //BA.debugLineNum = 38273071;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)]})); }; }; - //BA.debugLineNum = 827;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 828;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 829;BA.debugLine="Log(\"Processed item \" & i)"; -__c.LogImpl("82883637","Processed item "+BA.NumberToString(_i),0); +RDebugUtils.currentLine=38273075; + //BA.debugLineNum = 38273075;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=38273076; + //BA.debugLineNum = 38273076;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=38273077; + //BA.debugLineNum = 38273077;BA.debugLine="Log(\"Processed item \" & i)"; +__c.LogImpl("238273077","Processed item "+BA.NumberToString(_i),0); } }; - //BA.debugLineNum = 831;BA.debugLine="et_buspc.Text = \"\""; -_et_buspc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 832;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - //BA.debugLineNum = 833;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38273079; + //BA.debugLineNum = 38273079;BA.debugLine="et_buspc.Text = \"\""; +__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=38273080; + //BA.debugLineNum = 38273080;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=38273081; + //BA.debugLineNum = 38273081;BA.debugLine="End Sub"; return ""; } -public String _b_regesar_click() throws Exception{ - //BA.debugLineNum = 555;BA.debugLine="Private Sub b_regesar_Click"; - //BA.debugLineNum = 556;BA.debugLine="p_principal.Visible = True"; -_p_principal.setVisible(__c.True); - //BA.debugLineNum = 557;BA.debugLine="p_appUpdate.Visible = False"; -_p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 558;BA.debugLine="End Sub"; +public String _b_regesar_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_regesar_click", false)) + {return ((String) Debug.delegate(ba, "b_regesar_click", null));} +RDebugUtils.currentLine=37355520; + //BA.debugLineNum = 37355520;BA.debugLine="Private Sub b_regesar_Click"; +RDebugUtils.currentLine=37355521; + //BA.debugLineNum = 37355521;BA.debugLine="p_principal.Visible = True"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=37355522; + //BA.debugLineNum = 37355522;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=37355523; + //BA.debugLineNum = 37355523;BA.debugLine="End Sub"; return ""; } -public String _b_server_click() throws Exception{ - //BA.debugLineNum = 583;BA.debugLine="Private Sub b_server_Click"; - //BA.debugLineNum = 584;BA.debugLine="Log(\"Guardar servidor\")"; -__c.LogImpl("82162689","Guardar servidor",0); - //BA.debugLineNum = 585;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA"; +public String _b_server_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_server_click", false)) + {return ((String) Debug.delegate(ba, "b_server_click", null));} +RDebugUtils.currentLine=37552128; + //BA.debugLineNum = 37552128;BA.debugLine="Private Sub b_server_Click"; +RDebugUtils.currentLine=37552129; + //BA.debugLineNum = 37552129;BA.debugLine="Log(\"Guardar servidor\")"; +__c.LogImpl("237552129","Guardar servidor",0); +RDebugUtils.currentLine=37552130; + //BA.debugLineNum = 37552130;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 = 586;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER"),(Object)(_et_server.getText())})); - //BA.debugLineNum = 587;BA.debugLine="B4XPages.MainPage.server = et_server.text"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ = _et_server.getText(); - //BA.debugLineNum = 588;BA.debugLine="Starter.server = B4XPages.MainPage.server"; +RDebugUtils.currentLine=37552131; + //BA.debugLineNum = 37552131;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER"),(Object)(__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=37552132; + //BA.debugLineNum = 37552132;BA.debugLine="B4XPages.MainPage.server = et_server.text"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ = __ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=37552133; + //BA.debugLineNum = 37552133;BA.debugLine="Starter.server = B4XPages.MainPage.server"; _starter._server /*String*/ = _b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ; - //BA.debugLineNum = 589;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con"; -if (_logger) { -__c.LogImpl("82162694","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; - //BA.debugLineNum = 590;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 591;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("82162696",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 592;BA.debugLine="reinicializaReqManager"; -_reinicializareqmanager(); - //BA.debugLineNum = 593;BA.debugLine="p_appUpdate.Visible = False"; -_p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 595;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37552134; + //BA.debugLineNum = 37552134;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con"; +if (__ref._logger /*boolean*/ ) { +__c.LogImpl("237552134","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; +RDebugUtils.currentLine=37552135; + //BA.debugLineNum = 37552135;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=37552136; + //BA.debugLineNum = 37552136;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("237552136",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=37552137; + //BA.debugLineNum = 37552137;BA.debugLine="reinicializaReqManager"; +__ref._reinicializareqmanager /*String*/ (null); +RDebugUtils.currentLine=37552138; + //BA.debugLineNum = 37552138;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=37552140; + //BA.debugLineNum = 37552140;BA.debugLine="End Sub"; return ""; } -public void _b_terpc_click() throws Exception{ -ResumableSub_b_terpc_Click rsub = new ResumableSub_b_terpc_Click(this); +public String _reinicializareqmanager(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "reinicializareqmanager", false)) + {return ((String) Debug.delegate(ba, "reinicializareqmanager", null));} +RDebugUtils.currentLine=37683200; + //BA.debugLineNum = 37683200;BA.debugLine="Sub reinicializaReqManager"; +RDebugUtils.currentLine=37683201; + //BA.debugLineNum = 37683201;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=37683202; + //BA.debugLineNum = 37683202;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)"; +if (__ref._logger /*boolean*/ ) { +__c.LogImpl("237683202",_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; +RDebugUtils.currentLine=37683203; + //BA.debugLineNum = 37683203;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("237683203",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=37683204; + //BA.debugLineNum = 37683204;BA.debugLine="End Sub"; +return ""; +} +public void _b_terpc_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_terpc_click", false)) + {Debug.delegate(ba, "b_terpc_click", null); return;} +ResumableSub_b_terpc_Click rsub = new ResumableSub_b_terpc_Click(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_b_terpc_Click extends BA.ResumableSub { -public ResumableSub_b_terpc_Click(reparto_intmex.keymon.lat.b4xmainpage parent) { +public ResumableSub_b_terpc_Click(reparto_intmex.keymon.lat.b4xmainpage parent,reparto_intmex.keymon.lat.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xmainpage __ref; reparto_intmex.keymon.lat.b4xmainpage parent; int _resultado = 0; int _i = 0; @@ -432,6 +637,7 @@ int limit12; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { switch (state) { @@ -441,18 +647,21 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 836;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p"; +RDebugUtils.currentLine=38338561; + //BA.debugLineNum = 38338561;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p"; parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Una vez enviada la información no podras hacer modificaciones"),BA.ObjectToCharSequence("Atención"),"SI","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 837;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=38338562; + //BA.debugLineNum = 38338562;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_terpc_click"), null); this.state = 33; return; case 33: //C this.state = 1; -_resultado = (Integer) result[0]; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 838;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=38338563; + //BA.debugLineNum = 38338563;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 1: @@ -465,18 +674,21 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 839;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac"; +RDebugUtils.currentLine=38338564; + //BA.debugLineNum = 38338564;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac"; parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Estas seguro de enviar la información?"),BA.ObjectToCharSequence("Atención"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 840;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=38338565; + //BA.debugLineNum = 38338565;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_terpc_click"), null); this.state = 34; return; case 34: //C this.state = 4; -_resultado = (Integer) result[0]; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 841;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=38338566; + //BA.debugLineNum = 38338566;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 4: @@ -491,25 +703,31 @@ this.state = 30; case 6: //C this.state = 7; - //BA.debugLineNum = 843;BA.debugLine="Dim sDate, sTime As String"; +RDebugUtils.currentLine=38338568; + //BA.debugLineNum = 38338568;BA.debugLine="Dim sDate, sTime As String"; parent._sdate = ""; parent._stime = ""; - //BA.debugLineNum = 844;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=38338569; + //BA.debugLineNum = 38338569;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 845;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=38338570; + //BA.debugLineNum = 38338570;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; parent.__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 846;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 847;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 849;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +RDebugUtils.currentLine=38338571; + //BA.debugLineNum = 38338571;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=38338572; + //BA.debugLineNum = 38338572;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=38338574; + //BA.debugLineNum = 38338574;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; if (true) break; case 7: //for this.state = 28; step12 = 1; -limit12 = (int) (parent._clv_pick_ciego._getsize()-1); +limit12 = (int) (__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getsize()-1); _i = (int) (0) ; this.state = 35; if (true) break; @@ -529,18 +747,23 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 851;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP"; +RDebugUtils.currentLine=38338576; + //BA.debugLineNum = 38338576;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP"; _itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_itempanel = parent._clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 852;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; +_itempanel = __ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=38338577; + //BA.debugLineNum = 38338577;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; _innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 853;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; +RDebugUtils.currentLine=38338578; + //BA.debugLineNum = 38338578;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; _edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); _edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 854;BA.debugLine="Dim inputText As String = editText.As(EditText"; +RDebugUtils.currentLine=38338579; + //BA.debugLineNum = 38338579;BA.debugLine="Dim inputText As String = editText.As(EditText"; _inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); - //BA.debugLineNum = 857;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input"; +RDebugUtils.currentLine=38338582; + //BA.debugLineNum = 38338582;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input"; if (true) break; case 10: @@ -553,7 +776,8 @@ this.state = 12; case 12: //C this.state = 13; - //BA.debugLineNum = 858;BA.debugLine="inputText = \"0\""; +RDebugUtils.currentLine=38338583; + //BA.debugLineNum = 38338583;BA.debugLine="inputText = \"0\""; _inputtext = "0"; if (true) break; @@ -561,58 +785,75 @@ case 13: //C this.state = 14; ; - //BA.debugLineNum = 862;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +RDebugUtils.currentLine=38338587; + //BA.debugLineNum = 38338587;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; _idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 863;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +RDebugUtils.currentLine=38338588; + //BA.debugLineNum = 38338588;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; _idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); - //BA.debugLineNum = 864;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; +RDebugUtils.currentLine=38338589; + //BA.debugLineNum = 38338589;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; _idparts = parent.__c.Regex.Split(parent.__c.CRLF,_idtext); - //BA.debugLineNum = 866;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU"; -parent._f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 867;BA.debugLine="f.Position=0"; -parent._f.setPosition((int) (0)); - //BA.debugLineNum = 868;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -parent.__c.LogImpl("82949153",parent._f.GetString("RUTAA"),0); - //BA.debugLineNum = 870;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 = 871;BA.debugLine="If a.RowCount>0 Then"; +RDebugUtils.currentLine=38338591; + //BA.debugLineNum = 38338591;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=38338592; + //BA.debugLineNum = 38338592;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=38338593; + //BA.debugLineNum = 38338593;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +parent.__c.LogImpl("238338593",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0); +RDebugUtils.currentLine=38338595; + //BA.debugLineNum = 38338595;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=38338596; + //BA.debugLineNum = 38338596;BA.debugLine="If a.RowCount>0 Then"; if (true) break; case 14: //if this.state = 17; -if (parent._a.getRowCount()>0) { +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 16; }if (true) break; case 16: //C this.state = 17; - //BA.debugLineNum = 872;BA.debugLine="a.Position=0"; -parent._a.setPosition((int) (0)); +RDebugUtils.currentLine=38338597; + //BA.debugLineNum = 38338597;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); if (true) break; case 17: //C this.state = 18; ; - //BA.debugLineNum = 874;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -parent.__c.LogImpl("82949159",parent._a.GetString("ID_ALMACEN"),0); - //BA.debugLineNum = 876;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE"; +RDebugUtils.currentLine=38338599; + //BA.debugLineNum = 38338599;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +parent.__c.LogImpl("238338599",__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),0); +RDebugUtils.currentLine=38338601; + //BA.debugLineNum = 38338601;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"))); - //BA.debugLineNum = 877;BA.debugLine="k.Position = 0"; +RDebugUtils.currentLine=38338602; + //BA.debugLineNum = 38338602;BA.debugLine="k.Position = 0"; _k.setPosition((int) (0)); - //BA.debugLineNum = 878;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +RDebugUtils.currentLine=38338603; + //BA.debugLineNum = 38338603;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; _fechatabulador = parent.__c.Regex.Split(" ",_k.GetString("HVD_FECHA")); - //BA.debugLineNum = 879;BA.debugLine="Dim fechatabulador2() As String = Regex.Split("; +RDebugUtils.currentLine=38338604; + //BA.debugLineNum = 38338604;BA.debugLine="Dim fechatabulador2() As String = Regex.Split("; _fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 880;BA.debugLine="Dim fechatabulador3 As String = fechatabulador"; +RDebugUtils.currentLine=38338605; + //BA.debugLineNum = 38338605;BA.debugLine="Dim fechatabulador3 As String = fechatabulador"; _fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 881;BA.debugLine="k.Close"; +RDebugUtils.currentLine=38338606; + //BA.debugLineNum = 38338606;BA.debugLine="k.Close"; _k.Close(); - //BA.debugLineNum = 882;BA.debugLine="If inputText <> \"\" Then"; +RDebugUtils.currentLine=38338607; + //BA.debugLineNum = 38338607;BA.debugLine="If inputText <> \"\" Then"; if (true) break; case 18: @@ -625,15 +866,17 @@ this.state = 20; case 20: //C this.state = 21; - //BA.debugLineNum = 883;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI"; -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*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); - //BA.debugLineNum = 884;BA.debugLine="If c.RowCount = 0 Then"; +RDebugUtils.currentLine=38338608; + //BA.debugLineNum = 38338608;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); +RDebugUtils.currentLine=38338609; + //BA.debugLineNum = 38338609;BA.debugLine="If c.RowCount = 0 Then"; if (true) break; case 21: //if this.state = 26; -if (parent._c.getRowCount()==0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { this.state = 23; }else { this.state = 25; @@ -642,14 +885,16 @@ this.state = 25; case 23: //C this.state = 26; - //BA.debugLineNum = 886;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,parent._a.GetString("ID_ALMACEN"),parent._f.GetString("RUTAA"),_fechatabulador3+" "+parent._stime})); +RDebugUtils.currentLine=38338611; + //BA.debugLineNum = 38338611;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_fechatabulador3+" "+__ref._stime /*String*/ })); if (true) break; case 25: //C this.state = 26; - //BA.debugLineNum = 888;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; +RDebugUtils.currentLine=38338613; + //BA.debugLineNum = 38338613;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]})); if (true) break; @@ -663,12 +908,15 @@ case 27: //C this.state = 36; ; - //BA.debugLineNum = 891;BA.debugLine="f.Close"; -parent._f.Close(); - //BA.debugLineNum = 892;BA.debugLine="a.Close"; -parent._a.Close(); - //BA.debugLineNum = 893;BA.debugLine="Log(\"Processed item \" & i)"; -parent.__c.LogImpl("82949178","Processed item "+BA.NumberToString(_i),0); +RDebugUtils.currentLine=38338616; + //BA.debugLineNum = 38338616;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=38338617; + //BA.debugLineNum = 38338617;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=38338618; + //BA.debugLineNum = 38338618;BA.debugLine="Log(\"Processed item \" & i)"; +parent.__c.LogImpl("238338618","Processed item "+BA.NumberToString(_i),0); if (true) break; if (true) break; @@ -676,18 +924,24 @@ case 28: //C this.state = 31; ; - //BA.debugLineNum = 895;BA.debugLine="Log(\"Finished processing all items\")"; -parent.__c.LogImpl("82949180","Finished processing all items",0); - //BA.debugLineNum = 896;BA.debugLine="P_CIEGO.Visible = False"; -parent._p_ciego.setVisible(parent.__c.False); - //BA.debugLineNum = 897;BA.debugLine="et_buspc.Text = \"\""; -parent._et_buspc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 898;BA.debugLine="CLV_PICK_CIEGO.Clear"; -parent._clv_pick_ciego._clear(); - //BA.debugLineNum = 899;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,"; -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 PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))); - //BA.debugLineNum = 910;BA.debugLine="c.close"; -parent._c.Close(); +RDebugUtils.currentLine=38338620; + //BA.debugLineNum = 38338620;BA.debugLine="Log(\"Finished processing all items\")"; +parent.__c.LogImpl("238338620","Finished processing all items",0); +RDebugUtils.currentLine=38338621; + //BA.debugLineNum = 38338621;BA.debugLine="P_CIEGO.Visible = False"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=38338622; + //BA.debugLineNum = 38338622;BA.debugLine="et_buspc.Text = \"\""; +__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=38338623; + //BA.debugLineNum = 38338623;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=38338624; + //BA.debugLineNum = 38338624;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))); +RDebugUtils.currentLine=38338635; + //BA.debugLineNum = 38338635;BA.debugLine="c.close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 30: @@ -705,29 +959,35 @@ case 32: //C this.state = -1; ; - //BA.debugLineNum = 915;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38338640; + //BA.debugLineNum = 38338640;BA.debugLine="End Sub"; if (true) break; } } } } -public void _msgbox_result(int _resultado) throws Exception{ -} -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); +public void _b4xpage_appear(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(reparto_intmex.keymon.lat.b4xmainpage parent) { +public ResumableSub_B4XPage_Appear(reparto_intmex.keymon.lat.b4xmainpage parent,reparto_intmex.keymon.lat.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xmainpage __ref; reparto_intmex.keymon.lat.b4xmainpage parent; String _permission = ""; boolean _result = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { switch (state) { @@ -737,7 +997,8 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 228;BA.debugLine="If Starter.muestraProgreso = 1 Then"; +RDebugUtils.currentLine=37027841; + //BA.debugLineNum = 37027841;BA.debugLine="If Starter.muestraProgreso = 1 Then"; if (true) break; case 1: @@ -750,9 +1011,11 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 229;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; -parent._muestraprogreso("Descargando actualización"); - //BA.debugLineNum = 230;BA.debugLine="Starter.muestraProgreso = 0"; +RDebugUtils.currentLine=37027842; + //BA.debugLineNum = 37027842;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; +__ref._muestraprogreso /*String*/ (null,"Descargando actualización"); +RDebugUtils.currentLine=37027843; + //BA.debugLineNum = 37027843;BA.debugLine="Starter.muestraProgreso = 0"; parent._starter._muestraprogreso /*String*/ = BA.NumberToString(0); if (true) break; @@ -760,21 +1023,25 @@ case 4: //C this.state = 5; ; - //BA.debugLineNum = 232;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -parent._subs._centrapanel /*String*/ (ba,parent._p_principal,parent._root.getWidth()); - //BA.debugLineNum = 233;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=37027845; + //BA.debugLineNum = 37027845;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +parent._subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=37027846; + //BA.debugLineNum = 37027846;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 235;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=37027848; + //BA.debugLineNum = 37027848;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_appear"), null); this.state = 21; return; case 21: //C this.state = 5; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 236;BA.debugLine="If Result Then"; +RDebugUtils.currentLine=37027849; + //BA.debugLineNum = 37027849;BA.debugLine="If Result Then"; if (true) break; case 5: @@ -789,7 +1056,8 @@ this.state = 15; case 7: //C this.state = 8; - //BA.debugLineNum = 237;BA.debugLine="If Not(Tracker.Tracking) Then StartService(Track"; +RDebugUtils.currentLine=37027850; + //BA.debugLineNum = 37027850;BA.debugLine="If Not(Tracker.Tracking) Then StartService(Track"; if (true) break; case 8: @@ -814,65 +1082,78 @@ this.state = 16; case 15: //C this.state = 16; - //BA.debugLineNum = 240;BA.debugLine="ToastMessageShow(\"No permission\", True)"; +RDebugUtils.currentLine=37027853; + //BA.debugLineNum = 37027853;BA.debugLine="ToastMessageShow(\"No permission\", True)"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission"),parent.__c.True); - //BA.debugLineNum = 241;BA.debugLine="Log(\"Sin permisos\")"; -parent.__c.LogImpl("81638414","Sin permisos",0); +RDebugUtils.currentLine=37027854; + //BA.debugLineNum = 37027854;BA.debugLine="Log(\"Sin permisos\")"; +parent.__c.LogImpl("237027854","Sin permisos",0); if (true) break; case 16: //C this.state = 17; ; - //BA.debugLineNum = 244;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; -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 USUARIO from usuarioa"))); - //BA.debugLineNum = 245;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=37027857; + //BA.debugLineNum = 37027857;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=37027858; + //BA.debugLineNum = 37027858;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 17: //if this.state = 20; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 19; }if (true) break; case 19: //C this.state = 20; - //BA.debugLineNum = 248;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 249;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); +RDebugUtils.currentLine=37027861; + //BA.debugLineNum = 37027861;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=37027862; + //BA.debugLineNum = 37027862;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); if (true) break; case 20: //C this.state = -1; ; - //BA.debugLineNum = 251;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 257;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37027864; + //BA.debugLineNum = 37027864;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=37027870; + //BA.debugLineNum = 37027870;BA.debugLine="End Sub"; if (true) break; } } } } -public void _b4xpage_permissionresult(String _permission,boolean _result) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.b4xmainpage parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.b4xmainpage parent,reparto_intmex.keymon.lat.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xmainpage __ref; reparto_intmex.keymon.lat.b4xmainpage parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { switch (state) { @@ -882,13 +1163,14 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 546;BA.debugLine="If p_appUpdate.Visible Then"; +RDebugUtils.currentLine=37289986; + //BA.debugLineNum = 37289986;BA.debugLine="If p_appUpdate.Visible Then"; if (true) break; case 1: //if this.state = 6; -if (parent._p_appupdate.getVisible()) { +if (__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { this.state = 3; }else { this.state = 5; @@ -897,22 +1179,25 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 547;BA.debugLine="p_appUpdate.Visible = False"; -parent._p_appupdate.setVisible(parent.__c.False); +RDebugUtils.currentLine=37289987; + //BA.debugLineNum = 37289987;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 549;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); +RDebugUtils.currentLine=37289989; + //BA.debugLineNum = 37289989;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_closerequest"),(int) (0)); this.state = 7; return; case 7: //C this.state = 6; ; - //BA.debugLineNum = 550;BA.debugLine="ExitApplication"; +RDebugUtils.currentLine=37289990; + //BA.debugLineNum = 37289990;BA.debugLine="ExitApplication"; parent.__c.ExitApplication(); if (true) break; @@ -920,265 +1205,409 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 552;BA.debugLine="Return False"; +RDebugUtils.currentLine=37289992; + //BA.debugLineNum = 37289992;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 553;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37289993; + //BA.debugLineNum = 37289993;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 109;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 110;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 111;BA.debugLine="B4XPages.GetManager.LogEvents = True"; +public String _b4xpage_created(reparto_intmex.keymon.lat.b4xmainpage __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=36962304; + //BA.debugLineNum = 36962304;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=36962305; + //BA.debugLineNum = 36962305;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=36962306; + //BA.debugLineNum = 36962306;BA.debugLine="B4XPages.GetManager.LogEvents = True"; _b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (ba)._logevents /*boolean*/ = __c.True; - //BA.debugLineNum = 112;BA.debugLine="Root.LoadLayout(\"login\")"; -_root.LoadLayout("login",ba); - //BA.debugLineNum = 113;BA.debugLine="B4XPages.SetTitle(Me, \"Intmex Reparto\")"; +RDebugUtils.currentLine=36962307; + //BA.debugLineNum = 36962307;BA.debugLine="Root.LoadLayout(\"login\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("login",ba); +RDebugUtils.currentLine=36962308; + //BA.debugLineNum = 36962308;BA.debugLine="B4XPages.SetTitle(Me, \"Intmex Reparto\")"; _b4xpages._settitle /*String*/ (ba,this,(Object)("Intmex Reparto")); - //BA.debugLineNum = 114;BA.debugLine="login.Initialize"; -_login._initialize /*String*/ (ba); - //BA.debugLineNum = 115;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; -_b4xpages._addpage /*String*/ (ba,"Login",(Object)(_login)); - //BA.debugLineNum = 116;BA.debugLine="principal.Initialize"; -_principal._initialize /*Object*/ (ba); - //BA.debugLineNum = 117;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; -_b4xpages._addpage /*String*/ (ba,"Principal",(Object)(_principal)); - //BA.debugLineNum = 118;BA.debugLine="clientes.Initialize"; -_clientes._initialize /*Object*/ (ba); - //BA.debugLineNum = 119;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; -_b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(_clientes)); - //BA.debugLineNum = 120;BA.debugLine="cliente.Initialize"; -_cliente._initialize /*Object*/ (ba); - //BA.debugLineNum = 121;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; -_b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(_cliente)); - //BA.debugLineNum = 124;BA.debugLine="productos.Initialize"; -_productos._initialize /*Object*/ (ba); - //BA.debugLineNum = 125;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; -_b4xpages._addpage /*String*/ (ba,"Productos",(Object)(_productos)); - //BA.debugLineNum = 126;BA.debugLine="updateAvailable.Initialize"; -_updateavailable._initialize /*Object*/ (ba); - //BA.debugLineNum = 127;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; -_b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(_updateavailable)); - //BA.debugLineNum = 128;BA.debugLine="mapas.Initialize"; -_mapas._initialize /*Object*/ (ba); - //BA.debugLineNum = 129;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; -_b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(_mapas)); - //BA.debugLineNum = 130;BA.debugLine="nuevoCliente.Initialize"; -_nuevocliente._initialize /*Object*/ (ba); - //BA.debugLineNum = 131;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; -_b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(_nuevocliente)); - //BA.debugLineNum = 132;BA.debugLine="ticketsDia.Initialize"; -_ticketsdia._initialize /*Object*/ (ba); - //BA.debugLineNum = 133;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; -_b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(_ticketsdia)); - //BA.debugLineNum = 134;BA.debugLine="noVenta.Initialize"; -_noventa._initialize /*Object*/ (ba); - //BA.debugLineNum = 135;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; -_b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(_noventa)); - //BA.debugLineNum = 136;BA.debugLine="pedidos.Initialize"; -_pedidos._initialize /*Object*/ (ba); - //BA.debugLineNum = 137;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; -_b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(_pedidos)); - //BA.debugLineNum = 138;BA.debugLine="buscar.Initialize"; -_buscar._initialize /*Object*/ (ba); - //BA.debugLineNum = 139;BA.debugLine="B4XPages.AddPage(\"Buscar\", buscar)"; -_b4xpages._addpage /*String*/ (ba,"Buscar",(Object)(_buscar)); - //BA.debugLineNum = 142;BA.debugLine="detalleVenta.Initialize"; -_detalleventa._initialize /*Object*/ (ba); - //BA.debugLineNum = 143;BA.debugLine="B4XPages.AddPage(\"DetalleVenta\", detalleVenta)"; -_b4xpages._addpage /*String*/ (ba,"DetalleVenta",(Object)(_detalleventa)); - //BA.debugLineNum = 144;BA.debugLine="detalle_promo.Initialize"; -_detalle_promo._initialize /*Object*/ (ba); - //BA.debugLineNum = 145;BA.debugLine="B4XPages.AddPage(\"Detalle_Promo\", detalle_promo)"; -_b4xpages._addpage /*String*/ (ba,"Detalle_Promo",(Object)(_detalle_promo)); - //BA.debugLineNum = 146;BA.debugLine="tabulador.Initialize"; -_tabulador._initialize /*Object*/ (ba); - //BA.debugLineNum = 147;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)"; -_b4xpages._addpage /*String*/ (ba,"tabulador",(Object)(_tabulador)); - //BA.debugLineNum = 148;BA.debugLine="checklist.Initialize"; -_checklist._initialize /*Object*/ (ba); - //BA.debugLineNum = 149;BA.debugLine="B4XPages.AddPage(\"checklist\",checklist)"; -_b4xpages._addpage /*String*/ (ba,"checklist",(Object)(_checklist)); - //BA.debugLineNum = 150;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962309; + //BA.debugLineNum = 36962309;BA.debugLine="login.Initialize"; +__ref._login /*reparto_intmex.keymon.lat.b4xmainpage*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=36962310; + //BA.debugLineNum = 36962310;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; +_b4xpages._addpage /*String*/ (ba,"Login",(Object)(__ref._login /*reparto_intmex.keymon.lat.b4xmainpage*/ )); +RDebugUtils.currentLine=36962311; + //BA.debugLineNum = 36962311;BA.debugLine="principal.Initialize"; +__ref._principal /*reparto_intmex.keymon.lat.c_principal*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962312; + //BA.debugLineNum = 36962312;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; +_b4xpages._addpage /*String*/ (ba,"Principal",(Object)(__ref._principal /*reparto_intmex.keymon.lat.c_principal*/ )); +RDebugUtils.currentLine=36962313; + //BA.debugLineNum = 36962313;BA.debugLine="clientes.Initialize"; +__ref._clientes /*reparto_intmex.keymon.lat.c_clientes*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962314; + //BA.debugLineNum = 36962314;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; +_b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(__ref._clientes /*reparto_intmex.keymon.lat.c_clientes*/ )); +RDebugUtils.currentLine=36962315; + //BA.debugLineNum = 36962315;BA.debugLine="cliente.Initialize"; +__ref._cliente /*reparto_intmex.keymon.lat.c_cliente*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962316; + //BA.debugLineNum = 36962316;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; +_b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(__ref._cliente /*reparto_intmex.keymon.lat.c_cliente*/ )); +RDebugUtils.currentLine=36962319; + //BA.debugLineNum = 36962319;BA.debugLine="productos.Initialize"; +__ref._productos /*reparto_intmex.keymon.lat.c_productos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962320; + //BA.debugLineNum = 36962320;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; +_b4xpages._addpage /*String*/ (ba,"Productos",(Object)(__ref._productos /*reparto_intmex.keymon.lat.c_productos*/ )); +RDebugUtils.currentLine=36962321; + //BA.debugLineNum = 36962321;BA.debugLine="updateAvailable.Initialize"; +__ref._updateavailable /*reparto_intmex.keymon.lat.c_updateavailable*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962322; + //BA.debugLineNum = 36962322;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; +_b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(__ref._updateavailable /*reparto_intmex.keymon.lat.c_updateavailable*/ )); +RDebugUtils.currentLine=36962323; + //BA.debugLineNum = 36962323;BA.debugLine="mapas.Initialize"; +__ref._mapas /*reparto_intmex.keymon.lat.c_mapas*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962324; + //BA.debugLineNum = 36962324;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; +_b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(__ref._mapas /*reparto_intmex.keymon.lat.c_mapas*/ )); +RDebugUtils.currentLine=36962325; + //BA.debugLineNum = 36962325;BA.debugLine="nuevoCliente.Initialize"; +__ref._nuevocliente /*reparto_intmex.keymon.lat.c_nuevocliente*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962326; + //BA.debugLineNum = 36962326;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; +_b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(__ref._nuevocliente /*reparto_intmex.keymon.lat.c_nuevocliente*/ )); +RDebugUtils.currentLine=36962327; + //BA.debugLineNum = 36962327;BA.debugLine="ticketsDia.Initialize"; +__ref._ticketsdia /*reparto_intmex.keymon.lat.c_ticketsdia*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962328; + //BA.debugLineNum = 36962328;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; +_b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(__ref._ticketsdia /*reparto_intmex.keymon.lat.c_ticketsdia*/ )); +RDebugUtils.currentLine=36962329; + //BA.debugLineNum = 36962329;BA.debugLine="noVenta.Initialize"; +__ref._noventa /*reparto_intmex.keymon.lat.c_noventa*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962330; + //BA.debugLineNum = 36962330;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; +_b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(__ref._noventa /*reparto_intmex.keymon.lat.c_noventa*/ )); +RDebugUtils.currentLine=36962331; + //BA.debugLineNum = 36962331;BA.debugLine="pedidos.Initialize"; +__ref._pedidos /*reparto_intmex.keymon.lat.c_pedidos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962332; + //BA.debugLineNum = 36962332;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; +_b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(__ref._pedidos /*reparto_intmex.keymon.lat.c_pedidos*/ )); +RDebugUtils.currentLine=36962333; + //BA.debugLineNum = 36962333;BA.debugLine="buscar.Initialize"; +__ref._buscar /*reparto_intmex.keymon.lat.c_buscar*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962334; + //BA.debugLineNum = 36962334;BA.debugLine="B4XPages.AddPage(\"Buscar\", buscar)"; +_b4xpages._addpage /*String*/ (ba,"Buscar",(Object)(__ref._buscar /*reparto_intmex.keymon.lat.c_buscar*/ )); +RDebugUtils.currentLine=36962337; + //BA.debugLineNum = 36962337;BA.debugLine="detalleVenta.Initialize"; +__ref._detalleventa /*reparto_intmex.keymon.lat.c_detalleventa*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962338; + //BA.debugLineNum = 36962338;BA.debugLine="B4XPages.AddPage(\"DetalleVenta\", detalleVenta)"; +_b4xpages._addpage /*String*/ (ba,"DetalleVenta",(Object)(__ref._detalleventa /*reparto_intmex.keymon.lat.c_detalleventa*/ )); +RDebugUtils.currentLine=36962339; + //BA.debugLineNum = 36962339;BA.debugLine="detalle_promo.Initialize"; +__ref._detalle_promo /*reparto_intmex.keymon.lat.c_detalle_promo*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962340; + //BA.debugLineNum = 36962340;BA.debugLine="B4XPages.AddPage(\"Detalle_Promo\", detalle_promo)"; +_b4xpages._addpage /*String*/ (ba,"Detalle_Promo",(Object)(__ref._detalle_promo /*reparto_intmex.keymon.lat.c_detalle_promo*/ )); +RDebugUtils.currentLine=36962341; + //BA.debugLineNum = 36962341;BA.debugLine="tabulador.Initialize"; +__ref._tabulador /*reparto_intmex.keymon.lat.c_tabulador*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962342; + //BA.debugLineNum = 36962342;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)"; +_b4xpages._addpage /*String*/ (ba,"tabulador",(Object)(__ref._tabulador /*reparto_intmex.keymon.lat.c_tabulador*/ )); +RDebugUtils.currentLine=36962343; + //BA.debugLineNum = 36962343;BA.debugLine="checklist.Initialize"; +__ref._checklist /*reparto_intmex.keymon.lat.c_cheklist*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=36962344; + //BA.debugLineNum = 36962344;BA.debugLine="B4XPages.AddPage(\"checklist\",checklist)"; +_b4xpages._addpage /*String*/ (ba,"checklist",(Object)(__ref._checklist /*reparto_intmex.keymon.lat.c_cheklist*/ )); +RDebugUtils.currentLine=36962345; + //BA.debugLineNum = 36962345;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD3 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB)"); - //BA.debugLineNum = 151;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE"; +RDebugUtils.currentLine=36962346; + //BA.debugLineNum = 36962346;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CONVERSION1","TEXT"); - //BA.debugLineNum = 152;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI"; +RDebugUtils.currentLine=36962347; + //BA.debugLineNum = 36962347;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_PRECIO4","TEXT"); - //BA.debugLineNum = 153;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CANT_"; +RDebugUtils.currentLine=36962348; + //BA.debugLineNum = 36962348;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CANT_"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CANT_MIN_VENTA","TEXT"); - //BA.debugLineNum = 154;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962349; + //BA.debugLineNum = 36962349;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOS (a_usuario TEXT, a_ruta TEXT, a_cliente TEXT, a_abono TEXT, a_fecha TEXT, a_enviado TEXT)"); - //BA.debugLineNum = 155;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962350; + //BA.debugLineNum = 36962350;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA_REP TEXT, PA_RUTAPREV TEXT, PA_FECHA_PREV TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)"); - //BA.debugLineNum = 156;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962351; + //BA.debugLineNum = 36962351;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PICK_CIEGO (PC_ID_PROD TEXT, PC_NOM_PROD TEXT, PC_CANT TEXT, PC_ALMACEN TEXT, PC_RUTA TEXT, PC_FECHA TEXT)"); - //BA.debugLineNum = 157;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962352; + //BA.debugLineNum = 36962352;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ENV_MONTO_LIQ (EML_MONTO TEXT, EML_ALMACEN TEXT, EML_RUTA TEXT, EML_USUARIO TEXT, EML_FECHA_PED TEXT)"); - //BA.debugLineNum = 158;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962353; + //BA.debugLineNum = 36962353;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_MONEDAS(VEINTE TEXT, DIEZ TEXT, CINCO TEXT, DOS TEXT, PESO TEXT, CENTAVO TEXT, TOTAL TEXT)"); - //BA.debugLineNum = 159;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962354; + //BA.debugLineNum = 36962354;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)"); - //BA.debugLineNum = 160;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962355; + //BA.debugLineNum = 36962355;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_VENTAS2 (HVD_PARCIAL TEXT, HVD_RECHAZO TEXT, HVD_NUM_REGISTRO TEXT, HVD_NUM_TICKET TEXT, HVD_PROID TEXT, HVD_CODPROMO TEXT, HVD_FECHA TEXT, HVD_ESTATUS TEXT, HVD_CLIENTE TEXT, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT)"); - //BA.debugLineNum = 162;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962357; + //BA.debugLineNum = 36962357;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RECHAZOS (R_FECHA TEXT, R_CLIENTE TEXT, R_CLI_ORIG TEXT, R_PRODID TEXT, R_CANT TEXT, R_RECHAZO INT)"); - //BA.debugLineNum = 163;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962358; + //BA.debugLineNum = 36962358;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS VENTAS (V_FECHA TEXT, V_CLIENTE TEXT, V_CLI_ORIG TEXT, V_PRODID TEXT, V_CANT TEXT, V_RECHAZO INT)"); - //BA.debugLineNum = 164;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962359; + //BA.debugLineNum = 36962359;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT)"); - //BA.debugLineNum = 166;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962361; + //BA.debugLineNum = 36962361;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECADO_CHECK(CHECADO TEXT)"); - //BA.debugLineNum = 167;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962362; + //BA.debugLineNum = 36962362;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS BLOCKENVIO(ENVIADO TEXT)"); - //BA.debugLineNum = 169;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962364; + //BA.debugLineNum = 36962364;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT , POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA_BUENESTADO TEXT, CARROCERIA_MALESTADO TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES_CORRECTO TEXT, LUCES_INCORRECTO TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS_CORRECTO TEXT, CONDICION_PLACAS_INCORRECTO TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB)"); - //BA.debugLineNum = 170;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962365; + //BA.debugLineNum = 36962365;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST2(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT, POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB, KILIMETRAJE TEXT, RUTA TEXT)"); - //BA.debugLineNum = 171;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODREGISTRO\","; +RDebugUtils.currentLine=36962366; + //BA.debugLineNum = 36962366;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODREGISTRO\","; _subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRODREGISTRO","TEXT"); - //BA.debugLineNum = 172;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"TIPO_PAGO\",\"TEXT\")"; +RDebugUtils.currentLine=36962367; + //BA.debugLineNum = 36962367;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"TIPO_PAGO\",\"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"ABONOS","TIPO_PAGO","TEXT"); - //BA.debugLineNum = 173;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"CONSECUTIVO\",\"TEXT\")"; +RDebugUtils.currentLine=36962368; + //BA.debugLineNum = 36962368;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"CONSECUTIVO\",\"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"ABONOS","CONSECUTIVO","TEXT"); - //BA.debugLineNum = 174;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"NUM_TICKET\",\"TEXT\")"; +RDebugUtils.currentLine=36962369; + //BA.debugLineNum = 36962369;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"NUM_TICKET\",\"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"ABONOS","NUM_TICKET","TEXT"); - //BA.debugLineNum = 175;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"RUTA_REP\",\"TEXT\")"; +RDebugUtils.currentLine=36962370; + //BA.debugLineNum = 36962370;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"RUTA_REP\",\"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"ABONOS","RUTA_REP","TEXT"); - //BA.debugLineNum = 176;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_RUTA\", \"TEXT\")"; +RDebugUtils.currentLine=36962371; + //BA.debugLineNum = 36962371;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_RUTA\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"NOVENTA","NV_RUTA","TEXT"); - //BA.debugLineNum = 177;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"SECUENCIA\", \"INT\""; +RDebugUtils.currentLine=36962372; + //BA.debugLineNum = 36962372;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"SECUENCIA\", \"INT\""; _subs._agregacolumna /*String*/ (ba,"kmt_info","SECUENCIA","INT"); - //BA.debugLineNum = 178;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"HORAENT\", \"TEXT\")"; +RDebugUtils.currentLine=36962373; + //BA.debugLineNum = 36962373;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"HORAENT\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"kmt_info","HORAENT","TEXT"); - //BA.debugLineNum = 179;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODID\", \"TEXT"; +RDebugUtils.currentLine=36962374; + //BA.debugLineNum = 36962374;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODID\", \"TEXT"; _subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRODID","TEXT"); - //BA.debugLineNum = 180;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CLIENTEOR\", \"TEX"; +RDebugUtils.currentLine=36962375; + //BA.debugLineNum = 36962375;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CLIENTEOR\", \"TEX"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CLIENTEOR","TEXT"); - //BA.debugLineNum = 181;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CAJAS\", \"TEXT\")"; +RDebugUtils.currentLine=36962376; + //BA.debugLineNum = 36962376;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CAJAS\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CAJAS","TEXT"); - //BA.debugLineNum = 182;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_REGALO\", \"TEXT\")"; +RDebugUtils.currentLine=36962377; + //BA.debugLineNum = 36962377;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_REGALO\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_REGALO","TEXT"); - //BA.debugLineNum = 183;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")"; +RDebugUtils.currentLine=36962378; + //BA.debugLineNum = 36962378;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_BCAJAS","TEXT"); - //BA.debugLineNum = 184;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"CONSECUTIVO\", \"TEXT"; +RDebugUtils.currentLine=36962379; + //BA.debugLineNum = 36962379;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"CONSECUTIVO\", \"TEXT"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","CONSECUTIVO","TEXT"); - //BA.debugLineNum = 185;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"FECHA_PREV\", \"TEXT\""; +RDebugUtils.currentLine=36962380; + //BA.debugLineNum = 36962380;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"FECHA_PREV\", \"TEXT\""; _subs._agregacolumna /*String*/ (ba,"PEDIDO","FECHA_PREV","TEXT"); - //BA.debugLineNum = 186;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"RUTA_REP\", \"TEXT\")"; +RDebugUtils.currentLine=36962381; + //BA.debugLineNum = 36962381;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"RUTA_REP\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","RUTA_REP","TEXT"); - //BA.debugLineNum = 187;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_CLI_ORIG\", \"TE"; +RDebugUtils.currentLine=36962382; + //BA.debugLineNum = 36962382;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_CLI_ORIG\", \"TE"; _subs._agregacolumna /*String*/ (ba,"REPARTO","REP_CLI_ORIG","TEXT"); - //BA.debugLineNum = 188;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRECIO\", \"TEXT"; +RDebugUtils.currentLine=36962383; + //BA.debugLineNum = 36962383;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRECIO\", \"TEXT"; _subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRECIO","TEXT"); - //BA.debugLineNum = 189;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_RECHAZO\", \"INT"; +RDebugUtils.currentLine=36962384; + //BA.debugLineNum = 36962384;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_RECHAZO\", \"INT"; _subs._agregacolumna /*String*/ (ba,"REPARTO","REP_RECHAZO","INTEGER"); - //BA.debugLineNum = 190;BA.debugLine="Subs.agregaColumna(\"RECHAZOS\", \"R_PRECIO\", \"TEXT\""; +RDebugUtils.currentLine=36962385; + //BA.debugLineNum = 36962385;BA.debugLine="Subs.agregaColumna(\"RECHAZOS\", \"R_PRECIO\", \"TEXT\""; _subs._agregacolumna /*String*/ (ba,"RECHAZOS","R_PRECIO","TEXT"); - //BA.debugLineNum = 191;BA.debugLine="Subs.agregaColumna(\"VENTAS\", \"V_PRECIO\", \"TEXT\")"; +RDebugUtils.currentLine=36962386; + //BA.debugLineNum = 36962386;BA.debugLine="Subs.agregaColumna(\"VENTAS\", \"V_PRECIO\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"VENTAS","V_PRECIO","TEXT"); - //BA.debugLineNum = 192;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"PLACA\",\"TEXT\")"; +RDebugUtils.currentLine=36962387; + //BA.debugLineNum = 36962387;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"PLACA\",\"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","PLACA","TEXT"); - //BA.debugLineNum = 193;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +RDebugUtils.currentLine=36962388; + //BA.debugLineNum = 36962388;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANT","TEXT"); - //BA.debugLineNum = 194;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CONSECUTIVO\",\"T"; +RDebugUtils.currentLine=36962389; + //BA.debugLineNum = 36962389;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CONSECUTIVO\",\"T"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CONSECUTIVO","TEXT"); - //BA.debugLineNum = 195;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +RDebugUtils.currentLine=36962390; + //BA.debugLineNum = 36962390;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANT","TEXT"); - //BA.debugLineNum = 196;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"ESPROMO\",\"TEXT\""; +RDebugUtils.currentLine=36962391; + //BA.debugLineNum = 36962391;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"ESPROMO\",\"TEXT\""; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","ESPROMO","TEXT"); - //BA.debugLineNum = 197;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +RDebugUtils.currentLine=36962392; + //BA.debugLineNum = 36962392;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANTC","TEXT"); - //BA.debugLineNum = 198;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS\",\"TEXT\")"; +RDebugUtils.currentLine=36962393; + //BA.debugLineNum = 36962393;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS\",\"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS","TEXT"); - //BA.debugLineNum = 199;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC\",\"TEXT\")"; +RDebugUtils.currentLine=36962394; + //BA.debugLineNum = 36962394;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC\",\"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC","TEXT"); - //BA.debugLineNum = 200;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS_OR\",\"TEX"; +RDebugUtils.currentLine=36962395; + //BA.debugLineNum = 36962395;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS_OR\",\"TEX"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS_OR","TEXT"); - //BA.debugLineNum = 201;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC_OR\",\"TEXT"; +RDebugUtils.currentLine=36962396; + //BA.debugLineNum = 36962396;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC_OR\",\"TEXT"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC_OR","TEXT"); - //BA.debugLineNum = 202;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T"; +RDebugUtils.currentLine=36962397; + //BA.debugLineNum = 36962397;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CONVERSION","TEXT"); - //BA.debugLineNum = 203;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\","; +RDebugUtils.currentLine=36962398; + //BA.debugLineNum = 36962398;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\","; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","PRECIOCONVER","TEXT"); - //BA.debugLineNum = 204;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962399; + //BA.debugLineNum = 36962399;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"); - //BA.debugLineNum = 205;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +RDebugUtils.currentLine=36962400; + //BA.debugLineNum = 36962400;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)"); - //BA.debugLineNum = 206;BA.debugLine="Dim server As String = \"http://keymon.net:1781\""; +RDebugUtils.currentLine=36962401; + //BA.debugLineNum = 36962401;BA.debugLine="Dim server As String = \"http://keymon.net:1781\""; _server = "http://keymon.net:1781"; - //BA.debugLineNum = 212;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 213;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("81572968",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 214;BA.debugLine="Label1.Text = Application.VersionName"; -_label1.setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); - //BA.debugLineNum = 216;BA.debugLine="Log(\"provider\")"; -__c.LogImpl("81572971","provider",0); - //BA.debugLineNum = 217;BA.debugLine="Provider.Initialize"; -_provider._initialize /*String*/ (ba); - //BA.debugLineNum = 225;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36962407; + //BA.debugLineNum = 36962407;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=36962408; + //BA.debugLineNum = 36962408;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("236962408",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=36962409; + //BA.debugLineNum = 36962409;BA.debugLine="Label1.Text = Application.VersionName"; +__ref._label1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); +RDebugUtils.currentLine=36962411; + //BA.debugLineNum = 36962411;BA.debugLine="Log(\"provider\")"; +__c.LogImpl("236962411","provider",0); +RDebugUtils.currentLine=36962412; + //BA.debugLineNum = 36962412;BA.debugLine="Provider.Initialize"; +__ref._provider /*reparto_intmex.keymon.lat.fileprovider*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=36962420; + //BA.debugLineNum = 36962420;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 18;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 19;BA.debugLine="Dim rp As RuntimePermissions"; +public String _initialize(reparto_intmex.keymon.lat.b4xmainpage __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=36896768; + //BA.debugLineNum = 36896768;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=36896770; + //BA.debugLineNum = 36896770;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +RDebugUtils.currentLine=36831232; + //BA.debugLineNum = 36831232;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=36831233; + //BA.debugLineNum = 36831233;BA.debugLine="Dim rp As RuntimePermissions"; _rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 20;BA.debugLine="Private Root As B4XView"; +RDebugUtils.currentLine=36831234; + //BA.debugLineNum = 36831234;BA.debugLine="Private Root As B4XView"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Private xui As XUI"; +RDebugUtils.currentLine=36831235; + //BA.debugLineNum = 36831235;BA.debugLine="Private xui As XUI"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 22;BA.debugLine="Private Root As B4XView"; +RDebugUtils.currentLine=36831236; + //BA.debugLineNum = 36831236;BA.debugLine="Private Root As B4XView"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Public rp As RuntimePermissions"; +RDebugUtils.currentLine=36831237; + //BA.debugLineNum = 36831237;BA.debugLine="Public rp As RuntimePermissions"; _rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 24;BA.debugLine="Public login As B4XMainPage"; +RDebugUtils.currentLine=36831238; + //BA.debugLineNum = 36831238;BA.debugLine="Public login As B4XMainPage"; _login = new reparto_intmex.keymon.lat.b4xmainpage(); - //BA.debugLineNum = 25;BA.debugLine="Public principal As C_Principal"; +RDebugUtils.currentLine=36831239; + //BA.debugLineNum = 36831239;BA.debugLine="Public principal As C_Principal"; _principal = new reparto_intmex.keymon.lat.c_principal(); - //BA.debugLineNum = 26;BA.debugLine="Public clientes As C_Clientes"; +RDebugUtils.currentLine=36831240; + //BA.debugLineNum = 36831240;BA.debugLine="Public clientes As C_Clientes"; _clientes = new reparto_intmex.keymon.lat.c_clientes(); - //BA.debugLineNum = 27;BA.debugLine="Public cliente As C_Cliente"; +RDebugUtils.currentLine=36831241; + //BA.debugLineNum = 36831241;BA.debugLine="Public cliente As C_Cliente"; _cliente = new reparto_intmex.keymon.lat.c_cliente(); - //BA.debugLineNum = 29;BA.debugLine="Public productos As C_Productos"; +RDebugUtils.currentLine=36831243; + //BA.debugLineNum = 36831243;BA.debugLine="Public productos As C_Productos"; _productos = new reparto_intmex.keymon.lat.c_productos(); - //BA.debugLineNum = 30;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; +RDebugUtils.currentLine=36831244; + //BA.debugLineNum = 36831244;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; _updateavailable = new reparto_intmex.keymon.lat.c_updateavailable(); - //BA.debugLineNum = 31;BA.debugLine="Public mapas As C_Mapas"; +RDebugUtils.currentLine=36831245; + //BA.debugLineNum = 36831245;BA.debugLine="Public mapas As C_Mapas"; _mapas = new reparto_intmex.keymon.lat.c_mapas(); - //BA.debugLineNum = 32;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; +RDebugUtils.currentLine=36831246; + //BA.debugLineNum = 36831246;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; _nuevocliente = new reparto_intmex.keymon.lat.c_nuevocliente(); - //BA.debugLineNum = 33;BA.debugLine="Public ticketsDia As C_TicketsDia"; +RDebugUtils.currentLine=36831247; + //BA.debugLineNum = 36831247;BA.debugLine="Public ticketsDia As C_TicketsDia"; _ticketsdia = new reparto_intmex.keymon.lat.c_ticketsdia(); - //BA.debugLineNum = 34;BA.debugLine="Public noVenta As C_NoVenta"; +RDebugUtils.currentLine=36831248; + //BA.debugLineNum = 36831248;BA.debugLine="Public noVenta As C_NoVenta"; _noventa = new reparto_intmex.keymon.lat.c_noventa(); - //BA.debugLineNum = 35;BA.debugLine="Public pedidos As C_Pedidos"; +RDebugUtils.currentLine=36831249; + //BA.debugLineNum = 36831249;BA.debugLine="Public pedidos As C_Pedidos"; _pedidos = new reparto_intmex.keymon.lat.c_pedidos(); - //BA.debugLineNum = 36;BA.debugLine="Public buscar As C_Buscar"; +RDebugUtils.currentLine=36831250; + //BA.debugLineNum = 36831250;BA.debugLine="Public buscar As C_Buscar"; _buscar = new reparto_intmex.keymon.lat.c_buscar(); - //BA.debugLineNum = 38;BA.debugLine="Public detalleVenta As C_DetalleVenta"; +RDebugUtils.currentLine=36831252; + //BA.debugLineNum = 36831252;BA.debugLine="Public detalleVenta As C_DetalleVenta"; _detalleventa = new reparto_intmex.keymon.lat.c_detalleventa(); - //BA.debugLineNum = 39;BA.debugLine="Public detalle_promo As C_Detalle_Promo"; +RDebugUtils.currentLine=36831253; + //BA.debugLineNum = 36831253;BA.debugLine="Public detalle_promo As C_Detalle_Promo"; _detalle_promo = new reparto_intmex.keymon.lat.c_detalle_promo(); - //BA.debugLineNum = 40;BA.debugLine="Dim reqManager As DBRequestManager"; +RDebugUtils.currentLine=36831254; + //BA.debugLineNum = 36831254;BA.debugLine="Dim reqManager As DBRequestManager"; _reqmanager = new reparto_intmex.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 42;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=36831256; + //BA.debugLineNum = 36831256;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 43;BA.debugLine="Dim logger As Boolean = True"; +RDebugUtils.currentLine=36831257; + //BA.debugLineNum = 36831257;BA.debugLine="Dim logger As Boolean = True"; _logger = __c.True; - //BA.debugLineNum = 44;BA.debugLine="Dim lat_gps, lon_gps As String"; +RDebugUtils.currentLine=36831258; + //BA.debugLineNum = 36831258;BA.debugLine="Dim lat_gps, lon_gps As String"; _lat_gps = ""; _lon_gps = ""; - //BA.debugLineNum = 46;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=36831260; + //BA.debugLineNum = 36831260;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 47;BA.debugLine="Dim server As String"; +RDebugUtils.currentLine=36831261; + //BA.debugLineNum = 36831261;BA.debugLine="Dim server As String"; _server = ""; - //BA.debugLineNum = 48;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; +RDebugUtils.currentLine=36831262; + //BA.debugLineNum = 36831262;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; _montoactual = ""; _clientestotal = ""; _clientesventa = ""; @@ -1187,225 +1616,341 @@ _clientesvisitados = ""; _almacen = ""; _rutapreventa = ""; _cantidadprod = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim ultimaActualizacionGPS As String = 235959"; +RDebugUtils.currentLine=36831263; + //BA.debugLineNum = 36831263;BA.debugLine="Dim ultimaActualizacionGPS As String = 235959"; _ultimaactualizaciongps = BA.NumberToString(235959); - //BA.debugLineNum = 50;BA.debugLine="Dim fechaRuta As String"; +RDebugUtils.currentLine=36831264; + //BA.debugLineNum = 36831264;BA.debugLine="Dim fechaRuta As String"; _fecharuta = ""; - //BA.debugLineNum = 53;BA.debugLine="Dim srvIp As String"; +RDebugUtils.currentLine=36831267; + //BA.debugLineNum = 36831267;BA.debugLine="Dim srvIp As String"; _srvip = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim phn As Phone"; +RDebugUtils.currentLine=36831268; + //BA.debugLineNum = 36831268;BA.debugLine="Dim phn As Phone"; _phn = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 55;BA.debugLine="Dim user As EditText"; +RDebugUtils.currentLine=36831269; + //BA.debugLineNum = 36831269;BA.debugLine="Dim user As EditText"; _user = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Dim pass As EditText"; +RDebugUtils.currentLine=36831270; + //BA.debugLineNum = 36831270;BA.debugLine="Dim pass As EditText"; _pass = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=36831271; + //BA.debugLineNum = 36831271;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Dim existe As String"; +RDebugUtils.currentLine=36831272; + //BA.debugLineNum = 36831272;BA.debugLine="Dim existe As String"; _existe = ""; - //BA.debugLineNum = 59;BA.debugLine="Dim paso1 As String"; +RDebugUtils.currentLine=36831273; + //BA.debugLineNum = 36831273;BA.debugLine="Dim paso1 As String"; _paso1 = ""; - //BA.debugLineNum = 60;BA.debugLine="Private IMEN As Label"; +RDebugUtils.currentLine=36831274; + //BA.debugLineNum = 36831274;BA.debugLine="Private IMEN As Label"; _imen = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Dim IMEI As String"; +RDebugUtils.currentLine=36831275; + //BA.debugLineNum = 36831275;BA.debugLine="Dim IMEI As String"; _imei = ""; - //BA.debugLineNum = 62;BA.debugLine="Private Label1 As Label"; +RDebugUtils.currentLine=36831276; + //BA.debugLineNum = 36831276;BA.debugLine="Private Label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 63;BA.debugLine="Dim server As String"; +RDebugUtils.currentLine=36831277; + //BA.debugLineNum = 36831277;BA.debugLine="Dim server As String"; _server = ""; - //BA.debugLineNum = 64;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=36831278; + //BA.debugLineNum = 36831278;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Private Entrar As Button"; +RDebugUtils.currentLine=36831279; + //BA.debugLineNum = 36831279;BA.debugLine="Private Entrar As Button"; _entrar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Public checklist As C_Cheklist"; +RDebugUtils.currentLine=36831280; + //BA.debugLineNum = 36831280;BA.debugLine="Public checklist As C_Cheklist"; _checklist = new reparto_intmex.keymon.lat.c_cheklist(); - //BA.debugLineNum = 67;BA.debugLine="Public tabulador As C_tabulador"; +RDebugUtils.currentLine=36831281; + //BA.debugLineNum = 36831281;BA.debugLine="Public tabulador As C_tabulador"; _tabulador = new reparto_intmex.keymon.lat.c_tabulador(); - //BA.debugLineNum = 68;BA.debugLine="Dim batt As Int"; +RDebugUtils.currentLine=36831282; + //BA.debugLineNum = 36831282;BA.debugLine="Dim batt As Int"; _batt = 0; - //BA.debugLineNum = 69;BA.debugLine="Dim porVisitar, entregas, rechazos, montoEntregad"; +RDebugUtils.currentLine=36831283; + //BA.debugLineNum = 36831283;BA.debugLine="Dim porVisitar, entregas, rechazos, montoEntregad"; _porvisitar = ""; _entregas = ""; _rechazos = ""; _montoentregado = ""; _montorechazado = ""; - //BA.debugLineNum = 70;BA.debugLine="Private p_appUpdate As Panel"; +RDebugUtils.currentLine=36831284; + //BA.debugLineNum = 36831284;BA.debugLine="Private p_appUpdate As Panel"; _p_appupdate = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Private i_engrane As ImageView"; +RDebugUtils.currentLine=36831285; + //BA.debugLineNum = 36831285;BA.debugLine="Private i_engrane As ImageView"; _i_engrane = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 72;BA.debugLine="Private b_server As Button"; +RDebugUtils.currentLine=36831286; + //BA.debugLineNum = 36831286;BA.debugLine="Private b_server As Button"; _b_server = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 73;BA.debugLine="Private b_apk As Button"; +RDebugUtils.currentLine=36831287; + //BA.debugLineNum = 36831287;BA.debugLine="Private b_apk As Button"; _b_apk = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 74;BA.debugLine="Private b_envioBD As Button"; +RDebugUtils.currentLine=36831288; + //BA.debugLineNum = 36831288;BA.debugLine="Private b_envioBD As Button"; _b_enviobd = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 75;BA.debugLine="Private b_regesar As Button"; +RDebugUtils.currentLine=36831289; + //BA.debugLineNum = 36831289;BA.debugLine="Private b_regesar As Button"; _b_regesar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 76;BA.debugLine="Private et_server As EditText"; +RDebugUtils.currentLine=36831290; + //BA.debugLineNum = 36831290;BA.debugLine="Private et_server As EditText"; _et_server = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Private p_serverList As Panel"; +RDebugUtils.currentLine=36831291; + //BA.debugLineNum = 36831291;BA.debugLine="Private p_serverList As Panel"; _p_serverlist = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 78;BA.debugLine="Private lv_server As ListView"; +RDebugUtils.currentLine=36831292; + //BA.debugLineNum = 36831292;BA.debugLine="Private lv_server As ListView"; _lv_server = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Public Provider As FileProvider"; +RDebugUtils.currentLine=36831293; + //BA.debugLineNum = 36831293;BA.debugLine="Public Provider As FileProvider"; _provider = new reparto_intmex.keymon.lat.fileprovider(); - //BA.debugLineNum = 80;BA.debugLine="Public rutaBDBackup As String = \"\""; +RDebugUtils.currentLine=36831294; + //BA.debugLineNum = 36831294;BA.debugLine="Public rutaBDBackup As String = \"\""; _rutabdbackup = ""; - //BA.debugLineNum = 81;BA.debugLine="Private B_Can_Monto As Button"; +RDebugUtils.currentLine=36831295; + //BA.debugLineNum = 36831295;BA.debugLine="Private B_Can_Monto As Button"; _b_can_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 82;BA.debugLine="Private B_Aceptar_Monto As Button"; +RDebugUtils.currentLine=36831296; + //BA.debugLineNum = 36831296;BA.debugLine="Private B_Aceptar_Monto As Button"; _b_aceptar_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 83;BA.debugLine="Private ET_Add_Monto As EditText"; +RDebugUtils.currentLine=36831297; + //BA.debugLineNum = 36831297;BA.debugLine="Private ET_Add_Monto As EditText"; _et_add_monto = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Private p_add_monto As Panel"; +RDebugUtils.currentLine=36831298; + //BA.debugLineNum = 36831298;BA.debugLine="Private p_add_monto As Panel"; _p_add_monto = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Dim sDate, sTime As String"; +RDebugUtils.currentLine=36831299; + //BA.debugLineNum = 36831299;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 86;BA.debugLine="Private p_validacion As Panel"; +RDebugUtils.currentLine=36831300; + //BA.debugLineNum = 36831300;BA.debugLine="Private p_validacion As Panel"; _p_validacion = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Private b_cancelarcodigo As Button"; +RDebugUtils.currentLine=36831301; + //BA.debugLineNum = 36831301;BA.debugLine="Private b_cancelarcodigo As Button"; _b_cancelarcodigo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private b_aceptar As Button"; +RDebugUtils.currentLine=36831302; + //BA.debugLineNum = 36831302;BA.debugLine="Private b_aceptar As Button"; _b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 89;BA.debugLine="Private et_codigo As EditText"; +RDebugUtils.currentLine=36831303; + //BA.debugLineNum = 36831303;BA.debugLine="Private et_codigo As EditText"; _et_codigo = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Private P_CIEGO As Panel"; +RDebugUtils.currentLine=36831304; + //BA.debugLineNum = 36831304;BA.debugLine="Private P_CIEGO As Panel"; _p_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Private b_terpc As Button"; +RDebugUtils.currentLine=36831305; + //BA.debugLineNum = 36831305;BA.debugLine="Private b_terpc As Button"; _b_terpc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Private B_PC_ENV As Button"; +RDebugUtils.currentLine=36831306; + //BA.debugLineNum = 36831306;BA.debugLine="Private B_PC_ENV As Button"; _b_pc_env = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; +RDebugUtils.currentLine=36831307; + //BA.debugLineNum = 36831307;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; _clv_pick_ciego = new b4a.example3.customlistview(); - //BA.debugLineNum = 94;BA.debugLine="Private et_buspc As EditText"; +RDebugUtils.currentLine=36831308; + //BA.debugLineNum = 36831308;BA.debugLine="Private et_buspc As EditText"; _et_buspc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Dim q_buscar As String"; +RDebugUtils.currentLine=36831309; + //BA.debugLineNum = 36831309;BA.debugLine="Dim q_buscar As String"; _q_buscar = ""; - //BA.debugLineNum = 96;BA.debugLine="Dim d As Cursor"; +RDebugUtils.currentLine=36831310; + //BA.debugLineNum = 36831310;BA.debugLine="Dim d As Cursor"; _d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 97;BA.debugLine="Private L_PICK_CIEGO As Label"; +RDebugUtils.currentLine=36831311; + //BA.debugLineNum = 36831311;BA.debugLine="Private L_PICK_CIEGO As Label"; _l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 98;BA.debugLine="Private ET_PICK_CIEGO As EditText"; +RDebugUtils.currentLine=36831312; + //BA.debugLineNum = 36831312;BA.debugLine="Private ET_PICK_CIEGO As EditText"; _et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 99;BA.debugLine="Dim a As Cursor"; +RDebugUtils.currentLine=36831313; + //BA.debugLineNum = 36831313;BA.debugLine="Dim a As Cursor"; _a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Dim f As Cursor"; +RDebugUtils.currentLine=36831314; + //BA.debugLineNum = 36831314;BA.debugLine="Dim f As Cursor"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 101;BA.debugLine="Private b_abono As Button"; +RDebugUtils.currentLine=36831315; + //BA.debugLineNum = 36831315;BA.debugLine="Private b_abono As Button"; _b_abono = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 102;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36831316; + //BA.debugLineNum = 36831316;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _id_prod,String _prod,String _cant) throws Exception{ +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_intmex.keymon.lat.b4xmainpage __ref,String _id_prod,String _prod,String _cant) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_id_prod,_prod,_cant}));} anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 973;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; - //BA.debugLineNum = 974;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=38731776; + //BA.debugLineNum = 38731776;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; +RDebugUtils.currentLine=38731777; + //BA.debugLineNum = 38731777;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; _pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 975;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_pa = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=38731778; + //BA.debugLineNum = 38731778;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; _pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 976;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +RDebugUtils.currentLine=38731779; + //BA.debugLineNum = 38731779;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; _pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 977;BA.debugLine="pa.Height = 55dip"; +RDebugUtils.currentLine=38731780; + //BA.debugLineNum = 38731780;BA.debugLine="pa.Height = 55dip"; _pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 978;BA.debugLine="pa.Width = 298dip"; +RDebugUtils.currentLine=38731781; + //BA.debugLineNum = 38731781;BA.debugLine="pa.Width = 298dip"; _pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 980;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; -_l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 981;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; -_l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 982;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; -_l_pick_ciego.setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); - //BA.debugLineNum = 983;BA.debugLine="ET_PICK_CIEGO.Text = cant"; -_et_pick_ciego.setText(BA.ObjectToCharSequence(_cant)); - //BA.debugLineNum = 986;BA.debugLine="Return pa"; +RDebugUtils.currentLine=38731783; + //BA.debugLineNum = 38731783;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); +RDebugUtils.currentLine=38731784; + //BA.debugLineNum = 38731784;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=38731785; + //BA.debugLineNum = 38731785;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); +RDebugUtils.currentLine=38731786; + //BA.debugLineNum = 38731786;BA.debugLine="ET_PICK_CIEGO.Text = cant"; +__ref._et_pick_ciego /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_cant)); +RDebugUtils.currentLine=38731789; + //BA.debugLineNum = 38731789;BA.debugLine="Return pa"; if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); - //BA.debugLineNum = 987;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38731790; + //BA.debugLineNum = 38731790;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _id_prod,String _prod) throws Exception{ +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(reparto_intmex.keymon.lat.b4xmainpage __ref,String _id_prod,String _prod) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_id_prod,_prod}));} anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 989;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; - //BA.debugLineNum = 990;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=38797312; + //BA.debugLineNum = 38797312;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; +RDebugUtils.currentLine=38797313; + //BA.debugLineNum = 38797313;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; _pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 991;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_pa = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=38797314; + //BA.debugLineNum = 38797314;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; _pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 992;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +RDebugUtils.currentLine=38797315; + //BA.debugLineNum = 38797315;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; _pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 993;BA.debugLine="pa.Height = 55dip"; +RDebugUtils.currentLine=38797316; + //BA.debugLineNum = 38797316;BA.debugLine="pa.Height = 55dip"; _pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 994;BA.debugLine="pa.Width = 298dip"; +RDebugUtils.currentLine=38797317; + //BA.debugLineNum = 38797317;BA.debugLine="pa.Width = 298dip"; _pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 996;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; -_l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 997;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; -_l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 998;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; -_l_pick_ciego.setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); - //BA.debugLineNum = 1001;BA.debugLine="Return pa"; +RDebugUtils.currentLine=38797319; + //BA.debugLineNum = 38797319;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); +RDebugUtils.currentLine=38797320; + //BA.debugLineNum = 38797320;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=38797321; + //BA.debugLineNum = 38797321;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); +RDebugUtils.currentLine=38797324; + //BA.debugLineNum = 38797324;BA.debugLine="Return pa"; if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); - //BA.debugLineNum = 1002;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38797325; + //BA.debugLineNum = 38797325;BA.debugLine="End Sub"; return null; } -public String _entrar_click() throws Exception{ +public String _entrar_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "entrar_click", false)) + {return ((String) Debug.delegate(ba, "entrar_click", null));} reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 261;BA.debugLine="Sub Entrar_Click"; - //BA.debugLineNum = 262;BA.debugLine="If pass.Text = \"YA\" Then"; -if ((_pass.getText()).equals("YA")) { - //BA.debugLineNum = 263;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\""; +RDebugUtils.currentLine=37093376; + //BA.debugLineNum = 37093376;BA.debugLine="Sub Entrar_Click"; +RDebugUtils.currentLine=37093377; + //BA.debugLineNum = 37093377;BA.debugLine="If pass.Text = \"YA\" Then"; +if ((__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("YA")) { +RDebugUtils.currentLine=37093378; + //BA.debugLineNum = 37093378;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 264;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")"; +RDebugUtils.currentLine=37093379; + //BA.debugLineNum = 37093379;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 265;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA"; +RDebugUtils.currentLine=37093380; + //BA.debugLineNum = 37093380;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ROOT"),(Object)("ROOT")})); - //BA.debugLineNum = 266;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac"; +RDebugUtils.currentLine=37093381; + //BA.debugLineNum = 37093381;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 267;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText())})); - //BA.debugLineNum = 268;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION("; +RDebugUtils.currentLine=37093382; + //BA.debugLineNum = 37093382;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=37093383; + //BA.debugLineNum = 37093383;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION("; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); - //BA.debugLineNum = 271;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=37093386; + //BA.debugLineNum = 37093386;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }else { - //BA.debugLineNum = 273;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX"; -_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 count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()}))); - //BA.debugLineNum = 274;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 275;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; -_existe = _c.GetString("EXISTE1"); - //BA.debugLineNum = 276;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 278;BA.debugLine="If existe = 0 Then"; -if ((_existe).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 280;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=37093388; + //BA.debugLineNum = 37093388;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()}))); +RDebugUtils.currentLine=37093389; + //BA.debugLineNum = 37093389;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=37093390; + //BA.debugLineNum = 37093390;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE1"); +RDebugUtils.currentLine=37093391; + //BA.debugLineNum = 37093391;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=37093393; + //BA.debugLineNum = 37093393;BA.debugLine="If existe = 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=37093395; + //BA.debugLineNum = 37093395;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 281;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=37093396; + //BA.debugLineNum = 37093396;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 282;BA.debugLine="cmd.Name = \"select_usuario_INTMEX_REPG\""; +RDebugUtils.currentLine=37093397; + //BA.debugLineNum = 37093397;BA.debugLine="cmd.Name = \"select_usuario_INTMEX_REPG\""; _cmd.Name /*String*/ = "select_usuario_INTMEX_REPG"; - //BA.debugLineNum = 283;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())}; - //BA.debugLineNum = 284;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario")); - //BA.debugLineNum = 286;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=37093398; + //BA.debugLineNum = 37093398;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=37093399; + //BA.debugLineNum = 37093399;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("usuario")); +RDebugUtils.currentLine=37093401; + //BA.debugLineNum = 37093401;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 287;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=37093402; + //BA.debugLineNum = 37093402;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 288;BA.debugLine="cmd.Name = \"select_version_INTMEX\""; +RDebugUtils.currentLine=37093403; + //BA.debugLineNum = 37093403;BA.debugLine="cmd.Name = \"select_version_INTMEX\""; _cmd.Name /*String*/ = "select_version_INTMEX"; - //BA.debugLineNum = 289;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("version")); +RDebugUtils.currentLine=37093404; + //BA.debugLineNum = 37093404;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("version")); }else { - //BA.debugLineNum = 292;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=37093407; + //BA.debugLineNum = 37093407;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }; }; - //BA.debugLineNum = 295;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37093410; + //BA.debugLineNum = 37093410;BA.debugLine="End Sub"; return ""; } -public String _enviarmonto() throws Exception{ +public String _enviarmonto(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "enviarmonto", false)) + {return ((String) Debug.delegate(ba, "enviarmonto", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _a2 = null; String[] _fecha = null; String[] _fecha2 = null; @@ -1414,179 +1959,263 @@ String[] _hora = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _ci = null; String _u = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null; - //BA.debugLineNum = 653;BA.debugLine="Sub enviarmonto"; - //BA.debugLineNum = 655;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=38010880; + //BA.debugLineNum = 38010880;BA.debugLine="Sub enviarmonto"; +RDebugUtils.currentLine=38010882; + //BA.debugLineNum = 38010882;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 656;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 657;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 659;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; +RDebugUtils.currentLine=38010883; + //BA.debugLineNum = 38010883;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=38010884; + //BA.debugLineNum = 38010884;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=38010886; + //BA.debugLineNum = 38010886;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 660;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 662;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec"; +RDebugUtils.currentLine=38010887; + //BA.debugLineNum = 38010887;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=38010889; + //BA.debugLineNum = 38010889;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec"; _a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 663;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 664;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); +RDebugUtils.currentLine=38010890; + //BA.debugLineNum = 38010890;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=38010891; + //BA.debugLineNum = 38010891;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); }; - //BA.debugLineNum = 667;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE"; +RDebugUtils.currentLine=38010894; + //BA.debugLineNum = 38010894;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE"; _a2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _a2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 668;BA.debugLine="If a2.RowCount>0 Then"; +RDebugUtils.currentLine=38010895; + //BA.debugLineNum = 38010895;BA.debugLine="If a2.RowCount>0 Then"; if (_a2.getRowCount()>0) { - //BA.debugLineNum = 669;BA.debugLine="a2.Position=0"; +RDebugUtils.currentLine=38010896; + //BA.debugLineNum = 38010896;BA.debugLine="a2.Position=0"; _a2.setPosition((int) (0)); - //BA.debugLineNum = 670;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS"; +RDebugUtils.currentLine=38010897; + //BA.debugLineNum = 38010897;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS"; _fecha = __c.Regex.Split(" ",_a2.GetString("HVD_FECHA")); - //BA.debugLineNum = 671;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; +RDebugUtils.currentLine=38010898; + //BA.debugLineNum = 38010898;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; _fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]); - //BA.debugLineNum = 672;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; +RDebugUtils.currentLine=38010899; + //BA.debugLineNum = 38010899;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; _fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; - //BA.debugLineNum = 673;BA.debugLine="Log(fecha3)"; -__c.LogImpl("82621460",_fecha3,0); - //BA.debugLineNum = 674;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +RDebugUtils.currentLine=38010900; + //BA.debugLineNum = 38010900;BA.debugLine="Log(fecha3)"; +__c.LogImpl("238010900",_fecha3,0); +RDebugUtils.currentLine=38010901; + //BA.debugLineNum = 38010901;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; _hora = __c.Regex.Split("\\.",_fecha[(int) (1)]); - //BA.debugLineNum = 675;BA.debugLine="Log(hora(0))"; -__c.LogImpl("82621462",_hora[(int) (0)],0); +RDebugUtils.currentLine=38010902; + //BA.debugLineNum = 38010902;BA.debugLine="Log(hora(0))"; +__c.LogImpl("238010902",_hora[(int) (0)],0); }; - //BA.debugLineNum = 680;BA.debugLine="Private cI As Cursor"; +RDebugUtils.currentLine=38010907; + //BA.debugLineNum = 38010907;BA.debugLine="Private cI As Cursor"; _ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 681;BA.debugLine="Private u As String = \"SinUsuario\""; +RDebugUtils.currentLine=38010908; + //BA.debugLineNum = 38010908;BA.debugLine="Private u As String = \"SinUsuario\""; _u = "SinUsuario"; - //BA.debugLineNum = 682;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us"; +RDebugUtils.currentLine=38010909; + //BA.debugLineNum = 38010909;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us"; _ci = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 683;BA.debugLine="cI.Position=0"; +RDebugUtils.currentLine=38010910; + //BA.debugLineNum = 38010910;BA.debugLine="cI.Position=0"; _ci.setPosition((int) (0)); - //BA.debugLineNum = 684;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; +RDebugUtils.currentLine=38010911; + //BA.debugLineNum = 38010911;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; if (_ci.getRowCount()>0) { _u = _ci.GetString("USUARIO");}; - //BA.debugLineNum = 685;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel"; +RDebugUtils.currentLine=38010912; + //BA.debugLineNum = 38010912;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel"; _g = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _g = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from ENV_MONTO_LIQ"))); - //BA.debugLineNum = 718;BA.debugLine="p_add_monto.Visible = False"; -_p_add_monto.setVisible(__c.False); - //BA.debugLineNum = 720;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38010945; + //BA.debugLineNum = 38010945;BA.debugLine="p_add_monto.Visible = False"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=38010947; + //BA.debugLineNum = 38010947;BA.debugLine="End Sub"; return ""; } -public String _et_buspc_textchanged(String _old,String _new) throws Exception{ +public String _et_buspc_textchanged(reparto_intmex.keymon.lat.b4xmainpage __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "et_buspc_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_buspc_textchanged", new Object[] {_old,_new}));} int _i = 0; - //BA.debugLineNum = 735;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; - //BA.debugLineNum = 736;BA.debugLine="If New = \"\" Then"; +RDebugUtils.currentLine=38207488; + //BA.debugLineNum = 38207488;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; +RDebugUtils.currentLine=38207489; + //BA.debugLineNum = 38207489;BA.debugLine="If New = \"\" Then"; if ((_new).equals("")) { - //BA.debugLineNum = 737;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - }else if(_new.length()>=3) { - //BA.debugLineNum = 739;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - //BA.debugLineNum = 741;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; -_q_buscar = "%"+_et_buspc.getText()+"%"; - //BA.debugLineNum = 742;BA.debugLine="Log(q_buscar)"; -__c.LogImpl("82818055",_q_buscar,0); - //BA.debugLineNum = 743;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 = 744;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 747;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=38207490; + //BA.debugLineNum = 38207490;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); + }else +{RDebugUtils.currentLine=38207491; + //BA.debugLineNum = 38207491;BA.debugLine="Else If New.Length >= 3 Then"; +if (_new.length()>=3) { +RDebugUtils.currentLine=38207492; + //BA.debugLineNum = 38207492;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=38207494; + //BA.debugLineNum = 38207494;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=38207495; + //BA.debugLineNum = 38207495;BA.debugLine="Log(q_buscar)"; +__c.LogImpl("238207495",__ref._q_buscar /*String*/ ,0); +RDebugUtils.currentLine=38207496; + //BA.debugLineNum = 38207496;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=38207497; + //BA.debugLineNum = 38207497;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=38207500; + //BA.debugLineNum = 38207500;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step9 = 1; -final int limit9 = (int) (_c.getRowCount()-1); +final int limit9 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 748;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 749;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("CAT_GP_ID"),_c.GetString("CAT_GP_NOMBRE"),_c.GetString("PC_CANT")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=38207501; + //BA.debugLineNum = 38207501;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=38207502; + //BA.debugLineNum = 38207502;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CANT")).getObject())),(Object)(_i)); } }; - //BA.debugLineNum = 752;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 754;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"),new String[]{_q_buscar,_q_buscar}))); - //BA.debugLineNum = 756;BA.debugLine="For i = 0 To d.RowCount - 1"; +RDebugUtils.currentLine=38207505; + //BA.debugLineNum = 38207505;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=38207507; + //BA.debugLineNum = 38207507;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=38207509; + //BA.debugLineNum = 38207509;BA.debugLine="For i = 0 To d.RowCount - 1"; { final int step15 = 1; -final int limit15 = (int) (_d.getRowCount()-1); +final int limit15 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 757;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 758;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_d.GetString("CAT_GP_ID"),_d.GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=38207510; + //BA.debugLineNum = 38207510;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=38207511; + //BA.debugLineNum = 38207511;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); } }; - //BA.debugLineNum = 761;BA.debugLine="d.Close"; -_d.Close(); - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 764;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{_q_buscar,_q_buscar}))); - //BA.debugLineNum = 766;BA.debugLine="For i = 0 To d.RowCount - 1"; +RDebugUtils.currentLine=38207514; + //BA.debugLineNum = 38207514;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=38207516; + //BA.debugLineNum = 38207516;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=38207517; + //BA.debugLineNum = 38207517;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=38207519; + //BA.debugLineNum = 38207519;BA.debugLine="For i = 0 To d.RowCount - 1"; { final int step22 = 1; -final int limit22 = (int) (_d.getRowCount()-1); +final int limit22 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit22 ;_i = _i + step22 ) { - //BA.debugLineNum = 767;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 768;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_d.GetString("CAT_GP_ID"),_d.GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=38207520; + //BA.debugLineNum = 38207520;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=38207521; + //BA.debugLineNum = 38207521;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); } }; - //BA.debugLineNum = 771;BA.debugLine="d.Close"; -_d.Close(); - }; - }; - //BA.debugLineNum = 774;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38207524; + //BA.debugLineNum = 38207524;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; + }} +; +RDebugUtils.currentLine=38207527; + //BA.debugLineNum = 38207527;BA.debugLine="End Sub"; return ""; } -public String _i_engrane_click() throws Exception{ - //BA.debugLineNum = 527;BA.debugLine="Private Sub i_engrane_Click"; - //BA.debugLineNum = 528;BA.debugLine="p_appUpdate.Width = Root.Width"; -_p_appupdate.setWidth(_root.getWidth()); - //BA.debugLineNum = 529;BA.debugLine="p_appUpdate.Height = Root.Height"; -_p_appupdate.setHeight(_root.getHeight()); - //BA.debugLineNum = 530;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_serverlist,_root.getWidth()); - //BA.debugLineNum = 531;BA.debugLine="Subs.centraBoton(b_server, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_server,_root.getWidth()); - //BA.debugLineNum = 532;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_apk,_root.getWidth()); - //BA.debugLineNum = 533;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_enviobd,_root.getWidth()); - //BA.debugLineNum = 534;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_regesar,_root.getWidth()); - //BA.debugLineNum = 535;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)"; -_subs._centraboton /*String*/ (ba,_b_server,_p_serverlist.getWidth()); - //BA.debugLineNum = 536;BA.debugLine="lv_server.Clear"; -_lv_server.Clear(); - //BA.debugLineNum = 537;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.lat:1782\")"; -_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.lat:1782")); - //BA.debugLineNum = 538;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; -if ((_user.getText()).equals("KMTS1")) { -_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1782"));}; - //BA.debugLineNum = 540;BA.debugLine="et_server.Text = server"; -_et_server.setText(BA.ObjectToCharSequence(_server)); - //BA.debugLineNum = 541;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_appupdate,(int) (0),(int) (0)); - //BA.debugLineNum = 542;BA.debugLine="End Sub"; +public String _i_engrane_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "i_engrane_click", false)) + {return ((String) Debug.delegate(ba, "i_engrane_click", null));} +RDebugUtils.currentLine=37224448; + //BA.debugLineNum = 37224448;BA.debugLine="Private Sub i_engrane_Click"; +RDebugUtils.currentLine=37224449; + //BA.debugLineNum = 37224449;BA.debugLine="p_appUpdate.Width = Root.Width"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=37224450; + //BA.debugLineNum = 37224450;BA.debugLine="p_appUpdate.Height = Root.Height"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=37224451; + //BA.debugLineNum = 37224451;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_serverlist /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=37224452; + //BA.debugLineNum = 37224452;BA.debugLine="Subs.centraBoton(b_server, Root.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_server /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=37224453; + //BA.debugLineNum = 37224453;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_apk /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=37224454; + //BA.debugLineNum = 37224454;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_enviobd /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=37224455; + //BA.debugLineNum = 37224455;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_regesar /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=37224456; + //BA.debugLineNum = 37224456;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_server /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._p_serverlist /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=37224457; + //BA.debugLineNum = 37224457;BA.debugLine="lv_server.Clear"; +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=37224458; + //BA.debugLineNum = 37224458;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.lat:1782\")"; +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("http://keymon.lat:1782")); +RDebugUtils.currentLine=37224459; + //BA.debugLineNum = 37224459;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1782"));}; +RDebugUtils.currentLine=37224461; + //BA.debugLineNum = 37224461;BA.debugLine="et_server.Text = server"; +__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._server /*String*/ )); +RDebugUtils.currentLine=37224462; + //BA.debugLineNum = 37224462;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=37224463; + //BA.debugLineNum = 37224463;BA.debugLine="End Sub"; return ""; } -public String _imageview1_longclick() throws Exception{ - //BA.debugLineNum = 1004;BA.debugLine="Private Sub ImageView1_LongClick"; - //BA.debugLineNum = 1006;BA.debugLine="End Sub"; +public String _imageview1_longclick(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "imageview1_longclick", false)) + {return ((String) Debug.delegate(ba, "imageview1_longclick", null));} +RDebugUtils.currentLine=38862848; + //BA.debugLineNum = 38862848;BA.debugLine="Private Sub ImageView1_LongClick"; +RDebugUtils.currentLine=38862850; + //BA.debugLineNum = 38862850;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 104;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return ""; -} -public String _jobdone(reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +public String _jobdone(reparto_intmex.keymon.lat.b4xmainpage __ref,reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} reparto_intmex.keymon.lat.dbrequestmanager._dbresult _result = null; Object[] _records = null; String _cat_ve_version = ""; @@ -1599,19 +2228,26 @@ String _cat_pa_pass = ""; String _hvd_estatus = ""; String _cuenta = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; - //BA.debugLineNum = 297;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 298;BA.debugLine="If Job.Success = False Then"; +RDebugUtils.currentLine=37158912; + //BA.debugLineNum = 37158912;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=37158913; + //BA.debugLineNum = 37158913;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 299;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T"; +RDebugUtils.currentLine=37158914; + //BA.debugLineNum = 37158914;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T"; __c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),__c.True); }else { - //BA.debugLineNum = 301;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=37158916; + //BA.debugLineNum = 37158916;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 302;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 303;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +RDebugUtils.currentLine=37158917; + //BA.debugLineNum = 37158917;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=37158918; + //BA.debugLineNum = 37158918;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 304;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=37158919; + //BA.debugLineNum = 37158919;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group7 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen7 = group7.getSize() @@ -1619,23 +2255,30 @@ final int groupLen7 = group7.getSize() ; for (; index7 < groupLen7;index7++){ _records = (Object[])(group7.Get(index7)); - //BA.debugLineNum = 305;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; +RDebugUtils.currentLine=37158920; + //BA.debugLineNum = 37158920;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 306;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; +RDebugUtils.currentLine=37158921; + //BA.debugLineNum = 37158921;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; _cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]); - //BA.debugLineNum = 307;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; +RDebugUtils.currentLine=37158922; + //BA.debugLineNum = 37158922;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); } }; }; }; - //BA.debugLineNum = 312;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=37158927; + //BA.debugLineNum = 37158927;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 313;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 314;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; +RDebugUtils.currentLine=37158928; + //BA.debugLineNum = 37158928;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=37158929; + //BA.debugLineNum = 37158929;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) { - //BA.debugLineNum = 315;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=37158930; + //BA.debugLineNum = 37158930;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group17 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen17 = group17.getSize() @@ -1643,19 +2286,24 @@ final int groupLen17 = group17.getSize() ; for (; index17 < groupLen17;index17++){ _records = (Object[])(group17.Get(index17)); - //BA.debugLineNum = 317;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +RDebugUtils.currentLine=37158932; + //BA.debugLineNum = 37158932;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; _id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("ID_ALMACEN"))))]); } }; }; }; - //BA.debugLineNum = 322;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=37158937; + //BA.debugLineNum = 37158937;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 323;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 324;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; +RDebugUtils.currentLine=37158938; + //BA.debugLineNum = 37158938;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=37158939; + //BA.debugLineNum = 37158939;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { - //BA.debugLineNum = 325;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=37158940; + //BA.debugLineNum = 37158940;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group25 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen25 = group25.getSize() @@ -1663,41 +2311,56 @@ final int groupLen25 = group25.getSize() ; for (; index25 < groupLen25;index25++){ _records = (Object[])(group25.Get(index25)); - //BA.debugLineNum = 326;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; -__c.LogImpl("81769501","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 = 327;BA.debugLine="Private lat, lon As Double"; +RDebugUtils.currentLine=37158941; + //BA.debugLineNum = 37158941;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +__c.LogImpl("237158941","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); +RDebugUtils.currentLine=37158942; + //BA.debugLineNum = 37158942;BA.debugLine="Private lat, lon As Double"; _lat = 0; _lon = 0; - //BA.debugLineNum = 328;BA.debugLine="lat = 0.0"; +RDebugUtils.currentLine=37158943; + //BA.debugLineNum = 37158943;BA.debugLine="lat = 0.0"; _lat = 0.0; - //BA.debugLineNum = 329;BA.debugLine="lon = 0.0"; +RDebugUtils.currentLine=37158944; + //BA.debugLineNum = 37158944;BA.debugLine="lon = 0.0"; _lon = 0.0; - //BA.debugLineNum = 330;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; +RDebugUtils.currentLine=37158945; + //BA.debugLineNum = 37158945;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; if (__c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])) && __c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]))) { - //BA.debugLineNum = 331;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; +RDebugUtils.currentLine=37158946; + //BA.debugLineNum = 37158946;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; _lat = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])); - //BA.debugLineNum = 332;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; +RDebugUtils.currentLine=37158947; + //BA.debugLineNum = 37158947;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; _lon = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))])); }; - //BA.debugLineNum = 334;BA.debugLine="Starter.cedisLocation.Latitude = lat"; +RDebugUtils.currentLine=37158949; + //BA.debugLineNum = 37158949;BA.debugLine="Starter.cedisLocation.Latitude = lat"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); - //BA.debugLineNum = 335;BA.debugLine="Starter.cedisLocation.Longitude = lon"; +RDebugUtils.currentLine=37158950; + //BA.debugLineNum = 37158950;BA.debugLine="Starter.cedisLocation.Longitude = lon"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); - //BA.debugLineNum = 336;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; +RDebugUtils.currentLine=37158951; + //BA.debugLineNum = 37158951;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN")})); - //BA.debugLineNum = 337;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +RDebugUtils.currentLine=37158952; + //BA.debugLineNum = 37158952;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN"),(Object)(BA.NumberToString(_lon)+","+BA.NumberToString(_lat))})); } }; }; }; - //BA.debugLineNum = 343;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=37158958; + //BA.debugLineNum = 37158958;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 344;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 345;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; +RDebugUtils.currentLine=37158959; + //BA.debugLineNum = 37158959;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=37158960; + //BA.debugLineNum = 37158960;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { - //BA.debugLineNum = 346;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=37158961; + //BA.debugLineNum = 37158961;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group44 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen44 = group44.getSize() @@ -1705,25 +2368,33 @@ final int groupLen44 = group44.getSize() ; for (; index44 < groupLen44;index44++){ _records = (Object[])(group44.Get(index44)); - //BA.debugLineNum = 347;BA.debugLine="Dim name As String = records(result.Columns.G"; +RDebugUtils.currentLine=37158962; + //BA.debugLineNum = 37158962;BA.debugLine="Dim name As String = records(result.Columns.G"; _name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]); - //BA.debugLineNum = 348;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +RDebugUtils.currentLine=37158963; + //BA.debugLineNum = 37158963;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; _id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]); - //BA.debugLineNum = 349;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; +RDebugUtils.currentLine=37158964; + //BA.debugLineNum = 37158964;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; _imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]); } }; - //BA.debugLineNum = 351;BA.debugLine="paso1 = 1"; -_paso1 = BA.NumberToString(1); +RDebugUtils.currentLine=37158966; + //BA.debugLineNum = 37158966;BA.debugLine="paso1 = 1"; +__ref._paso1 /*String*/ = BA.NumberToString(1); }; }; - //BA.debugLineNum = 355;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=37158970; + //BA.debugLineNum = 37158970;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 356;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 357;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; +RDebugUtils.currentLine=37158971; + //BA.debugLineNum = 37158971;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=37158972; + //BA.debugLineNum = 37158972;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("contrasena"))) { - //BA.debugLineNum = 358;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=37158973; + //BA.debugLineNum = 37158973;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group55 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen55 = group55.getSize() @@ -1731,33 +2402,44 @@ final int groupLen55 = group55.getSize() ; for (; index55 < groupLen55;index55++){ _records = (Object[])(group55.Get(index55)); - //BA.debugLineNum = 359;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co"; +RDebugUtils.currentLine=37158974; + //BA.debugLineNum = 37158974;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co"; _cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_PASS"))))]); - //BA.debugLineNum = 360;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; -if ((_cat_pa_pass).equals(_et_codigo.getText())) { - //BA.debugLineNum = 361;BA.debugLine="Log(CAT_PA_PASS)"; -__c.LogImpl("81769536",_cat_pa_pass,0); - //BA.debugLineNum = 362;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 363;BA.debugLine="et_codigo.Text = \"\""; -_et_codigo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 365;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_ciego,(int) (0),(int) (0)); +RDebugUtils.currentLine=37158975; + //BA.debugLineNum = 37158975;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; +if ((_cat_pa_pass).equals(__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())) { +RDebugUtils.currentLine=37158976; + //BA.debugLineNum = 37158976;BA.debugLine="Log(CAT_PA_PASS)"; +__c.LogImpl("237158976",_cat_pa_pass,0); +RDebugUtils.currentLine=37158977; + //BA.debugLineNum = 37158977;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=37158978; + //BA.debugLineNum = 37158978;BA.debugLine="et_codigo.Text = \"\""; +__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=37158980; + //BA.debugLineNum = 37158980;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); }else { - //BA.debugLineNum = 368;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; +RDebugUtils.currentLine=37158983; + //BA.debugLineNum = 37158983;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; __c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña incorrecta"),BA.ObjectToCharSequence("Atención"),ba); }; } }; }; }; - //BA.debugLineNum = 417;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=37159032; + //BA.debugLineNum = 37159032;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 418;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 419;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; +RDebugUtils.currentLine=37159033; + //BA.debugLineNum = 37159033;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=37159034; + //BA.debugLineNum = 37159034;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { - //BA.debugLineNum = 420;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=37159035; + //BA.debugLineNum = 37159035;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group71 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen71 = group71.getSize() @@ -1765,27 +2447,35 @@ final int groupLen71 = group71.getSize() ; for (; index71 < groupLen71;index71++){ _records = (Object[])(group71.Get(index71)); - //BA.debugLineNum = 421;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +RDebugUtils.currentLine=37159036; + //BA.debugLineNum = 37159036;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; _hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); - //BA.debugLineNum = 422;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +RDebugUtils.currentLine=37159037; + //BA.debugLineNum = 37159037;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 424;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +RDebugUtils.currentLine=37159039; + //BA.debugLineNum = 37159039;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; __c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 426;BA.debugLine="enviarmonto"; -_enviarmonto(); +RDebugUtils.currentLine=37159041; + //BA.debugLineNum = 37159041;BA.debugLine="enviarmonto"; +__ref._enviarmonto /*String*/ (null); }; } }; }; }; - //BA.debugLineNum = 432;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=37159047; + //BA.debugLineNum = 37159047;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 433;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 434;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag"; +RDebugUtils.currentLine=37159048; + //BA.debugLineNum = 37159048;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=37159049; + //BA.debugLineNum = 37159049;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("estatus2"))) { - //BA.debugLineNum = 435;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=37159050; + //BA.debugLineNum = 37159050;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group84 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen84 = group84.getSize() @@ -1793,27 +2483,35 @@ final int groupLen84 = group84.getSize() ; for (; index84 < groupLen84;index84++){ _records = (Object[])(group84.Get(index84)); - //BA.debugLineNum = 436;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +RDebugUtils.currentLine=37159051; + //BA.debugLineNum = 37159051;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; _hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); - //BA.debugLineNum = 437;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +RDebugUtils.currentLine=37159052; + //BA.debugLineNum = 37159052;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 439;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +RDebugUtils.currentLine=37159054; + //BA.debugLineNum = 37159054;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; __c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 441;BA.debugLine="passaquci"; -_passaquci(); +RDebugUtils.currentLine=37159056; + //BA.debugLineNum = 37159056;BA.debugLine="passaquci"; +__ref._passaquci /*String*/ (null); }; } }; }; }; - //BA.debugLineNum = 447;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=37159062; + //BA.debugLineNum = 37159062;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 448;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 449;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; +RDebugUtils.currentLine=37159063; + //BA.debugLineNum = 37159063;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=37159064; + //BA.debugLineNum = 37159064;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; if ((_result.Tag /*Object*/ ).equals((Object)("SelectMontoLiq"))) { - //BA.debugLineNum = 450;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=37159065; + //BA.debugLineNum = 37159065;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group97 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen97 = group97.getSize() @@ -1821,162 +2519,210 @@ final int groupLen97 = group97.getSize() ; for (; index97 < groupLen97;index97++){ _records = (Object[])(group97.Get(index97)); - //BA.debugLineNum = 451;BA.debugLine="Dim CUENTA As String = records(result.Columns"; +RDebugUtils.currentLine=37159066; + //BA.debugLineNum = 37159066;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 = 453;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=37159068; + //BA.debugLineNum = 37159068;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 454;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 455;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 456;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s"; +RDebugUtils.currentLine=37159069; + //BA.debugLineNum = 37159069;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=37159070; + //BA.debugLineNum = 37159070;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=37159071; + //BA.debugLineNum = 37159071;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 457;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 458;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\""; +RDebugUtils.currentLine=37159072; + //BA.debugLineNum = 37159072;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=37159073; + //BA.debugLineNum = 37159073;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\""; _a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 459;BA.debugLine="a.Position = 0"; -_a.setPosition((int) (0)); - //BA.debugLineNum = 461;BA.debugLine="Private c2 As Cursor"; +RDebugUtils.currentLine=37159074; + //BA.debugLineNum = 37159074;BA.debugLine="a.Position = 0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=37159076; + //BA.debugLineNum = 37159076;BA.debugLine="Private c2 As Cursor"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 462;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro"; +RDebugUtils.currentLine=37159077; + //BA.debugLineNum = 37159077;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro"; _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 463;BA.debugLine="c2.Position=0"; +RDebugUtils.currentLine=37159078; + //BA.debugLineNum = 37159078;BA.debugLine="c2.Position=0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 464;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; +RDebugUtils.currentLine=37159079; + //BA.debugLineNum = 37159079;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; if (_c2.getRowCount()>0) { _c2.GetString("USUARIO");}; - //BA.debugLineNum = 466;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; -__c.LogImpl("81769641",_cuenta+"----------------------!!",0); - //BA.debugLineNum = 467;BA.debugLine="If CUENTA = \"0\" Then"; +RDebugUtils.currentLine=37159081; + //BA.debugLineNum = 37159081;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; +__c.LogImpl("237159081",_cuenta+"----------------------!!",0); +RDebugUtils.currentLine=37159082; + //BA.debugLineNum = 37159082;BA.debugLine="If CUENTA = \"0\" Then"; if ((_cuenta).equals("0")) { - }else if((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { - }; - //BA.debugLineNum = 500;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 501;BA.debugLine="a.Close"; -_a.Close(); + }else +{RDebugUtils.currentLine=37159097; + //BA.debugLineNum = 37159097;BA.debugLine="Else if CUENTA > \"0\" Then"; +if ((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { + }} +; +RDebugUtils.currentLine=37159115; + //BA.debugLineNum = 37159115;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=37159116; + //BA.debugLineNum = 37159116;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); } }; }; }; - //BA.debugLineNum = 506;BA.debugLine="Job.Release"; -_job._release /*String*/ (); +RDebugUtils.currentLine=37159121; + //BA.debugLineNum = 37159121;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); }; - //BA.debugLineNum = 509;BA.debugLine="If paso1 = 1 Then"; -if ((_paso1).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 510;BA.debugLine="If name = \"OKActivo\" Then"; +RDebugUtils.currentLine=37159124; + //BA.debugLineNum = 37159124;BA.debugLine="If paso1 = 1 Then"; +if ((__ref._paso1 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=37159125; + //BA.debugLineNum = 37159125;BA.debugLine="If name = \"OKActivo\" Then"; if ((_name).equals("OKActivo")) { - //BA.debugLineNum = 511;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa"; +RDebugUtils.currentLine=37159126; + //BA.debugLineNum = 37159126;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 512;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())})); - //BA.debugLineNum = 513;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma"; +RDebugUtils.currentLine=37159127; + //BA.debugLineNum = 37159127;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=37159128; + //BA.debugLineNum = 37159128;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 514;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM"; +RDebugUtils.currentLine=37159129; + //BA.debugLineNum = 37159129;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); - //BA.debugLineNum = 515;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=37159130; + //BA.debugLineNum = 37159130;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - }else if((_name).equals("OKExpirado"+_imei)) { - //BA.debugLineNum = 517;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado"; + }else +{RDebugUtils.currentLine=37159131; + //BA.debugLineNum = 37159131;BA.debugLine="Else If name = \"OKExpirado\"& IMEI Then"; +if ((_name).equals("OKExpirado"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=37159132; + //BA.debugLineNum = 37159132;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado"; __c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else if((_name).equals("OKCancelado"+_imei)) { - //BA.debugLineNum = 519;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad"; + }else +{RDebugUtils.currentLine=37159133; + //BA.debugLineNum = 37159133;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then"; +if ((_name).equals("OKCancelado"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=37159134; + //BA.debugLineNum = 37159134;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad"; __c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); }else { - //BA.debugLineNum = 521;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign"; +RDebugUtils.currentLine=37159136; + //BA.debugLineNum = 37159136;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign"; __c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); + }}} +; +RDebugUtils.currentLine=37159138; + //BA.debugLineNum = 37159138;BA.debugLine="paso1 = 0"; +__ref._paso1 /*String*/ = BA.NumberToString(0); }; - //BA.debugLineNum = 523;BA.debugLine="paso1 = 0"; -_paso1 = BA.NumberToString(0); - }; - //BA.debugLineNum = 525;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37159140; + //BA.debugLineNum = 37159140;BA.debugLine="End Sub"; return ""; } -public String _lv_server_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 597;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; - //BA.debugLineNum = 598;BA.debugLine="server = Value"; -_server = BA.ObjectToString(_value); - //BA.debugLineNum = 600;BA.debugLine="et_server.Text = Value"; -_et_server.setText(BA.ObjectToCharSequence(_value)); - //BA.debugLineNum = 601;BA.debugLine="reqManager.Initialize(Me, Value)"; -_reqmanager._initialize /*String*/ (ba,this,BA.ObjectToString(_value)); - //BA.debugLineNum = 602;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)"; -__c.LogImpl("82228229",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red); - //BA.debugLineNum = 603;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; +public String _passaquci(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "passaquci", false)) + {return ((String) Debug.delegate(ba, "passaquci", null));} +RDebugUtils.currentLine=38535168; + //BA.debugLineNum = 38535168;BA.debugLine="Sub passaquci"; +RDebugUtils.currentLine=38535169; + //BA.debugLineNum = 38535169;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA from"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=38535170; + //BA.debugLineNum = 38535170;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=38535172; + //BA.debugLineNum = 38535172;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=38535173; + //BA.debugLineNum = 38535173;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=38535174; + //BA.debugLineNum = 38535174;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=38535176; + //BA.debugLineNum = 38535176;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +__c.LogImpl("238535176",__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),0); +RDebugUtils.currentLine=38535177; + //BA.debugLineNum = 38535177;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; +__c.LogImpl("238535177",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"),0); +RDebugUtils.currentLine=38535192; + //BA.debugLineNum = 38535192;BA.debugLine="End Sub"; +return ""; +} +public String _lv_server_itemclick(reparto_intmex.keymon.lat.b4xmainpage __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "lv_server_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_server_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=37617664; + //BA.debugLineNum = 37617664;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; +RDebugUtils.currentLine=37617665; + //BA.debugLineNum = 37617665;BA.debugLine="server = Value"; +__ref._server /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=37617667; + //BA.debugLineNum = 37617667;BA.debugLine="et_server.Text = Value"; +__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_value)); +RDebugUtils.currentLine=37617668; + //BA.debugLineNum = 37617668;BA.debugLine="reqManager.Initialize(Me, Value)"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,BA.ObjectToString(_value)); +RDebugUtils.currentLine=37617669; + //BA.debugLineNum = 37617669;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)"; +__c.LogImpl("237617669",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red); +RDebugUtils.currentLine=37617670; + //BA.debugLineNum = 37617670;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False); - //BA.debugLineNum = 604;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37617671; + //BA.debugLineNum = 37617671;BA.debugLine="End Sub"; return ""; } -public String _muestraprogreso(String _mensaje) throws Exception{ - //BA.debugLineNum = 613;BA.debugLine="Sub muestraProgreso(mensaje As String)"; - //BA.debugLineNum = 614;BA.debugLine="ProgressDialogShow(mensaje)"; -__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); - //BA.debugLineNum = 615;BA.debugLine="End Sub"; +public String _p_add_monto_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "p_add_monto_click", false)) + {return ((String) Debug.delegate(ba, "p_add_monto_click", null));} +RDebugUtils.currentLine=37945344; + //BA.debugLineNum = 37945344;BA.debugLine="Private Sub p_add_monto_Click"; +RDebugUtils.currentLine=37945346; + //BA.debugLineNum = 37945346;BA.debugLine="End Sub"; return ""; } -public String _ocultaprogreso() throws Exception{ - //BA.debugLineNum = 618;BA.debugLine="Sub ocultaProgreso"; - //BA.debugLineNum = 619;BA.debugLine="ProgressDialogHide"; -__c.ProgressDialogHide(); - //BA.debugLineNum = 620;BA.debugLine="End Sub"; +public String _p_ciego_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "p_ciego_click", false)) + {return ((String) Debug.delegate(ba, "p_ciego_click", null));} +RDebugUtils.currentLine=38404096; + //BA.debugLineNum = 38404096;BA.debugLine="Private Sub P_CIEGO_Click"; +RDebugUtils.currentLine=38404098; + //BA.debugLineNum = 38404098;BA.debugLine="End Sub"; return ""; } -public String _p_add_monto_click() throws Exception{ - //BA.debugLineNum = 635;BA.debugLine="Private Sub p_add_monto_Click"; - //BA.debugLineNum = 637;BA.debugLine="End Sub"; +public String _p_validacion_click(reparto_intmex.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "p_validacion_click", false)) + {return ((String) Debug.delegate(ba, "p_validacion_click", null));} +RDebugUtils.currentLine=38666240; + //BA.debugLineNum = 38666240;BA.debugLine="Private Sub p_validacion_Click"; +RDebugUtils.currentLine=38666242; + //BA.debugLineNum = 38666242;BA.debugLine="End Sub"; return ""; } -public String _p_ciego_click() throws Exception{ - //BA.debugLineNum = 917;BA.debugLine="Private Sub P_CIEGO_Click"; - //BA.debugLineNum = 919;BA.debugLine="End Sub"; -return ""; -} -public String _p_validacion_click() throws Exception{ - //BA.debugLineNum = 969;BA.debugLine="Private Sub p_validacion_Click"; - //BA.debugLineNum = 971;BA.debugLine="End Sub"; -return ""; -} -public String _passaquci() throws Exception{ - //BA.debugLineNum = 939;BA.debugLine="Sub passaquci"; - //BA.debugLineNum = 940;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA from"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 941;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 943;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 = 944;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 945;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); - }; - //BA.debugLineNum = 947;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -__c.LogImpl("83145736",_a.GetString("ID_ALMACEN"),0); - //BA.debugLineNum = 948;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; -__c.LogImpl("83145737",_f.GetString("CAT_CL_RUTA"),0); - //BA.debugLineNum = 963;BA.debugLine="End Sub"; -return ""; -} -public String _reinicializareqmanager() throws Exception{ - //BA.debugLineNum = 606;BA.debugLine="Sub reinicializaReqManager"; - //BA.debugLineNum = 607;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 608;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)"; -if (_logger) { -__c.LogImpl("82293762",_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; - //BA.debugLineNum = 609;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("82293763",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 610;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((reparto_intmex.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xorderedmap.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xorderedmap.java index a8e22c7..1d6eab3 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xorderedmap.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xorderedmap.java @@ -10,7 +10,7 @@ public class b4xorderedmap extends B4AClass.ImplB4AClass implements BA.SubDelega private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xorderedmap"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xorderedmap"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,16 +23,23 @@ public class b4xorderedmap extends B4AClass.ImplB4AClass implements BA.SubDelega ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.collections.Map _map = null; public anywheresoftware.b4a.objects.collections.List _list = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -40,139 +47,237 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private map As Map"; -_map = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 3;BA.debugLine="Private list As List"; -_list = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _getkeys(reparto_intmex.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getkeys", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getkeys", null));} +RDebugUtils.currentLine=7667712; + //BA.debugLineNum = 7667712;BA.debugLine="Public Sub getKeys As List"; +RDebugUtils.currentLine=7667713; + //BA.debugLineNum = 7667713;BA.debugLine="Return list"; +if (true) return __ref._list /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=7667714; + //BA.debugLineNum = 7667714;BA.debugLine="End Sub"; +return null; +} +public Object _get(reparto_intmex.keymon.lat.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Object) Debug.delegate(ba, "get", new Object[] {_key}));} +RDebugUtils.currentLine=7733248; + //BA.debugLineNum = 7733248;BA.debugLine="Public Sub Get (Key As Object) As Object"; +RDebugUtils.currentLine=7733249; + //BA.debugLineNum = 7733249;BA.debugLine="Return map.Get(Key)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_key); +RDebugUtils.currentLine=7733250; + //BA.debugLineNum = 7733250;BA.debugLine="End Sub"; +return null; +} +public String _put(reparto_intmex.keymon.lat.b4xorderedmap __ref,Object _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "put", true)) + {return ((String) Debug.delegate(ba, "put", new Object[] {_key,_value}));} +RDebugUtils.currentLine=7471104; + //BA.debugLineNum = 7471104;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; +RDebugUtils.currentLine=7471105; + //BA.debugLineNum = 7471105;BA.debugLine="If map.ContainsKey(Key) = False Then"; +if (__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key)==__c.False) { +RDebugUtils.currentLine=7471106; + //BA.debugLineNum = 7471106;BA.debugLine="list.Add(Key)"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Add(_key); + }; +RDebugUtils.currentLine=7471108; + //BA.debugLineNum = 7471108;BA.debugLine="map.Put(Key, Value)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_key,_value); +RDebugUtils.currentLine=7471109; + //BA.debugLineNum = 7471109;BA.debugLine="End Sub"; return ""; } -public String _clear() throws Exception{ - //BA.debugLineNum = 26;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 27;BA.debugLine="list.Clear"; -_list.Clear(); - //BA.debugLineNum = 28;BA.debugLine="map.Clear"; -_map.Clear(); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +public String _initialize(reparto_intmex.keymon.lat.b4xorderedmap __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=7405568; + //BA.debugLineNum = 7405568;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=7405569; + //BA.debugLineNum = 7405569;BA.debugLine="map.Initialize"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=7405570; + //BA.debugLineNum = 7405570;BA.debugLine="list.Initialize"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=7405571; + //BA.debugLineNum = 7405571;BA.debugLine="End Sub"; return ""; } -public boolean _containskey(Object _key) throws Exception{ - //BA.debugLineNum = 46;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; - //BA.debugLineNum = 47;BA.debugLine="Return map.ContainsKey(Key)"; -if (true) return _map.ContainsKey(_key); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +public String _clear(reparto_intmex.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=7602176; + //BA.debugLineNum = 7602176;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=7602177; + //BA.debugLineNum = 7602177;BA.debugLine="list.Clear"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=7602178; + //BA.debugLineNum = 7602178;BA.debugLine="map.Clear"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=7602179; + //BA.debugLineNum = 7602179;BA.debugLine="End Sub"; +return ""; +} +public boolean _containskey(reparto_intmex.keymon.lat.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "containskey", true)) + {return ((Boolean) Debug.delegate(ba, "containskey", new Object[] {_key}));} +RDebugUtils.currentLine=7864320; + //BA.debugLineNum = 7864320;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; +RDebugUtils.currentLine=7864321; + //BA.debugLineNum = 7864321;BA.debugLine="Return map.ContainsKey(Key)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key); +RDebugUtils.currentLine=7864322; + //BA.debugLineNum = 7864322;BA.debugLine="End Sub"; return false; } -public Object _get(Object _key) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub Get (Key As Object) As Object"; - //BA.debugLineNum = 38;BA.debugLine="Return map.Get(Key)"; -if (true) return _map.Get(_key); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return null; -} -public Object _getdataforserializator() throws Exception{ - //BA.debugLineNum = 65;BA.debugLine="Public Sub GetDataForSerializator As Object"; - //BA.debugLineNum = 66;BA.debugLine="Return Array(map, list)"; -if (true) return (Object)(new Object[]{(Object)(_map.getObject()),(Object)(_list.getObject())}); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; -return null; -} -public Object _getdefault(Object _key,Object _defaultvalue) throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; - //BA.debugLineNum = 43;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; -if (true) return _map.GetDefault(_key,_defaultvalue); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getkeys() throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub getKeys As List"; - //BA.debugLineNum = 33;BA.debugLine="Return list"; -if (true) return _list; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return null; -} -public int _getsize() throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 51;BA.debugLine="Return map.Size"; -if (true) return _map.getSize(); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; +public int _getsize(reparto_intmex.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=7929856; + //BA.debugLineNum = 7929856;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=7929857; + //BA.debugLineNum = 7929857;BA.debugLine="Return map.Size"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .getSize(); +RDebugUtils.currentLine=7929858; + //BA.debugLineNum = 7929858;BA.debugLine="End Sub"; return 0; } -public anywheresoftware.b4a.objects.collections.List _getvalues() throws Exception{ +public String _remove(reparto_intmex.keymon.lat.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_key}));} +RDebugUtils.currentLine=7536640; + //BA.debugLineNum = 7536640;BA.debugLine="Public Sub Remove (Key As Object)"; +RDebugUtils.currentLine=7536641; + //BA.debugLineNum = 7536641;BA.debugLine="If map.ContainsKey(Key) = False Then Return"; +if (__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key)==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=7536642; + //BA.debugLineNum = 7536642;BA.debugLine="list.RemoveAt(list.IndexOf(Key))"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_key)); +RDebugUtils.currentLine=7536643; + //BA.debugLineNum = 7536643;BA.debugLine="map.Remove(Key)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Remove(_key); +RDebugUtils.currentLine=7536644; + //BA.debugLineNum = 7536644;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _getvalues(reparto_intmex.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getvalues", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getvalues", null));} anywheresoftware.b4a.objects.collections.List _res = null; Object _key = null; - //BA.debugLineNum = 55;BA.debugLine="Public Sub getValues As List"; - //BA.debugLineNum = 56;BA.debugLine="Dim res As List"; +RDebugUtils.currentLine=7995392; + //BA.debugLineNum = 7995392;BA.debugLine="Public Sub getValues As List"; +RDebugUtils.currentLine=7995393; + //BA.debugLineNum = 7995393;BA.debugLine="Dim res As List"; _res = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 57;BA.debugLine="res.Initialize"; +RDebugUtils.currentLine=7995394; + //BA.debugLineNum = 7995394;BA.debugLine="res.Initialize"; _res.Initialize(); - //BA.debugLineNum = 58;BA.debugLine="For Each key As Object In list"; +RDebugUtils.currentLine=7995395; + //BA.debugLineNum = 7995395;BA.debugLine="For Each key As Object In list"; { -final anywheresoftware.b4a.BA.IterableList group3 = _list; +final anywheresoftware.b4a.BA.IterableList group3 = __ref._list /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen3 = group3.getSize() ;int index3 = 0; ; for (; index3 < groupLen3;index3++){ _key = group3.Get(index3); - //BA.debugLineNum = 59;BA.debugLine="res.Add(map.Get(key))"; -_res.Add(_map.Get(_key)); +RDebugUtils.currentLine=7995396; + //BA.debugLineNum = 7995396;BA.debugLine="res.Add(map.Get(key))"; +_res.Add(__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_key)); } }; - //BA.debugLineNum = 61;BA.debugLine="Return res"; +RDebugUtils.currentLine=7995398; + //BA.debugLineNum = 7995398;BA.debugLine="Return res"; if (true) return _res; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7995399; + //BA.debugLineNum = 7995399;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 7;BA.debugLine="map.Initialize"; -_map.Initialize(); - //BA.debugLineNum = 8;BA.debugLine="list.Initialize"; -_list.Initialize(); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +RDebugUtils.currentLine=7340032; + //BA.debugLineNum = 7340032;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=7340033; + //BA.debugLineNum = 7340033;BA.debugLine="Private map As Map"; +_map = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=7340034; + //BA.debugLineNum = 7340034;BA.debugLine="Private list As List"; +_list = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=7340035; + //BA.debugLineNum = 7340035;BA.debugLine="End Sub"; return ""; } -public String _put(Object _key,Object _value) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; - //BA.debugLineNum = 13;BA.debugLine="If map.ContainsKey(Key) = False Then"; -if (_map.ContainsKey(_key)==__c.False) { - //BA.debugLineNum = 14;BA.debugLine="list.Add(Key)"; -_list.Add(_key); - }; - //BA.debugLineNum = 16;BA.debugLine="map.Put(Key, Value)"; -_map.Put(_key,_value); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; +public Object _getdataforserializator(reparto_intmex.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getdataforserializator", true)) + {return ((Object) Debug.delegate(ba, "getdataforserializator", null));} +RDebugUtils.currentLine=8060928; + //BA.debugLineNum = 8060928;BA.debugLine="Public Sub GetDataForSerializator As Object"; +RDebugUtils.currentLine=8060929; + //BA.debugLineNum = 8060929;BA.debugLine="Return Array(map, list)"; +if (true) return (Object)(new Object[]{(Object)(__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()),(Object)(__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .getObject())}); +RDebugUtils.currentLine=8060930; + //BA.debugLineNum = 8060930;BA.debugLine="End Sub"; +return null; } -public String _remove(Object _key) throws Exception{ - //BA.debugLineNum = 20;BA.debugLine="Public Sub Remove (Key As Object)"; - //BA.debugLineNum = 21;BA.debugLine="If map.ContainsKey(Key) = False Then Return"; -if (_map.ContainsKey(_key)==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 22;BA.debugLine="list.RemoveAt(list.IndexOf(Key))"; -_list.RemoveAt(_list.IndexOf(_key)); - //BA.debugLineNum = 23;BA.debugLine="map.Remove(Key)"; -_map.Remove(_key); - //BA.debugLineNum = 24;BA.debugLine="End Sub"; -return ""; +public Object _getdefault(reparto_intmex.keymon.lat.b4xorderedmap __ref,Object _key,Object _defaultvalue) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getdefault", true)) + {return ((Object) Debug.delegate(ba, "getdefault", new Object[] {_key,_defaultvalue}));} +RDebugUtils.currentLine=7798784; + //BA.debugLineNum = 7798784;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; +RDebugUtils.currentLine=7798785; + //BA.debugLineNum = 7798785;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault(_key,_defaultvalue); +RDebugUtils.currentLine=7798786; + //BA.debugLineNum = 7798786;BA.debugLine="End Sub"; +return null; } -public String _setdatafromserializator(Object _data) throws Exception{ +public String _setdatafromserializator(reparto_intmex.keymon.lat.b4xorderedmap __ref,Object _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "setdatafromserializator", true)) + {return ((String) Debug.delegate(ba, "setdatafromserializator", new Object[] {_data}));} Object[] _o = null; - //BA.debugLineNum = 70;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; - //BA.debugLineNum = 71;BA.debugLine="Dim o() As Object = Data"; +RDebugUtils.currentLine=8126464; + //BA.debugLineNum = 8126464;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; +RDebugUtils.currentLine=8126465; + //BA.debugLineNum = 8126465;BA.debugLine="Dim o() As Object = Data"; _o = (Object[])(_data); - //BA.debugLineNum = 72;BA.debugLine="map = o(0)"; -_map = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_o[(int) (0)])); - //BA.debugLineNum = 73;BA.debugLine="list = o(1)"; -_list = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_o[(int) (1)])); - //BA.debugLineNum = 74;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8126466; + //BA.debugLineNum = 8126466;BA.debugLine="map = o(0)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_o[(int) (0)])); +RDebugUtils.currentLine=8126467; + //BA.debugLineNum = 8126467;BA.debugLine="list = o(1)"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_o[(int) (1)])); +RDebugUtils.currentLine=8126468; + //BA.debugLineNum = 8126468;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpages.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpages.java index 5bedc7a..60c4e58 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpages.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpages.java @@ -10,132 +10,207 @@ private static b4xpages mostCurrent = new b4xpages(); public static Object getObject() { throw new RuntimeException("Code module does not support this method."); } - public anywheresoftware.b4a.keywords.Common __c = null; + +public anywheresoftware.b4a.keywords.Common __c = null; public static Object _mpm = null; public static reparto_intmex.keymon.lat.b4xpagesdelegator _delegate = null; public static Object _globalcontext = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem _addmenuitem(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; - //BA.debugLineNum = 92;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; -if (true) return _getmanager(_ba)._addmenuitem /*reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem*/ (_b4xpage,_title); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return null; -} -public static String _addpage(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; - //BA.debugLineNum = 38;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; -_getmanager(_ba)._addpage /*String*/ (_id,_b4xpage); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +public static String _showpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "showpage", true)) + {return ((String) Debug.delegate(null, "showpage", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=3604480; + //BA.debugLineNum = 3604480;BA.debugLine="Public Sub ShowPage (Id As String)"; +RDebugUtils.currentLine=3604481; + //BA.debugLineNum = 3604481;BA.debugLine="GetManager.ShowPage(Id)"; +_getmanager(_ba)._showpage /*String*/ (null,_id); +RDebugUtils.currentLine=3604482; + //BA.debugLineNum = 3604482;BA.debugLine="End Sub"; return ""; } +public static reparto_intmex.keymon.lat.b4xmainpage _mainpage(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "mainpage", true)) + {return ((reparto_intmex.keymon.lat.b4xmainpage) Debug.delegate(null, "mainpage", new Object[] {_ba}));} +RDebugUtils.currentLine=3866624; + //BA.debugLineNum = 3866624;BA.debugLine="Public Sub MainPage As B4XMainPage"; +RDebugUtils.currentLine=3866625; + //BA.debugLineNum = 3866625;BA.debugLine="Return GetManager.MainPage"; +if (true) return _getmanager(_ba)._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ ; +RDebugUtils.currentLine=3866626; + //BA.debugLineNum = 3866626;BA.debugLine="End Sub"; +return null; +} +public static reparto_intmex.keymon.lat.b4xpagesmanager _getmanager(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getmanager", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager) Debug.delegate(null, "getmanager", new Object[] {_ba}));} +RDebugUtils.currentLine=3211264; + //BA.debugLineNum = 3211264;BA.debugLine="Public Sub GetManager As B4XPagesManager"; +RDebugUtils.currentLine=3211265; + //BA.debugLineNum = 3211265;BA.debugLine="Return mPM"; +if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager)(_mpm); +RDebugUtils.currentLine=3211266; + //BA.debugLineNum = 3211266;BA.debugLine="End Sub"; +return null; +} +public static String _settitle(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "settitle", true)) + {return ((String) Debug.delegate(null, "settitle", new Object[] {_ba,_b4xpage,_title}));} +RDebugUtils.currentLine=3801088; + //BA.debugLineNum = 3801088;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +RDebugUtils.currentLine=3801089; + //BA.debugLineNum = 3801089;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; +_getmanager(_ba)._settitle /*String*/ (null,_b4xpage,_title); +RDebugUtils.currentLine=3801090; + //BA.debugLineNum = 3801090;BA.debugLine="End Sub"; +return ""; +} +public static String _addpage(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addpage", true)) + {return ((String) Debug.delegate(null, "addpage", new Object[] {_ba,_id,_b4xpage}));} +RDebugUtils.currentLine=3473408; + //BA.debugLineNum = 3473408;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +RDebugUtils.currentLine=3473409; + //BA.debugLineNum = 3473409;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; +_getmanager(_ba)._addpage /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=3473410; + //BA.debugLineNum = 3473410;BA.debugLine="End Sub"; +return ""; +} +public static reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem _addmenuitem(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addmenuitem", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem) Debug.delegate(null, "addmenuitem", new Object[] {_ba,_b4xpage,_title}));} +RDebugUtils.currentLine=3997696; + //BA.debugLineNum = 3997696;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; +RDebugUtils.currentLine=3997697; + //BA.debugLineNum = 3997697;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; +if (true) return _getmanager(_ba)._addmenuitem /*reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem*/ (null,_b4xpage,_title); +RDebugUtils.currentLine=3997698; + //BA.debugLineNum = 3997698;BA.debugLine="End Sub"; +return null; +} public static String _addpageandcreate(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; - //BA.debugLineNum = 43;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; -_getmanager(_ba)._addpageandcreate /*String*/ (_id,_b4xpage); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addpageandcreate", true)) + {return ((String) Debug.delegate(null, "addpageandcreate", new Object[] {_ba,_id,_b4xpage}));} +RDebugUtils.currentLine=3538944; + //BA.debugLineNum = 3538944;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +RDebugUtils.currentLine=3538945; + //BA.debugLineNum = 3538945;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; +_getmanager(_ba)._addpageandcreate /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=3538946; + //BA.debugLineNum = 3538946;BA.debugLine="End Sub"; return ""; } public static String _closepage(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; - //BA.debugLineNum = 63;BA.debugLine="GetManager.ClosePage (B4XPage)"; -_getmanager(_ba)._closepage /*String*/ (_b4xpage); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "closepage", true)) + {return ((String) Debug.delegate(null, "closepage", new Object[] {_ba,_b4xpage}));} +RDebugUtils.currentLine=3735552; + //BA.debugLineNum = 3735552;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +RDebugUtils.currentLine=3735553; + //BA.debugLineNum = 3735553;BA.debugLine="GetManager.ClosePage (B4XPage)"; +_getmanager(_ba)._closepage /*String*/ (null,_b4xpage); +RDebugUtils.currentLine=3735554; + //BA.debugLineNum = 3735554;BA.debugLine="End Sub"; return ""; } -public static reparto_intmex.keymon.lat.b4xpagesmanager _getmanager(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Public Sub GetManager As B4XPagesManager"; - //BA.debugLineNum = 15;BA.debugLine="Return mPM"; -if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager)(_mpm); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return null; -} public static anywheresoftware.b4a.objects.ActivityWrapper _getnativeparent(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 79;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; - //BA.debugLineNum = 87;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; -if (true) return _getmanager(_ba)._findpifromb4xpage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ ; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getnativeparent", true)) + {return ((anywheresoftware.b4a.objects.ActivityWrapper) Debug.delegate(null, "getnativeparent", new Object[] {_ba,_b4xpage}));} +RDebugUtils.currentLine=3932160; + //BA.debugLineNum = 3932160;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; +RDebugUtils.currentLine=3932168; + //BA.debugLineNum = 3932168;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; +if (true) return _getmanager(_ba)._findpifromb4xpage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ ; +RDebugUtils.currentLine=3932169; + //BA.debugLineNum = 3932169;BA.debugLine="End Sub"; return null; } public static Object _getpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Public Sub GetPage (Id As String) As Object"; - //BA.debugLineNum = 28;BA.debugLine="Return GetManager.GetPage(Id)"; -if (true) return _getmanager(_ba)._getpage /*Object*/ (_id); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getpage", true)) + {return ((Object) Debug.delegate(null, "getpage", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=3342336; + //BA.debugLineNum = 3342336;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +RDebugUtils.currentLine=3342337; + //BA.debugLineNum = 3342337;BA.debugLine="Return GetManager.GetPage(Id)"; +if (true) return _getmanager(_ba)._getpage /*Object*/ (null,_id); +RDebugUtils.currentLine=3342338; + //BA.debugLineNum = 3342338;BA.debugLine="End Sub"; return null; } public static String _getpageid(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; - //BA.debugLineNum = 33;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; -if (true) return _getmanager(_ba)._findpifromb4xpage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Id /*String*/ ; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getpageid", true)) + {return ((String) Debug.delegate(null, "getpageid", new Object[] {_ba,_b4xpage}));} +RDebugUtils.currentLine=3407872; + //BA.debugLineNum = 3407872;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; +RDebugUtils.currentLine=3407873; + //BA.debugLineNum = 3407873;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; +if (true) return _getmanager(_ba)._findpifromb4xpage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Id /*String*/ ; +RDebugUtils.currentLine=3407874; + //BA.debugLineNum = 3407874;BA.debugLine="End Sub"; return ""; } public static String _internalsetpagesmanager(anywheresoftware.b4a.BA _ba,Object _pm) throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; - //BA.debugLineNum = 20;BA.debugLine="Delegate.Initialize"; -_delegate._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 21;BA.debugLine="mPM = PM"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "internalsetpagesmanager", true)) + {return ((String) Debug.delegate(null, "internalsetpagesmanager", new Object[] {_ba,_pm}));} +RDebugUtils.currentLine=3276800; + //BA.debugLineNum = 3276800;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; +RDebugUtils.currentLine=3276801; + //BA.debugLineNum = 3276801;BA.debugLine="Delegate.Initialize"; +_delegate._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=3276802; + //BA.debugLineNum = 3276802;BA.debugLine="mPM = PM"; _mpm = _pm; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3276803; + //BA.debugLineNum = 3276803;BA.debugLine="End Sub"; return ""; } public static boolean _isinitialized(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub IsInitialized As Boolean"; - //BA.debugLineNum = 10;BA.debugLine="Return mPM Is B4XPagesManager"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "isinitialized", true)) + {return ((Boolean) Debug.delegate(null, "isinitialized", new Object[] {_ba}));} +RDebugUtils.currentLine=3145728; + //BA.debugLineNum = 3145728;BA.debugLine="Public Sub IsInitialized As Boolean"; +RDebugUtils.currentLine=3145729; + //BA.debugLineNum = 3145729;BA.debugLine="Return mPM Is B4XPagesManager"; if (true) return _mpm instanceof reparto_intmex.keymon.lat.b4xpagesmanager; - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3145730; + //BA.debugLineNum = 3145730;BA.debugLine="End Sub"; return false; } -public static reparto_intmex.keymon.lat.b4xmainpage _mainpage(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 73;BA.debugLine="Public Sub MainPage As B4XMainPage"; - //BA.debugLineNum = 74;BA.debugLine="Return GetManager.MainPage"; -if (true) return _getmanager(_ba)._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ ; - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return null; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mPM As Object"; -_mpm = new Object(); - //BA.debugLineNum = 3;BA.debugLine="Public Delegate As B4XPagesDelegator"; -_delegate = new reparto_intmex.keymon.lat.b4xpagesdelegator(); - //BA.debugLineNum = 4;BA.debugLine="Public GlobalContext As Object"; -_globalcontext = new Object(); - //BA.debugLineNum = 5;BA.debugLine="End Sub"; -return ""; -} -public static String _settitle(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ - //BA.debugLineNum = 68;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; - //BA.debugLineNum = 69;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; -_getmanager(_ba)._settitle /*String*/ (_b4xpage,_title); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public static String _showpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub ShowPage (Id As String)"; - //BA.debugLineNum = 51;BA.debugLine="GetManager.ShowPage(Id)"; -_getmanager(_ba)._showpage /*String*/ (_id); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} public static String _showpageandremovepreviouspages(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; - //BA.debugLineNum = 57;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; -_getmanager(_ba)._showpageandremovepreviouspages /*String*/ (_id); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "showpageandremovepreviouspages", true)) + {return ((String) Debug.delegate(null, "showpageandremovepreviouspages", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=3670016; + //BA.debugLineNum = 3670016;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +RDebugUtils.currentLine=3670017; + //BA.debugLineNum = 3670017;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; +_getmanager(_ba)._showpageandremovepreviouspages /*String*/ (null,_id); +RDebugUtils.currentLine=3670018; + //BA.debugLineNum = 3670018;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpagesdelegator.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpagesdelegator.java index b5b0594..68d26d6 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpagesdelegator.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpagesdelegator.java @@ -10,7 +10,7 @@ public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xpagesdelegator"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xpagesdelegator"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,14 +23,21 @@ public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -38,68 +45,121 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _activity_actionbarhomeclick() throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 36;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; -_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_actionbarhomeclick /*String*/ (); - //BA.debugLineNum = 37;BA.debugLine="End Sub"; +public String _activity_actionbarhomeclick(reparto_intmex.keymon.lat.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_actionbarhomeclick", true)) + {return ((String) Debug.delegate(ba, "activity_actionbarhomeclick", null));} +RDebugUtils.currentLine=8978432; + //BA.debugLineNum = 8978432;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=8978433; + //BA.debugLineNum = 8978433;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; +_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_actionbarhomeclick /*String*/ (null); +RDebugUtils.currentLine=8978434; + //BA.debugLineNum = 8978434;BA.debugLine="End Sub"; return ""; } -public boolean _activity_keypress(int _keycode) throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; - //BA.debugLineNum = 28;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; -if (true) return _b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_keypress /*boolean*/ (_keycode); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +public boolean _activity_keypress(reparto_intmex.keymon.lat.b4xpagesdelegator __ref,int _keycode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_keypress", true)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_keycode}));} +RDebugUtils.currentLine=8847360; + //BA.debugLineNum = 8847360;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +RDebugUtils.currentLine=8847361; + //BA.debugLineNum = 8847361;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; +if (true) return _b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_keypress /*boolean*/ (null,_keycode); +RDebugUtils.currentLine=8847362; + //BA.debugLineNum = 8847362;BA.debugLine="End Sub"; return false; } -public String _activity_pause() throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub Activity_Pause"; - //BA.debugLineNum = 53;BA.debugLine="B4XPages.GetManager.Activity_Pause"; -_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_pause /*String*/ (); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +public String _activity_pause(reparto_intmex.keymon.lat.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +RDebugUtils.currentLine=9240576; + //BA.debugLineNum = 9240576;BA.debugLine="Public Sub Activity_Pause"; +RDebugUtils.currentLine=9240577; + //BA.debugLineNum = 9240577;BA.debugLine="B4XPages.GetManager.Activity_Pause"; +_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_pause /*String*/ (null); +RDebugUtils.currentLine=9240578; + //BA.debugLineNum = 9240578;BA.debugLine="End Sub"; return ""; } -public String _activity_permissionresult(String _permission,boolean _result) throws Exception{ - //BA.debugLineNum = 31;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; - //BA.debugLineNum = 32;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; -_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._raiseevent /*String*/ (_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (),"B4XPage_PermissionResult",new Object[]{(Object)(_permission),(Object)(_result)}); - //BA.debugLineNum = 33;BA.debugLine="End Sub"; +public String _activity_permissionresult(reparto_intmex.keymon.lat.b4xpagesdelegator __ref,String _permission,boolean _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_permissionresult", true)) + {return ((String) Debug.delegate(ba, "activity_permissionresult", new Object[] {_permission,_result}));} +RDebugUtils.currentLine=8912896; + //BA.debugLineNum = 8912896;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +RDebugUtils.currentLine=8912897; + //BA.debugLineNum = 8912897;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; +_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._raiseevent /*String*/ (null,_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_PermissionResult",new Object[]{(Object)(_permission),(Object)(_result)}); +RDebugUtils.currentLine=8912898; + //BA.debugLineNum = 8912898;BA.debugLine="End Sub"; return ""; } -public String _activity_resume() throws Exception{ - //BA.debugLineNum = 48;BA.debugLine="Public Sub Activity_Resume"; - //BA.debugLineNum = 49;BA.debugLine="B4XPages.GetManager.Activity_Resume"; -_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_resume /*String*/ (); - //BA.debugLineNum = 50;BA.debugLine="End Sub"; +public String _activity_resume(reparto_intmex.keymon.lat.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_resume", true)) + {return ((String) Debug.delegate(ba, "activity_resume", null));} +RDebugUtils.currentLine=9175040; + //BA.debugLineNum = 9175040;BA.debugLine="Public Sub Activity_Resume"; +RDebugUtils.currentLine=9175041; + //BA.debugLineNum = 9175041;BA.debugLine="B4XPages.GetManager.Activity_Resume"; +_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_resume /*String*/ (null); +RDebugUtils.currentLine=9175042; + //BA.debugLineNum = 9175042;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="End Sub"; +public String _create_menu(reparto_intmex.keymon.lat.b4xpagesdelegator __ref,Object _menu) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "create_menu", true)) + {return ((String) Debug.delegate(ba, "create_menu", new Object[] {_menu}));} +RDebugUtils.currentLine=9043968; + //BA.debugLineNum = 9043968;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; +RDebugUtils.currentLine=9043969; + //BA.debugLineNum = 9043969;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; +_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._createmenu /*String*/ (null,_menu); +RDebugUtils.currentLine=9043970; + //BA.debugLineNum = 9043970;BA.debugLine="End Sub"; return ""; } -public String _create_menu(Object _menu) throws Exception{ - //BA.debugLineNum = 39;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; - //BA.debugLineNum = 40;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; -_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._createmenu /*String*/ (_menu); - //BA.debugLineNum = 41;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xpagesdelegator __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 6;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=8781824; + //BA.debugLineNum = 8781824;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=8781826; + //BA.debugLineNum = 8781826;BA.debugLine="End Sub"; return ""; } -public String _mainform_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 44;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; - //BA.debugLineNum = 45;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; -_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._mainform_resize /*String*/ (_width,_height); - //BA.debugLineNum = 46;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +RDebugUtils.currentLine=8716288; + //BA.debugLineNum = 8716288;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=8716289; + //BA.debugLineNum = 8716289;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public String _mainform_resize(reparto_intmex.keymon.lat.b4xpagesdelegator __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "mainform_resize", true)) + {return ((String) Debug.delegate(ba, "mainform_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=9109504; + //BA.debugLineNum = 9109504;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +RDebugUtils.currentLine=9109505; + //BA.debugLineNum = 9109505;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; +_b4xpages._getmanager /*reparto_intmex.keymon.lat.b4xpagesmanager*/ (getActivityBA())._mainform_resize /*String*/ (null,_width,_height); +RDebugUtils.currentLine=9109506; + //BA.debugLineNum = 9109506;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpagesmanager.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpagesmanager.java index 09e9ba0..ae73603 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpagesmanager.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xpagesmanager.java @@ -10,7 +10,7 @@ public class b4xpagesmanager extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xpagesmanager"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xpagesmanager"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,34 +23,13 @@ public class b4xpagesmanager extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public reparto_intmex.keymon.lat.b4xorderedmap _idtob4xpage = null; -public reparto_intmex.keymon.lat.b4xorderedmap _rootb4xtopage = null; -public anywheresoftware.b4j.object.JavaObject _context = null; -public reparto_intmex.keymon.lat.b4xset _mstackofpageids = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.ActivityWrapper _mmainform = null; -public boolean _showupindicator = false; -public anywheresoftware.b4j.object.JavaObject _actionbar = null; -public boolean _isforeground = false; -public int _transitionanimationduration = 0; -public reparto_intmex.keymon.lat.b4xmainpage _mainpage = null; -public String _stackstring = ""; -public boolean _logevents = false; -public b4a.example.dateutils _dateutils = null; -public reparto_intmex.keymon.lat.main _main = null; -public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; -public reparto_intmex.keymon.lat.foto _foto = null; -public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_intmex.keymon.lat.subs _subs = null; -public reparto_intmex.keymon.lat.tracker _tracker = null; -public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; -public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; -public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _b4xpageparent{ public boolean IsInitialized; public anywheresoftware.b4a.objects.ActivityWrapper NativeType; @@ -106,384 +85,655 @@ Parent = new reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent(); public String toString() { return BA.TypeToString(this, false); }} -public String _activity_actionbarhomeclick() throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 129;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 130;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 131;BA.debugLine="If pi <> Null Then"; -if (_pi!= null) { - //BA.debugLineNum = 132;BA.debugLine="If CloseRequestExists (pi) Then"; -if (_closerequestexists(_pi)) { - //BA.debugLineNum = 133;BA.debugLine="HandleCloseRequest(pi)"; -_handlecloserequest(_pi); - }else { - //BA.debugLineNum = 135;BA.debugLine="ClosePage(pi.B4XPage)"; -_closepage(_pi.B4XPage /*Object*/ ); +public anywheresoftware.b4a.keywords.Common __c = null; +public reparto_intmex.keymon.lat.b4xorderedmap _idtob4xpage = null; +public reparto_intmex.keymon.lat.b4xorderedmap _rootb4xtopage = null; +public anywheresoftware.b4j.object.JavaObject _context = null; +public reparto_intmex.keymon.lat.b4xset _mstackofpageids = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.ActivityWrapper _mmainform = null; +public boolean _showupindicator = false; +public anywheresoftware.b4j.object.JavaObject _actionbar = null; +public boolean _isforeground = false; +public int _transitionanimationduration = 0; +public reparto_intmex.keymon.lat.b4xmainpage _mainpage = null; +public String _stackstring = ""; +public boolean _logevents = false; +public b4a.example.dateutils _dateutils = null; +public reparto_intmex.keymon.lat.main _main = null; +public reparto_intmex.keymon.lat.appupdater _appupdater = null; +public reparto_intmex.keymon.lat.foto _foto = null; +public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; +public reparto_intmex.keymon.lat.subs _subs = null; +public reparto_intmex.keymon.lat.tracker _tracker = null; +public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; +public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; +public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; +public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _initialize(reparto_intmex.keymon.lat.b4xpagesmanager __ref,anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ActivityWrapper _activity) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_activity}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +anywheresoftware.b4j.object.JavaObject _module = null; +boolean _nonmainpagewasadded = false; +RDebugUtils.currentLine=9371648; + //BA.debugLineNum = 9371648;BA.debugLine="Public Sub Initialize (Activity As Activity)"; +RDebugUtils.currentLine=9371652; + //BA.debugLineNum = 9371652;BA.debugLine="IdToB4XPage.Initialize"; +__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=9371653; + //BA.debugLineNum = 9371653;BA.debugLine="RootB4XToPage.Initialize"; +__ref._rootb4xtopage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=9371654; + //BA.debugLineNum = 9371654;BA.debugLine="mStackOfPageIds.Initialize"; +__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=9371658; + //BA.debugLineNum = 9371658;BA.debugLine="Context.InitializeContext"; +__ref._context /*anywheresoftware.b4j.object.JavaObject*/ .InitializeContext(ba); +RDebugUtils.currentLine=9371659; + //BA.debugLineNum = 9371659;BA.debugLine="mMainForm = Activity"; +__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ = _activity; +RDebugUtils.currentLine=9371660; + //BA.debugLineNum = 9371660;BA.debugLine="CheckMainActivityOrientations"; +__ref._checkmainactivityorientations /*String*/ (null); +RDebugUtils.currentLine=9371661; + //BA.debugLineNum = 9371661;BA.debugLine="Dim jo As JavaObject = Me"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=9371662; + //BA.debugLineNum = 9371662;BA.debugLine="Dim module As JavaObject"; +_module = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=9371663; + //BA.debugLineNum = 9371663;BA.debugLine="module.InitializeStatic(jo.RunMethodJO(\"getActivi"; +_module.InitializeStatic(BA.ObjectToString(_jo.RunMethodJO("getActivityBA",(Object[])(__c.Null)).GetField("className"))).SetField("dontPause",(Object)(__c.True)); +RDebugUtils.currentLine=9371667; + //BA.debugLineNum = 9371667;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; +_b4xpages._internalsetpagesmanager /*String*/ (ba,this); +RDebugUtils.currentLine=9371668; + //BA.debugLineNum = 9371668;BA.debugLine="MainPage.Initialize"; +__ref._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=9371669; + //BA.debugLineNum = 9371669;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; +_nonmainpagewasadded = __ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null)>0; +RDebugUtils.currentLine=9371670; + //BA.debugLineNum = 9371670;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; +__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)("~~~~~temp~~~~"),(Object)(__ref._createb4xpageinfo /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,(Object)(__ref._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ ),"",__c.False,(Object)("")))); +RDebugUtils.currentLine=9371671; + //BA.debugLineNum = 9371671;BA.debugLine="BackgroundStateChanged(True)"; +__ref._backgroundstatechanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=9371672; + //BA.debugLineNum = 9371672;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; +__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,(Object)("~~~~~temp~~~~")); +RDebugUtils.currentLine=9371673; + //BA.debugLineNum = 9371673;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; +__ref._addpageandcreate /*String*/ (null,"MainPage",(Object)(__ref._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ )); +RDebugUtils.currentLine=9371674; + //BA.debugLineNum = 9371674;BA.debugLine="If LogEvents = False Then"; +if (__ref._logevents /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=9371675; + //BA.debugLineNum = 9371675;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; +__c.LogImpl("99371675","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); + }; +RDebugUtils.currentLine=9371677; + //BA.debugLineNum = 9371677;BA.debugLine="If NonMainPageWasAdded Then"; +if (_nonmainpagewasadded) { +RDebugUtils.currentLine=9371678; + //BA.debugLineNum = 9371678;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=9371679; + //BA.debugLineNum = 9371679;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,__ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Appear",(Object[])(__c.Null)); }; }; - //BA.debugLineNum = 138;BA.debugLine="End Sub"; +RDebugUtils.currentLine=9371682; + //BA.debugLineNum = 9371682;BA.debugLine="End Sub"; return ""; } -public boolean _activity_keypress(int _keycode) throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 468;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; - //BA.debugLineNum = 469;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; -if (_keycode==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 470;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 471;BA.debugLine="If CloseRequestExists(pi) Then"; -if (_closerequestexists(_pi)) { - //BA.debugLineNum = 472;BA.debugLine="HandleCloseRequest(pi)"; -_handlecloserequest(_pi); - }else { - //BA.debugLineNum = 474;BA.debugLine="ClosePage(pi.B4XPage)"; -_closepage(_pi.B4XPage /*Object*/ ); - }; - //BA.debugLineNum = 476;BA.debugLine="Return True"; -if (true) return __c.True; - }; - //BA.debugLineNum = 478;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 479;BA.debugLine="End Sub"; -return false; -} -public String _activity_pause() throws Exception{ - //BA.debugLineNum = 635;BA.debugLine="Public Sub Activity_Pause"; - //BA.debugLineNum = 636;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; -_raiseeventwithresult(_gettoppage(),"B4XPage_Disappear",(Object[])(__c.Null)); - //BA.debugLineNum = 637;BA.debugLine="BackgroundStateChanged(False)"; -_backgroundstatechanged(__c.False); - //BA.debugLineNum = 638;BA.debugLine="End Sub"; -return ""; -} -public String _activity_resume() throws Exception{ -boolean _shouldraise = false; - //BA.debugLineNum = 610;BA.debugLine="Public Sub Activity_Resume"; - //BA.debugLineNum = 611;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; -_shouldraise = _isforeground==__c.False; - //BA.debugLineNum = 612;BA.debugLine="BackgroundStateChanged(True)"; -_backgroundstatechanged(__c.True); - //BA.debugLineNum = 613;BA.debugLine="If ShouldRaise Then"; -if (_shouldraise) { - //BA.debugLineNum = 614;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; -_raiseevent(_gettoppage(),"B4XPage_Appear",(Object[])(__c.Null)); - }; - //BA.debugLineNum = 616;BA.debugLine="End Sub"; -return ""; -} -public reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem _addmenuitem(Object _b4xpage,Object _title) throws Exception{ +public reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem _addmenuitem(reparto_intmex.keymon.lat.b4xpagesmanager __ref,Object _b4xpage,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addmenuitem", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem) Debug.delegate(ba, "addmenuitem", new Object[] {_b4xpage,_title}));} reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem _mi = null; - //BA.debugLineNum = 481;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; - //BA.debugLineNum = 482;BA.debugLine="Dim mi As B4AMenuItem"; +RDebugUtils.currentLine=10747904; + //BA.debugLineNum = 10747904;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; +RDebugUtils.currentLine=10747905; + //BA.debugLineNum = 10747905;BA.debugLine="Dim mi As B4AMenuItem"; _mi = new reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem(); - //BA.debugLineNum = 483;BA.debugLine="mi.Initialize"; +RDebugUtils.currentLine=10747906; + //BA.debugLineNum = 10747906;BA.debugLine="mi.Initialize"; _mi.Initialize(); - //BA.debugLineNum = 484;BA.debugLine="mi.Title = Title"; +RDebugUtils.currentLine=10747907; + //BA.debugLineNum = 10747907;BA.debugLine="mi.Title = Title"; _mi.Title /*Object*/ = _title; - //BA.debugLineNum = 485;BA.debugLine="mi.Tag = Title"; +RDebugUtils.currentLine=10747908; + //BA.debugLineNum = 10747908;BA.debugLine="mi.Tag = Title"; _mi.Tag /*String*/ = BA.ObjectToString(_title); - //BA.debugLineNum = 486;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; -_findpifromb4xpage(_b4xpage).Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_mi)); - //BA.debugLineNum = 487;BA.debugLine="Return mi"; +RDebugUtils.currentLine=10747909; + //BA.debugLineNum = 10747909;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; +__ref._findpifromb4xpage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_mi)); +RDebugUtils.currentLine=10747910; + //BA.debugLineNum = 10747910;BA.debugLine="Return mi"; if (true) return _mi; - //BA.debugLineNum = 488;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10747911; + //BA.debugLineNum = 10747911;BA.debugLine="End Sub"; return null; } -public String _addpage(String _id,Object _b4xpage) throws Exception{ +public String _addpage(reparto_intmex.keymon.lat.b4xpagesmanager __ref,String _id,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addpage", true)) + {return ((String) Debug.delegate(ba, "addpage", new Object[] {_id,_b4xpage}));} String _idtolower = ""; - //BA.debugLineNum = 141;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; - //BA.debugLineNum = 142;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; +RDebugUtils.currentLine=9568256; + //BA.debugLineNum = 9568256;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +RDebugUtils.currentLine=9568257; + //BA.debugLineNum = 9568257;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; _idtolower = _id.toLowerCase(); - //BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; -if (_idtob4xpage._containskey /*boolean*/ ((Object)(_idtolower))) { - //BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; -__c.LogImpl("946333955",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); - //BA.debugLineNum = 145;BA.debugLine="Return"; +RDebugUtils.currentLine=9568258; + //BA.debugLineNum = 9568258;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; +if (__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_idtolower))) { +RDebugUtils.currentLine=9568259; + //BA.debugLineNum = 9568259;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; +__c.LogImpl("99568259",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); +RDebugUtils.currentLine=9568260; + //BA.debugLineNum = 9568260;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 147;BA.debugLine="IdToB4XPage.Put(IdToLower, CreateB4XPageInfo(B4XP"; -_idtob4xpage._put /*String*/ ((Object)(_idtolower),(Object)(_createb4xpageinfo(_b4xpage,_idtolower,__c.False,(Object)(_id)))); - //BA.debugLineNum = 148;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; -if (_idtob4xpage._getsize /*int*/ ()==1) { -_showpage(_idtolower);}; - //BA.debugLineNum = 149;BA.debugLine="End Sub"; +RDebugUtils.currentLine=9568262; + //BA.debugLineNum = 9568262;BA.debugLine="IdToB4XPage.Put(IdToLower, CreateB4XPageInfo(B4XP"; +__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_idtolower),(Object)(__ref._createb4xpageinfo /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage,_idtolower,__c.False,(Object)(_id)))); +RDebugUtils.currentLine=9568263; + //BA.debugLineNum = 9568263;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; +if (__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null)==1) { +__ref._showpage /*String*/ (null,_idtolower);}; +RDebugUtils.currentLine=9568264; + //BA.debugLineNum = 9568264;BA.debugLine="End Sub"; return ""; } -public String _addpageandcreate(String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 151;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; - //BA.debugLineNum = 152;BA.debugLine="AddPage (Id, B4XPage)"; -_addpage(_id,_b4xpage); - //BA.debugLineNum = 153;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; -_createpageifneeded(_getpagefromid(_id)); - //BA.debugLineNum = 154;BA.debugLine="End Sub"; +public String _addpageandcreate(reparto_intmex.keymon.lat.b4xpagesmanager __ref,String _id,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addpageandcreate", true)) + {return ((String) Debug.delegate(ba, "addpageandcreate", new Object[] {_id,_b4xpage}));} +RDebugUtils.currentLine=9633792; + //BA.debugLineNum = 9633792;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +RDebugUtils.currentLine=9633793; + //BA.debugLineNum = 9633793;BA.debugLine="AddPage (Id, B4XPage)"; +__ref._addpage /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=9633794; + //BA.debugLineNum = 9633794;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; +__ref._createpageifneeded /*String*/ (null,__ref._getpagefromid /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id)); +RDebugUtils.currentLine=9633795; + //BA.debugLineNum = 9633795;BA.debugLine="End Sub"; return ""; } -public String _backgroundstatechanged(boolean _newstate) throws Exception{ -String _ev = ""; -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 618;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; - //BA.debugLineNum = 619;BA.debugLine="If IsForeground = NewState Then Return"; -if (_isforeground==_newstate) { -if (true) return "";}; - //BA.debugLineNum = 620;BA.debugLine="IsForeground = NewState"; -_isforeground = _newstate; - //BA.debugLineNum = 621;BA.debugLine="Dim ev As String"; -_ev = ""; - //BA.debugLineNum = 622;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; -if (_isforeground) { -_ev = "B4XPage_Foreground";} -else { -_ev = "B4XPage_Background";}; - //BA.debugLineNum = 623;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; -{ -final anywheresoftware.b4a.BA.IterableList group5 = _idtob4xpage._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen5 = group5.getSize() -;int index5 = 0; -; -for (; index5 < groupLen5;index5++){ -_pi = (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(group5.Get(index5)); - //BA.debugLineNum = 624;BA.debugLine="If xui.SubExists(pi.B4XPage, ev, 0) Then"; -if (_xui.SubExists(ba,_pi.B4XPage /*Object*/ ,_ev,(int) (0))) { - //BA.debugLineNum = 625;BA.debugLine="LogEvent(pi, ev)"; -_logevent(_pi,_ev); - //BA.debugLineNum = 626;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 627;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; -__c.CallSubDelayed(ba,_pi.B4XPage /*Object*/ ,_ev); - }else { - //BA.debugLineNum = 629;BA.debugLine="CallSub(pi.B4XPage, ev)"; -__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,_ev); - }; - }; - } -}; - //BA.debugLineNum = 633;BA.debugLine="End Sub"; -return ""; -} -public String _checkmainactivityorientations() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4j.object.JavaObject _jme = null; -boolean _isappcompat = false; -anywheresoftware.b4j.object.JavaObject _pi = null; -Object[] _activities = null; -anywheresoftware.b4j.object.JavaObject _act = null; -String _name = ""; -int _screenorientation = 0; - //BA.debugLineNum = 96;BA.debugLine="Private Sub CheckMainActivityOrientations"; - //BA.debugLineNum = 98;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 99;BA.debugLine="jo.InitializeContext"; -_jo.InitializeContext(ba); - //BA.debugLineNum = 101;BA.debugLine="ActionBar = jo.RunMethod(\"getActionBar\", Null)"; -_actionbar = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getActionBar",(Object[])(__c.Null)))); - //BA.debugLineNum = 102;BA.debugLine="If ActionBar.IsInitialized = False Then"; -if (_actionbar.IsInitialized()==__c.False) { - //BA.debugLineNum = 103;BA.debugLine="Dim jme As JavaObject = Me"; -_jme = new anywheresoftware.b4j.object.JavaObject(); -_jme = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 104;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; -_isappcompat = BA.ObjectToBoolean(_jme.RunMethod("checkIfAppCompat",new Object[]{(Object)(_jo.getObject())})); - //BA.debugLineNum = 105;BA.debugLine="If IsAppCompat Then"; -if (_isappcompat) { - //BA.debugLineNum = 106;BA.debugLine="ActionBar = jo.RunMethod(\"getSupportActionBar\","; -_actionbar = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getSupportActionBar",(Object[])(__c.Null)))); - }; - }; - //BA.debugLineNum = 110;BA.debugLine="Dim pi As JavaObject = jo.RunMethodJO(\"getPackage"; -_pi = new anywheresoftware.b4j.object.JavaObject(); -_pi = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethodJO("getPackageManager",(Object[])(__c.Null)).RunMethod("getPackageInfo",new Object[]{(Object)(__c.Application.getPackageName()),(Object)(1)}))); - //BA.debugLineNum = 111;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; -_activities = (Object[])(_pi.GetField("activities")); - //BA.debugLineNum = 112;BA.debugLine="For Each Act As JavaObject In activities"; -_act = new anywheresoftware.b4j.object.JavaObject(); -{ -final Object[] group13 = _activities; -final int groupLen13 = group13.length -;int index13 = 0; -; -for (; index13 < groupLen13;index13++){ -_act = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(group13[index13])); - //BA.debugLineNum = 113;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; -_name = BA.ObjectToString(_act.GetField("name")); - //BA.debugLineNum = 114;BA.debugLine="If name.EndsWith(\".main\") Then"; -if (_name.endsWith(".main")) { - //BA.debugLineNum = 115;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; -_screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))); - //BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then"; -if (_screenorientation==-1) { - //BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; -__c.LogImpl("946202901","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red); - }; - }; - } -}; - //BA.debugLineNum = 121;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 23;BA.debugLine="Private IdToB4XPage As B4XOrderedMap"; -_idtob4xpage = new reparto_intmex.keymon.lat.b4xorderedmap(); - //BA.debugLineNum = 24;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; -_rootb4xtopage = new reparto_intmex.keymon.lat.b4xorderedmap(); - //BA.debugLineNum = 26;BA.debugLine="Private Context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 27;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; -; - //BA.debugLineNum = 28;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; -; - //BA.debugLineNum = 34;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; -; - //BA.debugLineNum = 38;BA.debugLine="Public mStackOfPageIds As B4XSet"; -_mstackofpageids = new reparto_intmex.keymon.lat.b4xset(); - //BA.debugLineNum = 39;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 43;BA.debugLine="Private mMainForm As Activity"; -_mmainform = new anywheresoftware.b4a.objects.ActivityWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Public ShowUpIndicator As Boolean = True"; -_showupindicator = __c.True; - //BA.debugLineNum = 45;BA.debugLine="Public ActionBar As JavaObject"; -_actionbar = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 49;BA.debugLine="Public IsForeground As Boolean"; -_isforeground = false; - //BA.debugLineNum = 50;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; -_transitionanimationduration = (int) (100); - //BA.debugLineNum = 51;BA.debugLine="Public MainPage As B4XMainPage"; -_mainpage = new reparto_intmex.keymon.lat.b4xmainpage(); - //BA.debugLineNum = 52;BA.debugLine="Private StackString As String"; -_stackstring = ""; - //BA.debugLineNum = 53;BA.debugLine="Public LogEvents As Boolean = False"; -_logevents = __c.False; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public String _closepage(Object _b4xpage) throws Exception{ +public String _closepage(reparto_intmex.keymon.lat.b4xpagesmanager __ref,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closepage", true)) + {return ((String) Debug.delegate(ba, "closepage", new Object[] {_b4xpage}));} reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; boolean _isclosingtoppage = false; - //BA.debugLineNum = 209;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; - //BA.debugLineNum = 210;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; -_pi = _findpifromb4xpage(_b4xpage); - //BA.debugLineNum = 211;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; -if (_mstackofpageids._contains /*boolean*/ ((Object)(_pi.Id /*String*/ ))==__c.False) { +RDebugUtils.currentLine=9830400; + //BA.debugLineNum = 9830400;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +RDebugUtils.currentLine=9830401; + //BA.debugLineNum = 9830401;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +_pi = __ref._findpifromb4xpage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage); +RDebugUtils.currentLine=9830402; + //BA.debugLineNum = 9830402;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; +if (__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._contains /*boolean*/ (null,(Object)(_pi.Id /*String*/ ))==__c.False) { if (true) return "";}; - //BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; -if (_xui.getIsB4i() && (_gettoppage()).equals(_pi) == false) { - //BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")"; -__c.LogImpl("946596100","Only top page can be closed",0); - //BA.debugLineNum = 214;BA.debugLine="Return"; +RDebugUtils.currentLine=9830403; + //BA.debugLineNum = 9830403;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i() && (__ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null)).equals(_pi) == false) { +RDebugUtils.currentLine=9830404; + //BA.debugLineNum = 9830404;BA.debugLine="Log(\"Only top page can be closed\")"; +__c.LogImpl("99830404","Only top page can be closed",0); +RDebugUtils.currentLine=9830405; + //BA.debugLineNum = 9830405;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("946596103","First page cannot be closed",0); - //BA.debugLineNum = 217;BA.debugLine="Return"; + }else +{RDebugUtils.currentLine=9830406; + //BA.debugLineNum = 9830406;BA.debugLine="Else If xui.IsB4i And mStackOfPageIds.Size = 1 Th"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i() && __ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._getsize /*int*/ (null)==1) { +RDebugUtils.currentLine=9830407; + //BA.debugLineNum = 9830407;BA.debugLine="Log(\"First page cannot be closed\")"; +__c.LogImpl("99830407","First page cannot be closed",0); +RDebugUtils.currentLine=9830408; + //BA.debugLineNum = 9830408;BA.debugLine="Return"; if (true) return ""; - }; - //BA.debugLineNum = 219;BA.debugLine="Dim IsClosingTopPage As Boolean = GetTopPage = pi"; -_isclosingtoppage = (_gettoppage()).equals(_pi); - //BA.debugLineNum = 220;BA.debugLine="ClosePageImpl(pi)"; -_closepageimpl(_pi); - //BA.debugLineNum = 221;BA.debugLine="If IsClosingTopPage Then"; + }} +; +RDebugUtils.currentLine=9830410; + //BA.debugLineNum = 9830410;BA.debugLine="Dim IsClosingTopPage As Boolean = GetTopPage = pi"; +_isclosingtoppage = (__ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null)).equals(_pi); +RDebugUtils.currentLine=9830411; + //BA.debugLineNum = 9830411;BA.debugLine="ClosePageImpl(pi)"; +__ref._closepageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=9830412; + //BA.debugLineNum = 9830412;BA.debugLine="If IsClosingTopPage Then"; if (_isclosingtoppage) { - //BA.debugLineNum = 222;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); +RDebugUtils.currentLine=9830413; + //BA.debugLineNum = 9830413;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); }; - //BA.debugLineNum = 224;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; -if (_xui.getIsB4A() && _mstackofpageids._getsize /*int*/ ()==1) { +RDebugUtils.currentLine=9830415; + //BA.debugLineNum = 9830415;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() && __ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._getsize /*int*/ (null)==1) { if (true) return "";}; - //BA.debugLineNum = 225;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; -_mstackofpageids._remove /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 226;BA.debugLine="If IsClosingTopPage Then"; +RDebugUtils.currentLine=9830416; + //BA.debugLineNum = 9830416;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._remove /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=9830417; + //BA.debugLineNum = 9830417;BA.debugLine="If IsClosingTopPage Then"; if (_isclosingtoppage) { - //BA.debugLineNum = 227;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; -if (_xui.getIsB4A()) { -_showpageimpl(_gettoppage());}; - //BA.debugLineNum = 228;BA.debugLine="TopPageAppear"; -_toppageappear(); +RDebugUtils.currentLine=9830418; + //BA.debugLineNum = 9830418;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +__ref._showpageimpl /*String*/ (null,__ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null));}; +RDebugUtils.currentLine=9830419; + //BA.debugLineNum = 9830419;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); }; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; +RDebugUtils.currentLine=9830421; + //BA.debugLineNum = 9830421;BA.debugLine="End Sub"; return ""; } -public String _closepageimpl(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 315;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; - //BA.debugLineNum = 317;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; -if (_mstackofpageids._getsize /*int*/ ()==1) { - //BA.debugLineNum = 318;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 319;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; -_i.Initialize(_i.ACTION_MAIN,""); - //BA.debugLineNum = 320;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; -_i.AddCategory("android.intent.category.HOME"); - //BA.debugLineNum = 321;BA.debugLine="i.Flags = 0x10000000"; -_i.setFlags(((int)0x10000000)); - //BA.debugLineNum = 322;BA.debugLine="StartActivity(i)"; -__c.StartActivity(ba,(Object)(_i.getObject())); +public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _findpifromb4xpage(reparto_intmex.keymon.lat.b4xpagesmanager __ref,Object _page) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "findpifromb4xpage", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "findpifromb4xpage", new Object[] {_page}));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=10027008; + //BA.debugLineNum = 10027008;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; +RDebugUtils.currentLine=10027009; + //BA.debugLineNum = 10027009;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = __ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_pi = (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(group1.Get(index1)); +RDebugUtils.currentLine=10027010; + //BA.debugLineNum = 10027010;BA.debugLine="If pi.B4XPage = Page Then"; +if ((_pi.B4XPage /*Object*/ ).equals(_page)) { +RDebugUtils.currentLine=10027011; + //BA.debugLineNum = 10027011;BA.debugLine="Return pi"; +if (true) return _pi; + }; + } +}; +RDebugUtils.currentLine=10027014; + //BA.debugLineNum = 10027014;BA.debugLine="Return Null"; +if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(__c.Null); +RDebugUtils.currentLine=10027015; + //BA.debugLineNum = 10027015;BA.debugLine="End Sub"; +return null; +} +public Object _getpage(reparto_intmex.keymon.lat.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpage", true)) + {return ((Object) Debug.delegate(ba, "getpage", new Object[] {_id}));} +RDebugUtils.currentLine=10420224; + //BA.debugLineNum = 10420224;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +RDebugUtils.currentLine=10420225; + //BA.debugLineNum = 10420225;BA.debugLine="Return GetPageFromId(Id).B4XPage"; +if (true) return __ref._getpagefromid /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id).B4XPage /*Object*/ ; +RDebugUtils.currentLine=10420226; + //BA.debugLineNum = 10420226;BA.debugLine="End Sub"; +return null; +} +public String _settitle(reparto_intmex.keymon.lat.b4xpagesmanager __ref,Object _b4xpage,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "settitle", true)) + {return ((String) Debug.delegate(ba, "settitle", new Object[] {_b4xpage,_title}));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=10289152; + //BA.debugLineNum = 10289152;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +RDebugUtils.currentLine=10289153; + //BA.debugLineNum = 10289153;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +_pi = __ref._findpifromb4xpage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage); +RDebugUtils.currentLine=10289154; + //BA.debugLineNum = 10289154;BA.debugLine="pi.Title = Title"; +_pi.Title /*Object*/ = _title; +RDebugUtils.currentLine=10289155; + //BA.debugLineNum = 10289155;BA.debugLine="pi.Parent.NativeType.Title = Title"; +_pi.Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_title)); +RDebugUtils.currentLine=10289156; + //BA.debugLineNum = 10289156;BA.debugLine="End Sub"; +return ""; +} +public String _showpage(reparto_intmex.keymon.lat.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpage", true)) + {return ((String) Debug.delegate(ba, "showpage", new Object[] {_id}));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _top = null; +RDebugUtils.currentLine=9699328; + //BA.debugLineNum = 9699328;BA.debugLine="Public Sub ShowPage (Id As String)"; +RDebugUtils.currentLine=9699329; + //BA.debugLineNum = 9699329;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +_pi = __ref._getpagefromid /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=9699330; + //BA.debugLineNum = 9699330;BA.debugLine="If pi = GetTopPage Then Return"; +if ((_pi).equals(__ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null))) { +if (true) return "";}; +RDebugUtils.currentLine=9699331; + //BA.debugLineNum = 9699331;BA.debugLine="CreatePageIfNeeded(pi)"; +__ref._createpageifneeded /*String*/ (null,_pi); +RDebugUtils.currentLine=9699332; + //BA.debugLineNum = 9699332;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); +RDebugUtils.currentLine=9699334; + //BA.debugLineNum = 9699334;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; +_top = __ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=9699335; + //BA.debugLineNum = 9699335;BA.debugLine="If Top <> Null Then"; +if (_top!= null) { +RDebugUtils.currentLine=9699336; + //BA.debugLineNum = 9699336;BA.debugLine="Top.Root.RemoveViewFromParent"; +_top.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + }; +RDebugUtils.currentLine=9699346; + //BA.debugLineNum = 9699346;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._remove /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=9699347; + //BA.debugLineNum = 9699347;BA.debugLine="ShowPageImpl(pi)"; +__ref._showpageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=9699348; + //BA.debugLineNum = 9699348;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._add /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=9699349; + //BA.debugLineNum = 9699349;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); +RDebugUtils.currentLine=9699350; + //BA.debugLineNum = 9699350;BA.debugLine="End Sub"; +return ""; +} +public String _showpageandremovepreviouspages(reparto_intmex.keymon.lat.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpageandremovepreviouspages", true)) + {return ((String) Debug.delegate(ba, "showpageandremovepreviouspages", new Object[] {_id}));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pagetoremove = null; +RDebugUtils.currentLine=9764864; + //BA.debugLineNum = 9764864;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +RDebugUtils.currentLine=9764865; + //BA.debugLineNum = 9764865;BA.debugLine="If GetTopPage = Null Then"; +if (__ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null)== null) { +RDebugUtils.currentLine=9764866; + //BA.debugLineNum = 9764866;BA.debugLine="ShowPage(Id)"; +__ref._showpage /*String*/ (null,_id); +RDebugUtils.currentLine=9764867; + //BA.debugLineNum = 9764867;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=9764869; + //BA.debugLineNum = 9764869;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +_pi = __ref._getpagefromid /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=9764870; + //BA.debugLineNum = 9764870;BA.debugLine="CreatePageIfNeeded(pi)"; +__ref._createpageifneeded /*String*/ (null,_pi); +RDebugUtils.currentLine=9764871; + //BA.debugLineNum = 9764871;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); +RDebugUtils.currentLine=9764875; + //BA.debugLineNum = 9764875;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; +{ +final anywheresoftware.b4a.BA.IterableList group8 = __ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen8 = group8.getSize() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_id = BA.ObjectToString(group8.Get(index8)); +RDebugUtils.currentLine=9764876; + //BA.debugLineNum = 9764876;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; +_pagetoremove = __ref._getpagefromid /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=9764878; + //BA.debugLineNum = 9764878;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; +_pagetoremove.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + } +}; +RDebugUtils.currentLine=9764885; + //BA.debugLineNum = 9764885;BA.debugLine="mStackOfPageIds.Clear"; +__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=9764886; + //BA.debugLineNum = 9764886;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._add /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=9764887; + //BA.debugLineNum = 9764887;BA.debugLine="If xui.IsB4A Or xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=9764888; + //BA.debugLineNum = 9764888;BA.debugLine="ShowPageImpl(pi)"; +__ref._showpageimpl /*String*/ (null,_pi); + }; +RDebugUtils.currentLine=9764890; + //BA.debugLineNum = 9764890;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); +RDebugUtils.currentLine=9764891; + //BA.debugLineNum = 9764891;BA.debugLine="End Sub"; +return ""; +} +public String _activity_actionbarhomeclick(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_actionbarhomeclick", true)) + {return ((String) Debug.delegate(ba, "activity_actionbarhomeclick", null));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=9502720; + //BA.debugLineNum = 9502720;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=9502721; + //BA.debugLineNum = 9502721;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=9502722; + //BA.debugLineNum = 9502722;BA.debugLine="If pi <> Null Then"; +if (_pi!= null) { +RDebugUtils.currentLine=9502723; + //BA.debugLineNum = 9502723;BA.debugLine="If CloseRequestExists (pi) Then"; +if (__ref._closerequestexists /*boolean*/ (null,_pi)) { +RDebugUtils.currentLine=9502724; + //BA.debugLineNum = 9502724;BA.debugLine="HandleCloseRequest(pi)"; +__ref._handlecloserequest /*void*/ (null,_pi); }else { - //BA.debugLineNum = 324;BA.debugLine="pi.Root.RemoveViewFromParent"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); +RDebugUtils.currentLine=9502726; + //BA.debugLineNum = 9502726;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); }; - //BA.debugLineNum = 331;BA.debugLine="End Sub"; + }; +RDebugUtils.currentLine=9502729; + //BA.debugLineNum = 9502729;BA.debugLine="End Sub"; return ""; } -public boolean _closerequestexists(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 534;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; - //BA.debugLineNum = 535;BA.debugLine="Return xui.SubExists(pi.B4XPage, \"B4XPage_CloseRe"; -if (true) return _xui.SubExists(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest",(int) (0)); - //BA.debugLineNum = 536;BA.debugLine="End Sub"; +public boolean _activity_keypress(reparto_intmex.keymon.lat.b4xpagesmanager __ref,int _keycode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_keypress", true)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_keycode}));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=10682368; + //BA.debugLineNum = 10682368;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +RDebugUtils.currentLine=10682369; + //BA.debugLineNum = 10682369;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; +if (_keycode==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=10682370; + //BA.debugLineNum = 10682370;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=10682371; + //BA.debugLineNum = 10682371;BA.debugLine="If CloseRequestExists(pi) Then"; +if (__ref._closerequestexists /*boolean*/ (null,_pi)) { +RDebugUtils.currentLine=10682372; + //BA.debugLineNum = 10682372;BA.debugLine="HandleCloseRequest(pi)"; +__ref._handlecloserequest /*void*/ (null,_pi); + }else { +RDebugUtils.currentLine=10682374; + //BA.debugLineNum = 10682374;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); + }; +RDebugUtils.currentLine=10682376; + //BA.debugLineNum = 10682376;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=10682378; + //BA.debugLineNum = 10682378;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=10682379; + //BA.debugLineNum = 10682379;BA.debugLine="End Sub"; return false; } -public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _createb4xpageinfo(Object _b4xpage,String _id,boolean _created,Object _title) throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _t1 = null; - //BA.debugLineNum = 420;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; - //BA.debugLineNum = 421;BA.debugLine="Dim t1 As B4XPageInfo"; -_t1 = new reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo(); - //BA.debugLineNum = 422;BA.debugLine="t1.Initialize"; -_t1.Initialize(); - //BA.debugLineNum = 423;BA.debugLine="t1.B4XPage = B4XPage"; -_t1.B4XPage /*Object*/ = _b4xpage; - //BA.debugLineNum = 424;BA.debugLine="t1.Id = Id"; -_t1.Id /*String*/ = _id; - //BA.debugLineNum = 425;BA.debugLine="t1.Created = Created"; -_t1.Created /*boolean*/ = _created; - //BA.debugLineNum = 426;BA.debugLine="t1.Title = Title"; -_t1.Title /*Object*/ = _title; - //BA.debugLineNum = 427;BA.debugLine="Return t1"; -if (true) return _t1; - //BA.debugLineNum = 428;BA.debugLine="End Sub"; +public String _activity_pause(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +RDebugUtils.currentLine=11534336; + //BA.debugLineNum = 11534336;BA.debugLine="Public Sub Activity_Pause"; +RDebugUtils.currentLine=11534337; + //BA.debugLineNum = 11534337;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; +__ref._raiseeventwithresult /*Object*/ (null,__ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Disappear",(Object[])(__c.Null)); +RDebugUtils.currentLine=11534338; + //BA.debugLineNum = 11534338;BA.debugLine="BackgroundStateChanged(False)"; +__ref._backgroundstatechanged /*String*/ (null,__c.False); +RDebugUtils.currentLine=11534339; + //BA.debugLineNum = 11534339;BA.debugLine="End Sub"; +return ""; +} +public String _raiseevent(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "raiseevent", true)) + {return ((String) Debug.delegate(ba, "raiseevent", new Object[] {_targetpage,_subname,_params}));} +int _length = 0; +RDebugUtils.currentLine=11075584; + //BA.debugLineNum = 11075584;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; +RDebugUtils.currentLine=11075585; + //BA.debugLineNum = 11075585;BA.debugLine="If TargetPage = Null Then Return"; +if (_targetpage== null) { +if (true) return "";}; +RDebugUtils.currentLine=11075586; + //BA.debugLineNum = 11075586;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=11075587; + //BA.debugLineNum = 11075587;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +if (_params== null) { +_length = (int) (0);} +else { +_length = _params.length;}; +RDebugUtils.currentLine=11075588; + //BA.debugLineNum = 11075588;BA.debugLine="LogEvent(TargetPage, SubName)"; +__ref._logevent /*String*/ (null,_targetpage,_subname); +RDebugUtils.currentLine=11075589; + //BA.debugLineNum = 11075589;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=11075590; + //BA.debugLineNum = 11075590;BA.debugLine="Select length"; +switch (_length) { +case 0: { +RDebugUtils.currentLine=11075592; + //BA.debugLineNum = 11075592;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; +__c.CallSubDelayed(ba,_targetpage.B4XPage /*Object*/ ,_subname); + break; } +case 1: { +RDebugUtils.currentLine=11075594; + //BA.debugLineNum = 11075594;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; +__c.CallSubDelayed2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); + break; } +case 2: { +RDebugUtils.currentLine=11075596; + //BA.debugLineNum = 11075596;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; +__c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); + break; } +default: { +RDebugUtils.currentLine=11075598; + //BA.debugLineNum = 11075598;BA.debugLine="Log(\"Too many parameters\")"; +__c.LogImpl("911075598","Too many parameters",0); + break; } +} +; +RDebugUtils.currentLine=11075600; + //BA.debugLineNum = 11075600;BA.debugLine="End Sub"; +return ""; +} +public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _gettoppage(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "gettoppage", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "gettoppage", null));} +RDebugUtils.currentLine=11272192; + //BA.debugLineNum = 11272192;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; +RDebugUtils.currentLine=11272193; + //BA.debugLineNum = 11272193;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; +if (__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._getsize /*int*/ (null)==0) { +if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(__c.Null);}; +RDebugUtils.currentLine=11272194; + //BA.debugLineNum = 11272194;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; +if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null).Get((int) (__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._getsize /*int*/ (null)-1)))); +RDebugUtils.currentLine=11272195; + //BA.debugLineNum = 11272195;BA.debugLine="End Sub"; return null; } -public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent _createb4xpageparent(Object _nativetype) throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent _t1 = null; - //BA.debugLineNum = 598;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; - //BA.debugLineNum = 604;BA.debugLine="Dim t1 As B4XPageParent"; -_t1 = new reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent(); - //BA.debugLineNum = 605;BA.debugLine="t1.Initialize"; -_t1.Initialize(); - //BA.debugLineNum = 606;BA.debugLine="t1.NativeType = NativeType"; -_t1.NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ = (anywheresoftware.b4a.objects.ActivityWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ActivityWrapper(), (anywheresoftware.b4a.BALayout)(_nativetype)); - //BA.debugLineNum = 607;BA.debugLine="Return t1"; -if (true) return _t1; - //BA.debugLineNum = 608;BA.debugLine="End Sub"; -return null; +public String _activity_resume(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_resume", true)) + {return ((String) Debug.delegate(ba, "activity_resume", null));} +boolean _shouldraise = false; +RDebugUtils.currentLine=11403264; + //BA.debugLineNum = 11403264;BA.debugLine="Public Sub Activity_Resume"; +RDebugUtils.currentLine=11403265; + //BA.debugLineNum = 11403265;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; +_shouldraise = __ref._isforeground /*boolean*/ ==__c.False; +RDebugUtils.currentLine=11403266; + //BA.debugLineNum = 11403266;BA.debugLine="BackgroundStateChanged(True)"; +__ref._backgroundstatechanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=11403267; + //BA.debugLineNum = 11403267;BA.debugLine="If ShouldRaise Then"; +if (_shouldraise) { +RDebugUtils.currentLine=11403268; + //BA.debugLineNum = 11403268;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,__ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Appear",(Object[])(__c.Null)); + }; +RDebugUtils.currentLine=11403270; + //BA.debugLineNum = 11403270;BA.debugLine="End Sub"; +return ""; } -public String _createmenu(Object _menu) throws Exception{ +public String _createmenu(reparto_intmex.keymon.lat.b4xpagesmanager __ref,Object _menu) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createmenu", true)) + {return ((String) Debug.delegate(ba, "createmenu", new Object[] {_menu}));} reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; anywheresoftware.b4j.object.JavaObject _jo = null; reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem _mi = null; anywheresoftware.b4j.object.JavaObject _nativemenuitem = null; anywheresoftware.b4a.objects.drawable.BitmapDrawable _bd = null; anywheresoftware.b4j.object.JavaObject _listener = null; - //BA.debugLineNum = 494;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; - //BA.debugLineNum = 495;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 496;BA.debugLine="If pi = Null Then Return"; +RDebugUtils.currentLine=10878976; + //BA.debugLineNum = 10878976;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; +RDebugUtils.currentLine=10878977; + //BA.debugLineNum = 10878977;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=10878978; + //BA.debugLineNum = 10878978;BA.debugLine="If pi = Null Then Return"; if (_pi== null) { if (true) return "";}; - //BA.debugLineNum = 497;BA.debugLine="Dim jo As JavaObject = Menu"; +RDebugUtils.currentLine=10878979; + //BA.debugLineNum = 10878979;BA.debugLine="Dim jo As JavaObject = Menu"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_menu)); - //BA.debugLineNum = 498;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; +RDebugUtils.currentLine=10878980; + //BA.debugLineNum = 10878980;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; { final anywheresoftware.b4a.BA.IterableList group4 = _pi.Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen4 = group4.getSize() @@ -491,140 +741,96 @@ final int groupLen4 = group4.getSize() ; for (; index4 < groupLen4;index4++){ _mi = (reparto_intmex.keymon.lat.b4xpagesmanager._b4amenuitem)(group4.Get(index4)); - //BA.debugLineNum = 499;BA.debugLine="Dim NativeMenuItem As JavaObject = jo.RunMethod("; +RDebugUtils.currentLine=10878981; + //BA.debugLineNum = 10878981;BA.debugLine="Dim NativeMenuItem As JavaObject = jo.RunMethod("; _nativemenuitem = new anywheresoftware.b4j.object.JavaObject(); _nativemenuitem = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("add",new Object[]{_mi.Title /*Object*/ }))); - //BA.debugLineNum = 500;BA.debugLine="If mi.Bitmap.IsInitialized Then"; +RDebugUtils.currentLine=10878982; + //BA.debugLineNum = 10878982;BA.debugLine="If mi.Bitmap.IsInitialized Then"; if (_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 501;BA.debugLine="Dim bd As BitmapDrawable"; +RDebugUtils.currentLine=10878983; + //BA.debugLineNum = 10878983;BA.debugLine="Dim bd As BitmapDrawable"; _bd = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); - //BA.debugLineNum = 502;BA.debugLine="bd.Initialize(mi.Bitmap)"; +RDebugUtils.currentLine=10878984; + //BA.debugLineNum = 10878984;BA.debugLine="bd.Initialize(mi.Bitmap)"; _bd.Initialize((android.graphics.Bitmap)(_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getObject())); - //BA.debugLineNum = 503;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; +RDebugUtils.currentLine=10878985; + //BA.debugLineNum = 10878985;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; _nativemenuitem.RunMethod("setIcon",new Object[]{(Object)(_bd.getObject())}); }; - //BA.debugLineNum = 505;BA.debugLine="If mi.AddToBar Then"; +RDebugUtils.currentLine=10878987; + //BA.debugLineNum = 10878987;BA.debugLine="If mi.AddToBar Then"; if (_mi.AddToBar /*boolean*/ ) { - //BA.debugLineNum = 506;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; +RDebugUtils.currentLine=10878988; + //BA.debugLineNum = 10878988;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; _nativemenuitem.RunMethod("setShowAsAction",new Object[]{(Object)(1)}); }; - //BA.debugLineNum = 508;BA.debugLine="Dim listener As JavaObject"; +RDebugUtils.currentLine=10878990; + //BA.debugLineNum = 10878990;BA.debugLine="Dim listener As JavaObject"; _listener = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 509;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; +RDebugUtils.currentLine=10878991; + //BA.debugLineNum = 10878991;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; _listener.InitializeNewInstance(__c.Application.getPackageName()+".b4xpagesmanager$PagesMenuListener",new Object[]{_pi.B4XPage /*Object*/ ,(Object)(_mi.Tag /*String*/ )}); - //BA.debugLineNum = 510;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; +RDebugUtils.currentLine=10878992; + //BA.debugLineNum = 10878992;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; _nativemenuitem.RunMethod("setOnMenuItemClickListener",new Object[]{(Object)(_listener.getObject())}); } }; - //BA.debugLineNum = 512;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10878994; + //BA.debugLineNum = 10878994;BA.debugLine="End Sub"; return ""; } -public String _createpageifneeded(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 352;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; - //BA.debugLineNum = 353;BA.debugLine="If pi.Created Then Return"; -if (_pi.Created /*boolean*/ ) { -if (true) return "";}; - //BA.debugLineNum = 354;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; -_pi.IsFirst /*boolean*/ = _idtob4xpage._getsize /*int*/ ()==1; - //BA.debugLineNum = 355;BA.debugLine="CreatePageImpl (pi)"; -_createpageimpl(_pi); - //BA.debugLineNum = 356;BA.debugLine="pi.Created = True"; -_pi.Created /*boolean*/ = __c.True; - //BA.debugLineNum = 357;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; -_rootb4xtopage._put /*String*/ ((Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(Object)(_pi)); - //BA.debugLineNum = 358;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; -_logevent(_pi,"B4XPage_Created"); - //BA.debugLineNum = 359;BA.debugLine="CallSub2(pi.B4XPage, \"B4XPage_Created\", pi.root)"; -__c.CallSubNew2(ba,_pi.B4XPage /*Object*/ ,"B4XPage_Created",(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ )); - //BA.debugLineNum = 361;BA.debugLine="End Sub"; +public String _mainform_resize(reparto_intmex.keymon.lat.b4xpagesmanager __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "mainform_resize", true)) + {return ((String) Debug.delegate(ba, "mainform_resize", new Object[] {_width,_height}));} +int _w = 0; +int _h = 0; +RDebugUtils.currentLine=11206656; + //BA.debugLineNum = 11206656;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +RDebugUtils.currentLine=11206657; + //BA.debugLineNum = 11206657;BA.debugLine="Dim w As Int = Width"; +_w = (int) (_width); +RDebugUtils.currentLine=11206658; + //BA.debugLineNum = 11206658;BA.debugLine="Dim h As Int = Height"; +_h = (int) (_height); +RDebugUtils.currentLine=11206659; + //BA.debugLineNum = 11206659;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; +__ref._raiseevent /*String*/ (null,__ref._getpageinfofromroot /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))),"B4XPage_Resize",new Object[]{(Object)(_w),(Object)(_h)}); +RDebugUtils.currentLine=11206660; + //BA.debugLineNum = 11206660;BA.debugLine="End Sub"; return ""; } -public String _createpageimpl(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 369;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; - //BA.debugLineNum = 381;BA.debugLine="pi.Root = xui.CreatePanel(\"root\")"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _xui.CreatePanel(ba,"root"); - //BA.debugLineNum = 382;BA.debugLine="pi.root.SetLayoutAnimated(0, 0, 0, 100%x, 100%y)"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - //BA.debugLineNum = 383;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; -_pi.Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ = _createb4xpageparent((Object)(_mmainform.getObject())); - //BA.debugLineNum = 384;BA.debugLine="pi.Parent.MenuItems.Initialize"; -_pi.Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 392;BA.debugLine="End Sub"; -return ""; +public boolean _closerequestexists(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closerequestexists", true)) + {return ((Boolean) Debug.delegate(ba, "closerequestexists", new Object[] {_pi}));} +RDebugUtils.currentLine=10944512; + //BA.debugLineNum = 10944512;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; +RDebugUtils.currentLine=10944513; + //BA.debugLineNum = 10944513;BA.debugLine="Return xui.SubExists(pi.B4XPage, \"B4XPage_CloseRe"; +if (true) return __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest",(int) (0)); +RDebugUtils.currentLine=10944514; + //BA.debugLineNum = 10944514;BA.debugLine="End Sub"; +return false; } -public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _findpifromb4xpage(Object _page) throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 306;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; - //BA.debugLineNum = 307;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; -{ -final anywheresoftware.b4a.BA.IterableList group1 = _idtob4xpage._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_pi = (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(group1.Get(index1)); - //BA.debugLineNum = 308;BA.debugLine="If pi.B4XPage = Page Then"; -if ((_pi.B4XPage /*Object*/ ).equals(_page)) { - //BA.debugLineNum = 309;BA.debugLine="Return pi"; -if (true) return _pi; - }; - } -}; - //BA.debugLineNum = 312;BA.debugLine="Return Null"; -if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(__c.Null); - //BA.debugLineNum = 313;BA.debugLine="End Sub"; -return null; -} -public Object _getpage(String _id) throws Exception{ - //BA.debugLineNum = 394;BA.debugLine="Public Sub GetPage (Id As String) As Object"; - //BA.debugLineNum = 395;BA.debugLine="Return GetPageFromId(Id).B4XPage"; -if (true) return _getpagefromid(_id).B4XPage /*Object*/ ; - //BA.debugLineNum = 396;BA.debugLine="End Sub"; -return null; -} -public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _getpagefromid(String _id) throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 398;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; - //BA.debugLineNum = 399;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; -_pi = (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get /*Object*/ ((Object)(_id.toLowerCase()))); - //BA.debugLineNum = 400;BA.debugLine="If pi = Null Then"; -if (_pi== null) { - //BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)"; -__c.LogImpl("947251459","Error: page id not found: "+_id,0); - //BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; -__c.LogImpl("947251460","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0); - }; - //BA.debugLineNum = 404;BA.debugLine="Return pi"; -if (true) return _pi; - //BA.debugLineNum = 405;BA.debugLine="End Sub"; -return null; -} -public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _getpageinfofromroot(anywheresoftware.b4a.objects.B4XViewWrapper _root) throws Exception{ - //BA.debugLineNum = 407;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; - //BA.debugLineNum = 408;BA.debugLine="Return RootB4XToPage.Get(Root)"; -if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(_rootb4xtopage._get /*Object*/ ((Object)(_root.getObject()))); - //BA.debugLineNum = 409;BA.debugLine="End Sub"; -return null; -} -public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _gettoppage() throws Exception{ - //BA.debugLineNum = 592;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; - //BA.debugLineNum = 593;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; -if (_mstackofpageids._getsize /*int*/ ()==0) { -if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(__c.Null);}; - //BA.debugLineNum = 594;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; -if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get /*Object*/ (_mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ ().Get((int) (_mstackofpageids._getsize /*int*/ ()-1)))); - //BA.debugLineNum = 595;BA.debugLine="End Sub"; -return null; -} -public void _handlecloserequest(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ -ResumableSub_HandleCloseRequest rsub = new ResumableSub_HandleCloseRequest(this,_pi); +public void _handlecloserequest(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "handlecloserequest", true)) + {Debug.delegate(ba, "handlecloserequest", new Object[] {_pi}); return;} +ResumableSub_HandleCloseRequest rsub = new ResumableSub_HandleCloseRequest(this,__ref,_pi); rsub.resume(ba, null); } public static class ResumableSub_HandleCloseRequest extends BA.ResumableSub { -public ResumableSub_HandleCloseRequest(reparto_intmex.keymon.lat.b4xpagesmanager parent,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) { +public ResumableSub_HandleCloseRequest(reparto_intmex.keymon.lat.b4xpagesmanager parent,reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) { this.parent = parent; +this.__ref = __ref; this._pi = _pi; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xpagesmanager __ref; reparto_intmex.keymon.lat.b4xpagesmanager parent; reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi; anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _rs = null; @@ -632,6 +838,7 @@ boolean _shouldclose = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xpagesmanager"; while (true) { switch (state) { @@ -641,21 +848,25 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 539;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; -parent._logevent(_pi,"B4XPage_CloseRequest"); - //BA.debugLineNum = 540;BA.debugLine="Dim rs As ResumableSub = CallSub(pi.B4XPage, \"B4X"; +RDebugUtils.currentLine=11010049; + //BA.debugLineNum = 11010049;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; +__ref._logevent /*String*/ (null,_pi,"B4XPage_CloseRequest"); +RDebugUtils.currentLine=11010050; + //BA.debugLineNum = 11010050;BA.debugLine="Dim rs As ResumableSub = CallSub(pi.B4XPage, \"B4X"; _rs = new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(); -_rs = (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), (anywheresoftware.b4a.BA.ResumableSub)(parent.__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest"))); - //BA.debugLineNum = 541;BA.debugLine="Wait For (rs) Complete (ShouldClose As Boolean)"; -parent.__c.WaitFor("complete", ba, this, _rs); +_rs = (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), (anywheresoftware.b4a.BA.ResumableSub)(parent.__c.CallSubDebug(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest"))); +RDebugUtils.currentLine=11010051; + //BA.debugLineNum = 11010051;BA.debugLine="Wait For (rs) Complete (ShouldClose As Boolean)"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xpagesmanager", "handlecloserequest"), _rs); this.state = 5; return; case 5: //C this.state = 1; -_shouldclose = (Boolean) result[0]; +_shouldclose = (Boolean) result[1]; ; - //BA.debugLineNum = 542;BA.debugLine="If ShouldClose Then"; +RDebugUtils.currentLine=11010052; + //BA.debugLineNum = 11010052;BA.debugLine="If ShouldClose Then"; if (true) break; case 1: @@ -668,395 +879,669 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 543;BA.debugLine="ClosePage(pi.B4XPage)"; -parent._closepage(_pi.B4XPage /*Object*/ ); +RDebugUtils.currentLine=11010053; + //BA.debugLineNum = 11010053;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); if (true) break; case 4: //C this.state = -1; ; - //BA.debugLineNum = 545;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11010055; + //BA.debugLineNum = 11010055;BA.debugLine="End Sub"; if (true) break; } } } } -public void _complete(boolean _shouldclose) throws Exception{ -} -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ActivityWrapper _activity) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4j.object.JavaObject _module = null; -boolean _nonmainpagewasadded = false; - //BA.debugLineNum = 59;BA.debugLine="Public Sub Initialize (Activity As Activity)"; - //BA.debugLineNum = 63;BA.debugLine="IdToB4XPage.Initialize"; -_idtob4xpage._initialize /*String*/ (ba); - //BA.debugLineNum = 64;BA.debugLine="RootB4XToPage.Initialize"; -_rootb4xtopage._initialize /*String*/ (ba); - //BA.debugLineNum = 65;BA.debugLine="mStackOfPageIds.Initialize"; -_mstackofpageids._initialize /*String*/ (ba); - //BA.debugLineNum = 69;BA.debugLine="Context.InitializeContext"; -_context.InitializeContext(ba); - //BA.debugLineNum = 70;BA.debugLine="mMainForm = Activity"; -_mmainform = _activity; - //BA.debugLineNum = 71;BA.debugLine="CheckMainActivityOrientations"; -_checkmainactivityorientations(); - //BA.debugLineNum = 72;BA.debugLine="Dim jo As JavaObject = Me"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 73;BA.debugLine="Dim module As JavaObject"; -_module = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 74;BA.debugLine="module.InitializeStatic(jo.RunMethodJO(\"getActivi"; -_module.InitializeStatic(BA.ObjectToString(_jo.RunMethodJO("getActivityBA",(Object[])(__c.Null)).GetField("className"))).SetField("dontPause",(Object)(__c.True)); - //BA.debugLineNum = 78;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; -_b4xpages._internalsetpagesmanager /*String*/ (ba,this); - //BA.debugLineNum = 79;BA.debugLine="MainPage.Initialize"; -_mainpage._initialize /*String*/ (ba); - //BA.debugLineNum = 80;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; -_nonmainpagewasadded = _idtob4xpage._getsize /*int*/ ()>0; - //BA.debugLineNum = 81;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; -_idtob4xpage._put /*String*/ ((Object)("~~~~~temp~~~~"),(Object)(_createb4xpageinfo((Object)(_mainpage),"",__c.False,(Object)("")))); - //BA.debugLineNum = 82;BA.debugLine="BackgroundStateChanged(True)"; -_backgroundstatechanged(__c.True); - //BA.debugLineNum = 83;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; -_idtob4xpage._remove /*String*/ ((Object)("~~~~~temp~~~~")); - //BA.debugLineNum = 84;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; -_addpageandcreate("MainPage",(Object)(_mainpage)); - //BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then"; -if (_logevents==__c.False) { - //BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; -__c.LogImpl("946137371","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); - }; - //BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then"; -if (_nonmainpagewasadded) { - //BA.debugLineNum = 89;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 90;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; -_raiseevent(_gettoppage(),"B4XPage_Appear",(Object[])(__c.Null)); - }; - }; - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return ""; -} -public String _logevent(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi,String _ev) throws Exception{ -String _msg = ""; - //BA.debugLineNum = 640;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; - //BA.debugLineNum = 641;BA.debugLine="If LogEvents Then"; -if (_logevents) { - //BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac"; -_msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(_stackstring))+""); - //BA.debugLineNum = 643;BA.debugLine="Log(msg)"; -__c.LogImpl("948365571",_msg,0); - }; - //BA.debugLineNum = 645;BA.debugLine="End Sub"; -return ""; -} -public String _mainform_resize(double _width,double _height) throws Exception{ -int _w = 0; -int _h = 0; - //BA.debugLineNum = 585;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; - //BA.debugLineNum = 586;BA.debugLine="Dim w As Int = Width"; -_w = (int) (_width); - //BA.debugLineNum = 587;BA.debugLine="Dim h As Int = Height"; -_h = (int) (_height); - //BA.debugLineNum = 588;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; -_raiseevent(_getpageinfofromroot((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))),"B4XPage_Resize",new Object[]{(Object)(_w),(Object)(_h)}); - //BA.debugLineNum = 589;BA.debugLine="End Sub"; -return ""; -} -public String _raiseevent(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ +public Object _raiseeventwithresult(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "raiseeventwithresult", true)) + {return ((Object) Debug.delegate(ba, "raiseeventwithresult", new Object[] {_targetpage,_subname,_params}));} int _length = 0; - //BA.debugLineNum = 548;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; - //BA.debugLineNum = 549;BA.debugLine="If TargetPage = Null Then Return"; +RDebugUtils.currentLine=11141120; + //BA.debugLineNum = 11141120;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; +RDebugUtils.currentLine=11141121; + //BA.debugLineNum = 11141121;BA.debugLine="If TargetPage = Null Then Return Null"; if (_targetpage== null) { -if (true) return "";}; - //BA.debugLineNum = 550;BA.debugLine="Dim length As Int"; +if (true) return __c.Null;}; +RDebugUtils.currentLine=11141122; + //BA.debugLineNum = 11141122;BA.debugLine="Dim length As Int"; _length = 0; - //BA.debugLineNum = 551;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +RDebugUtils.currentLine=11141123; + //BA.debugLineNum = 11141123;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; if (_params== null) { _length = (int) (0);} else { _length = _params.length;}; - //BA.debugLineNum = 552;BA.debugLine="LogEvent(TargetPage, SubName)"; -_logevent(_targetpage,_subname); - //BA.debugLineNum = 553;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; -if (_xui.SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 554;BA.debugLine="Select length"; +RDebugUtils.currentLine=11141124; + //BA.debugLineNum = 11141124;BA.debugLine="LogEvent(TargetPage, SubName)"; +__ref._logevent /*String*/ (null,_targetpage,_subname); +RDebugUtils.currentLine=11141125; + //BA.debugLineNum = 11141125;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { +if (true) return __c.Null;}; +RDebugUtils.currentLine=11141126; + //BA.debugLineNum = 11141126;BA.debugLine="Select length"; switch (_length) { case 0: { - //BA.debugLineNum = 556;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; -__c.CallSubDelayed(ba,_targetpage.B4XPage /*Object*/ ,_subname); - break; } -case 1: { - //BA.debugLineNum = 558;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; -__c.CallSubDelayed2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); - break; } -case 2: { - //BA.debugLineNum = 560;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; -__c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); - break; } -default: { - //BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")"; -__c.LogImpl("947841294","Too many parameters",0); - break; } -} -; - //BA.debugLineNum = 564;BA.debugLine="End Sub"; -return ""; -} -public Object _raiseeventwithresult(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ -int _length = 0; - //BA.debugLineNum = 566;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; - //BA.debugLineNum = 567;BA.debugLine="If TargetPage = Null Then Return Null"; -if (_targetpage== null) { -if (true) return __c.Null;}; - //BA.debugLineNum = 568;BA.debugLine="Dim length As Int"; -_length = 0; - //BA.debugLineNum = 569;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; -if (_params== null) { -_length = (int) (0);} -else { -_length = _params.length;}; - //BA.debugLineNum = 570;BA.debugLine="LogEvent(TargetPage, SubName)"; -_logevent(_targetpage,_subname); - //BA.debugLineNum = 571;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; -if (_xui.SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { -if (true) return __c.Null;}; - //BA.debugLineNum = 572;BA.debugLine="Select length"; -switch (_length) { -case 0: { - //BA.debugLineNum = 574;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; +RDebugUtils.currentLine=11141128; + //BA.debugLineNum = 11141128;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; if (true) return __c.CallSubNew(ba,_targetpage.B4XPage /*Object*/ ,_subname); break; } case 1: { - //BA.debugLineNum = 576;BA.debugLine="Return CallSub2(TargetPage.B4XPage, SubName, Pa"; +RDebugUtils.currentLine=11141130; + //BA.debugLineNum = 11141130;BA.debugLine="Return CallSub2(TargetPage.B4XPage, SubName, Pa"; if (true) return __c.CallSubNew2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); break; } case 2: { - //BA.debugLineNum = 578;BA.debugLine="Return CallSub3(TargetPage.B4XPage, SubName, Pa"; +RDebugUtils.currentLine=11141132; + //BA.debugLineNum = 11141132;BA.debugLine="Return CallSub3(TargetPage.B4XPage, SubName, Pa"; if (true) return __c.CallSubNew3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); break; } default: { - //BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")"; -__c.LogImpl("947906830","Too many parameters",0); +RDebugUtils.currentLine=11141134; + //BA.debugLineNum = 11141134;BA.debugLine="Log(\"Too many parameters\")"; +__c.LogImpl("911141134","Too many parameters",0); break; } } ; - //BA.debugLineNum = 582;BA.debugLine="Return Null"; +RDebugUtils.currentLine=11141136; + //BA.debugLineNum = 11141136;BA.debugLine="Return Null"; if (true) return __c.Null; - //BA.debugLineNum = 583;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11141137; + //BA.debugLineNum = 11141137;BA.debugLine="End Sub"; return null; } -public String _settitle(Object _b4xpage,Object _title) throws Exception{ +public String _backgroundstatechanged(reparto_intmex.keymon.lat.b4xpagesmanager __ref,boolean _newstate) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "backgroundstatechanged", true)) + {return ((String) Debug.delegate(ba, "backgroundstatechanged", new Object[] {_newstate}));} +String _ev = ""; reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 363;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; - //BA.debugLineNum = 364;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; -_pi = _findpifromb4xpage(_b4xpage); - //BA.debugLineNum = 365;BA.debugLine="pi.Title = Title"; -_pi.Title /*Object*/ = _title; - //BA.debugLineNum = 366;BA.debugLine="pi.Parent.NativeType.Title = Title"; -_pi.Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_title)); - //BA.debugLineNum = 367;BA.debugLine="End Sub"; -return ""; -} -public String _showpage(String _id) throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _top = null; - //BA.debugLineNum = 156;BA.debugLine="Public Sub ShowPage (Id As String)"; - //BA.debugLineNum = 157;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; -_pi = _getpagefromid(_id); - //BA.debugLineNum = 158;BA.debugLine="If pi = GetTopPage Then Return"; -if ((_pi).equals(_gettoppage())) { +RDebugUtils.currentLine=11468800; + //BA.debugLineNum = 11468800;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; +RDebugUtils.currentLine=11468801; + //BA.debugLineNum = 11468801;BA.debugLine="If IsForeground = NewState Then Return"; +if (__ref._isforeground /*boolean*/ ==_newstate) { if (true) return "";}; - //BA.debugLineNum = 159;BA.debugLine="CreatePageIfNeeded(pi)"; -_createpageifneeded(_pi); - //BA.debugLineNum = 160;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); - //BA.debugLineNum = 162;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; -_top = _gettoppage(); - //BA.debugLineNum = 163;BA.debugLine="If Top <> Null Then"; -if (_top!= null) { - //BA.debugLineNum = 164;BA.debugLine="Top.Root.RemoveViewFromParent"; -_top.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); - }; - //BA.debugLineNum = 174;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; -_mstackofpageids._remove /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 175;BA.debugLine="ShowPageImpl(pi)"; -_showpageimpl(_pi); - //BA.debugLineNum = 176;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; -_mstackofpageids._add /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 177;BA.debugLine="TopPageAppear"; -_toppageappear(); - //BA.debugLineNum = 178;BA.debugLine="End Sub"; -return ""; -} -public String _showpageandremovepreviouspages(String _id) throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pagetoremove = null; - //BA.debugLineNum = 180;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; - //BA.debugLineNum = 181;BA.debugLine="If GetTopPage = Null Then"; -if (_gettoppage()== null) { - //BA.debugLineNum = 182;BA.debugLine="ShowPage(Id)"; -_showpage(_id); - //BA.debugLineNum = 183;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 185;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; -_pi = _getpagefromid(_id); - //BA.debugLineNum = 186;BA.debugLine="CreatePageIfNeeded(pi)"; -_createpageifneeded(_pi); - //BA.debugLineNum = 187;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); - //BA.debugLineNum = 191;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; +RDebugUtils.currentLine=11468802; + //BA.debugLineNum = 11468802;BA.debugLine="IsForeground = NewState"; +__ref._isforeground /*boolean*/ = _newstate; +RDebugUtils.currentLine=11468803; + //BA.debugLineNum = 11468803;BA.debugLine="Dim ev As String"; +_ev = ""; +RDebugUtils.currentLine=11468804; + //BA.debugLineNum = 11468804;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; +if (__ref._isforeground /*boolean*/ ) { +_ev = "B4XPage_Foreground";} +else { +_ev = "B4XPage_Background";}; +RDebugUtils.currentLine=11468805; + //BA.debugLineNum = 11468805;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; { -final anywheresoftware.b4a.BA.IterableList group8 = _mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen8 = group8.getSize() -;int index8 = 0; +final anywheresoftware.b4a.BA.IterableList group5 = __ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen5 = group5.getSize() +;int index5 = 0; ; -for (; index8 < groupLen8;index8++){ -_id = BA.ObjectToString(group8.Get(index8)); - //BA.debugLineNum = 192;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; -_pagetoremove = _getpagefromid(_id); - //BA.debugLineNum = 194;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; -_pagetoremove.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); +for (; index5 < groupLen5;index5++){ +_pi = (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(group5.Get(index5)); +RDebugUtils.currentLine=11468806; + //BA.debugLineNum = 11468806;BA.debugLine="If xui.SubExists(pi.B4XPage, ev, 0) Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,_pi.B4XPage /*Object*/ ,_ev,(int) (0))) { +RDebugUtils.currentLine=11468807; + //BA.debugLineNum = 11468807;BA.debugLine="LogEvent(pi, ev)"; +__ref._logevent /*String*/ (null,_pi,_ev); +RDebugUtils.currentLine=11468808; + //BA.debugLineNum = 11468808;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=11468809; + //BA.debugLineNum = 11468809;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; +__c.CallSubDelayed(ba,_pi.B4XPage /*Object*/ ,_ev); + }else { +RDebugUtils.currentLine=11468811; + //BA.debugLineNum = 11468811;BA.debugLine="CallSub(pi.B4XPage, ev)"; +__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,_ev); + }; + }; } }; - //BA.debugLineNum = 201;BA.debugLine="mStackOfPageIds.Clear"; -_mstackofpageids._clear /*String*/ (); - //BA.debugLineNum = 202;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; -_mstackofpageids._add /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 203;BA.debugLine="If xui.IsB4A Or xui.IsB4J Then"; -if (_xui.getIsB4A() || _xui.getIsB4J()) { - //BA.debugLineNum = 204;BA.debugLine="ShowPageImpl(pi)"; -_showpageimpl(_pi); - }; - //BA.debugLineNum = 206;BA.debugLine="TopPageAppear"; -_toppageappear(); - //BA.debugLineNum = 207;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11468815; + //BA.debugLineNum = 11468815;BA.debugLine="End Sub"; return ""; } -public String _showpageimpl(reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _createb4xpageinfo(reparto_intmex.keymon.lat.b4xpagesmanager __ref,Object _b4xpage,String _id,boolean _created,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createb4xpageinfo", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "createb4xpageinfo", new Object[] {_b4xpage,_id,_created,_title}));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _t1 = null; +RDebugUtils.currentLine=10616832; + //BA.debugLineNum = 10616832;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; +RDebugUtils.currentLine=10616833; + //BA.debugLineNum = 10616833;BA.debugLine="Dim t1 As B4XPageInfo"; +_t1 = new reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo(); +RDebugUtils.currentLine=10616834; + //BA.debugLineNum = 10616834;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=10616835; + //BA.debugLineNum = 10616835;BA.debugLine="t1.B4XPage = B4XPage"; +_t1.B4XPage /*Object*/ = _b4xpage; +RDebugUtils.currentLine=10616836; + //BA.debugLineNum = 10616836;BA.debugLine="t1.Id = Id"; +_t1.Id /*String*/ = _id; +RDebugUtils.currentLine=10616837; + //BA.debugLineNum = 10616837;BA.debugLine="t1.Created = Created"; +_t1.Created /*boolean*/ = _created; +RDebugUtils.currentLine=10616838; + //BA.debugLineNum = 10616838;BA.debugLine="t1.Title = Title"; +_t1.Title /*Object*/ = _title; +RDebugUtils.currentLine=10616839; + //BA.debugLineNum = 10616839;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=10616840; + //BA.debugLineNum = 10616840;BA.debugLine="End Sub"; +return null; +} +public String _createpageifneeded(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createpageifneeded", true)) + {return ((String) Debug.delegate(ba, "createpageifneeded", new Object[] {_pi}));} +RDebugUtils.currentLine=10223616; + //BA.debugLineNum = 10223616;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; +RDebugUtils.currentLine=10223617; + //BA.debugLineNum = 10223617;BA.debugLine="If pi.Created Then Return"; +if (_pi.Created /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=10223618; + //BA.debugLineNum = 10223618;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; +_pi.IsFirst /*boolean*/ = __ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null)==1; +RDebugUtils.currentLine=10223619; + //BA.debugLineNum = 10223619;BA.debugLine="CreatePageImpl (pi)"; +__ref._createpageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=10223620; + //BA.debugLineNum = 10223620;BA.debugLine="pi.Created = True"; +_pi.Created /*boolean*/ = __c.True; +RDebugUtils.currentLine=10223621; + //BA.debugLineNum = 10223621;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; +__ref._rootb4xtopage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(Object)(_pi)); +RDebugUtils.currentLine=10223622; + //BA.debugLineNum = 10223622;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; +__ref._logevent /*String*/ (null,_pi,"B4XPage_Created"); +RDebugUtils.currentLine=10223623; + //BA.debugLineNum = 10223623;BA.debugLine="CallSub2(pi.B4XPage, \"B4XPage_Created\", pi.root)"; +__c.CallSubDebug2(ba,_pi.B4XPage /*Object*/ ,"B4XPage_Created",(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ )); +RDebugUtils.currentLine=10223625; + //BA.debugLineNum = 10223625;BA.debugLine="End Sub"; +return ""; +} +public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _getpagefromid(reparto_intmex.keymon.lat.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpagefromid", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "getpagefromid", new Object[] {_id}));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=10485760; + //BA.debugLineNum = 10485760;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; +RDebugUtils.currentLine=10485761; + //BA.debugLineNum = 10485761;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; +_pi = (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_id.toLowerCase()))); +RDebugUtils.currentLine=10485762; + //BA.debugLineNum = 10485762;BA.debugLine="If pi = Null Then"; +if (_pi== null) { +RDebugUtils.currentLine=10485763; + //BA.debugLineNum = 10485763;BA.debugLine="Log(\"Error: page id not found: \" & id)"; +__c.LogImpl("910485763","Error: page id not found: "+_id,0); +RDebugUtils.currentLine=10485764; + //BA.debugLineNum = 10485764;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; +__c.LogImpl("910485764","Ids: "+BA.ObjectToString(__ref._idtob4xpage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null)),0); + }; +RDebugUtils.currentLine=10485766; + //BA.debugLineNum = 10485766;BA.debugLine="Return pi"; +if (true) return _pi; +RDebugUtils.currentLine=10485767; + //BA.debugLineNum = 10485767;BA.debugLine="End Sub"; +return null; +} +public String _logevent(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi,String _ev) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "logevent", true)) + {return ((String) Debug.delegate(ba, "logevent", new Object[] {_pi,_ev}));} +String _msg = ""; +RDebugUtils.currentLine=11599872; + //BA.debugLineNum = 11599872;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; +RDebugUtils.currentLine=11599873; + //BA.debugLineNum = 11599873;BA.debugLine="If LogEvents Then"; +if (__ref._logevents /*boolean*/ ) { +RDebugUtils.currentLine=11599874; + //BA.debugLineNum = 11599874;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac"; +_msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(__ref._stackstring /*String*/ ))+""); +RDebugUtils.currentLine=11599875; + //BA.debugLineNum = 11599875;BA.debugLine="Log(msg)"; +__c.LogImpl("911599875",_msg,0); + }; +RDebugUtils.currentLine=11599877; + //BA.debugLineNum = 11599877;BA.debugLine="End Sub"; +return ""; +} +public String _checkmainactivityorientations(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "checkmainactivityorientations", true)) + {return ((String) Debug.delegate(ba, "checkmainactivityorientations", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +anywheresoftware.b4j.object.JavaObject _jme = null; +boolean _isappcompat = false; +anywheresoftware.b4j.object.JavaObject _pi = null; +Object[] _activities = null; +anywheresoftware.b4j.object.JavaObject _act = null; +String _name = ""; +int _screenorientation = 0; +RDebugUtils.currentLine=9437184; + //BA.debugLineNum = 9437184;BA.debugLine="Private Sub CheckMainActivityOrientations"; +RDebugUtils.currentLine=9437186; + //BA.debugLineNum = 9437186;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=9437187; + //BA.debugLineNum = 9437187;BA.debugLine="jo.InitializeContext"; +_jo.InitializeContext(ba); +RDebugUtils.currentLine=9437189; + //BA.debugLineNum = 9437189;BA.debugLine="ActionBar = jo.RunMethod(\"getActionBar\", Null)"; +__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getActionBar",(Object[])(__c.Null)))); +RDebugUtils.currentLine=9437190; + //BA.debugLineNum = 9437190;BA.debugLine="If ActionBar.IsInitialized = False Then"; +if (__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .IsInitialized()==__c.False) { +RDebugUtils.currentLine=9437191; + //BA.debugLineNum = 9437191;BA.debugLine="Dim jme As JavaObject = Me"; +_jme = new anywheresoftware.b4j.object.JavaObject(); +_jme = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=9437192; + //BA.debugLineNum = 9437192;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; +_isappcompat = BA.ObjectToBoolean(_jme.RunMethod("checkIfAppCompat",new Object[]{(Object)(_jo.getObject())})); +RDebugUtils.currentLine=9437193; + //BA.debugLineNum = 9437193;BA.debugLine="If IsAppCompat Then"; +if (_isappcompat) { +RDebugUtils.currentLine=9437194; + //BA.debugLineNum = 9437194;BA.debugLine="ActionBar = jo.RunMethod(\"getSupportActionBar\","; +__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getSupportActionBar",(Object[])(__c.Null)))); + }; + }; +RDebugUtils.currentLine=9437198; + //BA.debugLineNum = 9437198;BA.debugLine="Dim pi As JavaObject = jo.RunMethodJO(\"getPackage"; +_pi = new anywheresoftware.b4j.object.JavaObject(); +_pi = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethodJO("getPackageManager",(Object[])(__c.Null)).RunMethod("getPackageInfo",new Object[]{(Object)(__c.Application.getPackageName()),(Object)(1)}))); +RDebugUtils.currentLine=9437199; + //BA.debugLineNum = 9437199;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; +_activities = (Object[])(_pi.GetField("activities")); +RDebugUtils.currentLine=9437200; + //BA.debugLineNum = 9437200;BA.debugLine="For Each Act As JavaObject In activities"; +_act = new anywheresoftware.b4j.object.JavaObject(); +{ +final Object[] group13 = _activities; +final int groupLen13 = group13.length +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_act = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(group13[index13])); +RDebugUtils.currentLine=9437201; + //BA.debugLineNum = 9437201;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; +_name = BA.ObjectToString(_act.GetField("name")); +RDebugUtils.currentLine=9437202; + //BA.debugLineNum = 9437202;BA.debugLine="If name.EndsWith(\".main\") Then"; +if (_name.endsWith(".main")) { +RDebugUtils.currentLine=9437203; + //BA.debugLineNum = 9437203;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; +_screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))); +RDebugUtils.currentLine=9437204; + //BA.debugLineNum = 9437204;BA.debugLine="If screenOrientation = -1 Then"; +if (_screenorientation==-1) { +RDebugUtils.currentLine=9437205; + //BA.debugLineNum = 9437205;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; +__c.LogImpl("99437205","#SupportedOrientations attribute must be set to landscape or portrait.",__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Red); + }; + }; + } +}; +RDebugUtils.currentLine=9437209; + //BA.debugLineNum = 9437209;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +RDebugUtils.currentLine=9306112; + //BA.debugLineNum = 9306112;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=9306113; + //BA.debugLineNum = 9306113;BA.debugLine="Private IdToB4XPage As B4XOrderedMap"; +_idtob4xpage = new reparto_intmex.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=9306114; + //BA.debugLineNum = 9306114;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; +_rootb4xtopage = new reparto_intmex.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=9306116; + //BA.debugLineNum = 9306116;BA.debugLine="Private Context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=9306117; + //BA.debugLineNum = 9306117;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; +; +RDebugUtils.currentLine=9306118; + //BA.debugLineNum = 9306118;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; +; +RDebugUtils.currentLine=9306124; + //BA.debugLineNum = 9306124;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; +; +RDebugUtils.currentLine=9306128; + //BA.debugLineNum = 9306128;BA.debugLine="Public mStackOfPageIds As B4XSet"; +_mstackofpageids = new reparto_intmex.keymon.lat.b4xset(); +RDebugUtils.currentLine=9306129; + //BA.debugLineNum = 9306129;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=9306133; + //BA.debugLineNum = 9306133;BA.debugLine="Private mMainForm As Activity"; +_mmainform = new anywheresoftware.b4a.objects.ActivityWrapper(); +RDebugUtils.currentLine=9306134; + //BA.debugLineNum = 9306134;BA.debugLine="Public ShowUpIndicator As Boolean = True"; +_showupindicator = __c.True; +RDebugUtils.currentLine=9306135; + //BA.debugLineNum = 9306135;BA.debugLine="Public ActionBar As JavaObject"; +_actionbar = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=9306139; + //BA.debugLineNum = 9306139;BA.debugLine="Public IsForeground As Boolean"; +_isforeground = false; +RDebugUtils.currentLine=9306140; + //BA.debugLineNum = 9306140;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; +_transitionanimationduration = (int) (100); +RDebugUtils.currentLine=9306141; + //BA.debugLineNum = 9306141;BA.debugLine="Public MainPage As B4XMainPage"; +_mainpage = new reparto_intmex.keymon.lat.b4xmainpage(); +RDebugUtils.currentLine=9306142; + //BA.debugLineNum = 9306142;BA.debugLine="Private StackString As String"; +_stackstring = ""; +RDebugUtils.currentLine=9306143; + //BA.debugLineNum = 9306143;BA.debugLine="Public LogEvents As Boolean = False"; +_logevents = __c.False; +RDebugUtils.currentLine=9306144; + //BA.debugLineNum = 9306144;BA.debugLine="End Sub"; +return ""; +} +public String _closepageimpl(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closepageimpl", true)) + {return ((String) Debug.delegate(ba, "closepageimpl", new Object[] {_pi}));} +anywheresoftware.b4a.objects.IntentWrapper _i = null; +RDebugUtils.currentLine=10092544; + //BA.debugLineNum = 10092544;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; +RDebugUtils.currentLine=10092546; + //BA.debugLineNum = 10092546;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; +if (__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._getsize /*int*/ (null)==1) { +RDebugUtils.currentLine=10092547; + //BA.debugLineNum = 10092547;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=10092548; + //BA.debugLineNum = 10092548;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; +_i.Initialize(_i.ACTION_MAIN,""); +RDebugUtils.currentLine=10092549; + //BA.debugLineNum = 10092549;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; +_i.AddCategory("android.intent.category.HOME"); +RDebugUtils.currentLine=10092550; + //BA.debugLineNum = 10092550;BA.debugLine="i.Flags = 0x10000000"; +_i.setFlags(((int)0x10000000)); +RDebugUtils.currentLine=10092551; + //BA.debugLineNum = 10092551;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); + }else { +RDebugUtils.currentLine=10092553; + //BA.debugLineNum = 10092553;BA.debugLine="pi.Root.RemoveViewFromParent"; +_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + }; +RDebugUtils.currentLine=10092560; + //BA.debugLineNum = 10092560;BA.debugLine="End Sub"; +return ""; +} +public String _toppagedisappear(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "toppagedisappear", true)) + {return ((String) Debug.delegate(ba, "toppagedisappear", null));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=9895936; + //BA.debugLineNum = 9895936;BA.debugLine="Private Sub TopPageDisappear"; +RDebugUtils.currentLine=9895937; + //BA.debugLineNum = 9895937;BA.debugLine="If xui.IsB4J Then Return"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +if (true) return "";}; +RDebugUtils.currentLine=9895938; + //BA.debugLineNum = 9895938;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=9895939; + //BA.debugLineNum = 9895939;BA.debugLine="If pi = Null Then Return"; +if (_pi== null) { +if (true) return "";}; +RDebugUtils.currentLine=9895940; + //BA.debugLineNum = 9895940;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=9895941; + //BA.debugLineNum = 9895941;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=9895942; + //BA.debugLineNum = 9895942;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; +__ref._raiseeventwithresult /*Object*/ (null,_pi,"B4XPage_Disappear",(Object[])(__c.Null)); + }; + }; +RDebugUtils.currentLine=9895945; + //BA.debugLineNum = 9895945;BA.debugLine="End Sub"; +return ""; +} +public String _showpageimpl(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpageimpl", true)) + {return ((String) Debug.delegate(ba, "showpageimpl", new Object[] {_pi}));} anywheresoftware.b4a.objects.PanelWrapper _pnl = null; - //BA.debugLineNum = 333;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; - //BA.debugLineNum = 339;BA.debugLine="If pi.Root.Parent.IsInitialized Then pi.Root.Remo"; +RDebugUtils.currentLine=10158080; + //BA.debugLineNum = 10158080;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; +RDebugUtils.currentLine=10158086; + //BA.debugLineNum = 10158086;BA.debugLine="If pi.Root.Parent.IsInitialized Then pi.Root.Remo"; if (_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().IsInitialized()) { _pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent();}; - //BA.debugLineNum = 340;BA.debugLine="Dim pnl As Panel = pi.Root"; +RDebugUtils.currentLine=10158087; + //BA.debugLineNum = 10158087;BA.debugLine="Dim pnl As Panel = pi.Root"; _pnl = new anywheresoftware.b4a.objects.PanelWrapper(); _pnl = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); - //BA.debugLineNum = 341;BA.debugLine="If TransitionAnimationDuration > 0 Then"; -if (_transitionanimationduration>0) { - //BA.debugLineNum = 342;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 20dip, 20dip)"; -_mmainform.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20))); - //BA.debugLineNum = 343;BA.debugLine="pnl.SetLayoutAnimated(TransitionAnimationDuratio"; -_pnl.SetLayoutAnimated(_transitionanimationduration,(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=10158088; + //BA.debugLineNum = 10158088;BA.debugLine="If TransitionAnimationDuration > 0 Then"; +if (__ref._transitionanimationduration /*int*/ >0) { +RDebugUtils.currentLine=10158089; + //BA.debugLineNum = 10158089;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 20dip, 20dip)"; +__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ .AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20))); +RDebugUtils.currentLine=10158090; + //BA.debugLineNum = 10158090;BA.debugLine="pnl.SetLayoutAnimated(TransitionAnimationDuratio"; +_pnl.SetLayoutAnimated(__ref._transitionanimationduration /*int*/ ,(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); }else { - //BA.debugLineNum = 345;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 100%x, 100%y)"; -_mmainform.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=10158092; + //BA.debugLineNum = 10158092;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 100%x, 100%y)"; +__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ .AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); }; - //BA.debugLineNum = 350;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10158097; + //BA.debugLineNum = 10158097;BA.debugLine="End Sub"; return ""; } -public String _toppageappear() throws Exception{ +public String _toppageappear(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "toppageappear", true)) + {return ((String) Debug.delegate(ba, "toppageappear", null));} reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 288;BA.debugLine="Private Sub TopPageAppear"; - //BA.debugLineNum = 289;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 290;BA.debugLine="If pi = Null Then Return"; +RDebugUtils.currentLine=9961472; + //BA.debugLineNum = 9961472;BA.debugLine="Private Sub TopPageAppear"; +RDebugUtils.currentLine=9961473; + //BA.debugLineNum = 9961473;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=9961474; + //BA.debugLineNum = 9961474;BA.debugLine="If pi = Null Then Return"; if (_pi== null) { if (true) return "";}; - //BA.debugLineNum = 291;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; +RDebugUtils.currentLine=9961475; + //BA.debugLineNum = 9961475;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; _pi.Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_pi.Title /*Object*/ )); - //BA.debugLineNum = 292;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 293;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 294;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; -_raiseevent(_pi,"B4XPage_Appear",(Object[])(__c.Null)); +RDebugUtils.currentLine=9961476; + //BA.debugLineNum = 9961476;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=9961477; + //BA.debugLineNum = 9961477;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=9961478; + //BA.debugLineNum = 9961478;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,_pi,"B4XPage_Appear",(Object[])(__c.Null)); }; }; - //BA.debugLineNum = 298;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; -if (_showupindicator && _actionbar.IsInitialized()) { - //BA.debugLineNum = 299;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; -_actionbar.RunMethod("setDisplayHomeAsUpEnabled",new Object[]{(Object)(_mstackofpageids._getsize /*int*/ ()>1)}); +RDebugUtils.currentLine=9961482; + //BA.debugLineNum = 9961482;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; +if (__ref._showupindicator /*boolean*/ && __ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .IsInitialized()) { +RDebugUtils.currentLine=9961483; + //BA.debugLineNum = 9961483;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; +__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setDisplayHomeAsUpEnabled",new Object[]{(Object)(__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._getsize /*int*/ (null)>1)}); }; - //BA.debugLineNum = 301;BA.debugLine="UpdateMenuItems"; -_updatemenuitems(); - //BA.debugLineNum = 303;BA.debugLine="UpdateStackString"; -_updatestackstring(); - //BA.debugLineNum = 304;BA.debugLine="End Sub"; +RDebugUtils.currentLine=9961485; + //BA.debugLineNum = 9961485;BA.debugLine="UpdateMenuItems"; +__ref._updatemenuitems /*String*/ (null); +RDebugUtils.currentLine=9961487; + //BA.debugLineNum = 9961487;BA.debugLine="UpdateStackString"; +__ref._updatestackstring /*String*/ (null); +RDebugUtils.currentLine=9961488; + //BA.debugLineNum = 9961488;BA.debugLine="End Sub"; return ""; } -public String _toppagedisappear() throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 277;BA.debugLine="Private Sub TopPageDisappear"; - //BA.debugLineNum = 278;BA.debugLine="If xui.IsB4J Then Return"; -if (_xui.getIsB4J()) { -if (true) return "";}; - //BA.debugLineNum = 279;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 280;BA.debugLine="If pi = Null Then Return"; -if (_pi== null) { -if (true) return "";}; - //BA.debugLineNum = 281;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 282;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 283;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; -_raiseeventwithresult(_pi,"B4XPage_Disappear",(Object[])(__c.Null)); - }; - }; - //BA.debugLineNum = 286;BA.debugLine="End Sub"; +public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent _createb4xpageparent(reparto_intmex.keymon.lat.b4xpagesmanager __ref,Object _nativetype) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createb4xpageparent", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent) Debug.delegate(ba, "createb4xpageparent", new Object[] {_nativetype}));} +reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent _t1 = null; +RDebugUtils.currentLine=11337728; + //BA.debugLineNum = 11337728;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; +RDebugUtils.currentLine=11337734; + //BA.debugLineNum = 11337734;BA.debugLine="Dim t1 As B4XPageParent"; +_t1 = new reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent(); +RDebugUtils.currentLine=11337735; + //BA.debugLineNum = 11337735;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=11337736; + //BA.debugLineNum = 11337736;BA.debugLine="t1.NativeType = NativeType"; +_t1.NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ = (anywheresoftware.b4a.objects.ActivityWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ActivityWrapper(), (anywheresoftware.b4a.BALayout)(_nativetype)); +RDebugUtils.currentLine=11337737; + //BA.debugLineNum = 11337737;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=11337738; + //BA.debugLineNum = 11337738;BA.debugLine="End Sub"; +return null; +} +public String _createpageimpl(reparto_intmex.keymon.lat.b4xpagesmanager __ref,reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createpageimpl", true)) + {return ((String) Debug.delegate(ba, "createpageimpl", new Object[] {_pi}));} +RDebugUtils.currentLine=10354688; + //BA.debugLineNum = 10354688;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; +RDebugUtils.currentLine=10354700; + //BA.debugLineNum = 10354700;BA.debugLine="pi.Root = xui.CreatePanel(\"root\")"; +_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"root"); +RDebugUtils.currentLine=10354701; + //BA.debugLineNum = 10354701;BA.debugLine="pi.root.SetLayoutAnimated(0, 0, 0, 100%x, 100%y)"; +_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=10354702; + //BA.debugLineNum = 10354702;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; +_pi.Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ = __ref._createb4xpageparent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ (null,(Object)(__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ .getObject())); +RDebugUtils.currentLine=10354703; + //BA.debugLineNum = 10354703;BA.debugLine="pi.Parent.MenuItems.Initialize"; +_pi.Parent /*reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=10354711; + //BA.debugLineNum = 10354711;BA.debugLine="End Sub"; return ""; } -public String _updatemenuitems() throws Exception{ - //BA.debugLineNum = 490;BA.debugLine="Private Sub UpdateMenuItems"; - //BA.debugLineNum = 491;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; -_context.RunMethod("invalidateOptionsMenu",(Object[])(__c.Null)); - //BA.debugLineNum = 492;BA.debugLine="End Sub"; +public reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo _getpageinfofromroot(reparto_intmex.keymon.lat.b4xpagesmanager __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpageinfofromroot", true)) + {return ((reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "getpageinfofromroot", new Object[] {_root}));} +RDebugUtils.currentLine=10551296; + //BA.debugLineNum = 10551296;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; +RDebugUtils.currentLine=10551297; + //BA.debugLineNum = 10551297;BA.debugLine="Return RootB4XToPage.Get(Root)"; +if (true) return (reparto_intmex.keymon.lat.b4xpagesmanager._b4xpageinfo)(__ref._rootb4xtopage /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_root.getObject()))); +RDebugUtils.currentLine=10551298; + //BA.debugLineNum = 10551298;BA.debugLine="End Sub"; +return null; +} +public String _updatemenuitems(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "updatemenuitems", true)) + {return ((String) Debug.delegate(ba, "updatemenuitems", null));} +RDebugUtils.currentLine=10813440; + //BA.debugLineNum = 10813440;BA.debugLine="Private Sub UpdateMenuItems"; +RDebugUtils.currentLine=10813441; + //BA.debugLineNum = 10813441;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; +__ref._context /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("invalidateOptionsMenu",(Object[])(__c.Null)); +RDebugUtils.currentLine=10813442; + //BA.debugLineNum = 10813442;BA.debugLine="End Sub"; return ""; } -public String _updatestackstring() throws Exception{ +public String _updatestackstring(reparto_intmex.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "updatestackstring", true)) + {return ((String) Debug.delegate(ba, "updatestackstring", null));} anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; String _id = ""; - //BA.debugLineNum = 647;BA.debugLine="Public Sub UpdateStackString"; - //BA.debugLineNum = 648;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=11665408; + //BA.debugLineNum = 11665408;BA.debugLine="Public Sub UpdateStackString"; +RDebugUtils.currentLine=11665409; + //BA.debugLineNum = 11665409;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 649;BA.debugLine="sb.Initialize"; +RDebugUtils.currentLine=11665410; + //BA.debugLineNum = 11665410;BA.debugLine="sb.Initialize"; _sb.Initialize(); - //BA.debugLineNum = 650;BA.debugLine="sb.Append(\"[\")"; +RDebugUtils.currentLine=11665411; + //BA.debugLineNum = 11665411;BA.debugLine="sb.Append(\"[\")"; _sb.Append("["); - //BA.debugLineNum = 651;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; -if (_mstackofpageids._getsize /*int*/ ()>0) { - //BA.debugLineNum = 652;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; +RDebugUtils.currentLine=11665412; + //BA.debugLineNum = 11665412;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; +if (__ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._getsize /*int*/ (null)>0) { +RDebugUtils.currentLine=11665413; + //BA.debugLineNum = 11665413;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; { -final anywheresoftware.b4a.BA.IterableList group5 = _mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ (); +final anywheresoftware.b4a.BA.IterableList group5 = __ref._mstackofpageids /*reparto_intmex.keymon.lat.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null); final int groupLen5 = group5.getSize() ;int index5 = 0; ; for (; index5 < groupLen5;index5++){ _id = BA.ObjectToString(group5.Get(index5)); - //BA.debugLineNum = 653;BA.debugLine="sb.Append(id).Append(\", \")"; +RDebugUtils.currentLine=11665414; + //BA.debugLineNum = 11665414;BA.debugLine="sb.Append(id).Append(\", \")"; _sb.Append(_id).Append(", "); } }; - //BA.debugLineNum = 655;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; +RDebugUtils.currentLine=11665416; + //BA.debugLineNum = 11665416;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; _sb.Remove((int) (_sb.getLength()-2),_sb.getLength()); }; - //BA.debugLineNum = 657;BA.debugLine="sb.Append(\"]\")"; +RDebugUtils.currentLine=11665418; + //BA.debugLineNum = 11665418;BA.debugLine="sb.Append(\"]\")"; _sb.Append("]"); - //BA.debugLineNum = 658;BA.debugLine="StackString = sb.ToString"; -_stackstring = _sb.ToString(); - //BA.debugLineNum = 659;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11665419; + //BA.debugLineNum = 11665419;BA.debugLine="StackString = sb.ToString"; +__ref._stackstring /*String*/ = _sb.ToString(); +RDebugUtils.currentLine=11665420; + //BA.debugLineNum = 11665420;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} public boolean checkIfAppCompat(android.app.Activity act) { return act.getClass().getSuperclass().getName().equals("androidx.appcompat.app.AppCompatActivity"); } @@ -1072,4 +1557,4 @@ public static class PagesMenuListener implements android.view.MenuItem.OnMenuIte return true; } } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xplusminus.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xplusminus.java index b90667e..df8966e 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xplusminus.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xplusminus.java @@ -10,7 +10,7 @@ public class b4xplusminus extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xplusminus"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xplusminus"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xplusminus extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -53,10 +60,10 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -64,391 +71,666 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 83;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 84;BA.debugLine="If Formation = \"Horizontal\" Then"; -if ((_formation).equals("Horizontal")) { - //BA.debugLineNum = 85;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, 0, ArrowsSize,"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_arrowssize,(int) (_height)); - //BA.debugLineNum = 86;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width - ArrowsSize,"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (_width-_arrowssize),(int) (0),_arrowssize,(int) (_height)); - //BA.debugLineNum = 87;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - }else if((_formation).equals("Vertical")) { - //BA.debugLineNum = 89;BA.debugLine="pnlPlus.SetLayoutAnimated(0, 0, 0, Width, Arrows"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),_arrowssize); - //BA.debugLineNum = 90;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (_height-_arrowssize),(int) (_width),_arrowssize); - //BA.debugLineNum = 91;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +public String _base_resize(reparto_intmex.keymon.lat.b4xplusminus __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=27131904; + //BA.debugLineNum = 27131904;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=27131905; + //BA.debugLineNum = 27131905;BA.debugLine="If Formation = \"Horizontal\" Then"; +if ((__ref._formation /*String*/ ).equals("Horizontal")) { +RDebugUtils.currentLine=27131906; + //BA.debugLineNum = 27131906;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, 0, ArrowsSize,"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._arrowssize /*int*/ ,(int) (_height)); +RDebugUtils.currentLine=27131907; + //BA.debugLineNum = 27131907;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width - ArrowsSize,"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (_width-__ref._arrowssize /*int*/ ),(int) (0),__ref._arrowssize /*int*/ ,(int) (_height)); +RDebugUtils.currentLine=27131908; + //BA.debugLineNum = 27131908;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); + }else +{RDebugUtils.currentLine=27131909; + //BA.debugLineNum = 27131909;BA.debugLine="Else if Formation = \"Vertical\" Then"; +if ((__ref._formation /*String*/ ).equals("Vertical")) { +RDebugUtils.currentLine=27131910; + //BA.debugLineNum = 27131910;BA.debugLine="pnlPlus.SetLayoutAnimated(0, 0, 0, Width, Arrows"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),__ref._arrowssize /*int*/ ); +RDebugUtils.currentLine=27131911; + //BA.debugLineNum = 27131911;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (_height-__ref._arrowssize /*int*/ ),(int) (_width),__ref._arrowssize /*int*/ ); +RDebugUtils.currentLine=27131912; + //BA.debugLineNum = 27131912;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); }else { - //BA.debugLineNum = 93;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (_height-_arrowssize),(int) (_width/(double)2),_arrowssize); - //BA.debugLineNum = 94;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width / 2, pnlMinus"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (_width/(double)2),_pnlminus.getTop(),_pnlminus.getWidth(),_pnlminus.getHeight()); - //BA.debugLineNum = 95;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height-_arrowssize+__c.DipToCurrent((int) (5)))); - }; - //BA.debugLineNum = 97;BA.debugLine="lblMinus.SetLayoutAnimated(0, 0, 0, pnlMinus.Widt"; -_lblminus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pnlminus.getWidth(),_pnlminus.getHeight()); - //BA.debugLineNum = 98;BA.debugLine="lblPlus.SetLayoutAnimated(0, 0, 0, pnlPlus.Width,"; -_lblplus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pnlplus.getWidth(),_pnlplus.getHeight()); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27131914; + //BA.debugLineNum = 27131914;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (_height-__ref._arrowssize /*int*/ ),(int) (_width/(double)2),__ref._arrowssize /*int*/ ); +RDebugUtils.currentLine=27131915; + //BA.debugLineNum = 27131915;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width / 2, pnlMinus"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (_width/(double)2),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTop(),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=27131916; + //BA.debugLineNum = 27131916;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height-__ref._arrowssize /*int*/ +__c.DipToCurrent((int) (5)))); + }} +; +RDebugUtils.currentLine=27131918; + //BA.debugLineNum = 27131918;BA.debugLine="lblMinus.SetLayoutAnimated(0, 0, 0, pnlMinus.Widt"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=27131919; + //BA.debugLineNum = 27131919;BA.debugLine="lblPlus.SetLayoutAnimated(0, 0, 0, pnlPlus.Width,"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=27131920; + //BA.debugLineNum = 27131920;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +RDebugUtils.currentLine=26935296; + //BA.debugLineNum = 26935296;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=26935297; + //BA.debugLineNum = 26935297;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=26935298; + //BA.debugLineNum = 26935298;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=26935299; + //BA.debugLineNum = 26935299;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=26935300; + //BA.debugLineNum = 26935300;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=26935301; + //BA.debugLineNum = 26935301;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Public pnlPlus, pnlMinus As B4XView"; +RDebugUtils.currentLine=26935302; + //BA.debugLineNum = 26935302;BA.debugLine="Public pnlPlus, pnlMinus As B4XView"; _pnlplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnlminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Public lblPlus, lblMinus As B4XView"; +RDebugUtils.currentLine=26935303; + //BA.debugLineNum = 26935303;BA.debugLine="Public lblPlus, lblMinus As B4XView"; _lblplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lblminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Public Formation As String"; +RDebugUtils.currentLine=26935304; + //BA.debugLineNum = 26935304;BA.debugLine="Public Formation As String"; _formation = ""; - //BA.debugLineNum = 15;BA.debugLine="Public mCyclic As Boolean"; +RDebugUtils.currentLine=26935305; + //BA.debugLineNum = 26935305;BA.debugLine="Public mCyclic As Boolean"; _mcyclic = false; - //BA.debugLineNum = 16;BA.debugLine="Public mRapid As Boolean"; +RDebugUtils.currentLine=26935306; + //BA.debugLineNum = 26935306;BA.debugLine="Public mRapid As Boolean"; _mrapid = false; - //BA.debugLineNum = 17;BA.debugLine="Public MainLabel As B4XView"; +RDebugUtils.currentLine=26935307; + //BA.debugLineNum = 26935307;BA.debugLine="Public MainLabel As B4XView"; _mainlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Public ArrowsSize As Int = 30dip"; +RDebugUtils.currentLine=26935308; + //BA.debugLineNum = 26935308;BA.debugLine="Public ArrowsSize As Int = 30dip"; _arrowssize = __c.DipToCurrent((int) (30)); - //BA.debugLineNum = 19;BA.debugLine="Private mStringItems As List"; +RDebugUtils.currentLine=26935309; + //BA.debugLineNum = 26935309;BA.debugLine="Private mStringItems As List"; _mstringitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 20;BA.debugLine="Private mStartRange, mInterval, mEndRange As Doub"; +RDebugUtils.currentLine=26935310; + //BA.debugLineNum = 26935310;BA.debugLine="Private mStartRange, mInterval, mEndRange As Doub"; _mstartrange = 0; _minterval = 0; _mendrange = 0; - //BA.debugLineNum = 21;BA.debugLine="Private mSelectedIndex As Int = -1"; +RDebugUtils.currentLine=26935311; + //BA.debugLineNum = 26935311;BA.debugLine="Private mSelectedIndex As Int = -1"; _mselectedindex = (int) (-1); - //BA.debugLineNum = 22;BA.debugLine="Private LoopIndex As Int"; +RDebugUtils.currentLine=26935312; + //BA.debugLineNum = 26935312;BA.debugLine="Private LoopIndex As Int"; _loopindex = 0; - //BA.debugLineNum = 23;BA.debugLine="Public RapidPeriod1 As Int = 1000"; +RDebugUtils.currentLine=26935313; + //BA.debugLineNum = 26935313;BA.debugLine="Public RapidPeriod1 As Int = 1000"; _rapidperiod1 = (int) (1000); - //BA.debugLineNum = 24;BA.debugLine="Public RapidPeriod2 As Int = 30"; +RDebugUtils.currentLine=26935314; + //BA.debugLineNum = 26935314;BA.debugLine="Public RapidPeriod2 As Int = 30"; _rapidperiod2 = (int) (30); - //BA.debugLineNum = 25;BA.debugLine="Public Formatter As B4XFormatter"; +RDebugUtils.currentLine=26935315; + //BA.debugLineNum = 26935315;BA.debugLine="Public Formatter As B4XFormatter"; _formatter = new reparto_intmex.keymon.lat.b4xformatter(); - //BA.debugLineNum = 26;BA.debugLine="Private StringMode As Boolean"; +RDebugUtils.currentLine=26935316; + //BA.debugLineNum = 26935316;BA.debugLine="Private StringMode As Boolean"; _stringmode = false; - //BA.debugLineNum = 27;BA.debugLine="Private Size As Int"; +RDebugUtils.currentLine=26935317; + //BA.debugLineNum = 26935317;BA.debugLine="Private Size As Int"; _size = 0; - //BA.debugLineNum = 28;BA.debugLine="Public mHaptic As Boolean"; +RDebugUtils.currentLine=26935318; + //BA.debugLineNum = 26935318;BA.debugLine="Public mHaptic As Boolean"; _mhaptic = false; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +RDebugUtils.currentLine=26935319; + //BA.debugLineNum = 26935319;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(String _text) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(reparto_intmex.keymon.lat.b4xplusminus __ref,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "createlabel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createlabel", new Object[] {_text}));} anywheresoftware.b4a.objects.LabelWrapper _lbl = null; anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; - //BA.debugLineNum = 247;BA.debugLine="Private Sub CreateLabel (text As String) As B4XVie"; - //BA.debugLineNum = 248;BA.debugLine="Dim lbl As Label"; +RDebugUtils.currentLine=27918336; + //BA.debugLineNum = 27918336;BA.debugLine="Private Sub CreateLabel (text As String) As B4XVie"; +RDebugUtils.currentLine=27918337; + //BA.debugLineNum = 27918337;BA.debugLine="Dim lbl As Label"; _lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 249;BA.debugLine="lbl.Initialize(\"\")"; +RDebugUtils.currentLine=27918338; + //BA.debugLineNum = 27918338;BA.debugLine="lbl.Initialize(\"\")"; _lbl.Initialize(ba,""); - //BA.debugLineNum = 250;BA.debugLine="Dim xlbl As B4XView = lbl"; +RDebugUtils.currentLine=27918339; + //BA.debugLineNum = 27918339;BA.debugLine="Dim xlbl As B4XView = lbl"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 251;BA.debugLine="xlbl.Font = xui.CreateMaterialIcons(30)"; -_xlbl.setFont(_xui.CreateMaterialIcons((float) (30))); - //BA.debugLineNum = 252;BA.debugLine="xlbl.Text = text"; +RDebugUtils.currentLine=27918340; + //BA.debugLineNum = 27918340;BA.debugLine="xlbl.Font = xui.CreateMaterialIcons(30)"; +_xlbl.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons((float) (30))); +RDebugUtils.currentLine=27918341; + //BA.debugLineNum = 27918341;BA.debugLine="xlbl.Text = text"; _xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 253;BA.debugLine="xlbl.TextColor = MainLabel.TextColor"; -_xlbl.setTextColor(_mainlabel.getTextColor()); - //BA.debugLineNum = 254;BA.debugLine="Return xlbl"; +RDebugUtils.currentLine=27918342; + //BA.debugLineNum = 27918342;BA.debugLine="xlbl.TextColor = MainLabel.TextColor"; +_xlbl.setTextColor(__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor()); +RDebugUtils.currentLine=27918343; + //BA.debugLineNum = 27918343;BA.debugLine="Return xlbl"; if (true) return _xlbl; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27918344; + //BA.debugLineNum = 27918344;BA.debugLine="End Sub"; return null; } -public String _decrement() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub Decrement"; - //BA.debugLineNum = 183;BA.debugLine="If mSelectedIndex <= 0 Then"; -if (_mselectedindex<=0) { - //BA.debugLineNum = 184;BA.debugLine="If mCyclic Then"; -if (_mcyclic) { - //BA.debugLineNum = 185;BA.debugLine="mSelectedIndex = Size"; -_mselectedindex = _size; +public String _decrement(reparto_intmex.keymon.lat.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "decrement", true)) + {return ((String) Debug.delegate(ba, "decrement", null));} +RDebugUtils.currentLine=27656192; + //BA.debugLineNum = 27656192;BA.debugLine="Public Sub Decrement"; +RDebugUtils.currentLine=27656193; + //BA.debugLineNum = 27656193;BA.debugLine="If mSelectedIndex <= 0 Then"; +if (__ref._mselectedindex /*int*/ <=0) { +RDebugUtils.currentLine=27656194; + //BA.debugLineNum = 27656194;BA.debugLine="If mCyclic Then"; +if (__ref._mcyclic /*boolean*/ ) { +RDebugUtils.currentLine=27656195; + //BA.debugLineNum = 27656195;BA.debugLine="mSelectedIndex = Size"; +__ref._mselectedindex /*int*/ = __ref._size /*int*/ ; }else { - //BA.debugLineNum = 187;BA.debugLine="mSelectedIndex = 0"; -_mselectedindex = (int) (0); - //BA.debugLineNum = 188;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - //BA.debugLineNum = 189;BA.debugLine="Return"; +RDebugUtils.currentLine=27656197; + //BA.debugLineNum = 27656197;BA.debugLine="mSelectedIndex = 0"; +__ref._mselectedindex /*int*/ = (int) (0); +RDebugUtils.currentLine=27656198; + //BA.debugLineNum = 27656198;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=27656199; + //BA.debugLineNum = 27656199;BA.debugLine="Return"; if (true) return ""; }; }; - //BA.debugLineNum = 192;BA.debugLine="SetIndex(mSelectedIndex - 1, True)"; -_setindex((int) (_mselectedindex-1),__c.True); - //BA.debugLineNum = 193;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27656202; + //BA.debugLineNum = 27656202;BA.debugLine="SetIndex(mSelectedIndex - 1, True)"; +__ref._setindex /*String*/ (null,(int) (__ref._mselectedindex /*int*/ -1),__c.True); +RDebugUtils.currentLine=27656203; + //BA.debugLineNum = 27656203;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _setindex(reparto_intmex.keymon.lat.b4xplusminus __ref,int _i,boolean _raiseevent) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setindex", true)) + {return ((String) Debug.delegate(ba, "setindex", new Object[] {_i,_raiseevent}));} +Object _value = null; +RDebugUtils.currentLine=27525120; + //BA.debugLineNum = 27525120;BA.debugLine="Private Sub SetIndex(i As Int, RaiseEvent As Boole"; +RDebugUtils.currentLine=27525121; + //BA.debugLineNum = 27525121;BA.debugLine="If i >= Size Then i = -1"; +if (_i>=__ref._size /*int*/ ) { +_i = (int) (-1);}; +RDebugUtils.currentLine=27525122; + //BA.debugLineNum = 27525122;BA.debugLine="mSelectedIndex = i"; +__ref._mselectedindex /*int*/ = _i; +RDebugUtils.currentLine=27525123; + //BA.debugLineNum = 27525123;BA.debugLine="If mSelectedIndex = -1 Then"; +if (__ref._mselectedindex /*int*/ ==-1) { +RDebugUtils.currentLine=27525124; + //BA.debugLineNum = 27525124;BA.debugLine="MainLabel.Text = \"\""; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence("")); + }else { +RDebugUtils.currentLine=27525126; + //BA.debugLineNum = 27525126;BA.debugLine="Dim value As Object = GetValueImpl (mSelectedInd"; +_value = __ref._getvalueimpl /*Object*/ (null,__ref._mselectedindex /*int*/ ); +RDebugUtils.currentLine=27525127; + //BA.debugLineNum = 27525127;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=27525128; + //BA.debugLineNum = 27525128;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; +__ref._internalsettextorcsbuildertolabel /*String*/ (null,__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_value); + }else { +RDebugUtils.currentLine=27525130; + //BA.debugLineNum = 27525130;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._formatter /*reparto_intmex.keymon.lat.b4xformatter*/ ._format /*String*/ (null,(double)(BA.ObjectToNumber(_value))))); + }; +RDebugUtils.currentLine=27525132; + //BA.debugLineNum = 27525132;BA.debugLine="If RaiseEvent And xui.SubExists(mCallBack, mEven"; +if (_raiseevent && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_valuechanged",(int) (1))) { +RDebugUtils.currentLine=27525133; + //BA.debugLineNum = 27525133;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_valuechanged",_value); + }; + }; +RDebugUtils.currentLine=27525136; + //BA.debugLineNum = 27525136;BA.debugLine="lblPlus.Enabled = Size > 0 And (mCyclic Or mSelec"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._size /*int*/ >0 && (__ref._mcyclic /*boolean*/ || __ref._mselectedindex /*int*/ <__ref._size /*int*/ -1)); +RDebugUtils.currentLine=27525137; + //BA.debugLineNum = 27525137;BA.debugLine="lblMinus.Enabled = Size > 0 And (mCyclic Or mSele"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._size /*int*/ >0 && (__ref._mcyclic /*boolean*/ || __ref._mselectedindex /*int*/ >0)); +RDebugUtils.currentLine=27525138; + //BA.debugLineNum = 27525138;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_intmex.keymon.lat.b4xplusminus __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 39;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 40;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 40;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 41;BA.debugLine="MainLabel = lbl"; -_mainlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 42;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_mainlabel.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 43;BA.debugLine="Dim pnl As B4XView = Props.Get(\"page\")"; +RDebugUtils.currentLine=27066368; + //BA.debugLineNum = 27066368;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=27066369; + //BA.debugLineNum = 27066369;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=27066370; + //BA.debugLineNum = 27066370;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=27066370; + //BA.debugLineNum = 27066370;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=27066371; + //BA.debugLineNum = 27066371;BA.debugLine="MainLabel = lbl"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=27066372; + //BA.debugLineNum = 27066372;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=27066373; + //BA.debugLineNum = 27066373;BA.debugLine="Dim pnl As B4XView = Props.Get(\"page\")"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_props.Get((Object)("page")))); - //BA.debugLineNum = 53;BA.debugLine="pnlPlus = xui.CreatePanel(\"pnlArrow\")"; -_pnlplus = _xui.CreatePanel(ba,"pnlArrow"); - //BA.debugLineNum = 54;BA.debugLine="pnlMinus = xui.CreatePanel(\"pnlArrow\")"; -_pnlminus = _xui.CreatePanel(ba,"pnlArrow"); - //BA.debugLineNum = 56;BA.debugLine="pnlPlus.Tag = True"; -_pnlplus.setTag((Object)(__c.True)); - //BA.debugLineNum = 57;BA.debugLine="pnlMinus.Tag = False"; -_pnlminus.setTag((Object)(__c.False)); - //BA.debugLineNum = 58;BA.debugLine="Formation = Props.Get(\"Orientation\")"; -_formation = BA.ObjectToString(_props.Get((Object)("Orientation"))); - //BA.debugLineNum = 59;BA.debugLine="mCyclic = Props.Get(\"Cyclic\")"; -_mcyclic = BA.ObjectToBoolean(_props.Get((Object)("Cyclic"))); - //BA.debugLineNum = 60;BA.debugLine="mRapid = Props.Get(\"Rapid\")"; -_mrapid = BA.ObjectToBoolean(_props.Get((Object)("Rapid"))); - //BA.debugLineNum = 61;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 62;BA.debugLine="Formatter.GetDefaultFormat.FormatFont = MainLabel"; -_formatter._getdefaultformat /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ ().FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _mainlabel.getFont(); - //BA.debugLineNum = 63;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; -_formatter._getdefaultformat /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ ().TextColor /*int*/ = _mainlabel.getTextColor(); - //BA.debugLineNum = 64;BA.debugLine="If Formation = \"Horizontal\" Then"; -if ((_formation).equals("Horizontal")) { - //BA.debugLineNum = 65;BA.debugLine="lblPlus = CreateLabel(Chr(0xE315))"; -_lblplus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe315)))); - //BA.debugLineNum = 66;BA.debugLine="lblMinus = CreateLabel(Chr(0xE314))"; -_lblminus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe314)))); +RDebugUtils.currentLine=27066383; + //BA.debugLineNum = 27066383;BA.debugLine="pnlPlus = xui.CreatePanel(\"pnlArrow\")"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnlArrow"); +RDebugUtils.currentLine=27066384; + //BA.debugLineNum = 27066384;BA.debugLine="pnlMinus = xui.CreatePanel(\"pnlArrow\")"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnlArrow"); +RDebugUtils.currentLine=27066386; + //BA.debugLineNum = 27066386;BA.debugLine="pnlPlus.Tag = True"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)(__c.True)); +RDebugUtils.currentLine=27066387; + //BA.debugLineNum = 27066387;BA.debugLine="pnlMinus.Tag = False"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)(__c.False)); +RDebugUtils.currentLine=27066388; + //BA.debugLineNum = 27066388;BA.debugLine="Formation = Props.Get(\"Orientation\")"; +__ref._formation /*String*/ = BA.ObjectToString(_props.Get((Object)("Orientation"))); +RDebugUtils.currentLine=27066389; + //BA.debugLineNum = 27066389;BA.debugLine="mCyclic = Props.Get(\"Cyclic\")"; +__ref._mcyclic /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Cyclic"))); +RDebugUtils.currentLine=27066390; + //BA.debugLineNum = 27066390;BA.debugLine="mRapid = Props.Get(\"Rapid\")"; +__ref._mrapid /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Rapid"))); +RDebugUtils.currentLine=27066391; + //BA.debugLineNum = 27066391;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=27066392; + //BA.debugLineNum = 27066392;BA.debugLine="Formatter.GetDefaultFormat.FormatFont = MainLabel"; +__ref._formatter /*reparto_intmex.keymon.lat.b4xformatter*/ ._getdefaultformat /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ (null).FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getFont(); +RDebugUtils.currentLine=27066393; + //BA.debugLineNum = 27066393;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; +__ref._formatter /*reparto_intmex.keymon.lat.b4xformatter*/ ._getdefaultformat /*reparto_intmex.keymon.lat.b4xformatter._b4xformatdata*/ (null).TextColor /*int*/ = __ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor(); +RDebugUtils.currentLine=27066394; + //BA.debugLineNum = 27066394;BA.debugLine="If Formation = \"Horizontal\" Then"; +if ((__ref._formation /*String*/ ).equals("Horizontal")) { +RDebugUtils.currentLine=27066395; + //BA.debugLineNum = 27066395;BA.debugLine="lblPlus = CreateLabel(Chr(0xE315))"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe315)))); +RDebugUtils.currentLine=27066396; + //BA.debugLineNum = 27066396;BA.debugLine="lblMinus = CreateLabel(Chr(0xE314))"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe314)))); }else { - //BA.debugLineNum = 68;BA.debugLine="lblPlus = CreateLabel(Chr(0xE316))"; -_lblplus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe316)))); - //BA.debugLineNum = 69;BA.debugLine="lblMinus = CreateLabel(Chr(0xE313))"; -_lblminus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe313)))); +RDebugUtils.currentLine=27066398; + //BA.debugLineNum = 27066398;BA.debugLine="lblPlus = CreateLabel(Chr(0xE316))"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe316)))); +RDebugUtils.currentLine=27066399; + //BA.debugLineNum = 27066399;BA.debugLine="lblMinus = CreateLabel(Chr(0xE313))"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe313)))); }; - //BA.debugLineNum = 71;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_lblminus.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 72;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_lblplus.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 73;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_mainlabel.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 74;BA.debugLine="mBase.AddView(MainLabel, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mainlabel.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 75;BA.debugLine="mBase.AddView(pnlPlus, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnlplus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 76;BA.debugLine="mBase.AddView(pnlMinus, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnlminus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 77;BA.debugLine="pnlPlus.AddView(lblPlus, 0, 0, 0, 0)"; -_pnlplus.AddView((android.view.View)(_lblplus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 78;BA.debugLine="pnlMinus.AddView(lblMinus, 0, 0, 0, 0)"; -_pnlminus.AddView((android.view.View)(_lblminus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 79;BA.debugLine="SetIndex(-1, False)"; -_setindex((int) (-1),__c.False); - //BA.debugLineNum = 80;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 81;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27066401; + //BA.debugLineNum = 27066401;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=27066402; + //BA.debugLineNum = 27066402;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=27066403; + //BA.debugLineNum = 27066403;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=27066404; + //BA.debugLineNum = 27066404;BA.debugLine="mBase.AddView(MainLabel, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=27066405; + //BA.debugLineNum = 27066405;BA.debugLine="mBase.AddView(pnlPlus, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=27066406; + //BA.debugLineNum = 27066406;BA.debugLine="mBase.AddView(pnlMinus, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=27066407; + //BA.debugLineNum = 27066407;BA.debugLine="pnlPlus.AddView(lblPlus, 0, 0, 0, 0)"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=27066408; + //BA.debugLineNum = 27066408;BA.debugLine="pnlMinus.AddView(lblMinus, 0, 0, 0, 0)"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=27066409; + //BA.debugLineNum = 27066409;BA.debugLine="SetIndex(-1, False)"; +__ref._setindex /*String*/ (null,(int) (-1),__c.False); +RDebugUtils.currentLine=27066410; + //BA.debugLineNum = 27066410;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=27066411; + //BA.debugLineNum = 27066411;BA.debugLine="End Sub"; return ""; } -public Object _getselectedvalue() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub getSelectedValue As Object"; - //BA.debugLineNum = 118;BA.debugLine="Return GetValueImpl (mSelectedIndex)"; -if (true) return _getvalueimpl(_mselectedindex); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; +public Object _getselectedvalue(reparto_intmex.keymon.lat.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "getselectedvalue", true)) + {return ((Object) Debug.delegate(ba, "getselectedvalue", null));} +RDebugUtils.currentLine=27328512; + //BA.debugLineNum = 27328512;BA.debugLine="Public Sub getSelectedValue As Object"; +RDebugUtils.currentLine=27328513; + //BA.debugLineNum = 27328513;BA.debugLine="Return GetValueImpl (mSelectedIndex)"; +if (true) return __ref._getvalueimpl /*Object*/ (null,__ref._mselectedindex /*int*/ ); +RDebugUtils.currentLine=27328514; + //BA.debugLineNum = 27328514;BA.debugLine="End Sub"; return null; } -public Object _getvalueimpl(int _index) throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Private Sub GetValueImpl (Index As Int) As Object"; - //BA.debugLineNum = 131;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 132;BA.debugLine="Return mStringItems.Get(Index)"; -if (true) return _mstringitems.Get(_index); +public Object _getvalueimpl(reparto_intmex.keymon.lat.b4xplusminus __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "getvalueimpl", true)) + {return ((Object) Debug.delegate(ba, "getvalueimpl", new Object[] {_index}));} +RDebugUtils.currentLine=27459584; + //BA.debugLineNum = 27459584;BA.debugLine="Private Sub GetValueImpl (Index As Int) As Object"; +RDebugUtils.currentLine=27459585; + //BA.debugLineNum = 27459585;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=27459586; + //BA.debugLineNum = 27459586;BA.debugLine="Return mStringItems.Get(Index)"; +if (true) return __ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_index); }else { - //BA.debugLineNum = 134;BA.debugLine="If Index = Size - 1 Then"; -if (_index==_size-1) { - //BA.debugLineNum = 135;BA.debugLine="Return mEndRange"; -if (true) return (Object)(_mendrange); +RDebugUtils.currentLine=27459588; + //BA.debugLineNum = 27459588;BA.debugLine="If Index = Size - 1 Then"; +if (_index==__ref._size /*int*/ -1) { +RDebugUtils.currentLine=27459589; + //BA.debugLineNum = 27459589;BA.debugLine="Return mEndRange"; +if (true) return (Object)(__ref._mendrange /*double*/ ); }else { - //BA.debugLineNum = 137;BA.debugLine="Return mStartRange + Index * mInterval"; -if (true) return (Object)(_mstartrange+_index*_minterval); +RDebugUtils.currentLine=27459591; + //BA.debugLineNum = 27459591;BA.debugLine="Return mStartRange + Index * mInterval"; +if (true) return (Object)(__ref._mstartrange /*double*/ +_index*__ref._minterval /*double*/ ); }; }; - //BA.debugLineNum = 140;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27459594; + //BA.debugLineNum = 27459594;BA.debugLine="End Sub"; return null; } -public String _increment() throws Exception{ +public String _increment(reparto_intmex.keymon.lat.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "increment", true)) + {return ((String) Debug.delegate(ba, "increment", null));} double _v1 = 0; double _v2 = 0; - //BA.debugLineNum = 162;BA.debugLine="Public Sub Increment"; - //BA.debugLineNum = 163;BA.debugLine="If mSelectedIndex = Size - 3 And StringMode = Fal"; -if (_mselectedindex==_size-3 && _stringmode==__c.False) { - //BA.debugLineNum = 164;BA.debugLine="Dim v1 As Double = GetValueImpl(mSelectedIndex +"; -_v1 = (double)(BA.ObjectToNumber(_getvalueimpl((int) (_mselectedindex+1)))); - //BA.debugLineNum = 165;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; -_v2 = (double)(BA.ObjectToNumber(_getvalueimpl((int) (_mselectedindex+2)))); - //BA.debugLineNum = 166;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; -if ((_formatter._format /*String*/ (_v1)).equals(_formatter._format /*String*/ (_v2))) { - //BA.debugLineNum = 167;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; -_mselectedindex = (int) (_mselectedindex+1); +RDebugUtils.currentLine=27590656; + //BA.debugLineNum = 27590656;BA.debugLine="Public Sub Increment"; +RDebugUtils.currentLine=27590657; + //BA.debugLineNum = 27590657;BA.debugLine="If mSelectedIndex = Size - 3 And StringMode = Fal"; +if (__ref._mselectedindex /*int*/ ==__ref._size /*int*/ -3 && __ref._stringmode /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=27590658; + //BA.debugLineNum = 27590658;BA.debugLine="Dim v1 As Double = GetValueImpl(mSelectedIndex +"; +_v1 = (double)(BA.ObjectToNumber(__ref._getvalueimpl /*Object*/ (null,(int) (__ref._mselectedindex /*int*/ +1)))); +RDebugUtils.currentLine=27590659; + //BA.debugLineNum = 27590659;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; +_v2 = (double)(BA.ObjectToNumber(__ref._getvalueimpl /*Object*/ (null,(int) (__ref._mselectedindex /*int*/ +2)))); +RDebugUtils.currentLine=27590660; + //BA.debugLineNum = 27590660;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; +if ((__ref._formatter /*reparto_intmex.keymon.lat.b4xformatter*/ ._format /*String*/ (null,_v1)).equals(__ref._formatter /*reparto_intmex.keymon.lat.b4xformatter*/ ._format /*String*/ (null,_v2))) { +RDebugUtils.currentLine=27590661; + //BA.debugLineNum = 27590661;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; +__ref._mselectedindex /*int*/ = (int) (__ref._mselectedindex /*int*/ +1); }; }; - //BA.debugLineNum = 170;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; -if (_mselectedindex>=_size-1) { - //BA.debugLineNum = 171;BA.debugLine="If mCyclic Then"; -if (_mcyclic) { - //BA.debugLineNum = 172;BA.debugLine="mSelectedIndex = -1"; -_mselectedindex = (int) (-1); +RDebugUtils.currentLine=27590664; + //BA.debugLineNum = 27590664;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; +if (__ref._mselectedindex /*int*/ >=__ref._size /*int*/ -1) { +RDebugUtils.currentLine=27590665; + //BA.debugLineNum = 27590665;BA.debugLine="If mCyclic Then"; +if (__ref._mcyclic /*boolean*/ ) { +RDebugUtils.currentLine=27590666; + //BA.debugLineNum = 27590666;BA.debugLine="mSelectedIndex = -1"; +__ref._mselectedindex /*int*/ = (int) (-1); }else { - //BA.debugLineNum = 174;BA.debugLine="mSelectedIndex = Size - 1"; -_mselectedindex = (int) (_size-1); - //BA.debugLineNum = 175;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - //BA.debugLineNum = 176;BA.debugLine="Return"; +RDebugUtils.currentLine=27590668; + //BA.debugLineNum = 27590668;BA.debugLine="mSelectedIndex = Size - 1"; +__ref._mselectedindex /*int*/ = (int) (__ref._size /*int*/ -1); +RDebugUtils.currentLine=27590669; + //BA.debugLineNum = 27590669;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=27590670; + //BA.debugLineNum = 27590670;BA.debugLine="Return"; if (true) return ""; }; }; - //BA.debugLineNum = 179;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; -_setindex((int) (_mselectedindex+1),__c.True); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27590673; + //BA.debugLineNum = 27590673;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; +__ref._setindex /*String*/ (null,(int) (__ref._mselectedindex /*int*/ +1),__c.True); +RDebugUtils.currentLine=27590674; + //BA.debugLineNum = 27590674;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xplusminus __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 31;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 32;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 33;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 34;BA.debugLine="Formatter.Initialize"; -_formatter._initialize /*String*/ (ba); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=27000832; + //BA.debugLineNum = 27000832;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=27000833; + //BA.debugLineNum = 27000833;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=27000834; + //BA.debugLineNum = 27000834;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=27000835; + //BA.debugLineNum = 27000835;BA.debugLine="Formatter.Initialize"; +__ref._formatter /*reparto_intmex.keymon.lat.b4xformatter*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=27000836; + //BA.debugLineNum = 27000836;BA.debugLine="End Sub"; return ""; } -public String _internalsettextorcsbuildertolabel(anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 257;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; - //BA.debugLineNum = 259;BA.debugLine="xlbl.Text = Text"; +public String _internalsettextorcsbuildertolabel(reparto_intmex.keymon.lat.b4xplusminus __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "internalsettextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(ba, "internalsettextorcsbuildertolabel", new Object[] {_xlbl,_text}));} +RDebugUtils.currentLine=27983872; + //BA.debugLineNum = 27983872;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=27983874; + //BA.debugLineNum = 27983874;BA.debugLine="xlbl.Text = Text"; _xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 269;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27983884; + //BA.debugLineNum = 27983884;BA.debugLine="End Sub"; return ""; } -public String _pnlarrow_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 195;BA.debugLine="Private Sub pnlArrow_Touch (Action As Int, X As Fl"; - //BA.debugLineNum = 196;BA.debugLine="Touch(Action = lblPlus.TOUCH_ACTION_DOWN, Action"; -_touch(_action==_lblplus.TOUCH_ACTION_DOWN,_action!=_lblplus.TOUCH_ACTION_MOVE,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 197;BA.debugLine="End Sub"; +public String _pnlarrow_touch(reparto_intmex.keymon.lat.b4xplusminus __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "pnlarrow_touch", true)) + {return ((String) Debug.delegate(ba, "pnlarrow_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=27721728; + //BA.debugLineNum = 27721728;BA.debugLine="Private Sub pnlArrow_Touch (Action As Int, X As Fl"; +RDebugUtils.currentLine=27721729; + //BA.debugLineNum = 27721729;BA.debugLine="Touch(Action = lblPlus.TOUCH_ACTION_DOWN, Action"; +__ref._touch /*String*/ (null,_action==__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN,_action!=__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=27721730; + //BA.debugLineNum = 27721730;BA.debugLine="End Sub"; return ""; } -public String _setindex(int _i,boolean _raiseevent) throws Exception{ -Object _value = null; - //BA.debugLineNum = 142;BA.debugLine="Private Sub SetIndex(i As Int, RaiseEvent As Boole"; - //BA.debugLineNum = 143;BA.debugLine="If i >= Size Then i = -1"; -if (_i>=_size) { -_i = (int) (-1);}; - //BA.debugLineNum = 144;BA.debugLine="mSelectedIndex = i"; -_mselectedindex = _i; - //BA.debugLineNum = 145;BA.debugLine="If mSelectedIndex = -1 Then"; -if (_mselectedindex==-1) { - //BA.debugLineNum = 146;BA.debugLine="MainLabel.Text = \"\""; -_mainlabel.setText(BA.ObjectToCharSequence("")); +public String _touch(reparto_intmex.keymon.lat.b4xplusminus __ref,boolean _start,boolean _stop,anywheresoftware.b4a.objects.B4XViewWrapper _pnl) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "touch", true)) + {return ((String) Debug.delegate(ba, "touch", new Object[] {_start,_stop,_pnl}));} +RDebugUtils.currentLine=27787264; + //BA.debugLineNum = 27787264;BA.debugLine="Private Sub Touch (Start As Boolean, Stop As Boole"; +RDebugUtils.currentLine=27787265; + //BA.debugLineNum = 27787265;BA.debugLine="If pnl.GetView(0).Enabled = False Then Return"; +if (_pnl.GetView((int) (0)).getEnabled()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=27787266; + //BA.debugLineNum = 27787266;BA.debugLine="If Start Then"; +if (_start) { +RDebugUtils.currentLine=27787267; + //BA.debugLineNum = 27787267;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,_pnl);}; +RDebugUtils.currentLine=27787268; + //BA.debugLineNum = 27787268;BA.debugLine="If pnl.Tag = True Then"; +if ((_pnl.getTag()).equals((Object)(__c.True))) { +RDebugUtils.currentLine=27787269; + //BA.debugLineNum = 27787269;BA.debugLine="Increment"; +__ref._increment /*String*/ (null); +RDebugUtils.currentLine=27787270; + //BA.debugLineNum = 27787270;BA.debugLine="StartDownLoop(True)"; +__ref._startdownloop /*void*/ (null,__c.True); }else { - //BA.debugLineNum = 148;BA.debugLine="Dim value As Object = GetValueImpl (mSelectedInd"; -_value = _getvalueimpl(_mselectedindex); - //BA.debugLineNum = 149;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 150;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; -_internalsettextorcsbuildertolabel(_mainlabel,_value); - }else { - //BA.debugLineNum = 152;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; -_mainlabel.setText(BA.ObjectToCharSequence(_formatter._format /*String*/ ((double)(BA.ObjectToNumber(_value))))); +RDebugUtils.currentLine=27787272; + //BA.debugLineNum = 27787272;BA.debugLine="Decrement"; +__ref._decrement /*String*/ (null); +RDebugUtils.currentLine=27787273; + //BA.debugLineNum = 27787273;BA.debugLine="StartDownLoop(False)"; +__ref._startdownloop /*void*/ (null,__c.False); }; - //BA.debugLineNum = 154;BA.debugLine="If RaiseEvent And xui.SubExists(mCallBack, mEven"; -if (_raiseevent && _xui.SubExists(ba,_mcallback,_meventname+"_valuechanged",(int) (1))) { - //BA.debugLineNum = 155;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; -__c.CallSubNew2(ba,_mcallback,_meventname+"_valuechanged",_value); - }; - }; - //BA.debugLineNum = 158;BA.debugLine="lblPlus.Enabled = Size > 0 And (mCyclic Or mSelec"; -_lblplus.setEnabled(_size>0 && (_mcyclic || _mselectedindex<_size-1)); - //BA.debugLineNum = 159;BA.debugLine="lblMinus.Enabled = Size > 0 And (mCyclic Or mSele"; -_lblminus.setEnabled(_size>0 && (_mcyclic || _mselectedindex>0)); - //BA.debugLineNum = 160;BA.debugLine="End Sub"; + }else +{RDebugUtils.currentLine=27787275; + //BA.debugLineNum = 27787275;BA.debugLine="Else If Stop Then"; +if (_stop) { +RDebugUtils.currentLine=27787276; + //BA.debugLineNum = 27787276;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); + }} +; +RDebugUtils.currentLine=27787278; + //BA.debugLineNum = 27787278;BA.debugLine="End Sub"; return ""; } -public String _setnumericrange(double _startrange,double _endrange,double _interval) throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub SetNumericRange (StartRange As Double,"; - //BA.debugLineNum = 109;BA.debugLine="Size = Ceil((EndRange - StartRange) / Interval) +"; -_size = (int) (__c.Ceil((_endrange-_startrange)/(double)_interval)+1); - //BA.debugLineNum = 110;BA.debugLine="mStartRange = StartRange"; -_mstartrange = _startrange; - //BA.debugLineNum = 111;BA.debugLine="mEndRange = EndRange"; -_mendrange = _endrange; - //BA.debugLineNum = 112;BA.debugLine="mInterval = Interval"; -_minterval = _interval; - //BA.debugLineNum = 113;BA.debugLine="StringMode = False"; -_stringmode = __c.False; - //BA.debugLineNum = 114;BA.debugLine="SetIndex(0, False)"; -_setindex((int) (0),__c.False); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; +public String _setnumericrange(reparto_intmex.keymon.lat.b4xplusminus __ref,double _startrange,double _endrange,double _interval) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setnumericrange", true)) + {return ((String) Debug.delegate(ba, "setnumericrange", new Object[] {_startrange,_endrange,_interval}));} +RDebugUtils.currentLine=27262976; + //BA.debugLineNum = 27262976;BA.debugLine="Public Sub SetNumericRange (StartRange As Double,"; +RDebugUtils.currentLine=27262977; + //BA.debugLineNum = 27262977;BA.debugLine="Size = Ceil((EndRange - StartRange) / Interval) +"; +__ref._size /*int*/ = (int) (__c.Ceil((_endrange-_startrange)/(double)_interval)+1); +RDebugUtils.currentLine=27262978; + //BA.debugLineNum = 27262978;BA.debugLine="mStartRange = StartRange"; +__ref._mstartrange /*double*/ = _startrange; +RDebugUtils.currentLine=27262979; + //BA.debugLineNum = 27262979;BA.debugLine="mEndRange = EndRange"; +__ref._mendrange /*double*/ = _endrange; +RDebugUtils.currentLine=27262980; + //BA.debugLineNum = 27262980;BA.debugLine="mInterval = Interval"; +__ref._minterval /*double*/ = _interval; +RDebugUtils.currentLine=27262981; + //BA.debugLineNum = 27262981;BA.debugLine="StringMode = False"; +__ref._stringmode /*boolean*/ = __c.False; +RDebugUtils.currentLine=27262982; + //BA.debugLineNum = 27262982;BA.debugLine="SetIndex(0, False)"; +__ref._setindex /*String*/ (null,(int) (0),__c.False); +RDebugUtils.currentLine=27262983; + //BA.debugLineNum = 27262983;BA.debugLine="End Sub"; return ""; } -public String _setselectedvalue(Object _v) throws Exception{ +public String _setselectedvalue(reparto_intmex.keymon.lat.b4xplusminus __ref,Object _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setselectedvalue", true)) + {return ((String) Debug.delegate(ba, "setselectedvalue", new Object[] {_v}));} double _n = 0; - //BA.debugLineNum = 121;BA.debugLine="Public Sub setSelectedValue (v As Object)"; - //BA.debugLineNum = 122;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 123;BA.debugLine="SetIndex(mStringItems.IndexOf(v), False)"; -_setindex(_mstringitems.IndexOf(_v),__c.False); +RDebugUtils.currentLine=27394048; + //BA.debugLineNum = 27394048;BA.debugLine="Public Sub setSelectedValue (v As Object)"; +RDebugUtils.currentLine=27394049; + //BA.debugLineNum = 27394049;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=27394050; + //BA.debugLineNum = 27394050;BA.debugLine="SetIndex(mStringItems.IndexOf(v), False)"; +__ref._setindex /*String*/ (null,__ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_v),__c.False); }else { - //BA.debugLineNum = 125;BA.debugLine="Dim n As Double = v"; +RDebugUtils.currentLine=27394052; + //BA.debugLineNum = 27394052;BA.debugLine="Dim n As Double = v"; _n = (double)(BA.ObjectToNumber(_v)); - //BA.debugLineNum = 126;BA.debugLine="SetIndex(Min(Size - 1, Max(0, Round((n - mStartR"; -_setindex((int) (__c.Min(_size-1,__c.Max(0,__c.Round((_n-_mstartrange)/(double)_minterval)))),__c.False); +RDebugUtils.currentLine=27394053; + //BA.debugLineNum = 27394053;BA.debugLine="SetIndex(Min(Size - 1, Max(0, Round((n - mStartR"; +__ref._setindex /*String*/ (null,(int) (__c.Min(__ref._size /*int*/ -1,__c.Max(0,__c.Round((_n-__ref._mstartrange /*double*/ )/(double)__ref._minterval /*double*/ )))),__c.False); }; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27394055; + //BA.debugLineNum = 27394055;BA.debugLine="End Sub"; return ""; } -public String _setstringitems(anywheresoftware.b4a.objects.collections.List _list) throws Exception{ - //BA.debugLineNum = 101;BA.debugLine="Public Sub SetStringItems (list As List)"; - //BA.debugLineNum = 102;BA.debugLine="mStringItems = list"; -_mstringitems = _list; - //BA.debugLineNum = 103;BA.debugLine="StringMode = True"; -_stringmode = __c.True; - //BA.debugLineNum = 104;BA.debugLine="Size = mStringItems.Size"; -_size = _mstringitems.getSize(); - //BA.debugLineNum = 105;BA.debugLine="SetIndex(-1, False)"; -_setindex((int) (-1),__c.False); - //BA.debugLineNum = 106;BA.debugLine="End Sub"; +public String _setstringitems(reparto_intmex.keymon.lat.b4xplusminus __ref,anywheresoftware.b4a.objects.collections.List _list) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setstringitems", true)) + {return ((String) Debug.delegate(ba, "setstringitems", new Object[] {_list}));} +RDebugUtils.currentLine=27197440; + //BA.debugLineNum = 27197440;BA.debugLine="Public Sub SetStringItems (list As List)"; +RDebugUtils.currentLine=27197441; + //BA.debugLineNum = 27197441;BA.debugLine="mStringItems = list"; +__ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ = _list; +RDebugUtils.currentLine=27197442; + //BA.debugLineNum = 27197442;BA.debugLine="StringMode = True"; +__ref._stringmode /*boolean*/ = __c.True; +RDebugUtils.currentLine=27197443; + //BA.debugLineNum = 27197443;BA.debugLine="Size = mStringItems.Size"; +__ref._size /*int*/ = __ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize(); +RDebugUtils.currentLine=27197444; + //BA.debugLineNum = 27197444;BA.debugLine="SetIndex(-1, False)"; +__ref._setindex /*String*/ (null,(int) (-1),__c.False); +RDebugUtils.currentLine=27197445; + //BA.debugLineNum = 27197445;BA.debugLine="End Sub"; return ""; } -public void _startdownloop(boolean _up) throws Exception{ -ResumableSub_StartDownLoop rsub = new ResumableSub_StartDownLoop(this,_up); +public void _startdownloop(reparto_intmex.keymon.lat.b4xplusminus __ref,boolean _up) throws Exception{ +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "startdownloop", true)) + {Debug.delegate(ba, "startdownloop", new Object[] {_up}); return;} +ResumableSub_StartDownLoop rsub = new ResumableSub_StartDownLoop(this,__ref,_up); rsub.resume(ba, null); } public static class ResumableSub_StartDownLoop extends BA.ResumableSub { -public ResumableSub_StartDownLoop(reparto_intmex.keymon.lat.b4xplusminus parent,boolean _up) { +public ResumableSub_StartDownLoop(reparto_intmex.keymon.lat.b4xplusminus parent,reparto_intmex.keymon.lat.b4xplusminus __ref,boolean _up) { this.parent = parent; +this.__ref = __ref; this._up = _up; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xplusminus __ref; reparto_intmex.keymon.lat.b4xplusminus parent; boolean _up; int _myindex = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xplusminus"; while (true) { switch (state) { @@ -458,15 +740,17 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 235;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 236;BA.debugLine="If mRapid = False Then Return"; +RDebugUtils.currentLine=27852801; + //BA.debugLineNum = 27852801;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=27852802; + //BA.debugLineNum = 27852802;BA.debugLine="If mRapid = False Then Return"; if (true) break; case 1: //if this.state = 6; -if (parent._mrapid==parent.__c.False) { +if (__ref._mrapid /*boolean*/ ==parent.__c.False) { this.state = 3; ;}if (true) break; @@ -480,23 +764,26 @@ case 6: //C this.state = 7; ; - //BA.debugLineNum = 237;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 238;BA.debugLine="Sleep(RapidPeriod1)"; -parent.__c.Sleep(ba,this,parent._rapidperiod1); +RDebugUtils.currentLine=27852803; + //BA.debugLineNum = 27852803;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=27852804; + //BA.debugLineNum = 27852804;BA.debugLine="Sleep(RapidPeriod1)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xplusminus", "startdownloop"),__ref._rapidperiod1 /*int*/ ); this.state = 19; return; case 19: //C this.state = 7; ; - //BA.debugLineNum = 239;BA.debugLine="Do While MyIndex = LoopIndex"; +RDebugUtils.currentLine=27852805; + //BA.debugLineNum = 27852805;BA.debugLine="Do While MyIndex = LoopIndex"; if (true) break; case 7: //do while this.state = 18; -while (_myindex==parent._loopindex) { +while (_myindex==__ref._loopindex /*int*/ ) { this.state = 9; if (true) break; } @@ -505,7 +792,8 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 240;BA.debugLine="If Up Then Increment Else Decrement"; +RDebugUtils.currentLine=27852806; + //BA.debugLineNum = 27852806;BA.debugLine="If Up Then Increment Else Decrement"; if (true) break; case 10: @@ -521,21 +809,22 @@ this.state = 14; case 12: //C this.state = 17; -parent._increment(); +__ref._increment /*String*/ (null); if (true) break; case 14: //C this.state = 17; -parent._decrement(); +__ref._decrement /*String*/ (null); if (true) break; case 17: //C this.state = 7; ; - //BA.debugLineNum = 241;BA.debugLine="Sleep(RapidPeriod2)"; -parent.__c.Sleep(ba,this,parent._rapidperiod2); +RDebugUtils.currentLine=27852807; + //BA.debugLineNum = 27852807;BA.debugLine="Sleep(RapidPeriod2)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xplusminus", "startdownloop"),__ref._rapidperiod2 /*int*/ ); this.state = 20; return; case 20: @@ -548,44 +837,12 @@ case 18: //C this.state = -1; ; - //BA.debugLineNum = 243;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27852809; + //BA.debugLineNum = 27852809;BA.debugLine="End Sub"; if (true) break; } } } } -public String _touch(boolean _start,boolean _stop,anywheresoftware.b4a.objects.B4XViewWrapper _pnl) throws Exception{ - //BA.debugLineNum = 199;BA.debugLine="Private Sub Touch (Start As Boolean, Stop As Boole"; - //BA.debugLineNum = 200;BA.debugLine="If pnl.GetView(0).Enabled = False Then Return"; -if (_pnl.GetView((int) (0)).getEnabled()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 201;BA.debugLine="If Start Then"; -if (_start) { - //BA.debugLineNum = 202;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_pnl);}; - //BA.debugLineNum = 203;BA.debugLine="If pnl.Tag = True Then"; -if ((_pnl.getTag()).equals((Object)(__c.True))) { - //BA.debugLineNum = 204;BA.debugLine="Increment"; -_increment(); - //BA.debugLineNum = 205;BA.debugLine="StartDownLoop(True)"; -_startdownloop(__c.True); - }else { - //BA.debugLineNum = 207;BA.debugLine="Decrement"; -_decrement(); - //BA.debugLineNum = 208;BA.debugLine="StartDownLoop(False)"; -_startdownloop(__c.False); - }; - }else if(_stop) { - //BA.debugLineNum = 211;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - }; - //BA.debugLineNum = 213;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xradiobutton.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xradiobutton.java index ac00e9a..25753fb 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xradiobutton.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xradiobutton.java @@ -10,7 +10,7 @@ public class b4xradiobutton extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xradiobutton"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xradiobutton"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xradiobutton extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -47,10 +54,10 @@ public float _scale = 0f; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -58,237 +65,75 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width1,double _height1) throws Exception{ +public String _base_resize(reparto_intmex.keymon.lat.b4xradiobutton __ref,double _width1,double _height1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width1,_height1}));} int _newsize = 0; int _gap = 0; - //BA.debugLineNum = 59;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; - //BA.debugLineNum = 60;BA.debugLine="Dim NewSize As Int = Max(5dip, Height1)"; +RDebugUtils.currentLine=28246016; + //BA.debugLineNum = 28246016;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +RDebugUtils.currentLine=28246017; + //BA.debugLineNum = 28246017;BA.debugLine="Dim NewSize As Int = Max(5dip, Height1)"; _newsize = (int) (__c.Max(__c.DipToCurrent((int) (5)),_height1)); - //BA.debugLineNum = 61;BA.debugLine="If NewSize = Size Then Return"; -if (_newsize==_size) { +RDebugUtils.currentLine=28246018; + //BA.debugLineNum = 28246018;BA.debugLine="If NewSize = Size Then Return"; +if (_newsize==__ref._size /*int*/ ) { if (true) return "";}; - //BA.debugLineNum = 62;BA.debugLine="Size = NewSize"; -_size = _newsize; - //BA.debugLineNum = 63;BA.debugLine="Dim gap As Int = 3dip"; +RDebugUtils.currentLine=28246019; + //BA.debugLineNum = 28246019;BA.debugLine="Size = NewSize"; +__ref._size /*int*/ = _newsize; +RDebugUtils.currentLine=28246020; + //BA.debugLineNum = 28246020;BA.debugLine="Dim gap As Int = 3dip"; _gap = __c.DipToCurrent((int) (3)); - //BA.debugLineNum = 65;BA.debugLine="bc.Initialize(NewSize - 2 * gap, NewSize - 2 * ga"; -_bc._initialize(ba,(int) (_newsize-2*_gap),(int) (_newsize-2*_gap)); - //BA.debugLineNum = 66;BA.debugLine="Scale = xui.Scale"; -_scale = _xui.getScale(); - //BA.debugLineNum = 71;BA.debugLine="iv.SetLayoutAnimated(0, gap, gap, Size - 2 * gap,"; -_iv.SetLayoutAnimated((int) (0),_gap,_gap,(int) (_size-2*_gap),(int) (_size-2*_gap)); - //BA.debugLineNum = 72;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width1, Height1)"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width1),(int) (_height1)); - //BA.debugLineNum = 73;BA.debugLine="mLabel.SetLayoutAnimated(0, Size + gap, 0, Width1"; -_mlabel.SetLayoutAnimated((int) (0),(int) (_size+_gap),(int) (0),(int) (_width1-_size-_gap),(int) (_height1)); - //BA.debugLineNum = 74;BA.debugLine="OnBrush = bc.CreateBrushFromColor(OnColor)"; -_onbrush = _bc._createbrushfromcolor(_oncolor); - //BA.debugLineNum = 75;BA.debugLine="OffBrush = bc.CreateBrushFromColor(OffColor)"; -_offbrush = _bc._createbrushfromcolor(_offcolor); - //BA.debugLineNum = 76;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; -_transparent = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 77;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 78;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28246022; + //BA.debugLineNum = 28246022;BA.debugLine="bc.Initialize(NewSize - 2 * gap, NewSize - 2 * ga"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (_newsize-2*_gap),(int) (_newsize-2*_gap)); +RDebugUtils.currentLine=28246023; + //BA.debugLineNum = 28246023;BA.debugLine="Scale = xui.Scale"; +__ref._scale /*float*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale(); +RDebugUtils.currentLine=28246028; + //BA.debugLineNum = 28246028;BA.debugLine="iv.SetLayoutAnimated(0, gap, gap, Size - 2 * gap,"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_gap,_gap,(int) (__ref._size /*int*/ -2*_gap),(int) (__ref._size /*int*/ -2*_gap)); +RDebugUtils.currentLine=28246029; + //BA.debugLineNum = 28246029;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width1, Height1)"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width1),(int) (_height1)); +RDebugUtils.currentLine=28246030; + //BA.debugLineNum = 28246030;BA.debugLine="mLabel.SetLayoutAnimated(0, Size + gap, 0, Width1"; +__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (__ref._size /*int*/ +_gap),(int) (0),(int) (_width1-__ref._size /*int*/ -_gap),(int) (_height1)); +RDebugUtils.currentLine=28246031; + //BA.debugLineNum = 28246031;BA.debugLine="OnBrush = bc.CreateBrushFromColor(OnColor)"; +__ref._onbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._oncolor /*int*/ ); +RDebugUtils.currentLine=28246032; + //BA.debugLineNum = 28246032;BA.debugLine="OffBrush = bc.CreateBrushFromColor(OffColor)"; +__ref._offbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._offcolor /*int*/ ); +RDebugUtils.currentLine=28246033; + //BA.debugLineNum = 28246033;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; +__ref._transparent /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=28246034; + //BA.debugLineNum = 28246034;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=28246035; + //BA.debugLineNum = 28246035;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Public OnColor, OffColor As Int"; -_oncolor = 0; -_offcolor = 0; - //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 13;BA.debugLine="Private iv As B4XView"; -_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private mValue As Boolean"; -_mvalue = false; - //BA.debugLineNum = 15;BA.debugLine="Private transparent As BCBrush"; -_transparent = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 16;BA.debugLine="Private LoopIndex As Int"; -_loopindex = 0; - //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 18;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; -_onbrush = new b4a.example.bcpath._bcbrush(); -_offbrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 19;BA.debugLine="Private mEnabled As Boolean = True"; -_menabled = __c.True; - //BA.debugLineNum = 20;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 21;BA.debugLine="Private Size As Int"; -_size = 0; - //BA.debugLineNum = 22;BA.debugLine="Public mLabel As B4XView"; -_mlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private pnl As B4XView"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private Scale As Float 'ignore"; -_scale = 0f; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 37;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 38;BA.debugLine="pnl.Color = xui.Color_Transparent"; -_pnl.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 39;BA.debugLine="Dim iiv As ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 40;BA.debugLine="iiv.Initialize(\"\")"; -_iiv.Initialize(ba,""); - //BA.debugLineNum = 41;BA.debugLine="iv = iiv"; -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(iv, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 43;BA.debugLine="mLabel = Lbl"; -_mlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 44;BA.debugLine="mLabel.SetTextAlignment(\"CENTER\", \"LEFT\")"; -_mlabel.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 45;BA.debugLine="mBase.AddView(mLabel, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mlabel.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 46;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="OnColor = xui.PaintOrColorToColor(Props.Get(\"OnCo"; -_oncolor = _xui.PaintOrColorToColor(_props.Get((Object)("OnColor"))); - //BA.debugLineNum = 49;BA.debugLine="OffColor = xui.PaintOrColorToColor(Props.Get(\"Off"; -_offcolor = _xui.PaintOrColorToColor(_props.Get((Object)("OffColor"))); - //BA.debugLineNum = 50;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 52;BA.debugLine="mEnabled = mBase.Enabled"; -_menabled = _mbase.getEnabled(); - //BA.debugLineNum = 53;BA.debugLine="mBase.Enabled = True"; -_mbase.setEnabled(__c.True); - //BA.debugLineNum = 54;BA.debugLine="mValue = Props.Get(\"Value\")"; -_mvalue = BA.ObjectToBoolean(_props.Get((Object)("Value"))); - //BA.debugLineNum = 55;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; -return ""; -} -public String _draw(float _state) throws Exception{ -float _r = 0f; - //BA.debugLineNum = 153;BA.debugLine="Private Sub Draw (State As Float)"; - //BA.debugLineNum = 154;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; -_bc._drawrect2(_bc._targetrect,_transparent,__c.True,(int) (0)); - //BA.debugLineNum = 155;BA.debugLine="Dim r As Float = Floor(bc.mHeight / 2)"; -_r = (float) (__c.Floor(_bc._mheight/(double)2)); - //BA.debugLineNum = 156;BA.debugLine="If State < 1 Then bc.DrawCircle2(r, r, r, OffBrus"; -if (_state<1) { -_bc._drawcircle2(_r,_r,_r,_offbrush,__c.True,(int) (0));}; - //BA.debugLineNum = 157;BA.debugLine="If State > 0 Then bc.DrawCircle2(r, r, r * State,"; -if (_state>0) { -_bc._drawcircle2(_r,_r,(float) (_r*_state),_onbrush,__c.True,(int) (0));}; - //BA.debugLineNum = 158;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),_iv); - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public boolean _getchecked() throws Exception{ - //BA.debugLineNum = 140;BA.debugLine="Public Sub getChecked As Boolean"; - //BA.debugLineNum = 141;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 142;BA.debugLine="End Sub"; -return false; -} -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 150;BA.debugLine="Return mEnabled"; -if (true) return _menabled; - //BA.debugLineNum = 151;BA.debugLine="End Sub"; -return false; -} -public Object _gettext() throws Exception{ - //BA.debugLineNum = 165;BA.debugLine="Public Sub getText As Object"; - //BA.debugLineNum = 166;BA.debugLine="Return mLabel.Text"; -if (true) return (Object)(_mlabel.getText()); - //BA.debugLineNum = 167;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _pnl_click() throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Private Sub pnl_Click"; - //BA.debugLineNum = 88;BA.debugLine="If mValue Then Return"; -if (_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 89;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 90;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 91;BA.debugLine="SetValueImpl(Not(mValue), False)"; -_setvalueimpl(__c.Not(_mvalue),__c.False); - //BA.debugLineNum = 92;BA.debugLine="If mValue And xui.SubExists(mCallBack, mEventNam"; -if (_mvalue && _xui.SubExists(ba,_mcallback,_meventname+"_Checked",(int) (0))) { - //BA.debugLineNum = 93;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_Checked"); - }; - }; - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return ""; -} -public String _setchecked(boolean _b) throws Exception{ - //BA.debugLineNum = 135;BA.debugLine="Public Sub setChecked(b As Boolean)"; - //BA.debugLineNum = 136;BA.debugLine="If b = mValue Then Return"; -if (_b==_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 137;BA.debugLine="SetValueImpl(b, False)"; -_setvalueimpl(_b,__c.False); - //BA.debugLineNum = 138;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 144;BA.debugLine="Public Sub setEnabled (b As Boolean)"; - //BA.debugLineNum = 145;BA.debugLine="mEnabled = b"; -_menabled = _b; - //BA.debugLineNum = 146;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; -return ""; -} -public String _settext(Object _t) throws Exception{ - //BA.debugLineNum = 161;BA.debugLine="Public Sub setText (t As Object)"; - //BA.debugLineNum = 162;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(mLabel, t"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_mlabel,_t); - //BA.debugLineNum = 163;BA.debugLine="End Sub"; -return ""; -} -public void _setvalueimpl(boolean _b,boolean _immediate) throws Exception{ -ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,_b,_immediate); +public void _setvalueimpl(reparto_intmex.keymon.lat.b4xradiobutton __ref,boolean _b,boolean _immediate) throws Exception{ +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setvalueimpl", true)) + {Debug.delegate(ba, "setvalueimpl", new Object[] {_b,_immediate}); return;} +ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,__ref,_b,_immediate); rsub.resume(ba, null); } public static class ResumableSub_SetValueImpl extends BA.ResumableSub { -public ResumableSub_SetValueImpl(reparto_intmex.keymon.lat.b4xradiobutton parent,boolean _b,boolean _immediate) { +public ResumableSub_SetValueImpl(reparto_intmex.keymon.lat.b4xradiobutton parent,reparto_intmex.keymon.lat.b4xradiobutton __ref,boolean _b,boolean _immediate) { this.parent = parent; +this.__ref = __ref; this._b = _b; this._immediate = _immediate; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xradiobutton __ref; reparto_intmex.keymon.lat.b4xradiobutton parent; boolean _b; boolean _immediate; @@ -304,6 +149,7 @@ int limit3; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xradiobutton"; while (true) { switch (state) { @@ -313,9 +159,11 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 99;BA.debugLine="mValue = b"; -parent._mvalue = _b; - //BA.debugLineNum = 100;BA.debugLine="If b = True Then"; +RDebugUtils.currentLine=28377089; + //BA.debugLineNum = 28377089;BA.debugLine="mValue = b"; +__ref._mvalue /*boolean*/ = _b; +RDebugUtils.currentLine=28377090; + //BA.debugLineNum = 28377090;BA.debugLine="If b = True Then"; if (true) break; case 1: @@ -328,14 +176,15 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 101;BA.debugLine="For i = 0 To mBase.Parent.NumberOfViews - 1"; +RDebugUtils.currentLine=28377091; + //BA.debugLineNum = 28377091;BA.debugLine="For i = 0 To mBase.Parent.NumberOfViews - 1"; if (true) break; case 4: //for this.state = 11; step3 = 1; -limit3 = (int) (parent._mbase.getParent().getNumberOfViews()-1); +limit3 = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().getNumberOfViews()-1); _i = (int) (0) ; this.state = 59; if (true) break; @@ -355,26 +204,30 @@ if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 102;BA.debugLine="Dim v As B4XView = mBase.Parent.GetView(i)"; +RDebugUtils.currentLine=28377092; + //BA.debugLineNum = 28377092;BA.debugLine="Dim v As B4XView = mBase.Parent.GetView(i)"; _v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_v = parent._mbase.getParent().GetView(_i); - //BA.debugLineNum = 103;BA.debugLine="If v <> mBase And v.Tag Is B4XRadioButton Then"; +_v = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().GetView(_i); +RDebugUtils.currentLine=28377093; + //BA.debugLineNum = 28377093;BA.debugLine="If v <> mBase And v.Tag Is B4XRadioButton Then"; if (true) break; case 7: //if this.state = 10; -if ((_v).equals(parent._mbase) == false && _v.getTag() instanceof reparto_intmex.keymon.lat.b4xradiobutton) { +if ((_v).equals(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ) == false && _v.getTag() instanceof reparto_intmex.keymon.lat.b4xradiobutton) { this.state = 9; }if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 104;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; +RDebugUtils.currentLine=28377094; + //BA.debugLineNum = 28377094;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; _rb = (reparto_intmex.keymon.lat.b4xradiobutton)(_v.getTag()); - //BA.debugLineNum = 105;BA.debugLine="rb.Checked = False"; -_rb._setchecked /*boolean*/ (parent.__c.False); +RDebugUtils.currentLine=28377095; + //BA.debugLineNum = 28377095;BA.debugLine="rb.Checked = False"; +_rb._setchecked /*boolean*/ (null,parent.__c.False); if (true) break; case 10: @@ -394,9 +247,11 @@ case 12: //C this.state = 13; ; - //BA.debugLineNum = 109;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 110;BA.debugLine="If Immediate Then"; +RDebugUtils.currentLine=28377099; + //BA.debugLineNum = 28377099;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=28377100; + //BA.debugLineNum = 28377100;BA.debugLine="If Immediate Then"; if (true) break; case 13: @@ -411,13 +266,14 @@ this.state = 25; case 15: //C this.state = 16; - //BA.debugLineNum = 111;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +RDebugUtils.currentLine=28377101; + //BA.debugLineNum = 28377101;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; if (true) break; case 16: //if this.state = 23; -if (parent._mvalue) { +if (__ref._mvalue /*boolean*/ ) { this.state = 18; ;} else { @@ -427,13 +283,13 @@ this.state = 20; case 18: //C this.state = 23; -parent._draw((float) (1)); +__ref._draw /*String*/ (null,(float) (1)); if (true) break; case 20: //C this.state = 23; -parent._draw((float) (0)); +__ref._draw /*String*/ (null,(float) (0)); if (true) break; case 23: @@ -445,13 +301,17 @@ this.state = 53; case 25: //C this.state = 26; - //BA.debugLineNum = 113;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 114;BA.debugLine="Dim start As Long = DateTime.Now"; +RDebugUtils.currentLine=28377103; + //BA.debugLineNum = 28377103;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=28377104; + //BA.debugLineNum = 28377104;BA.debugLine="Dim start As Long = DateTime.Now"; _start = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 115;BA.debugLine="Dim duration As Int = 200"; +RDebugUtils.currentLine=28377105; + //BA.debugLineNum = 28377105;BA.debugLine="Dim duration As Int = 200"; _duration = (int) (200); - //BA.debugLineNum = 116;BA.debugLine="Do While DateTime.Now < start + duration"; +RDebugUtils.currentLine=28377106; + //BA.debugLineNum = 28377106;BA.debugLine="Do While DateTime.Now < start + duration"; if (true) break; case 26: @@ -466,15 +326,17 @@ if (true) break; case 28: //C this.state = 29; - //BA.debugLineNum = 117;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +RDebugUtils.currentLine=28377107; + //BA.debugLineNum = 28377107;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; _state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); - //BA.debugLineNum = 118;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +RDebugUtils.currentLine=28377108; + //BA.debugLineNum = 28377108;BA.debugLine="If mValue = False Then state1 = 1 - state1"; if (true) break; case 29: //if this.state = 34; -if (parent._mvalue==parent.__c.False) { +if (__ref._mvalue /*boolean*/ ==parent.__c.False) { this.state = 31; ;}if (true) break; @@ -488,23 +350,26 @@ case 34: //C this.state = 35; ; - //BA.debugLineNum = 119;BA.debugLine="Draw(state1)"; -parent._draw(_state1); - //BA.debugLineNum = 120;BA.debugLine="Sleep(16)"; -parent.__c.Sleep(ba,this,(int) (16)); +RDebugUtils.currentLine=28377109; + //BA.debugLineNum = 28377109;BA.debugLine="Draw(state1)"; +__ref._draw /*String*/ (null,_state1); +RDebugUtils.currentLine=28377110; + //BA.debugLineNum = 28377110;BA.debugLine="Sleep(16)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xradiobutton", "setvalueimpl"),(int) (16)); this.state = 61; return; case 61: //C this.state = 35; ; - //BA.debugLineNum = 121;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +RDebugUtils.currentLine=28377111; + //BA.debugLineNum = 28377111;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; if (true) break; case 35: //if this.state = 40; -if (_myindex!=parent._loopindex) { +if (_myindex!=__ref._loopindex /*int*/ ) { this.state = 37; ;}if (true) break; @@ -521,25 +386,27 @@ this.state = 26; ; if (true) break; ; - //BA.debugLineNum = 123;BA.debugLine="If MyIndex = LoopIndex Then"; +RDebugUtils.currentLine=28377113; + //BA.debugLineNum = 28377113;BA.debugLine="If MyIndex = LoopIndex Then"; case 41: //if this.state = 52; -if (_myindex==parent._loopindex) { +if (_myindex==__ref._loopindex /*int*/ ) { this.state = 43; }if (true) break; case 43: //C this.state = 44; - //BA.debugLineNum = 124;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +RDebugUtils.currentLine=28377114; + //BA.debugLineNum = 28377114;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; if (true) break; case 44: //if this.state = 51; -if (parent._mvalue) { +if (__ref._mvalue /*boolean*/ ) { this.state = 46; ;} else { @@ -549,13 +416,13 @@ this.state = 48; case 46: //C this.state = 51; -parent._draw((float) (1)); +__ref._draw /*String*/ (null,(float) (1)); if (true) break; case 48: //C this.state = 51; -parent._draw((float) (0)); +__ref._draw /*String*/ (null,(float) (0)); if (true) break; case 51: @@ -570,12 +437,13 @@ this.state = 53; ; if (true) break; ; - //BA.debugLineNum = 127;BA.debugLine="If mEnabled Then"; +RDebugUtils.currentLine=28377117; + //BA.debugLineNum = 28377117;BA.debugLine="If mEnabled Then"; case 53: //if this.state = 58; -if (parent._menabled) { +if (__ref._menabled /*boolean*/ ) { this.state = 55; }else { this.state = 57; @@ -584,30 +452,340 @@ this.state = 57; case 55: //C this.state = 58; - //BA.debugLineNum = 128;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (1)); +RDebugUtils.currentLine=28377118; + //BA.debugLineNum = 28377118;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; +parent._xuiviewsutils._setalpha /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(float) (1)); if (true) break; case 57: //C this.state = 58; - //BA.debugLineNum = 130;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.4)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (0.4)); +RDebugUtils.currentLine=28377120; + //BA.debugLineNum = 28377120;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.4)"; +parent._xuiviewsutils._setalpha /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(float) (0.4)); if (true) break; case 58: //C this.state = -1; ; - //BA.debugLineNum = 133;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28377123; + //BA.debugLineNum = 28377123;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _class_globals(reparto_intmex.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +RDebugUtils.currentLine=28049408; + //BA.debugLineNum = 28049408;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=28049409; + //BA.debugLineNum = 28049409;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=28049410; + //BA.debugLineNum = 28049410;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=28049411; + //BA.debugLineNum = 28049411;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=28049412; + //BA.debugLineNum = 28049412;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=28049413; + //BA.debugLineNum = 28049413;BA.debugLine="Public OnColor, OffColor As Int"; +_oncolor = 0; +_offcolor = 0; +RDebugUtils.currentLine=28049414; + //BA.debugLineNum = 28049414;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=28049415; + //BA.debugLineNum = 28049415;BA.debugLine="Private iv As B4XView"; +_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=28049416; + //BA.debugLineNum = 28049416;BA.debugLine="Private mValue As Boolean"; +_mvalue = false; +RDebugUtils.currentLine=28049417; + //BA.debugLineNum = 28049417;BA.debugLine="Private transparent As BCBrush"; +_transparent = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=28049418; + //BA.debugLineNum = 28049418;BA.debugLine="Private LoopIndex As Int"; +_loopindex = 0; +RDebugUtils.currentLine=28049419; + //BA.debugLineNum = 28049419;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=28049420; + //BA.debugLineNum = 28049420;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; +_onbrush = new b4a.example.bcpath._bcbrush(); +_offbrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=28049421; + //BA.debugLineNum = 28049421;BA.debugLine="Private mEnabled As Boolean = True"; +_menabled = __c.True; +RDebugUtils.currentLine=28049422; + //BA.debugLineNum = 28049422;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=28049423; + //BA.debugLineNum = 28049423;BA.debugLine="Private Size As Int"; +_size = 0; +RDebugUtils.currentLine=28049424; + //BA.debugLineNum = 28049424;BA.debugLine="Public mLabel As B4XView"; +_mlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=28049425; + //BA.debugLineNum = 28049425;BA.debugLine="Private pnl As B4XView"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=28049426; + //BA.debugLineNum = 28049426;BA.debugLine="Private Scale As Float 'ignore"; +_scale = 0f; +RDebugUtils.currentLine=28049427; + //BA.debugLineNum = 28049427;BA.debugLine="End Sub"; +return ""; } +public String _designercreateview(reparto_intmex.keymon.lat.b4xradiobutton __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; +RDebugUtils.currentLine=28180480; + //BA.debugLineNum = 28180480;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=28180481; + //BA.debugLineNum = 28180481;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=28180482; + //BA.debugLineNum = 28180482;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=28180482; + //BA.debugLineNum = 28180482;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=28180483; + //BA.debugLineNum = 28180483;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28180484; + //BA.debugLineNum = 28180484;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=28180485; + //BA.debugLineNum = 28180485;BA.debugLine="pnl.Color = xui.Color_Transparent"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=28180486; + //BA.debugLineNum = 28180486;BA.debugLine="Dim iiv As ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=28180487; + //BA.debugLineNum = 28180487;BA.debugLine="iiv.Initialize(\"\")"; +_iiv.Initialize(ba,""); +RDebugUtils.currentLine=28180488; + //BA.debugLineNum = 28180488;BA.debugLine="iv = iiv"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); +RDebugUtils.currentLine=28180489; + //BA.debugLineNum = 28180489;BA.debugLine="mBase.AddView(iv, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28180490; + //BA.debugLineNum = 28180490;BA.debugLine="mLabel = Lbl"; +__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=28180491; + //BA.debugLineNum = 28180491;BA.debugLine="mLabel.SetTextAlignment(\"CENTER\", \"LEFT\")"; +__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","LEFT"); +RDebugUtils.currentLine=28180492; + //BA.debugLineNum = 28180492;BA.debugLine="mBase.AddView(mLabel, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28180493; + //BA.debugLineNum = 28180493;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28180495; + //BA.debugLineNum = 28180495;BA.debugLine="OnColor = xui.PaintOrColorToColor(Props.Get(\"OnCo"; +__ref._oncolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("OnColor"))); +RDebugUtils.currentLine=28180496; + //BA.debugLineNum = 28180496;BA.debugLine="OffColor = xui.PaintOrColorToColor(Props.Get(\"Off"; +__ref._offcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("OffColor"))); +RDebugUtils.currentLine=28180497; + //BA.debugLineNum = 28180497;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=28180499; + //BA.debugLineNum = 28180499;BA.debugLine="mEnabled = mBase.Enabled"; +__ref._menabled /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getEnabled(); +RDebugUtils.currentLine=28180500; + //BA.debugLineNum = 28180500;BA.debugLine="mBase.Enabled = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=28180501; + //BA.debugLineNum = 28180501;BA.debugLine="mValue = Props.Get(\"Value\")"; +__ref._mvalue /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Value"))); +RDebugUtils.currentLine=28180502; + //BA.debugLineNum = 28180502;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=28180503; + //BA.debugLineNum = 28180503;BA.debugLine="End Sub"; +return ""; } +public String _draw(reparto_intmex.keymon.lat.b4xradiobutton __ref,float _state) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", new Object[] {_state}));} +float _r = 0f; +RDebugUtils.currentLine=28704768; + //BA.debugLineNum = 28704768;BA.debugLine="Private Sub Draw (State As Float)"; +RDebugUtils.currentLine=28704769; + //BA.debugLineNum = 28704769;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrect2(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._transparent /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=28704770; + //BA.debugLineNum = 28704770;BA.debugLine="Dim r As Float = Floor(bc.mHeight / 2)"; +_r = (float) (__c.Floor(__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2)); +RDebugUtils.currentLine=28704771; + //BA.debugLineNum = 28704771;BA.debugLine="If State < 1 Then bc.DrawCircle2(r, r, r, OffBrus"; +if (_state<1) { +__ref._bc /*b4a.example.bitmapcreator*/ ._drawcircle2(_r,_r,_r,__ref._offbrush /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0));}; +RDebugUtils.currentLine=28704772; + //BA.debugLineNum = 28704772;BA.debugLine="If State > 0 Then bc.DrawCircle2(r, r, r * State,"; +if (_state>0) { +__ref._bc /*b4a.example.bitmapcreator*/ ._drawcircle2(_r,_r,(float) (_r*_state),__ref._onbrush /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0));}; +RDebugUtils.currentLine=28704773; + //BA.debugLineNum = 28704773;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(__ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(),__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=28704774; + //BA.debugLineNum = 28704774;BA.debugLine="End Sub"; +return ""; +} +public boolean _getchecked(reparto_intmex.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "getchecked", true)) + {return ((Boolean) Debug.delegate(ba, "getchecked", null));} +RDebugUtils.currentLine=28508160; + //BA.debugLineNum = 28508160;BA.debugLine="Public Sub getChecked As Boolean"; +RDebugUtils.currentLine=28508161; + //BA.debugLineNum = 28508161;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*boolean*/ ; +RDebugUtils.currentLine=28508162; + //BA.debugLineNum = 28508162;BA.debugLine="End Sub"; +return false; +} +public boolean _getenabled(reparto_intmex.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=28639232; + //BA.debugLineNum = 28639232;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=28639233; + //BA.debugLineNum = 28639233;BA.debugLine="Return mEnabled"; +if (true) return __ref._menabled /*boolean*/ ; +RDebugUtils.currentLine=28639234; + //BA.debugLineNum = 28639234;BA.debugLine="End Sub"; +return false; +} +public Object _gettext(reparto_intmex.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((Object) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=28835840; + //BA.debugLineNum = 28835840;BA.debugLine="Public Sub getText As Object"; +RDebugUtils.currentLine=28835841; + //BA.debugLineNum = 28835841;BA.debugLine="Return mLabel.Text"; +if (true) return (Object)(__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText()); +RDebugUtils.currentLine=28835842; + //BA.debugLineNum = 28835842;BA.debugLine="End Sub"; +return null; +} +public String _initialize(reparto_intmex.keymon.lat.b4xradiobutton __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=28114944; + //BA.debugLineNum = 28114944;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=28114945; + //BA.debugLineNum = 28114945;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=28114946; + //BA.debugLineNum = 28114946;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=28114947; + //BA.debugLineNum = 28114947;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_click(reparto_intmex.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "pnl_click", true)) + {return ((String) Debug.delegate(ba, "pnl_click", null));} +RDebugUtils.currentLine=28311552; + //BA.debugLineNum = 28311552;BA.debugLine="Private Sub pnl_Click"; +RDebugUtils.currentLine=28311554; + //BA.debugLineNum = 28311554;BA.debugLine="If mValue Then Return"; +if (__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=28311555; + //BA.debugLineNum = 28311555;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=28311556; + //BA.debugLineNum = 28311556;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=28311557; + //BA.debugLineNum = 28311557;BA.debugLine="SetValueImpl(Not(mValue), False)"; +__ref._setvalueimpl /*void*/ (null,__c.Not(__ref._mvalue /*boolean*/ ),__c.False); +RDebugUtils.currentLine=28311558; + //BA.debugLineNum = 28311558;BA.debugLine="If mValue And xui.SubExists(mCallBack, mEventNam"; +if (__ref._mvalue /*boolean*/ && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Checked",(int) (0))) { +RDebugUtils.currentLine=28311559; + //BA.debugLineNum = 28311559;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Checked"); + }; + }; +RDebugUtils.currentLine=28311562; + //BA.debugLineNum = 28311562;BA.debugLine="End Sub"; +return ""; +} +public String _setchecked(reparto_intmex.keymon.lat.b4xradiobutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setchecked", true)) + {return ((String) Debug.delegate(ba, "setchecked", new Object[] {_b}));} +RDebugUtils.currentLine=28442624; + //BA.debugLineNum = 28442624;BA.debugLine="Public Sub setChecked(b As Boolean)"; +RDebugUtils.currentLine=28442625; + //BA.debugLineNum = 28442625;BA.debugLine="If b = mValue Then Return"; +if (_b==__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=28442626; + //BA.debugLineNum = 28442626;BA.debugLine="SetValueImpl(b, False)"; +__ref._setvalueimpl /*void*/ (null,_b,__c.False); +RDebugUtils.currentLine=28442627; + //BA.debugLineNum = 28442627;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(reparto_intmex.keymon.lat.b4xradiobutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=28573696; + //BA.debugLineNum = 28573696;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +RDebugUtils.currentLine=28573697; + //BA.debugLineNum = 28573697;BA.debugLine="mEnabled = b"; +__ref._menabled /*boolean*/ = _b; +RDebugUtils.currentLine=28573698; + //BA.debugLineNum = 28573698;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=28573699; + //BA.debugLineNum = 28573699;BA.debugLine="End Sub"; +return ""; +} +public String _settext(reparto_intmex.keymon.lat.b4xradiobutton __ref,Object _t) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_t}));} +RDebugUtils.currentLine=28770304; + //BA.debugLineNum = 28770304;BA.debugLine="Public Sub setText (t As Object)"; +RDebugUtils.currentLine=28770305; + //BA.debugLineNum = 28770305;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(mLabel, t"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_t); +RDebugUtils.currentLine=28770306; + //BA.debugLineNum = 28770306;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xsearchtemplate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xsearchtemplate.java index 6fb8c1e..cea4ffd 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xsearchtemplate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xsearchtemplate.java @@ -10,7 +10,7 @@ public class b4xsearchtemplate extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xsearchtemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xsearchtemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xsearchtemplate extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public b4a.example3.customlistview _customlistview1 = null; @@ -45,10 +52,10 @@ public boolean _prefixonly = false; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -56,238 +63,529 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _additemstolist(anywheresoftware.b4a.objects.collections.List _li,String _full) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=29097984; + //BA.debugLineNum = 29097984;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=29097985; + //BA.debugLineNum = 29097985;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=29097986; + //BA.debugLineNum = 29097986;BA.debugLine="End Sub"; +return null; +} +public void _show(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); +rsub.resume(ba, null); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(reparto_intmex.keymon.lat.b4xsearchtemplate parent,reparto_intmex.keymon.lat.b4xsearchtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +reparto_intmex.keymon.lat.b4xsearchtemplate __ref; +reparto_intmex.keymon.lat.b4xsearchtemplate parent; +reparto_intmex.keymon.lat.b4xdialog _dialog; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xsearchtemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=29163521; + //BA.debugLineNum = 29163521;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=29163522; + //BA.debugLineNum = 29163522;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._putattop /*boolean*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i(); +RDebugUtils.currentLine=29163523; + //BA.debugLineNum = 29163523;BA.debugLine="CustomListView1.AsView.Color = xui.Color_Transpar"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._asview().setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=29163524; + //BA.debugLineNum = 29163524;BA.debugLine="CustomListView1.sv.Color = xui.Color_Transparent"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=29163525; + //BA.debugLineNum = 29163525;BA.debugLine="mBase.Color = xui.Color_Transparent"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=29163526; + //BA.debugLineNum = 29163526;BA.debugLine="Sleep(20)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xsearchtemplate", "show"),(int) (20)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; +RDebugUtils.currentLine=29163527; + //BA.debugLineNum = 29163527;BA.debugLine="Update(\"\", True)"; +__ref._update /*String*/ (null,"",parent.__c.True); +RDebugUtils.currentLine=29163528; + //BA.debugLineNum = 29163528;BA.debugLine="CustomListView1.JumpToItem(0)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._jumptoitem((int) (0)); +RDebugUtils.currentLine=29163529; + //BA.debugLineNum = 29163529;BA.debugLine="SearchField.Text = \"\""; +__ref._searchfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ._settext /*String*/ (null,""); +RDebugUtils.currentLine=29163530; + //BA.debugLineNum = 29163530;BA.debugLine="SearchField.TextField.RequestFocus"; +__ref._searchfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).RequestFocus(); +RDebugUtils.currentLine=29163532; + //BA.debugLineNum = 29163532;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._searchfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).getObject())); +RDebugUtils.currentLine=29163534; + //BA.debugLineNum = 29163534;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=29687808; + //BA.debugLineNum = 29687808;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=29687810; + //BA.debugLineNum = 29687810;BA.debugLine="End Sub"; +return ""; +} +public String _additemstolist(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,anywheresoftware.b4a.objects.collections.List _li,String _full) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "additemstolist", true)) + {return ((String) Debug.delegate(ba, "additemstolist", new Object[] {_li,_full}));} int _i = 0; String _item = ""; int _x = 0; int _pnlcolor = 0; anywheresoftware.b4a.objects.CSBuilder _cs = null; anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 128;BA.debugLine="Private Sub AddItemsToList(li As List, full As Str"; - //BA.debugLineNum = 129;BA.debugLine="If li.IsInitialized = False Then Return"; +RDebugUtils.currentLine=29491200; + //BA.debugLineNum = 29491200;BA.debugLine="Private Sub AddItemsToList(li As List, full As Str"; +RDebugUtils.currentLine=29491201; + //BA.debugLineNum = 29491201;BA.debugLine="If li.IsInitialized = False Then Return"; if (_li.IsInitialized()==__c.False) { if (true) return "";}; - //BA.debugLineNum = 134;BA.debugLine="For i = 0 To li.Size - 1"; +RDebugUtils.currentLine=29491206; + //BA.debugLineNum = 29491206;BA.debugLine="For i = 0 To li.Size - 1"; { final int step2 = 1; final int limit2 = (int) (_li.getSize()-1); _i = (int) (0) ; for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 135;BA.debugLine="If CustomListView1.Size >= MaxNumberOfItemsToSho"; -if (_customlistview1._getsize()>=_maxnumberofitemstoshow) { +RDebugUtils.currentLine=29491207; + //BA.debugLineNum = 29491207;BA.debugLine="If CustomListView1.Size >= MaxNumberOfItemsToSho"; +if (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()>=__ref._maxnumberofitemstoshow /*int*/ ) { if (true) return "";}; - //BA.debugLineNum = 136;BA.debugLine="Dim item As String = li.Get(i)"; +RDebugUtils.currentLine=29491208; + //BA.debugLineNum = 29491208;BA.debugLine="Dim item As String = li.Get(i)"; _item = BA.ObjectToString(_li.Get(_i)); - //BA.debugLineNum = 137;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +RDebugUtils.currentLine=29491209; + //BA.debugLineNum = 29491209;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; _x = _item.toLowerCase().indexOf(_full); - //BA.debugLineNum = 138;BA.debugLine="If x = -1 Then"; +RDebugUtils.currentLine=29491210; + //BA.debugLineNum = 29491210;BA.debugLine="If x = -1 Then"; if (_x==-1) { - //BA.debugLineNum = 139;BA.debugLine="Continue"; +RDebugUtils.currentLine=29491211; + //BA.debugLineNum = 29491211;BA.debugLine="Continue"; if (true) continue; }; - //BA.debugLineNum = 141;BA.debugLine="Dim pnlColor As Int"; +RDebugUtils.currentLine=29491213; + //BA.debugLineNum = 29491213;BA.debugLine="Dim pnlColor As Int"; _pnlcolor = 0; - //BA.debugLineNum = 142;BA.debugLine="If CustomListView1.Size = 0 And full.Length > 0"; -if (_customlistview1._getsize()==0 && _full.length()>0 && _allowunlistedtext==__c.False) { - //BA.debugLineNum = 143;BA.debugLine="pnlColor = ItemHightlightColor"; -_pnlcolor = _itemhightlightcolor; +RDebugUtils.currentLine=29491214; + //BA.debugLineNum = 29491214;BA.debugLine="If CustomListView1.Size = 0 And full.Length > 0"; +if (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()==0 && _full.length()>0 && __ref._allowunlistedtext /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=29491215; + //BA.debugLineNum = 29491215;BA.debugLine="pnlColor = ItemHightlightColor"; +_pnlcolor = __ref._itemhightlightcolor /*int*/ ; }else { - //BA.debugLineNum = 145;BA.debugLine="pnlColor = CustomListView1.DefaultTextBackgroun"; -_pnlcolor = _customlistview1._defaulttextbackgroundcolor; +RDebugUtils.currentLine=29491217; + //BA.debugLineNum = 29491217;BA.debugLine="pnlColor = CustomListView1.DefaultTextBackgroun"; +_pnlcolor = __ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor; }; - //BA.debugLineNum = 148;BA.debugLine="Dim cs As CSBuilder"; +RDebugUtils.currentLine=29491220; + //BA.debugLineNum = 29491220;BA.debugLine="Dim cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 149;BA.debugLine="cs.Initialize.Append(item.SubString2(0, x)).Colo"; -_cs.Initialize().Append(BA.ObjectToCharSequence(_item.substring((int) (0),_x))).Color(_texthighlightcolor).Append(BA.ObjectToCharSequence(_item.substring(_x,(int) (_x+_full.length())))).Pop(); - //BA.debugLineNum = 150;BA.debugLine="cs.Append(item.SubString(x + full.Length))"; +RDebugUtils.currentLine=29491221; + //BA.debugLineNum = 29491221;BA.debugLine="cs.Initialize.Append(item.SubString2(0, x)).Colo"; +_cs.Initialize().Append(BA.ObjectToCharSequence(_item.substring((int) (0),_x))).Color(__ref._texthighlightcolor /*int*/ ).Append(BA.ObjectToCharSequence(_item.substring(_x,(int) (_x+_full.length())))).Pop(); +RDebugUtils.currentLine=29491222; + //BA.debugLineNum = 29491222;BA.debugLine="cs.Append(item.SubString(x + full.Length))"; _cs.Append(BA.ObjectToCharSequence(_item.substring((int) (_x+_full.length())))); - //BA.debugLineNum = 151;BA.debugLine="If ItemsCache.Size > 0 Then"; -if (_itemscache.getSize()>0) { - //BA.debugLineNum = 152;BA.debugLine="Dim p As B4XView = ItemsCache.Get(ItemsCache.Si"; +RDebugUtils.currentLine=29491223; + //BA.debugLineNum = 29491223;BA.debugLine="If ItemsCache.Size > 0 Then"; +if (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { +RDebugUtils.currentLine=29491224; + //BA.debugLineNum = 29491224;BA.debugLine="Dim p As B4XView = ItemsCache.Get(ItemsCache.Si"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_itemscache.Get((int) (_itemscache.getSize()-1)))); - //BA.debugLineNum = 153;BA.debugLine="ItemsCache.RemoveAt(ItemsCache.Size - 1)"; -_itemscache.RemoveAt((int) (_itemscache.getSize()-1)); - //BA.debugLineNum = 155;BA.debugLine="p.GetView(0).Text = cs"; +_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)))); +RDebugUtils.currentLine=29491225; + //BA.debugLineNum = 29491225;BA.debugLine="ItemsCache.RemoveAt(ItemsCache.Size - 1)"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt((int) (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)); +RDebugUtils.currentLine=29491227; + //BA.debugLineNum = 29491227;BA.debugLine="p.GetView(0).Text = cs"; _p.GetView((int) (0)).setText(BA.ObjectToCharSequence(_cs.getObject())); - //BA.debugLineNum = 160;BA.debugLine="p.Color = pnlColor"; +RDebugUtils.currentLine=29491232; + //BA.debugLineNum = 29491232;BA.debugLine="p.Color = pnlColor"; _p.setColor(_pnlcolor); - //BA.debugLineNum = 161;BA.debugLine="CustomListView1.Add(p, item)"; -_customlistview1._add(_p,(Object)(_item)); +RDebugUtils.currentLine=29491233; + //BA.debugLineNum = 29491233;BA.debugLine="CustomListView1.Add(p, item)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add(_p,(Object)(_item)); }else { - //BA.debugLineNum = 163;BA.debugLine="CustomListView1.AddTextItem(cs, item)"; -_customlistview1._addtextitem((Object)(_cs.getObject()),(Object)(_item)); +RDebugUtils.currentLine=29491235; + //BA.debugLineNum = 29491235;BA.debugLine="CustomListView1.AddTextItem(cs, item)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem((Object)(_cs.getObject()),(Object)(_item)); }; } }; - //BA.debugLineNum = 184;BA.debugLine="For i = 0 To li.Size - 1"; +RDebugUtils.currentLine=29491256; + //BA.debugLineNum = 29491256;BA.debugLine="For i = 0 To li.Size - 1"; { final int step28 = 1; final int limit28 = (int) (_li.getSize()-1); _i = (int) (0) ; for (;_i <= limit28 ;_i = _i + step28 ) { - //BA.debugLineNum = 185;BA.debugLine="Dim item As String = li.Get(i)"; +RDebugUtils.currentLine=29491257; + //BA.debugLineNum = 29491257;BA.debugLine="Dim item As String = li.Get(i)"; _item = BA.ObjectToString(_li.Get(_i)); - //BA.debugLineNum = 186;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +RDebugUtils.currentLine=29491258; + //BA.debugLineNum = 29491258;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; _x = _item.toLowerCase().indexOf(_full); - //BA.debugLineNum = 187;BA.debugLine="If x = -1 Then"; +RDebugUtils.currentLine=29491259; + //BA.debugLineNum = 29491259;BA.debugLine="If x = -1 Then"; if (_x==-1) { - //BA.debugLineNum = 188;BA.debugLine="Continue"; +RDebugUtils.currentLine=29491260; + //BA.debugLineNum = 29491260;BA.debugLine="Continue"; if (true) continue; }; } }; - //BA.debugLineNum = 191;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29491263; + //BA.debugLineNum = 29491263;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +public String _class_globals(reparto_intmex.keymon.lat.b4xsearchtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +RDebugUtils.currentLine=28901376; + //BA.debugLineNum = 28901376;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=28901377; + //BA.debugLineNum = 28901377;BA.debugLine="Private xui As XUI"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +RDebugUtils.currentLine=28901378; + //BA.debugLineNum = 28901378;BA.debugLine="Public mBase As B4XView"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; +RDebugUtils.currentLine=28901379; + //BA.debugLineNum = 28901379;BA.debugLine="Public CustomListView1 As CustomListView"; _customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; +RDebugUtils.currentLine=28901380; + //BA.debugLineNum = 28901380;BA.debugLine="Private xDialog As B4XDialog"; _xdialog = new reparto_intmex.keymon.lat.b4xdialog(); - //BA.debugLineNum = 6;BA.debugLine="Public SearchField As B4XFloatTextField"; +RDebugUtils.currentLine=28901381; + //BA.debugLineNum = 28901381;BA.debugLine="Public SearchField As B4XFloatTextField"; _searchfield = new reparto_intmex.keymon.lat.b4xfloattextfield(); - //BA.debugLineNum = 7;BA.debugLine="Private prefixList As Map"; +RDebugUtils.currentLine=28901382; + //BA.debugLineNum = 28901382;BA.debugLine="Private prefixList As Map"; _prefixlist = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 8;BA.debugLine="Private substringList As Map"; +RDebugUtils.currentLine=28901383; + //BA.debugLineNum = 28901383;BA.debugLine="Private substringList As Map"; _substringlist = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 9;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; +RDebugUtils.currentLine=28901384; + //BA.debugLineNum = 28901384;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; _texthighlightcolor = ((int)0xfffd5c5c); - //BA.debugLineNum = 10;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; +RDebugUtils.currentLine=28901385; + //BA.debugLineNum = 28901385;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; _itemhightlightcolor = ((int)0x7e008eff); - //BA.debugLineNum = 11;BA.debugLine="Private MAX_LIMIT = 4 As Int"; +RDebugUtils.currentLine=28901386; + //BA.debugLineNum = 28901386;BA.debugLine="Private MAX_LIMIT = 4 As Int"; _max_limit = (int) (4); - //BA.debugLineNum = 12;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; +RDebugUtils.currentLine=28901387; + //BA.debugLineNum = 28901387;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; _maxnumberofitemstoshow = (int) (100); - //BA.debugLineNum = 13;BA.debugLine="Private ItemsCache As List"; +RDebugUtils.currentLine=28901388; + //BA.debugLineNum = 28901388;BA.debugLine="Private ItemsCache As List"; _itemscache = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Private AllItems As List"; +RDebugUtils.currentLine=28901389; + //BA.debugLineNum = 28901389;BA.debugLine="Private AllItems As List"; _allitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 15;BA.debugLine="Public SelectedItem As String"; +RDebugUtils.currentLine=28901390; + //BA.debugLineNum = 28901390;BA.debugLine="Public SelectedItem As String"; _selecteditem = ""; - //BA.debugLineNum = 16;BA.debugLine="Private LastTerm As String"; +RDebugUtils.currentLine=28901391; + //BA.debugLineNum = 28901391;BA.debugLine="Private LastTerm As String"; _lastterm = ""; - //BA.debugLineNum = 18;BA.debugLine="Private IME As IME"; +RDebugUtils.currentLine=28901393; + //BA.debugLineNum = 28901393;BA.debugLine="Private IME As IME"; _ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 20;BA.debugLine="Public AllowUnlistedText As Boolean"; +RDebugUtils.currentLine=28901395; + //BA.debugLineNum = 28901395;BA.debugLine="Public AllowUnlistedText As Boolean"; _allowunlistedtext = false; - //BA.debugLineNum = 21;BA.debugLine="Public PrefixOnly As Boolean"; +RDebugUtils.currentLine=28901396; + //BA.debugLineNum = 28901396;BA.debugLine="Public PrefixOnly As Boolean"; _prefixonly = false; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28901397; + //BA.debugLineNum = 28901397;BA.debugLine="End Sub"; return ""; } -public String _customlistview1_itemclick(int _index,Object _value) throws Exception{ - //BA.debugLineNum = 122;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; - //BA.debugLineNum = 123;BA.debugLine="If Value = \"\" Then Return"; +public String _customlistview1_itemclick(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,int _index,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "customlistview1_itemclick", true)) + {return ((String) Debug.delegate(ba, "customlistview1_itemclick", new Object[] {_index,_value}));} +RDebugUtils.currentLine=29425664; + //BA.debugLineNum = 29425664;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +RDebugUtils.currentLine=29425665; + //BA.debugLineNum = 29425665;BA.debugLine="If Value = \"\" Then Return"; if ((_value).equals((Object)(""))) { if (true) return "";}; - //BA.debugLineNum = 124;BA.debugLine="SelectedItem = Value"; -_selecteditem = BA.ObjectToString(_value); - //BA.debugLineNum = 125;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - //BA.debugLineNum = 126;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29425666; + //BA.debugLineNum = 29425666;BA.debugLine="SelectedItem = Value"; +__ref._selecteditem /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=29425667; + //BA.debugLineNum = 29425667;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); +RDebugUtils.currentLine=29425668; + //BA.debugLineNum = 29425668;BA.debugLine="End Sub"; return ""; } -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 241;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 243;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 61;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 62;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 63;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} int _height = 0; anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 25;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 27;BA.debugLine="Dim height As Int"; +RDebugUtils.currentLine=28966912; + //BA.debugLineNum = 28966912;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=28966913; + //BA.debugLineNum = 28966913;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=28966915; + //BA.debugLineNum = 28966915;BA.debugLine="Dim height As Int"; _height = 0; - //BA.debugLineNum = 28;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then height = 220dip El"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { +RDebugUtils.currentLine=28966916; + //BA.debugLineNum = 28966916;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then height = 220dip El"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { _height = __c.DipToCurrent((int) (220));} else { _height = __c.DipToCurrent((int) (300));}; - //BA.debugLineNum = 29;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),_height); - //BA.debugLineNum = 30;BA.debugLine="mBase.LoadLayout(\"SearchTemplate\")"; -_mbase.LoadLayout("SearchTemplate",ba); - //BA.debugLineNum = 31;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 32;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 33;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 34;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 44;BA.debugLine="ItemsCache.Initialize"; -_itemscache.Initialize(); - //BA.debugLineNum = 45;BA.debugLine="prefixList.Initialize"; -_prefixlist.Initialize(); - //BA.debugLineNum = 46;BA.debugLine="substringList.Initialize"; -_substringlist.Initialize(); - //BA.debugLineNum = 48;BA.debugLine="IME.Initialize(\"\")"; -_ime.Initialize(""); - //BA.debugLineNum = 49;BA.debugLine="Dim jo As JavaObject = SearchField.TextField"; +RDebugUtils.currentLine=28966917; + //BA.debugLineNum = 28966917;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),_height); +RDebugUtils.currentLine=28966918; + //BA.debugLineNum = 28966918;BA.debugLine="mBase.LoadLayout(\"SearchTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("SearchTemplate",ba); +RDebugUtils.currentLine=28966919; + //BA.debugLineNum = 28966919;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28966920; + //BA.debugLineNum = 28966920;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28966921; + //BA.debugLineNum = 28966921;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=28966922; + //BA.debugLineNum = 28966922;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=28966932; + //BA.debugLineNum = 28966932;BA.debugLine="ItemsCache.Initialize"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=28966933; + //BA.debugLineNum = 28966933;BA.debugLine="prefixList.Initialize"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=28966934; + //BA.debugLineNum = 28966934;BA.debugLine="substringList.Initialize"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=28966936; + //BA.debugLineNum = 28966936;BA.debugLine="IME.Initialize(\"\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize(""); +RDebugUtils.currentLine=28966937; + //BA.debugLineNum = 28966937;BA.debugLine="Dim jo As JavaObject = SearchField.TextField"; _jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject())); - //BA.debugLineNum = 50;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._searchfield /*reparto_intmex.keymon.lat.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).getObject())); +RDebugUtils.currentLine=28966938; + //BA.debugLineNum = 28966938;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; _jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28966940; + //BA.debugLineNum = 28966940;BA.debugLine="End Sub"; return ""; } -public String _resize(int _width,int _height) throws Exception{ +public String _resize(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} anywheresoftware.b4a.objects.B4XViewWrapper _c = null; - //BA.debugLineNum = 54;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 55;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 56;BA.debugLine="Dim c As B4XView = CustomListView1.AsView"; +RDebugUtils.currentLine=29032448; + //BA.debugLineNum = 29032448;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=29032449; + //BA.debugLineNum = 29032449;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=29032450; + //BA.debugLineNum = 29032450;BA.debugLine="Dim c As B4XView = CustomListView1.AsView"; _c = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_c = _customlistview1._asview(); - //BA.debugLineNum = 57;BA.debugLine="c.SetLayoutAnimated(0, 0, c.Top, Width, Height -"; +_c = __ref._customlistview1 /*b4a.example3.customlistview*/ ._asview(); +RDebugUtils.currentLine=29032451; + //BA.debugLineNum = 29032451;BA.debugLine="c.SetLayoutAnimated(0, 0, c.Top, Width, Height -"; _c.SetLayoutAnimated((int) (0),(int) (0),_c.getTop(),_width,(int) (_height-_c.getTop())); - //BA.debugLineNum = 58;BA.debugLine="CustomListView1.Base_Resize(Width, c.Height)"; -_customlistview1._base_resize(_width,_c.getHeight()); - //BA.debugLineNum = 59;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29032452; + //BA.debugLineNum = 29032452;BA.debugLine="CustomListView1.Base_Resize(Width, c.Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_c.getHeight()); +RDebugUtils.currentLine=29032453; + //BA.debugLineNum = 29032453;BA.debugLine="End Sub"; return ""; } -public String _searchfield_enterpressed() throws Exception{ - //BA.debugLineNum = 112;BA.debugLine="Private Sub SearchField_EnterPressed"; - //BA.debugLineNum = 113;BA.debugLine="If AllowUnlistedText Then"; -if (_allowunlistedtext) { - //BA.debugLineNum = 114;BA.debugLine="SelectedItem = LastTerm"; -_selecteditem = _lastterm; - //BA.debugLineNum = 115;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - }else if(_customlistview1._getsize()>0 && _lastterm.length()>0) { - //BA.debugLineNum = 117;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; -_customlistview1_itemclick((int) (0),_customlistview1._getvalue((int) (0))); +public String _searchfield_enterpressed(reparto_intmex.keymon.lat.b4xsearchtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "searchfield_enterpressed", true)) + {return ((String) Debug.delegate(ba, "searchfield_enterpressed", null));} +RDebugUtils.currentLine=29360128; + //BA.debugLineNum = 29360128;BA.debugLine="Private Sub SearchField_EnterPressed"; +RDebugUtils.currentLine=29360129; + //BA.debugLineNum = 29360129;BA.debugLine="If AllowUnlistedText Then"; +if (__ref._allowunlistedtext /*boolean*/ ) { +RDebugUtils.currentLine=29360130; + //BA.debugLineNum = 29360130;BA.debugLine="SelectedItem = LastTerm"; +__ref._selecteditem /*String*/ = __ref._lastterm /*String*/ ; +RDebugUtils.currentLine=29360131; + //BA.debugLineNum = 29360131;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*reparto_intmex.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); + }else +{RDebugUtils.currentLine=29360132; + //BA.debugLineNum = 29360132;BA.debugLine="Else If CustomListView1.Size > 0 And LastTerm.Len"; +if (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()>0 && __ref._lastterm /*String*/ .length()>0) { +RDebugUtils.currentLine=29360133; + //BA.debugLineNum = 29360133;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; +__ref._customlistview1_itemclick /*String*/ (null,(int) (0),__ref._customlistview1 /*b4a.example3.customlistview*/ ._getvalue((int) (0))); + }} +; +RDebugUtils.currentLine=29360135; + //BA.debugLineNum = 29360135;BA.debugLine="End Sub"; +return ""; +} +public String _searchfield_textchanged(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "searchfield_textchanged", true)) + {return ((String) Debug.delegate(ba, "searchfield_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=29229056; + //BA.debugLineNum = 29229056;BA.debugLine="Private Sub SearchField_TextChanged (Old As String"; +RDebugUtils.currentLine=29229057; + //BA.debugLineNum = 29229057;BA.debugLine="Update(New, False)"; +__ref._update /*String*/ (null,_new,__c.False); +RDebugUtils.currentLine=29229058; + //BA.debugLineNum = 29229058;BA.debugLine="End Sub"; +return ""; +} +public String _update(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,String _term,boolean _force) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", new Object[] {_term,_force}));} +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +String _str1 = ""; +String _str2 = ""; +RDebugUtils.currentLine=29294592; + //BA.debugLineNum = 29294592;BA.debugLine="Private Sub Update(Term As String, Force As Boolea"; +RDebugUtils.currentLine=29294593; + //BA.debugLineNum = 29294593;BA.debugLine="If Term = LastTerm And Force = False Then Return"; +if ((_term).equals(__ref._lastterm /*String*/ ) && _force==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=29294594; + //BA.debugLineNum = 29294594;BA.debugLine="LastTerm = Term"; +__ref._lastterm /*String*/ = _term; +RDebugUtils.currentLine=29294595; + //BA.debugLineNum = 29294595;BA.debugLine="If xui.IsB4J = False Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()==__c.False) { +RDebugUtils.currentLine=29294596; + //BA.debugLineNum = 29294596;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=29294597; + //BA.debugLineNum = 29294597;BA.debugLine="Dim p As B4XView = CustomListView1.GetPanel(i)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=29294598; + //BA.debugLineNum = 29294598;BA.debugLine="p.RemoveViewFromParent"; +_p.RemoveViewFromParent(); +RDebugUtils.currentLine=29294599; + //BA.debugLineNum = 29294599;BA.debugLine="ItemsCache.Add(p)"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_p.getObject())); + } +}; }; - //BA.debugLineNum = 119;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29294602; + //BA.debugLineNum = 29294602;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=29294604; + //BA.debugLineNum = 29294604;BA.debugLine="Dim str1, str2 As String"; +_str1 = ""; +_str2 = ""; +RDebugUtils.currentLine=29294605; + //BA.debugLineNum = 29294605;BA.debugLine="str1 = Term.ToLowerCase"; +_str1 = _term.toLowerCase(); +RDebugUtils.currentLine=29294606; + //BA.debugLineNum = 29294606;BA.debugLine="If Term = \"\" Then"; +if ((_term).equals("")) { +RDebugUtils.currentLine=29294607; + //BA.debugLineNum = 29294607;BA.debugLine="AddItemsToList(AllItems, str1)"; +__ref._additemstolist /*String*/ (null,__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ ,_str1); + }else { +RDebugUtils.currentLine=29294609; + //BA.debugLineNum = 29294609;BA.debugLine="If str1.Length > MAX_LIMIT Then"; +if (_str1.length()>__ref._max_limit /*int*/ ) { +RDebugUtils.currentLine=29294610; + //BA.debugLineNum = 29294610;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; +_str2 = _str1.substring((int) (0),__ref._max_limit /*int*/ ); + }else { +RDebugUtils.currentLine=29294612; + //BA.debugLineNum = 29294612;BA.debugLine="str2 = str1"; +_str2 = _str1; + }; +RDebugUtils.currentLine=29294614; + //BA.debugLineNum = 29294614;BA.debugLine="AddItemsToList(prefixList.Get(str2), str1)"; +__ref._additemstolist /*String*/ (null,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_str2)))),_str1); +RDebugUtils.currentLine=29294615; + //BA.debugLineNum = 29294615;BA.debugLine="AddItemsToList(substringList.Get(str2), str1)"; +__ref._additemstolist /*String*/ (null,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_str2)))),_str1); + }; +RDebugUtils.currentLine=29294617; + //BA.debugLineNum = 29294617;BA.debugLine="End Sub"; return ""; } -public String _searchfield_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 81;BA.debugLine="Private Sub SearchField_TextChanged (Old As String"; - //BA.debugLineNum = 82;BA.debugLine="Update(New, False)"; -_update(_new,__c.False); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public String _setindex(Object _index) throws Exception{ +public String _setindex(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,Object _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "setindex", true)) + {return ((String) Debug.delegate(ba, "setindex", new Object[] {_index}));} Object[] _obj = null; - //BA.debugLineNum = 233;BA.debugLine="Public Sub SetIndex(Index As Object)"; - //BA.debugLineNum = 234;BA.debugLine="Dim obj() As Object"; +RDebugUtils.currentLine=29622272; + //BA.debugLineNum = 29622272;BA.debugLine="Public Sub SetIndex(Index As Object)"; +RDebugUtils.currentLine=29622273; + //BA.debugLineNum = 29622273;BA.debugLine="Dim obj() As Object"; _obj = new Object[(int) (0)]; { int d0 = _obj.length; @@ -296,19 +594,28 @@ _obj[i0] = new Object(); } } ; - //BA.debugLineNum = 235;BA.debugLine="obj = Index"; +RDebugUtils.currentLine=29622274; + //BA.debugLineNum = 29622274;BA.debugLine="obj = Index"; _obj = (Object[])(_index); - //BA.debugLineNum = 236;BA.debugLine="prefixList = obj(0)"; -_prefixlist = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (0)])); - //BA.debugLineNum = 237;BA.debugLine="substringList = obj(1)"; -_substringlist = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (1)])); - //BA.debugLineNum = 238;BA.debugLine="Dim AllItems As List = obj(2)"; +RDebugUtils.currentLine=29622275; + //BA.debugLineNum = 29622275;BA.debugLine="prefixList = obj(0)"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (0)])); +RDebugUtils.currentLine=29622276; + //BA.debugLineNum = 29622276;BA.debugLine="substringList = obj(1)"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (1)])); +RDebugUtils.currentLine=29622277; + //BA.debugLineNum = 29622277;BA.debugLine="Dim AllItems As List = obj(2)"; _allitems = new anywheresoftware.b4a.objects.collections.List(); _allitems = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_obj[(int) (2)])); - //BA.debugLineNum = 239;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29622278; + //BA.debugLineNum = 29622278;BA.debugLine="End Sub"; return ""; } -public Object _setitems(anywheresoftware.b4a.objects.collections.List _items) throws Exception{ +public Object _setitems(reparto_intmex.keymon.lat.b4xsearchtemplate __ref,anywheresoftware.b4a.objects.collections.List _items) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((Object) Debug.delegate(ba, "setitems", new Object[] {_items}));} long _starttime = 0L; anywheresoftware.b4a.objects.collections.Map _noduplicates = null; anywheresoftware.b4a.objects.collections.Map _m = null; @@ -319,69 +626,95 @@ String _itemtolower = ""; int _start = 0; int _count = 0; String _str = ""; - //BA.debugLineNum = 196;BA.debugLine="Public Sub SetItems(Items As List) As Object"; - //BA.debugLineNum = 197;BA.debugLine="Dim startTime As Long"; +RDebugUtils.currentLine=29556736; + //BA.debugLineNum = 29556736;BA.debugLine="Public Sub SetItems(Items As List) As Object"; +RDebugUtils.currentLine=29556737; + //BA.debugLineNum = 29556737;BA.debugLine="Dim startTime As Long"; _starttime = 0L; - //BA.debugLineNum = 198;BA.debugLine="startTime = DateTime.Now"; +RDebugUtils.currentLine=29556738; + //BA.debugLineNum = 29556738;BA.debugLine="startTime = DateTime.Now"; _starttime = __c.DateTime.getNow(); - //BA.debugLineNum = 199;BA.debugLine="Dim noDuplicates As Map"; +RDebugUtils.currentLine=29556739; + //BA.debugLineNum = 29556739;BA.debugLine="Dim noDuplicates As Map"; _noduplicates = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 200;BA.debugLine="noDuplicates.Initialize"; +RDebugUtils.currentLine=29556740; + //BA.debugLineNum = 29556740;BA.debugLine="noDuplicates.Initialize"; _noduplicates.Initialize(); - //BA.debugLineNum = 201;BA.debugLine="prefixList.Clear"; -_prefixlist.Clear(); - //BA.debugLineNum = 202;BA.debugLine="substringList.Clear"; -_substringlist.Clear(); - //BA.debugLineNum = 203;BA.debugLine="Dim m As Map"; +RDebugUtils.currentLine=29556741; + //BA.debugLineNum = 29556741;BA.debugLine="prefixList.Clear"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=29556742; + //BA.debugLineNum = 29556742;BA.debugLine="substringList.Clear"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=29556743; + //BA.debugLineNum = 29556743;BA.debugLine="Dim m As Map"; _m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 204;BA.debugLine="Dim li As List"; +RDebugUtils.currentLine=29556744; + //BA.debugLineNum = 29556744;BA.debugLine="Dim li As List"; _li = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 205;BA.debugLine="For i = 0 To Items.Size - 1"; +RDebugUtils.currentLine=29556745; + //BA.debugLineNum = 29556745;BA.debugLine="For i = 0 To Items.Size - 1"; { final int step9 = 1; final int limit9 = (int) (_items.getSize()-1); _i = (int) (0) ; for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 206;BA.debugLine="Dim itemNotLower As String = Items.Get(i)"; +RDebugUtils.currentLine=29556746; + //BA.debugLineNum = 29556746;BA.debugLine="Dim itemNotLower As String = Items.Get(i)"; _itemnotlower = BA.ObjectToString(_items.Get(_i)); - //BA.debugLineNum = 207;BA.debugLine="Dim itemToLower As String = itemNotLower.ToLower"; +RDebugUtils.currentLine=29556747; + //BA.debugLineNum = 29556747;BA.debugLine="Dim itemToLower As String = itemNotLower.ToLower"; _itemtolower = _itemnotlower.toLowerCase(); - //BA.debugLineNum = 208;BA.debugLine="noDuplicates.Clear"; +RDebugUtils.currentLine=29556748; + //BA.debugLineNum = 29556748;BA.debugLine="noDuplicates.Clear"; _noduplicates.Clear(); - //BA.debugLineNum = 209;BA.debugLine="For start = 0 To IIf(PrefixOnly, 0, itemToLower."; +RDebugUtils.currentLine=29556749; + //BA.debugLineNum = 29556749;BA.debugLine="For start = 0 To IIf(PrefixOnly, 0, itemToLower."; { final int step13 = 1; -final int limit13 = (int)(BA.ObjectToNumber(((_prefixonly) ? ((Object)(0)) : ((Object)(_itemtolower.length()-1))))); +final int limit13 = (int)(BA.ObjectToNumber(((__ref._prefixonly /*boolean*/ ) ? ((Object)(0)) : ((Object)(_itemtolower.length()-1))))); _start = (int) (0) ; for (;_start <= limit13 ;_start = _start + step13 ) { - //BA.debugLineNum = 210;BA.debugLine="Dim count As Int = 1"; +RDebugUtils.currentLine=29556750; + //BA.debugLineNum = 29556750;BA.debugLine="Dim count As Int = 1"; _count = (int) (1); - //BA.debugLineNum = 211;BA.debugLine="Do While count <= MAX_LIMIT And start + count <"; -while (_count<=_max_limit && _start+_count<=_itemtolower.length()) { - //BA.debugLineNum = 212;BA.debugLine="Dim str As String = itemToLower.SubString2(sta"; +RDebugUtils.currentLine=29556751; + //BA.debugLineNum = 29556751;BA.debugLine="Do While count <= MAX_LIMIT And start + count <"; +while (_count<=__ref._max_limit /*int*/ && _start+_count<=_itemtolower.length()) { +RDebugUtils.currentLine=29556752; + //BA.debugLineNum = 29556752;BA.debugLine="Dim str As String = itemToLower.SubString2(sta"; _str = _itemtolower.substring(_start,(int) (_start+_count)); - //BA.debugLineNum = 213;BA.debugLine="If noDuplicates.ContainsKey(str) = False Then"; +RDebugUtils.currentLine=29556753; + //BA.debugLineNum = 29556753;BA.debugLine="If noDuplicates.ContainsKey(str) = False Then"; if (_noduplicates.ContainsKey((Object)(_str))==__c.False) { - //BA.debugLineNum = 214;BA.debugLine="noDuplicates.Put(str, \"\")"; +RDebugUtils.currentLine=29556754; + //BA.debugLineNum = 29556754;BA.debugLine="noDuplicates.Put(str, \"\")"; _noduplicates.Put((Object)(_str),(Object)("")); - //BA.debugLineNum = 215;BA.debugLine="If start = 0 Then m = prefixList Else m = sub"; +RDebugUtils.currentLine=29556755; + //BA.debugLineNum = 29556755;BA.debugLine="If start = 0 Then m = prefixList Else m = sub"; if (_start==0) { -_m = _prefixlist;} +_m = __ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ ;} else { -_m = _substringlist;}; - //BA.debugLineNum = 216;BA.debugLine="li = m.Get(str)"; +_m = __ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ ;}; +RDebugUtils.currentLine=29556756; + //BA.debugLineNum = 29556756;BA.debugLine="li = m.Get(str)"; _li = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)(_str)))); - //BA.debugLineNum = 217;BA.debugLine="If li.IsInitialized = False Then"; +RDebugUtils.currentLine=29556757; + //BA.debugLineNum = 29556757;BA.debugLine="If li.IsInitialized = False Then"; if (_li.IsInitialized()==__c.False) { - //BA.debugLineNum = 218;BA.debugLine="li.Initialize"; +RDebugUtils.currentLine=29556758; + //BA.debugLineNum = 29556758;BA.debugLine="li.Initialize"; _li.Initialize(); - //BA.debugLineNum = 219;BA.debugLine="m.Put(str, li)"; +RDebugUtils.currentLine=29556759; + //BA.debugLineNum = 29556759;BA.debugLine="m.Put(str, li)"; _m.Put((Object)(_str),(Object)(_li.getObject())); }; - //BA.debugLineNum = 221;BA.debugLine="li.Add(itemNotLower)"; +RDebugUtils.currentLine=29556761; + //BA.debugLineNum = 29556761;BA.debugLine="li.Add(itemNotLower)"; _li.Add((Object)(_itemnotlower)); }; - //BA.debugLineNum = 223;BA.debugLine="count = count + 1"; +RDebugUtils.currentLine=29556763; + //BA.debugLineNum = 29556763;BA.debugLine="count = count + 1"; _count = (int) (_count+1); } ; @@ -389,136 +722,28 @@ _count = (int) (_count+1); }; } }; - //BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; -__c.LogImpl("966322463","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); - //BA.debugLineNum = 228;BA.debugLine="AllItems = Items"; -_allitems = _items; - //BA.debugLineNum = 229;BA.debugLine="Return Array(prefixList, substringList, AllItems)"; -if (true) return (Object)(new Object[]{(Object)(_prefixlist.getObject()),(Object)(_substringlist.getObject()),(Object)(_allitems.getObject())}); - //BA.debugLineNum = 230;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29556767; + //BA.debugLineNum = 29556767;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; +__c.LogImpl("929556767","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); +RDebugUtils.currentLine=29556768; + //BA.debugLineNum = 29556768;BA.debugLine="AllItems = Items"; +__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ = _items; +RDebugUtils.currentLine=29556769; + //BA.debugLineNum = 29556769;BA.debugLine="Return Array(prefixList, substringList, AllItems)"; +if (true) return (Object)(new Object[]{(Object)(__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()),(Object)(__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()),(Object)(__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ .getObject())}); +RDebugUtils.currentLine=29556770; + //BA.debugLineNum = 29556770;BA.debugLine="End Sub"; return null; } -public void _show(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); -rsub.resume(ba, null); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(reparto_intmex.keymon.lat.b4xsearchtemplate parent,reparto_intmex.keymon.lat.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -reparto_intmex.keymon.lat.b4xsearchtemplate parent; -reparto_intmex.keymon.lat.b4xdialog _dialog; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -return; - -case 0: -//C -this.state = -1; - //BA.debugLineNum = 66;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 67;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; -parent._xdialog._putattop /*boolean*/ = parent._xui.getIsB4A() || parent._xui.getIsB4i(); - //BA.debugLineNum = 68;BA.debugLine="CustomListView1.AsView.Color = xui.Color_Transpar"; -parent._customlistview1._asview().setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 69;BA.debugLine="CustomListView1.sv.Color = xui.Color_Transparent"; -parent._customlistview1._sv.setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 70;BA.debugLine="mBase.Color = xui.Color_Transparent"; -parent._mbase.setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 71;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 72;BA.debugLine="Update(\"\", True)"; -parent._update("",parent.__c.True); - //BA.debugLineNum = 73;BA.debugLine="CustomListView1.JumpToItem(0)"; -parent._customlistview1._jumptoitem((int) (0)); - //BA.debugLineNum = 74;BA.debugLine="SearchField.Text = \"\""; -parent._searchfield._settext /*String*/ (""); - //BA.debugLineNum = 75;BA.debugLine="SearchField.TextField.RequestFocus"; -parent._searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().RequestFocus(); - //BA.debugLineNum = 77;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; -parent._ime.ShowKeyboard((android.view.View)(parent._searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject())); - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _update(String _term,boolean _force) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -String _str1 = ""; -String _str2 = ""; - //BA.debugLineNum = 85;BA.debugLine="Private Sub Update(Term As String, Force As Boolea"; - //BA.debugLineNum = 86;BA.debugLine="If Term = LastTerm And Force = False Then Return"; -if ((_term).equals(_lastterm) && _force==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 87;BA.debugLine="LastTerm = Term"; -_lastterm = _term; - //BA.debugLineNum = 88;BA.debugLine="If xui.IsB4J = False Then"; -if (_xui.getIsB4J()==__c.False) { - //BA.debugLineNum = 89;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_customlistview1._getsize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 90;BA.debugLine="Dim p As B4XView = CustomListView1.GetPanel(i)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _customlistview1._getpanel(_i); - //BA.debugLineNum = 91;BA.debugLine="p.RemoveViewFromParent"; -_p.RemoveViewFromParent(); - //BA.debugLineNum = 92;BA.debugLine="ItemsCache.Add(p)"; -_itemscache.Add((Object)(_p.getObject())); - } -}; - }; - //BA.debugLineNum = 95;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 97;BA.debugLine="Dim str1, str2 As String"; -_str1 = ""; -_str2 = ""; - //BA.debugLineNum = 98;BA.debugLine="str1 = Term.ToLowerCase"; -_str1 = _term.toLowerCase(); - //BA.debugLineNum = 99;BA.debugLine="If Term = \"\" Then"; -if ((_term).equals("")) { - //BA.debugLineNum = 100;BA.debugLine="AddItemsToList(AllItems, str1)"; -_additemstolist(_allitems,_str1); - }else { - //BA.debugLineNum = 102;BA.debugLine="If str1.Length > MAX_LIMIT Then"; -if (_str1.length()>_max_limit) { - //BA.debugLineNum = 103;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; -_str2 = _str1.substring((int) (0),_max_limit); - }else { - //BA.debugLineNum = 105;BA.debugLine="str2 = str1"; -_str2 = _str1; - }; - //BA.debugLineNum = 107;BA.debugLine="AddItemsToList(prefixList.Get(str2), str1)"; -_additemstolist((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_prefixlist.Get((Object)(_str2)))),_str1); - //BA.debugLineNum = 108;BA.debugLine="AddItemsToList(substringList.Get(str2), str1)"; -_additemstolist((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_substringlist.Get((Object)(_str2)))),_str1); - }; - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((reparto_intmex.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} +public void RemoveWarning() throws Exception{ + anywheresoftware.b4a.shell.Shell s = anywheresoftware.b4a.shell.Shell.INSTANCE; + java.lang.reflect.Field f = s.getClass().getDeclaredField("errorMessagesForSyncEvents"); + f.setAccessible(true); + java.util.HashSet h = (java.util.HashSet)f.get(s); + if (h == null) { + h = new java.util.HashSet(); + f.set(s, h); + } + h.add("tf_focuschanged"); } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xseekbar.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xseekbar.java index 61cc82b..4323501 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xseekbar.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xseekbar.java @@ -10,7 +10,7 @@ public class b4xseekbar extends B4AClass.ImplB4AClass implements BA.SubDelegator private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xseekbar"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xseekbar"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xseekbar extends B4AClass.ImplB4AClass implements BA.SubDelegator ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -48,10 +55,10 @@ public int _size = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -59,241 +66,380 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 53;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 54;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_touchpanel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 55;BA.debugLine="Vertical = mBase.Height > mBase.Width"; -_vertical = _mbase.getHeight()>_mbase.getWidth(); - //BA.debugLineNum = 56;BA.debugLine="size = Max(mBase.Height, mBase.Width) - 2 * Radiu"; -_size = (int) (__c.Max(_mbase.getHeight(),_mbase.getWidth())-2*_radius2); - //BA.debugLineNum = 57;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.b4xseekbar __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=29949952; + //BA.debugLineNum = 29949952;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=29949953; + //BA.debugLineNum = 29949953;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=29949954; + //BA.debugLineNum = 29949954;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=29949955; + //BA.debugLineNum = 29949955;BA.debugLine="Vertical = mBase.Height > mBase.Width"; +__ref._vertical /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()>__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(); +RDebugUtils.currentLine=29949956; + //BA.debugLineNum = 29949956;BA.debugLine="size = Max(mBase.Height, mBase.Width) - 2 * Radiu"; +__ref._size /*int*/ = (int) (__c.Max(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())-2*__ref._radius2 /*int*/ ); +RDebugUtils.currentLine=29949957; + //BA.debugLineNum = 29949957;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=29949958; + //BA.debugLineNum = 29949958;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 11;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 12;BA.debugLine="Private mEventName As String 'ignore"; +public String _update(reparto_intmex.keymon.lat.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +int _s1 = 0; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=30015488; + //BA.debugLineNum = 30015488;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=30015490; + //BA.debugLineNum = 30015490;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=30015491; + //BA.debugLineNum = 30015491;BA.debugLine="If size > 0 Then"; +if (__ref._size /*int*/ >0) { +RDebugUtils.currentLine=30015492; + //BA.debugLineNum = 30015492;BA.debugLine="If Vertical = False Then"; +if (__ref._vertical /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=30015493; + //BA.debugLineNum = 30015493;BA.debugLine="Dim s1 As Int = Radius2 + (mValue - MinValue) /"; +_s1 = (int) (__ref._radius2 /*int*/ +(__ref._mvalue /*int*/ -__ref._minvalue /*int*/ )/(double)(__ref._maxvalue /*int*/ -__ref._minvalue /*int*/ )*__ref._size /*int*/ ); +RDebugUtils.currentLine=30015494; + //BA.debugLineNum = 30015494;BA.debugLine="Dim y As Int = mBase.Height / 2"; +_y = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2); +RDebugUtils.currentLine=30015495; + //BA.debugLineNum = 30015495;BA.debugLine="cvs.DrawLine(Radius2, y, s1, y, Color1, Size1)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (__ref._radius2 /*int*/ ),(float) (_y),(float) (_s1),(float) (_y),__ref._color1 /*int*/ ,(float) (__ref._size1 /*int*/ )); +RDebugUtils.currentLine=30015496; + //BA.debugLineNum = 30015496;BA.debugLine="cvs.DrawLine(s1, y, mBase.Width - Radius2, y, C"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (_s1),(float) (_y),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__ref._radius2 /*int*/ ),(float) (_y),__ref._color2 /*int*/ ,(float) (__ref._size2 /*int*/ )); +RDebugUtils.currentLine=30015497; + //BA.debugLineNum = 30015497;BA.debugLine="cvs.DrawCircle(s1, y, Radius1, Color1, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_s1),(float) (_y),(float) (__ref._radius1 /*int*/ ),__ref._color1 /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=30015498; + //BA.debugLineNum = 30015498;BA.debugLine="If Pressed Then"; +if (__ref._pressed /*boolean*/ ) { +RDebugUtils.currentLine=30015499; + //BA.debugLineNum = 30015499;BA.debugLine="cvs.DrawCircle(s1, y, Radius2, ThumbColor, Tru"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_s1),(float) (_y),(float) (__ref._radius2 /*int*/ ),__ref._thumbcolor /*int*/ ,__c.True,(float) (0)); + }; + }else { +RDebugUtils.currentLine=30015502; + //BA.debugLineNum = 30015502;BA.debugLine="Dim s1 As Int = Radius2 + (MaxValue - mValue) /"; +_s1 = (int) (__ref._radius2 /*int*/ +(__ref._maxvalue /*int*/ -__ref._mvalue /*int*/ )/(double)(__ref._maxvalue /*int*/ -__ref._minvalue /*int*/ )*__ref._size /*int*/ ); +RDebugUtils.currentLine=30015503; + //BA.debugLineNum = 30015503;BA.debugLine="Dim x As Int = mBase.Width / 2"; +_x = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2); +RDebugUtils.currentLine=30015504; + //BA.debugLineNum = 30015504;BA.debugLine="cvs.DrawLine(x, Radius2, x, s1, Color2, Size2)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (_x),(float) (__ref._radius2 /*int*/ ),(float) (_x),(float) (_s1),__ref._color2 /*int*/ ,(float) (__ref._size2 /*int*/ )); +RDebugUtils.currentLine=30015505; + //BA.debugLineNum = 30015505;BA.debugLine="cvs.DrawLine(x, s1, x, mBase.Height - Radius2,"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (_x),(float) (_s1),(float) (_x),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._radius2 /*int*/ ),__ref._color1 /*int*/ ,(float) (__ref._size1 /*int*/ )); +RDebugUtils.currentLine=30015506; + //BA.debugLineNum = 30015506;BA.debugLine="cvs.DrawCircle(x, s1, Radius1, Color1, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_x),(float) (_s1),(float) (__ref._radius1 /*int*/ ),__ref._color1 /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=30015507; + //BA.debugLineNum = 30015507;BA.debugLine="If Pressed Then"; +if (__ref._pressed /*boolean*/ ) { +RDebugUtils.currentLine=30015508; + //BA.debugLineNum = 30015508;BA.debugLine="cvs.DrawCircle(x, s1, Radius2, ThumbColor, Tru"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_x),(float) (_s1),(float) (__ref._radius2 /*int*/ ),__ref._thumbcolor /*int*/ ,__c.True,(float) (0)); + }; + }; + }; +RDebugUtils.currentLine=30015512; + //BA.debugLineNum = 30015512;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=30015513; + //BA.debugLineNum = 30015513;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +RDebugUtils.currentLine=29753344; + //BA.debugLineNum = 29753344;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=29753345; + //BA.debugLineNum = 29753345;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 13;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=29753346; + //BA.debugLineNum = 29753346;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 14;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=29753347; + //BA.debugLineNum = 29753347;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=29753348; + //BA.debugLineNum = 29753348;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 16;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; +RDebugUtils.currentLine=29753349; + //BA.debugLineNum = 29753349;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; _color1 = 0; _color2 = 0; _thumbcolor = 0; - //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; +RDebugUtils.currentLine=29753350; + //BA.debugLineNum = 29753350;BA.debugLine="Private cvs As B4XCanvas"; _cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=29753351; + //BA.debugLineNum = 29753351;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 19;BA.debugLine="Private TouchPanel As B4XView"; +RDebugUtils.currentLine=29753352; + //BA.debugLineNum = 29753352;BA.debugLine="Private TouchPanel As B4XView"; _touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private mValue As Int"; +RDebugUtils.currentLine=29753353; + //BA.debugLineNum = 29753353;BA.debugLine="Private mValue As Int"; _mvalue = 0; - //BA.debugLineNum = 21;BA.debugLine="Public MinValue, MaxValue As Int"; +RDebugUtils.currentLine=29753354; + //BA.debugLineNum = 29753354;BA.debugLine="Public MinValue, MaxValue As Int"; _minvalue = 0; _maxvalue = 0; - //BA.debugLineNum = 22;BA.debugLine="Public Interval As Int = 1"; +RDebugUtils.currentLine=29753355; + //BA.debugLineNum = 29753355;BA.debugLine="Public Interval As Int = 1"; _interval = (int) (1); - //BA.debugLineNum = 23;BA.debugLine="Private Vertical As Boolean"; +RDebugUtils.currentLine=29753356; + //BA.debugLineNum = 29753356;BA.debugLine="Private Vertical As Boolean"; _vertical = false; - //BA.debugLineNum = 24;BA.debugLine="Public Size1 = 4dip, Size2 = 2dip, Radius1 = 6dip"; +RDebugUtils.currentLine=29753357; + //BA.debugLineNum = 29753357;BA.debugLine="Public Size1 = 4dip, Size2 = 2dip, Radius1 = 6dip"; _size1 = __c.DipToCurrent((int) (4)); _size2 = __c.DipToCurrent((int) (2)); _radius1 = __c.DipToCurrent((int) (6)); _radius2 = __c.DipToCurrent((int) (12)); - //BA.debugLineNum = 25;BA.debugLine="Private Pressed As Boolean"; +RDebugUtils.currentLine=29753358; + //BA.debugLineNum = 29753358;BA.debugLine="Private Pressed As Boolean"; _pressed = false; - //BA.debugLineNum = 26;BA.debugLine="Private size As Int"; +RDebugUtils.currentLine=29753359; + //BA.debugLineNum = 29753359;BA.debugLine="Private size As Int"; _size = 0; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29753360; + //BA.debugLineNum = 29753360;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 36;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 38;BA.debugLine="Color1 = xui.PaintOrColorToColor(Props.Get(\"Color"; -_color1 = _xui.PaintOrColorToColor(_props.Get((Object)("Color1"))); - //BA.debugLineNum = 39;BA.debugLine="Color2 = xui.PaintOrColorToColor(Props.Get(\"Color"; -_color2 = _xui.PaintOrColorToColor(_props.Get((Object)("Color2"))); - //BA.debugLineNum = 40;BA.debugLine="ThumbColor = xui.PaintOrColorToColor(Props.Get(\"T"; -_thumbcolor = _xui.PaintOrColorToColor(_props.Get((Object)("ThumbColor"))); - //BA.debugLineNum = 41;BA.debugLine="Interval = Max(1, Props.GetDefault(\"Interval\", 1)"; -_interval = (int) (__c.Max(1,(double)(BA.ObjectToNumber(_props.GetDefault((Object)("Interval"),(Object)(1)))))); - //BA.debugLineNum = 42;BA.debugLine="MinValue = Props.Get(\"Min\")"; -_minvalue = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); - //BA.debugLineNum = 43;BA.debugLine="MaxValue = Props.Get(\"Max\")"; -_maxvalue = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); - //BA.debugLineNum = 44;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, Props.Get(\"V"; -_mvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,(double)(BA.ObjectToNumber(_props.Get((Object)("Value"))))))); - //BA.debugLineNum = 45;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 46;BA.debugLine="TouchPanel = xui.CreatePanel(\"TouchPanel\")"; -_touchpanel = _xui.CreatePanel(ba,"TouchPanel"); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; -_mbase.AddView((android.view.View)(_touchpanel.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 48;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then Radius2 = 20dip"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { -_radius2 = __c.DipToCurrent((int) (20));}; - //BA.debugLineNum = 49;BA.debugLine="If xui.IsB4A Then Base_Resize(mBase.Width, mBase."; -if (_xui.getIsB4A()) { -_base_resize(_mbase.getWidth(),_mbase.getHeight());}; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; +public String _designercreateview(reparto_intmex.keymon.lat.b4xseekbar __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +RDebugUtils.currentLine=29884416; + //BA.debugLineNum = 29884416;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=29884417; + //BA.debugLineNum = 29884417;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=29884418; + //BA.debugLineNum = 29884418;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=29884418; + //BA.debugLineNum = 29884418;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=29884419; + //BA.debugLineNum = 29884419;BA.debugLine="Color1 = xui.PaintOrColorToColor(Props.Get(\"Color"; +__ref._color1 /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("Color1"))); +RDebugUtils.currentLine=29884420; + //BA.debugLineNum = 29884420;BA.debugLine="Color2 = xui.PaintOrColorToColor(Props.Get(\"Color"; +__ref._color2 /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("Color2"))); +RDebugUtils.currentLine=29884421; + //BA.debugLineNum = 29884421;BA.debugLine="ThumbColor = xui.PaintOrColorToColor(Props.Get(\"T"; +__ref._thumbcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ThumbColor"))); +RDebugUtils.currentLine=29884422; + //BA.debugLineNum = 29884422;BA.debugLine="Interval = Max(1, Props.GetDefault(\"Interval\", 1)"; +__ref._interval /*int*/ = (int) (__c.Max(1,(double)(BA.ObjectToNumber(_props.GetDefault((Object)("Interval"),(Object)(1)))))); +RDebugUtils.currentLine=29884423; + //BA.debugLineNum = 29884423;BA.debugLine="MinValue = Props.Get(\"Min\")"; +__ref._minvalue /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); +RDebugUtils.currentLine=29884424; + //BA.debugLineNum = 29884424;BA.debugLine="MaxValue = Props.Get(\"Max\")"; +__ref._maxvalue /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); +RDebugUtils.currentLine=29884425; + //BA.debugLineNum = 29884425;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, Props.Get(\"V"; +__ref._mvalue /*int*/ = (int) (__c.Max(__ref._minvalue /*int*/ ,__c.Min(__ref._maxvalue /*int*/ ,(double)(BA.ObjectToNumber(_props.Get((Object)("Value"))))))); +RDebugUtils.currentLine=29884426; + //BA.debugLineNum = 29884426;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=29884427; + //BA.debugLineNum = 29884427;BA.debugLine="TouchPanel = xui.CreatePanel(\"TouchPanel\")"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"TouchPanel"); +RDebugUtils.currentLine=29884428; + //BA.debugLineNum = 29884428;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=29884429; + //BA.debugLineNum = 29884429;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then Radius2 = 20dip"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +__ref._radius2 /*int*/ = __c.DipToCurrent((int) (20));}; +RDebugUtils.currentLine=29884430; + //BA.debugLineNum = 29884430;BA.debugLine="If xui.IsB4A Then Base_Resize(mBase.Width, mBase."; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());}; +RDebugUtils.currentLine=29884431; + //BA.debugLineNum = 29884431;BA.debugLine="End Sub"; return ""; } -public int _getvalue() throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 131;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 132;BA.debugLine="End Sub"; +public int _getvalue(reparto_intmex.keymon.lat.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=30343168; + //BA.debugLineNum = 30343168;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=30343169; + //BA.debugLineNum = 30343169;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=30343170; + //BA.debugLineNum = 30343170;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xseekbar __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 30;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 31;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=29818880; + //BA.debugLineNum = 29818880;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=29818881; + //BA.debugLineNum = 29818881;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=29818882; + //BA.debugLineNum = 29818882;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=29818883; + //BA.debugLineNum = 29818883;BA.debugLine="End Sub"; return ""; } -public String _raisetouchstateevent() throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Private Sub RaiseTouchStateEvent"; - //BA.debugLineNum = 103;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TouchS"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_TouchStateChanged",(int) (1))) { - //BA.debugLineNum = 104;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_TouchS"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_TouchStateChanged",(Object)(_pressed)); +public String _raisetouchstateevent(reparto_intmex.keymon.lat.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "raisetouchstateevent", true)) + {return ((String) Debug.delegate(ba, "raisetouchstateevent", null));} +RDebugUtils.currentLine=30146560; + //BA.debugLineNum = 30146560;BA.debugLine="Private Sub RaiseTouchStateEvent"; +RDebugUtils.currentLine=30146561; + //BA.debugLineNum = 30146561;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TouchS"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TouchStateChanged",(int) (1))) { +RDebugUtils.currentLine=30146562; + //BA.debugLineNum = 30146562;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_TouchS"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TouchStateChanged",(Object)(__ref._pressed /*boolean*/ )); }; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; +RDebugUtils.currentLine=30146564; + //BA.debugLineNum = 30146564;BA.debugLine="End Sub"; return ""; } -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 125;BA.debugLine="Public Sub setValue(v As Int)"; - //BA.debugLineNum = 126;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, v))"; -_mvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,_v))); - //BA.debugLineNum = 127;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; +public String _setvalue(reparto_intmex.keymon.lat.b4xseekbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=30277632; + //BA.debugLineNum = 30277632;BA.debugLine="Public Sub setValue(v As Int)"; +RDebugUtils.currentLine=30277633; + //BA.debugLineNum = 30277633;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, v))"; +__ref._mvalue /*int*/ = (int) (__c.Max(__ref._minvalue /*int*/ ,__c.Min(__ref._maxvalue /*int*/ ,_v))); +RDebugUtils.currentLine=30277634; + //BA.debugLineNum = 30277634;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=30277635; + //BA.debugLineNum = 30277635;BA.debugLine="End Sub"; return ""; } -public String _setvaluebasedontouch(int _x,int _y) throws Exception{ +public String _setvaluebasedontouch(reparto_intmex.keymon.lat.b4xseekbar __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "setvaluebasedontouch", true)) + {return ((String) Debug.delegate(ba, "setvaluebasedontouch", new Object[] {_x,_y}));} int _v = 0; int _newvalue = 0; - //BA.debugLineNum = 108;BA.debugLine="Private Sub SetValueBasedOnTouch(x As Int, y As In"; - //BA.debugLineNum = 109;BA.debugLine="Dim v As Int"; +RDebugUtils.currentLine=30212096; + //BA.debugLineNum = 30212096;BA.debugLine="Private Sub SetValueBasedOnTouch(x As Int, y As In"; +RDebugUtils.currentLine=30212097; + //BA.debugLineNum = 30212097;BA.debugLine="Dim v As Int"; _v = 0; - //BA.debugLineNum = 110;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 111;BA.debugLine="v = (mBase.Height - Radius2 - y) / size * (MaxVa"; -_v = (int) ((_mbase.getHeight()-_radius2-_y)/(double)_size*(_maxvalue-_minvalue)+_minvalue); +RDebugUtils.currentLine=30212098; + //BA.debugLineNum = 30212098;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=30212099; + //BA.debugLineNum = 30212099;BA.debugLine="v = (mBase.Height - Radius2 - y) / size * (MaxVa"; +_v = (int) ((__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._radius2 /*int*/ -_y)/(double)__ref._size /*int*/ *(__ref._maxvalue /*int*/ -__ref._minvalue /*int*/ )+__ref._minvalue /*int*/ ); }else { - //BA.debugLineNum = 113;BA.debugLine="v = (x - Radius2) / size * (MaxValue - MinValue)"; -_v = (int) ((_x-_radius2)/(double)_size*(_maxvalue-_minvalue)+_minvalue); +RDebugUtils.currentLine=30212101; + //BA.debugLineNum = 30212101;BA.debugLine="v = (x - Radius2) / size * (MaxValue - MinValue)"; +_v = (int) ((_x-__ref._radius2 /*int*/ )/(double)__ref._size /*int*/ *(__ref._maxvalue /*int*/ -__ref._minvalue /*int*/ )+__ref._minvalue /*int*/ ); }; - //BA.debugLineNum = 115;BA.debugLine="v = Round (v / Interval) * Interval"; -_v = (int) (__c.Round(_v/(double)_interval)*_interval); - //BA.debugLineNum = 116;BA.debugLine="Dim NewValue As Int = Max(MinValue, Min(MaxValue,"; -_newvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,_v))); - //BA.debugLineNum = 117;BA.debugLine="If NewValue <> mValue Then"; -if (_newvalue!=_mvalue) { - //BA.debugLineNum = 118;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; - //BA.debugLineNum = 119;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 120;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); +RDebugUtils.currentLine=30212103; + //BA.debugLineNum = 30212103;BA.debugLine="v = Round (v / Interval) * Interval"; +_v = (int) (__c.Round(_v/(double)__ref._interval /*int*/ )*__ref._interval /*int*/ ); +RDebugUtils.currentLine=30212104; + //BA.debugLineNum = 30212104;BA.debugLine="Dim NewValue As Int = Max(MinValue, Min(MaxValue,"; +_newvalue = (int) (__c.Max(__ref._minvalue /*int*/ ,__c.Min(__ref._maxvalue /*int*/ ,_v))); +RDebugUtils.currentLine=30212105; + //BA.debugLineNum = 30212105;BA.debugLine="If NewValue <> mValue Then"; +if (_newvalue!=__ref._mvalue /*int*/ ) { +RDebugUtils.currentLine=30212106; + //BA.debugLineNum = 30212106;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; +RDebugUtils.currentLine=30212107; + //BA.debugLineNum = 30212107;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(int) (1))) { +RDebugUtils.currentLine=30212108; + //BA.debugLineNum = 30212108;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*int*/ )); }; }; - //BA.debugLineNum = 123;BA.debugLine="End Sub"; +RDebugUtils.currentLine=30212111; + //BA.debugLineNum = 30212111;BA.debugLine="End Sub"; return ""; } -public String _touchpanel_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 88;BA.debugLine="Private Sub TouchPanel_Touch (Action As Int, X As"; - //BA.debugLineNum = 89;BA.debugLine="If Action = TouchPanel.TOUCH_ACTION_DOWN Then"; -if (_action==_touchpanel.TOUCH_ACTION_DOWN) { - //BA.debugLineNum = 90;BA.debugLine="Pressed = True"; -_pressed = __c.True; - //BA.debugLineNum = 91;BA.debugLine="RaiseTouchStateEvent"; -_raisetouchstateevent(); - //BA.debugLineNum = 92;BA.debugLine="SetValueBasedOnTouch(X, Y)"; -_setvaluebasedontouch((int) (_x),(int) (_y)); - }else if(_action==_touchpanel.TOUCH_ACTION_MOVE) { - //BA.debugLineNum = 94;BA.debugLine="SetValueBasedOnTouch(X, Y)"; -_setvaluebasedontouch((int) (_x),(int) (_y)); - }else if(_action==_touchpanel.TOUCH_ACTION_UP) { - //BA.debugLineNum = 96;BA.debugLine="Pressed = False"; -_pressed = __c.False; - //BA.debugLineNum = 97;BA.debugLine="RaiseTouchStateEvent"; -_raisetouchstateevent(); - }; - //BA.debugLineNum = 99;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 100;BA.debugLine="End Sub"; +public String _touchpanel_touch(reparto_intmex.keymon.lat.b4xseekbar __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "touchpanel_touch", true)) + {return ((String) Debug.delegate(ba, "touchpanel_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=30081024; + //BA.debugLineNum = 30081024;BA.debugLine="Private Sub TouchPanel_Touch (Action As Int, X As"; +RDebugUtils.currentLine=30081025; + //BA.debugLineNum = 30081025;BA.debugLine="If Action = TouchPanel.TOUCH_ACTION_DOWN Then"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN) { +RDebugUtils.currentLine=30081026; + //BA.debugLineNum = 30081026;BA.debugLine="Pressed = True"; +__ref._pressed /*boolean*/ = __c.True; +RDebugUtils.currentLine=30081027; + //BA.debugLineNum = 30081027;BA.debugLine="RaiseTouchStateEvent"; +__ref._raisetouchstateevent /*String*/ (null); +RDebugUtils.currentLine=30081028; + //BA.debugLineNum = 30081028;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +__ref._setvaluebasedontouch /*String*/ (null,(int) (_x),(int) (_y)); + }else +{RDebugUtils.currentLine=30081029; + //BA.debugLineNum = 30081029;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_MOVE The"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE) { +RDebugUtils.currentLine=30081030; + //BA.debugLineNum = 30081030;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +__ref._setvaluebasedontouch /*String*/ (null,(int) (_x),(int) (_y)); + }else +{RDebugUtils.currentLine=30081031; + //BA.debugLineNum = 30081031;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_UP Then"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_UP) { +RDebugUtils.currentLine=30081032; + //BA.debugLineNum = 30081032;BA.debugLine="Pressed = False"; +__ref._pressed /*boolean*/ = __c.False; +RDebugUtils.currentLine=30081033; + //BA.debugLineNum = 30081033;BA.debugLine="RaiseTouchStateEvent"; +__ref._raisetouchstateevent /*String*/ (null); + }}} +; +RDebugUtils.currentLine=30081035; + //BA.debugLineNum = 30081035;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=30081036; + //BA.debugLineNum = 30081036;BA.debugLine="End Sub"; return ""; } -public String _update() throws Exception{ -int _s1 = 0; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 61;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 63;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 64;BA.debugLine="If size > 0 Then"; -if (_size>0) { - //BA.debugLineNum = 65;BA.debugLine="If Vertical = False Then"; -if (_vertical==__c.False) { - //BA.debugLineNum = 66;BA.debugLine="Dim s1 As Int = Radius2 + (mValue - MinValue) /"; -_s1 = (int) (_radius2+(_mvalue-_minvalue)/(double)(_maxvalue-_minvalue)*_size); - //BA.debugLineNum = 67;BA.debugLine="Dim y As Int = mBase.Height / 2"; -_y = (int) (_mbase.getHeight()/(double)2); - //BA.debugLineNum = 68;BA.debugLine="cvs.DrawLine(Radius2, y, s1, y, Color1, Size1)"; -_cvs.DrawLine((float) (_radius2),(float) (_y),(float) (_s1),(float) (_y),_color1,(float) (_size1)); - //BA.debugLineNum = 69;BA.debugLine="cvs.DrawLine(s1, y, mBase.Width - Radius2, y, C"; -_cvs.DrawLine((float) (_s1),(float) (_y),(float) (_mbase.getWidth()-_radius2),(float) (_y),_color2,(float) (_size2)); - //BA.debugLineNum = 70;BA.debugLine="cvs.DrawCircle(s1, y, Radius1, Color1, True, 0)"; -_cvs.DrawCircle((float) (_s1),(float) (_y),(float) (_radius1),_color1,__c.True,(float) (0)); - //BA.debugLineNum = 71;BA.debugLine="If Pressed Then"; -if (_pressed) { - //BA.debugLineNum = 72;BA.debugLine="cvs.DrawCircle(s1, y, Radius2, ThumbColor, Tru"; -_cvs.DrawCircle((float) (_s1),(float) (_y),(float) (_radius2),_thumbcolor,__c.True,(float) (0)); - }; - }else { - //BA.debugLineNum = 75;BA.debugLine="Dim s1 As Int = Radius2 + (MaxValue - mValue) /"; -_s1 = (int) (_radius2+(_maxvalue-_mvalue)/(double)(_maxvalue-_minvalue)*_size); - //BA.debugLineNum = 76;BA.debugLine="Dim x As Int = mBase.Width / 2"; -_x = (int) (_mbase.getWidth()/(double)2); - //BA.debugLineNum = 77;BA.debugLine="cvs.DrawLine(x, Radius2, x, s1, Color2, Size2)"; -_cvs.DrawLine((float) (_x),(float) (_radius2),(float) (_x),(float) (_s1),_color2,(float) (_size2)); - //BA.debugLineNum = 78;BA.debugLine="cvs.DrawLine(x, s1, x, mBase.Height - Radius2,"; -_cvs.DrawLine((float) (_x),(float) (_s1),(float) (_x),(float) (_mbase.getHeight()-_radius2),_color1,(float) (_size1)); - //BA.debugLineNum = 79;BA.debugLine="cvs.DrawCircle(x, s1, Radius1, Color1, True, 0)"; -_cvs.DrawCircle((float) (_x),(float) (_s1),(float) (_radius1),_color1,__c.True,(float) (0)); - //BA.debugLineNum = 80;BA.debugLine="If Pressed Then"; -if (_pressed) { - //BA.debugLineNum = 81;BA.debugLine="cvs.DrawCircle(x, s1, Radius2, ThumbColor, Tru"; -_cvs.DrawCircle((float) (_x),(float) (_s1),(float) (_radius2),_thumbcolor,__c.True,(float) (0)); - }; - }; - }; - //BA.debugLineNum = 85;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 86;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xset.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xset.java index 2ad91a7..251d94b 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xset.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xset.java @@ -10,7 +10,7 @@ public class b4xset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xset"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xset"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,15 +23,22 @@ public class b4xset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public reparto_intmex.keymon.lat.b4xorderedmap _map = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -39,65 +46,115 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _add(Object _value) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub Add(Value As Object)"; - //BA.debugLineNum = 10;BA.debugLine="map.Put(Value, \"\")"; -_map._put /*String*/ (_value,(Object)("")); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +public String _initialize(reparto_intmex.keymon.lat.b4xset __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=8257536; + //BA.debugLineNum = 8257536;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=8257537; + //BA.debugLineNum = 8257537;BA.debugLine="map.Initialize"; +__ref._map /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=8257538; + //BA.debugLineNum = 8257538;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.collections.List _aslist() throws Exception{ - //BA.debugLineNum = 29;BA.debugLine="Public Sub AsList As List"; - //BA.debugLineNum = 30;BA.debugLine="Return map.Keys"; -if (true) return _map._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; +public String _add(reparto_intmex.keymon.lat.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "add", true)) + {return ((String) Debug.delegate(ba, "add", new Object[] {_value}));} +RDebugUtils.currentLine=8323072; + //BA.debugLineNum = 8323072;BA.debugLine="Public Sub Add(Value As Object)"; +RDebugUtils.currentLine=8323073; + //BA.debugLineNum = 8323073;BA.debugLine="map.Put(Value, \"\")"; +__ref._map /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,_value,(Object)("")); +RDebugUtils.currentLine=8323074; + //BA.debugLineNum = 8323074;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _aslist(reparto_intmex.keymon.lat.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "aslist", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "aslist", null));} +RDebugUtils.currentLine=8650752; + //BA.debugLineNum = 8650752;BA.debugLine="Public Sub AsList As List"; +RDebugUtils.currentLine=8650753; + //BA.debugLineNum = 8650753;BA.debugLine="Return map.Keys"; +if (true) return __ref._map /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=8650754; + //BA.debugLineNum = 8650754;BA.debugLine="End Sub"; return null; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private map As B4XOrderedMap"; +public String _class_globals(reparto_intmex.keymon.lat.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +RDebugUtils.currentLine=8192000; + //BA.debugLineNum = 8192000;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=8192001; + //BA.debugLineNum = 8192001;BA.debugLine="Private map As B4XOrderedMap"; _map = new reparto_intmex.keymon.lat.b4xorderedmap(); - //BA.debugLineNum = 3;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8192002; + //BA.debugLineNum = 8192002;BA.debugLine="End Sub"; return ""; } -public String _clear() throws Exception{ - //BA.debugLineNum = 25;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 26;BA.debugLine="map.Clear"; -_map._clear /*String*/ (); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +public String _clear(reparto_intmex.keymon.lat.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=8585216; + //BA.debugLineNum = 8585216;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=8585217; + //BA.debugLineNum = 8585217;BA.debugLine="map.Clear"; +__ref._map /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=8585218; + //BA.debugLineNum = 8585218;BA.debugLine="End Sub"; return ""; } -public boolean _contains(Object _value) throws Exception{ - //BA.debugLineNum = 17;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; - //BA.debugLineNum = 18;BA.debugLine="Return map.ContainsKey(Value)"; -if (true) return _map._containskey /*boolean*/ (_value); - //BA.debugLineNum = 19;BA.debugLine="End Sub"; +public boolean _contains(reparto_intmex.keymon.lat.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "contains", true)) + {return ((Boolean) Debug.delegate(ba, "contains", new Object[] {_value}));} +RDebugUtils.currentLine=8454144; + //BA.debugLineNum = 8454144;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; +RDebugUtils.currentLine=8454145; + //BA.debugLineNum = 8454145;BA.debugLine="Return map.ContainsKey(Value)"; +if (true) return __ref._map /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._containskey /*boolean*/ (null,_value); +RDebugUtils.currentLine=8454146; + //BA.debugLineNum = 8454146;BA.debugLine="End Sub"; return false; } -public int _getsize() throws Exception{ - //BA.debugLineNum = 21;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 22;BA.debugLine="Return map.Size"; -if (true) return _map._getsize /*int*/ (); - //BA.debugLineNum = 23;BA.debugLine="End Sub"; +public int _getsize(reparto_intmex.keymon.lat.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=8519680; + //BA.debugLineNum = 8519680;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=8519681; + //BA.debugLineNum = 8519681;BA.debugLine="Return map.Size"; +if (true) return __ref._map /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null); +RDebugUtils.currentLine=8519682; + //BA.debugLineNum = 8519682;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 5;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 6;BA.debugLine="map.Initialize"; -_map._initialize /*String*/ (ba); - //BA.debugLineNum = 7;BA.debugLine="End Sub"; +public String _remove(reparto_intmex.keymon.lat.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_value}));} +RDebugUtils.currentLine=8388608; + //BA.debugLineNum = 8388608;BA.debugLine="Public Sub Remove(Value As Object)"; +RDebugUtils.currentLine=8388609; + //BA.debugLineNum = 8388609;BA.debugLine="map.Remove(Value)"; +__ref._map /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,_value); +RDebugUtils.currentLine=8388610; + //BA.debugLineNum = 8388610;BA.debugLine="End Sub"; return ""; } -public String _remove(Object _value) throws Exception{ - //BA.debugLineNum = 13;BA.debugLine="Public Sub Remove(Value As Object)"; - //BA.debugLineNum = 14;BA.debugLine="map.Remove(Value)"; -_map._remove /*String*/ (_value); - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xsignaturetemplate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xsignaturetemplate.java index 83c1499..0969d78 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xsignaturetemplate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xsignaturetemplate.java @@ -10,7 +10,7 @@ public class b4xsignaturetemplate extends B4AClass.ImplB4AClass implements BA.Su private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xsignaturetemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xsignaturetemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xsignaturetemplate extends B4AClass.ImplB4AClass implements BA.Su ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; @@ -39,10 +46,10 @@ public int _numberofpoints = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -50,133 +57,203 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 5;BA.debugLine="Private LastX, LastY As Float"; -_lastx = 0f; -_lasty = 0f; - //BA.debugLineNum = 6;BA.debugLine="Public StrokeWidth As Float = 2dip"; -_strokewidth = (float) (__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 7;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; -_strokecolor = _xui.Color_Black; - //BA.debugLineNum = 8;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; -_textcolor = ((int)0xffff8800); - //BA.debugLineNum = 9;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; -_backgroundcolor = _xui.Color_White; - //BA.debugLineNum = 10;BA.debugLine="Public AddDateAndTime As Boolean = True"; -_adddateandtime = __c.True; - //BA.debugLineNum = 11;BA.debugLine="Public TextFont As B4XFont"; -_textfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 12;BA.debugLine="Public NumberOfPoints As Int"; -_numberofpoints = 0; - //BA.debugLineNum = 13;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xsignaturetemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=30605312; + //BA.debugLineNum = 30605312;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=30605313; + //BA.debugLineNum = 30605313;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=30605314; + //BA.debugLineNum = 30605314;BA.debugLine="End Sub"; +return null; +} +public String _show(reparto_intmex.keymon.lat.b4xsignaturetemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", new Object[] {_dialog}));} +RDebugUtils.currentLine=30670848; + //BA.debugLineNum = 30670848;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +RDebugUtils.currentLine=30670849; + //BA.debugLineNum = 30670849;BA.debugLine="cvs.DrawRect(cvs.TargetRect, BackgroundColor, Tru"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect(),__ref._backgroundcolor /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=30670850; + //BA.debugLineNum = 30670850;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=30670851; + //BA.debugLineNum = 30670851;BA.debugLine="NumberOfPoints = 0"; +__ref._numberofpoints /*int*/ = (int) (0); +RDebugUtils.currentLine=30670852; + //BA.debugLineNum = 30670852;BA.debugLine="End Sub"; return ""; } -public String _dialogclosed(int _result) throws Exception{ +public String _dialogclosed(reparto_intmex.keymon.lat.b4xsignaturetemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; int _baseline = 0; - //BA.debugLineNum = 56;BA.debugLine="Private Sub DialogClosed (Result As Int)"; - //BA.debugLineNum = 57;BA.debugLine="If Result = xui.DialogResponse_Positive And AddDa"; -if (_result==_xui.DialogResponse_Positive && _adddateandtime) { - //BA.debugLineNum = 58;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"M\", TextFont"; -_r = _cvs.MeasureText("M",_textfont); - //BA.debugLineNum = 59;BA.debugLine="Dim Baseline As Int = cvs.TargetRect.Bottom - r."; -_baseline = (int) (_cvs.getTargetRect().getBottom()-_r.getHeight()-_r.getTop()-__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 60;BA.debugLine="cvs.DrawText($\"$DateTime{DateTime.Now}\"$, 2dip,"; -_cvs.DrawText(ba,(""+__c.SmartStringFormatter("datetime",(Object)(__c.DateTime.getNow()))+""),(float) (__c.DipToCurrent((int) (2))),(float) (_baseline),_textfont,_textcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"LEFT")); +RDebugUtils.currentLine=30867456; + //BA.debugLineNum = 30867456;BA.debugLine="Private Sub DialogClosed (Result As Int)"; +RDebugUtils.currentLine=30867457; + //BA.debugLineNum = 30867457;BA.debugLine="If Result = xui.DialogResponse_Positive And AddDa"; +if (_result==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive && __ref._adddateandtime /*boolean*/ ) { +RDebugUtils.currentLine=30867458; + //BA.debugLineNum = 30867458;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"M\", TextFont"; +_r = __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText("M",__ref._textfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=30867459; + //BA.debugLineNum = 30867459;BA.debugLine="Dim Baseline As Int = cvs.TargetRect.Bottom - r."; +_baseline = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-_r.getHeight()-_r.getTop()-__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=30867460; + //BA.debugLineNum = 30867460;BA.debugLine="cvs.DrawText($\"$DateTime{DateTime.Now}\"$, 2dip,"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawText(ba,(""+__c.SmartStringFormatter("datetime",(Object)(__c.DateTime.getNow()))+""),(float) (__c.DipToCurrent((int) (2))),(float) (_baseline),__ref._textfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ,__ref._textcolor /*int*/ ,BA.getEnumFromString(android.graphics.Paint.Align.class,"LEFT")); }; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +RDebugUtils.currentLine=30867462; + //BA.debugLineNum = 30867462;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap() throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub getBitmap As B4XBitmap"; - //BA.debugLineNum = 53;BA.debugLine="Return cvs.CreateBitmap"; -if (true) return _cvs.CreateBitmap(); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.b4xsignaturetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +RDebugUtils.currentLine=30408704; + //BA.debugLineNum = 30408704;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=30408705; + //BA.debugLineNum = 30408705;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=30408706; + //BA.debugLineNum = 30408706;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=30408707; + //BA.debugLineNum = 30408707;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=30408708; + //BA.debugLineNum = 30408708;BA.debugLine="Private LastX, LastY As Float"; +_lastx = 0f; +_lasty = 0f; +RDebugUtils.currentLine=30408709; + //BA.debugLineNum = 30408709;BA.debugLine="Public StrokeWidth As Float = 2dip"; +_strokewidth = (float) (__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=30408710; + //BA.debugLineNum = 30408710;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; +_strokecolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=30408711; + //BA.debugLineNum = 30408711;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; +_textcolor = ((int)0xffff8800); +RDebugUtils.currentLine=30408712; + //BA.debugLineNum = 30408712;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; +_backgroundcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=30408713; + //BA.debugLineNum = 30408713;BA.debugLine="Public AddDateAndTime As Boolean = True"; +_adddateandtime = __c.True; +RDebugUtils.currentLine=30408714; + //BA.debugLineNum = 30408714;BA.debugLine="Public TextFont As B4XFont"; +_textfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=30408715; + //BA.debugLineNum = 30408715;BA.debugLine="Public NumberOfPoints As Int"; +_numberofpoints = 0; +RDebugUtils.currentLine=30408716; + //BA.debugLineNum = 30408716;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(reparto_intmex.keymon.lat.b4xsignaturetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "getbitmap", null));} +RDebugUtils.currentLine=30801920; + //BA.debugLineNum = 30801920;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +RDebugUtils.currentLine=30801921; + //BA.debugLineNum = 30801921;BA.debugLine="Return cvs.CreateBitmap"; +if (true) return __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .CreateBitmap(); +RDebugUtils.currentLine=30801922; + //BA.debugLineNum = 30801922;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 28;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 29;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.b4xsignaturetemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 15;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 16;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 17;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 200dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (200))); - //BA.debugLineNum = 18;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 19;BA.debugLine="TextFont = xui.CreateDefaultFont(14)"; -_textfont = _xui.CreateDefaultFont((float) (14)); - //BA.debugLineNum = 20;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=30474240; + //BA.debugLineNum = 30474240;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=30474241; + //BA.debugLineNum = 30474241;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=30474242; + //BA.debugLineNum = 30474242;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 200dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (200))); +RDebugUtils.currentLine=30474243; + //BA.debugLineNum = 30474243;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=30474244; + //BA.debugLineNum = 30474244;BA.debugLine="TextFont = xui.CreateDefaultFont(14)"; +__ref._textfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultFont((float) (14)); +RDebugUtils.currentLine=30474245; + //BA.debugLineNum = 30474245;BA.debugLine="End Sub"; return ""; } -public String _mbase_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Private Sub mBase_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 39;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_mbase.TOUCH_ACTION_DOWN,_mbase.TOUCH_ACTION_MOVE)) { +public String _mbase_touch(reparto_intmex.keymon.lat.b4xsignaturetemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "mbase_touch", true)) + {return ((String) Debug.delegate(ba, "mbase_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=30736384; + //BA.debugLineNum = 30736384;BA.debugLine="Private Sub mBase_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=30736385; + //BA.debugLineNum = 30736385;BA.debugLine="Select Action"; +switch (BA.switchObjectToInt(_action,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE)) { case 0: { - //BA.debugLineNum = 41;BA.debugLine="LastX = X"; -_lastx = _x; - //BA.debugLineNum = 42;BA.debugLine="LastY = Y"; -_lasty = _y; +RDebugUtils.currentLine=30736387; + //BA.debugLineNum = 30736387;BA.debugLine="LastX = X"; +__ref._lastx /*float*/ = _x; +RDebugUtils.currentLine=30736388; + //BA.debugLineNum = 30736388;BA.debugLine="LastY = Y"; +__ref._lasty /*float*/ = _y; break; } case 1: { - //BA.debugLineNum = 44;BA.debugLine="cvs.DrawLine(LastX, LastY, X, Y, StrokeColor, S"; -_cvs.DrawLine(_lastx,_lasty,_x,_y,_strokecolor,_strokewidth); - //BA.debugLineNum = 45;BA.debugLine="LastX = X"; -_lastx = _x; - //BA.debugLineNum = 46;BA.debugLine="LastY = Y"; -_lasty = _y; - //BA.debugLineNum = 47;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 48;BA.debugLine="NumberOfPoints = NumberOfPoints + 1"; -_numberofpoints = (int) (_numberofpoints+1); +RDebugUtils.currentLine=30736390; + //BA.debugLineNum = 30736390;BA.debugLine="cvs.DrawLine(LastX, LastY, X, Y, StrokeColor, S"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine(__ref._lastx /*float*/ ,__ref._lasty /*float*/ ,_x,_y,__ref._strokecolor /*int*/ ,__ref._strokewidth /*float*/ ); +RDebugUtils.currentLine=30736391; + //BA.debugLineNum = 30736391;BA.debugLine="LastX = X"; +__ref._lastx /*float*/ = _x; +RDebugUtils.currentLine=30736392; + //BA.debugLineNum = 30736392;BA.debugLine="LastY = Y"; +__ref._lasty /*float*/ = _y; +RDebugUtils.currentLine=30736393; + //BA.debugLineNum = 30736393;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=30736394; + //BA.debugLineNum = 30736394;BA.debugLine="NumberOfPoints = NumberOfPoints + 1"; +__ref._numberofpoints /*int*/ = (int) (__ref._numberofpoints /*int*/ +1); break; } } ; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; +RDebugUtils.currentLine=30736396; + //BA.debugLineNum = 30736396;BA.debugLine="End Sub"; return ""; } -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 23;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 24;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +public String _resize(reparto_intmex.keymon.lat.b4xsignaturetemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=30539776; + //BA.debugLineNum = 30539776;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=30539777; + //BA.debugLineNum = 30539777;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=30539778; + //BA.debugLineNum = 30539778;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=30539779; + //BA.debugLineNum = 30539779;BA.debugLine="End Sub"; return ""; } -public String _show(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; - //BA.debugLineNum = 33;BA.debugLine="cvs.DrawRect(cvs.TargetRect, BackgroundColor, Tru"; -_cvs.DrawRect(_cvs.getTargetRect(),_backgroundcolor,__c.True,(float) (0)); - //BA.debugLineNum = 34;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 35;BA.debugLine="NumberOfPoints = 0"; -_numberofpoints = (int) (0); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((reparto_intmex.keymon.lat.b4xdialog) args[0]); -if (BA.fastSubCompare(sub, "SHOW")) - return _show((reparto_intmex.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xswitch.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xswitch.java index d736f2a..6d7bf21 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xswitch.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xswitch.java @@ -10,7 +10,7 @@ public class b4xswitch extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xswitch"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xswitch"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xswitch extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -45,10 +52,10 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -56,217 +63,167 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width1,double _height1) throws Exception{ - //BA.debugLineNum = 148;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; - //BA.debugLineNum = 150;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.b4xswitch __ref,double _width1,double _height1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width1,_height1}));} +RDebugUtils.currentLine=31588352; + //BA.debugLineNum = 31588352;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +RDebugUtils.currentLine=31588354; + //BA.debugLineNum = 31588354;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +RDebugUtils.currentLine=30932992; + //BA.debugLineNum = 30932992;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=30932993; + //BA.debugLineNum = 30932993;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=30932994; + //BA.debugLineNum = 30932994;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=30932995; + //BA.debugLineNum = 30932995;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=30932996; + //BA.debugLineNum = 30932996;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 12;BA.debugLine="Private OnColor, OffColor As BCBrush"; +RDebugUtils.currentLine=30932997; + //BA.debugLineNum = 30932997;BA.debugLine="Private OnColor, OffColor As BCBrush"; _oncolor = new b4a.example.bcpath._bcbrush(); _offcolor = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 13;BA.debugLine="Private bc As BitmapCreator"; +RDebugUtils.currentLine=30932998; + //BA.debugLineNum = 30932998;BA.debugLine="Private bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 14;BA.debugLine="Private Width As Int = 55dip"; +RDebugUtils.currentLine=30932999; + //BA.debugLineNum = 30932999;BA.debugLine="Private Width As Int = 55dip"; _width = __c.DipToCurrent((int) (55)); - //BA.debugLineNum = 15;BA.debugLine="Private Height As Int = 31dip"; +RDebugUtils.currentLine=30933000; + //BA.debugLineNum = 30933000;BA.debugLine="Private Height As Int = 31dip"; _height = __c.DipToCurrent((int) (31)); - //BA.debugLineNum = 16;BA.debugLine="Private ThumbColor As BCBrush"; +RDebugUtils.currentLine=30933001; + //BA.debugLineNum = 30933001;BA.debugLine="Private ThumbColor As BCBrush"; _thumbcolor = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 17;BA.debugLine="Private iv As ImageView"; +RDebugUtils.currentLine=30933002; + //BA.debugLineNum = 30933002;BA.debugLine="Private iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private mValue As Boolean"; +RDebugUtils.currentLine=30933003; + //BA.debugLineNum = 30933003;BA.debugLine="Private mValue As Boolean"; _mvalue = false; - //BA.debugLineNum = 19;BA.debugLine="Private transparent As BCBrush"; +RDebugUtils.currentLine=30933004; + //BA.debugLineNum = 30933004;BA.debugLine="Private transparent As BCBrush"; _transparent = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 20;BA.debugLine="Private LoopIndex As Int"; +RDebugUtils.currentLine=30933005; + //BA.debugLineNum = 30933005;BA.debugLine="Private LoopIndex As Int"; _loopindex = 0; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=30933006; + //BA.debugLineNum = 30933006;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private Scale As Float"; +RDebugUtils.currentLine=30933007; + //BA.debugLineNum = 30933007;BA.debugLine="Private Scale As Float"; _scale = 0f; - //BA.debugLineNum = 23;BA.debugLine="Private mEnabled As Boolean = True"; +RDebugUtils.currentLine=30933008; + //BA.debugLineNum = 30933008;BA.debugLine="Private mEnabled As Boolean = True"; _menabled = __c.True; - //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; +RDebugUtils.currentLine=30933009; + //BA.debugLineNum = 30933009;BA.debugLine="Public mHaptic As Boolean"; _mhaptic = false; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +RDebugUtils.currentLine=30933010; + //BA.debugLineNum = 30933010;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _designercreateview(reparto_intmex.keymon.lat.b4xswitch __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="mBase.SetLayoutAnimated(0, mBase.Left, mBase.Top,"; -_mbase.SetLayoutAnimated((int) (0),_mbase.getLeft(),_mbase.getTop(),_width,_height); - //BA.debugLineNum = 37;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 38;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"pnl\")"; +RDebugUtils.currentLine=31064064; + //BA.debugLineNum = 31064064;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=31064065; + //BA.debugLineNum = 31064065;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=31064066; + //BA.debugLineNum = 31064066;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=31064066; + //BA.debugLineNum = 31064066;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=31064067; + //BA.debugLineNum = 31064067;BA.debugLine="mBase.SetLayoutAnimated(0, mBase.Left, mBase.Top,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTop(),__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=31064068; + //BA.debugLineNum = 31064068;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=31064069; + //BA.debugLineNum = 31064069;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"pnl\")"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 39;BA.debugLine="pnl.Color = xui.Color_Transparent"; -_pnl.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 40;BA.debugLine="iv.Initialize(\"\")"; -_iv.Initialize(ba,""); - //BA.debugLineNum = 41;BA.debugLine="mBase.AddView(iv, 0, 0, Width, Height)"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(pnl, 0, 0, Width, Height)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 44;BA.debugLine="bc.Initialize(Width, Height)"; -_bc._initialize(ba,_width,_height); - //BA.debugLineNum = 45;BA.debugLine="Scale = xui.Scale"; -_scale = _xui.getScale(); - //BA.debugLineNum = 50;BA.debugLine="OnColor = bc.CreateBrushFromColor(xui.PaintOrColo"; -_oncolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("OnColor")))); - //BA.debugLineNum = 51;BA.debugLine="OffColor = bc.CreateBrushFromColor(xui.PaintOrCol"; -_offcolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("OffColor")))); - //BA.debugLineNum = 52;BA.debugLine="ThumbColor = bc.CreateBrushFromColor(xui.PaintOrC"; -_thumbcolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("ThumbColor")))); - //BA.debugLineNum = 53;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 54;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; -_transparent = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 55;BA.debugLine="mEnabled = mBase.Enabled"; -_menabled = _mbase.getEnabled(); - //BA.debugLineNum = 56;BA.debugLine="mBase.Enabled = True"; -_mbase.setEnabled(__c.True); - //BA.debugLineNum = 57;BA.debugLine="SetValueImpl(Props.Get(\"Value\"), True)"; -_setvalueimpl(BA.ObjectToBoolean(_props.Get((Object)("Value"))),__c.True); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=31064070; + //BA.debugLineNum = 31064070;BA.debugLine="pnl.Color = xui.Color_Transparent"; +_pnl.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=31064071; + //BA.debugLineNum = 31064071;BA.debugLine="iv.Initialize(\"\")"; +__ref._iv /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .Initialize(ba,""); +RDebugUtils.currentLine=31064072; + //BA.debugLineNum = 31064072;BA.debugLine="mBase.AddView(iv, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._iv /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=31064073; + //BA.debugLineNum = 31064073;BA.debugLine="mBase.AddView(pnl, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=31064075; + //BA.debugLineNum = 31064075;BA.debugLine="bc.Initialize(Width, Height)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=31064076; + //BA.debugLineNum = 31064076;BA.debugLine="Scale = xui.Scale"; +__ref._scale /*float*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale(); +RDebugUtils.currentLine=31064081; + //BA.debugLineNum = 31064081;BA.debugLine="OnColor = bc.CreateBrushFromColor(xui.PaintOrColo"; +__ref._oncolor /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("OnColor")))); +RDebugUtils.currentLine=31064082; + //BA.debugLineNum = 31064082;BA.debugLine="OffColor = bc.CreateBrushFromColor(xui.PaintOrCol"; +__ref._offcolor /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("OffColor")))); +RDebugUtils.currentLine=31064083; + //BA.debugLineNum = 31064083;BA.debugLine="ThumbColor = bc.CreateBrushFromColor(xui.PaintOrC"; +__ref._thumbcolor /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ThumbColor")))); +RDebugUtils.currentLine=31064084; + //BA.debugLineNum = 31064084;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=31064085; + //BA.debugLineNum = 31064085;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; +__ref._transparent /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=31064086; + //BA.debugLineNum = 31064086;BA.debugLine="mEnabled = mBase.Enabled"; +__ref._menabled /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getEnabled(); +RDebugUtils.currentLine=31064087; + //BA.debugLineNum = 31064087;BA.debugLine="mBase.Enabled = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=31064088; + //BA.debugLineNum = 31064088;BA.debugLine="SetValueImpl(Props.Get(\"Value\"), True)"; +__ref._setvalueimpl /*void*/ (null,BA.ObjectToBoolean(_props.Get((Object)("Value"))),__c.True); +RDebugUtils.currentLine=31064089; + //BA.debugLineNum = 31064089;BA.debugLine="End Sub"; return ""; } -public String _draw(float _state) throws Exception{ -float _r = 0f; -float _cx = 0f; -int _cy = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _smallrect = null; -float _w = 0f; -float _h = 0f; - //BA.debugLineNum = 126;BA.debugLine="Private Sub Draw (State As Float)"; - //BA.debugLineNum = 127;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; -_bc._drawrect2(_bc._targetrect,_transparent,__c.True,(int) (0)); - //BA.debugLineNum = 128;BA.debugLine="Dim r As Float = Round(bc.mHeight / 2)"; -_r = (float) (__c.Round(_bc._mheight/(double)2)); - //BA.debugLineNum = 129;BA.debugLine="Dim cx As Float = r - 1 * Scale + (bc.mWidth - 2"; -_cx = (float) (_r-1*_scale+(_bc._mwidth-2*_r)*_state); - //BA.debugLineNum = 130;BA.debugLine="If State = 0 Then"; -if (_state==0) { - //BA.debugLineNum = 131;BA.debugLine="cx = r"; -_cx = _r; - }else if(_state==1) { - //BA.debugLineNum = 133;BA.debugLine="cx = Round(bc.mWidth - 1 * Scale - r)"; -_cx = (float) (__c.Round(_bc._mwidth-1*_scale-_r)); - }; - //BA.debugLineNum = 135;BA.debugLine="Dim cy As Int = bc.mHeight / 2"; -_cy = (int) (_bc._mheight/(double)2); - //BA.debugLineNum = 136;BA.debugLine="Dim smallrect As B4XRect"; -_smallrect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 137;BA.debugLine="Dim w As Float = State * bc.mWidth"; -_w = (float) (_state*_bc._mwidth); - //BA.debugLineNum = 138;BA.debugLine="Dim h As Float = State * bc.mHeight"; -_h = (float) (_state*_bc._mheight); - //BA.debugLineNum = 139;BA.debugLine="If State < 1 Then bc.DrawRectRounded2(bc.TargetRe"; -if (_state<1) { -_bc._drawrectrounded2(_bc._targetrect,_offcolor,__c.True,(int) (2*_scale),(int) (_r));}; - //BA.debugLineNum = 140;BA.debugLine="smallrect.Initialize(bc.mWidth / 2 - w / 2, cy -"; -_smallrect.Initialize((float) (_bc._mwidth/(double)2-_w/(double)2),(float) (_cy-_h/(double)2),(float) (_bc._mwidth/(double)2+_w/(double)2),(float) (_cy+_h/(double)2)); - //BA.debugLineNum = 141;BA.debugLine="If State > 0 Then bc.DrawRectRounded2(smallrect,"; -if (_state>0) { -_bc._drawrectrounded2(_smallrect,_oncolor,__c.True,(int) (2*_scale),(int) (_smallrect.getHeight()/(double)2));}; - //BA.debugLineNum = 142;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 143;BA.debugLine="bc.DrawCircle2(cx, cy, r - 2 * Scale, ThumbColor"; -_bc._drawcircle2(_cx,(float) (_cy),(float) (_r-2*_scale),_thumbcolor,__c.True,(int) (0)); - }; - //BA.debugLineNum = 145;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject()))); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return ""; -} -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 122;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 123;BA.debugLine="Return mEnabled"; -if (true) return _menabled; - //BA.debugLineNum = 124;BA.debugLine="End Sub"; -return false; -} -public boolean _getvalue() throws Exception{ - //BA.debugLineNum = 113;BA.debugLine="Public Sub getValue As Boolean"; - //BA.debugLineNum = 114;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _pnl_click() throws Exception{ - //BA.debugLineNum = 70;BA.debugLine="Private Sub pnl_Click"; - //BA.debugLineNum = 72;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 73;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 74;BA.debugLine="SetValueImpl(Not(mValue), False)"; -_setvalueimpl(__c.Not(_mvalue),__c.False); - //BA.debugLineNum = 75;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 76;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); - }; - }; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub setEnabled (b As Boolean)"; - //BA.debugLineNum = 118;BA.debugLine="mEnabled = b"; -_menabled = _b; - //BA.debugLineNum = 119;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 120;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(boolean _b) throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub setValue(b As Boolean)"; - //BA.debugLineNum = 109;BA.debugLine="If b = mValue Then Return"; -if (_b==_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 110;BA.debugLine="SetValueImpl(b, False)"; -_setvalueimpl(_b,__c.False); - //BA.debugLineNum = 111;BA.debugLine="End Sub"; -return ""; -} -public void _setvalueimpl(boolean _b,boolean _immediate) throws Exception{ -ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,_b,_immediate); +public void _setvalueimpl(reparto_intmex.keymon.lat.b4xswitch __ref,boolean _b,boolean _immediate) throws Exception{ +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setvalueimpl", true)) + {Debug.delegate(ba, "setvalueimpl", new Object[] {_b,_immediate}); return;} +ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,__ref,_b,_immediate); rsub.resume(ba, null); } public static class ResumableSub_SetValueImpl extends BA.ResumableSub { -public ResumableSub_SetValueImpl(reparto_intmex.keymon.lat.b4xswitch parent,boolean _b,boolean _immediate) { +public ResumableSub_SetValueImpl(reparto_intmex.keymon.lat.b4xswitch parent,reparto_intmex.keymon.lat.b4xswitch __ref,boolean _b,boolean _immediate) { this.parent = parent; +this.__ref = __ref; this._b = _b; this._immediate = _immediate; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xswitch __ref; reparto_intmex.keymon.lat.b4xswitch parent; boolean _b; boolean _immediate; @@ -277,6 +234,7 @@ float _state1 = 0f; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xswitch"; while (true) { switch (state) { @@ -286,11 +244,14 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 82;BA.debugLine="mValue = b"; -parent._mvalue = _b; - //BA.debugLineNum = 83;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 84;BA.debugLine="If Immediate Then"; +RDebugUtils.currentLine=31195137; + //BA.debugLineNum = 31195137;BA.debugLine="mValue = b"; +__ref._mvalue /*boolean*/ = _b; +RDebugUtils.currentLine=31195138; + //BA.debugLineNum = 31195138;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=31195139; + //BA.debugLineNum = 31195139;BA.debugLine="If Immediate Then"; if (true) break; case 1: @@ -305,13 +266,14 @@ this.state = 13; case 3: //C this.state = 4; - //BA.debugLineNum = 85;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +RDebugUtils.currentLine=31195140; + //BA.debugLineNum = 31195140;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; if (true) break; case 4: //if this.state = 11; -if (parent._mvalue) { +if (__ref._mvalue /*boolean*/ ) { this.state = 6; ;} else { @@ -321,13 +283,13 @@ this.state = 8; case 6: //C this.state = 11; -parent._draw((float) (1)); +__ref._draw /*String*/ (null,(float) (1)); if (true) break; case 8: //C this.state = 11; -parent._draw((float) (0)); +__ref._draw /*String*/ (null,(float) (0)); if (true) break; case 11: @@ -339,13 +301,17 @@ this.state = 41; case 13: //C this.state = 14; - //BA.debugLineNum = 87;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 88;BA.debugLine="Dim start As Long = DateTime.Now"; +RDebugUtils.currentLine=31195142; + //BA.debugLineNum = 31195142;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=31195143; + //BA.debugLineNum = 31195143;BA.debugLine="Dim start As Long = DateTime.Now"; _start = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 89;BA.debugLine="Dim duration As Int = 200"; +RDebugUtils.currentLine=31195144; + //BA.debugLineNum = 31195144;BA.debugLine="Dim duration As Int = 200"; _duration = (int) (200); - //BA.debugLineNum = 90;BA.debugLine="Do While DateTime.Now < start + duration"; +RDebugUtils.currentLine=31195145; + //BA.debugLineNum = 31195145;BA.debugLine="Do While DateTime.Now < start + duration"; if (true) break; case 14: @@ -360,15 +326,17 @@ if (true) break; case 16: //C this.state = 17; - //BA.debugLineNum = 91;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +RDebugUtils.currentLine=31195146; + //BA.debugLineNum = 31195146;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; _state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); - //BA.debugLineNum = 92;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +RDebugUtils.currentLine=31195147; + //BA.debugLineNum = 31195147;BA.debugLine="If mValue = False Then state1 = 1 - state1"; if (true) break; case 17: //if this.state = 22; -if (parent._mvalue==parent.__c.False) { +if (__ref._mvalue /*boolean*/ ==parent.__c.False) { this.state = 19; ;}if (true) break; @@ -382,23 +350,26 @@ case 22: //C this.state = 23; ; - //BA.debugLineNum = 93;BA.debugLine="Draw(state1)"; -parent._draw(_state1); - //BA.debugLineNum = 94;BA.debugLine="Sleep(16)"; -parent.__c.Sleep(ba,this,(int) (16)); +RDebugUtils.currentLine=31195148; + //BA.debugLineNum = 31195148;BA.debugLine="Draw(state1)"; +__ref._draw /*String*/ (null,_state1); +RDebugUtils.currentLine=31195149; + //BA.debugLineNum = 31195149;BA.debugLine="Sleep(16)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xswitch", "setvalueimpl"),(int) (16)); this.state = 47; return; case 47: //C this.state = 23; ; - //BA.debugLineNum = 95;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +RDebugUtils.currentLine=31195150; + //BA.debugLineNum = 31195150;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; if (true) break; case 23: //if this.state = 28; -if (_myindex!=parent._loopindex) { +if (_myindex!=__ref._loopindex /*int*/ ) { this.state = 25; ;}if (true) break; @@ -415,25 +386,27 @@ this.state = 14; ; if (true) break; ; - //BA.debugLineNum = 97;BA.debugLine="If MyIndex = LoopIndex Then"; +RDebugUtils.currentLine=31195152; + //BA.debugLineNum = 31195152;BA.debugLine="If MyIndex = LoopIndex Then"; case 29: //if this.state = 40; -if (_myindex==parent._loopindex) { +if (_myindex==__ref._loopindex /*int*/ ) { this.state = 31; }if (true) break; case 31: //C this.state = 32; - //BA.debugLineNum = 98;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +RDebugUtils.currentLine=31195153; + //BA.debugLineNum = 31195153;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; if (true) break; case 32: //if this.state = 39; -if (parent._mvalue) { +if (__ref._mvalue /*boolean*/ ) { this.state = 34; ;} else { @@ -443,13 +416,13 @@ this.state = 36; case 34: //C this.state = 39; -parent._draw((float) (1)); +__ref._draw /*String*/ (null,(float) (1)); if (true) break; case 36: //C this.state = 39; -parent._draw((float) (0)); +__ref._draw /*String*/ (null,(float) (0)); if (true) break; case 39: @@ -464,12 +437,13 @@ this.state = 41; ; if (true) break; ; - //BA.debugLineNum = 101;BA.debugLine="If mEnabled Then"; +RDebugUtils.currentLine=31195156; + //BA.debugLineNum = 31195156;BA.debugLine="If mEnabled Then"; case 41: //if this.state = 46; -if (parent._menabled) { +if (__ref._menabled /*boolean*/ ) { this.state = 43; }else { this.state = 45; @@ -478,30 +452,213 @@ this.state = 45; case 43: //C this.state = 46; - //BA.debugLineNum = 102;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (1)); +RDebugUtils.currentLine=31195157; + //BA.debugLineNum = 31195157;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; +parent._xuiviewsutils._setalpha /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(float) (1)); if (true) break; case 45: //C this.state = 46; - //BA.debugLineNum = 104;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.6)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (0.6)); +RDebugUtils.currentLine=31195159; + //BA.debugLineNum = 31195159;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.6)"; +parent._xuiviewsutils._setalpha /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(float) (0.6)); if (true) break; case 46: //C this.state = -1; ; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; +RDebugUtils.currentLine=31195161; + //BA.debugLineNum = 31195161;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _draw(reparto_intmex.keymon.lat.b4xswitch __ref,float _state) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", new Object[] {_state}));} +float _r = 0f; +float _cx = 0f; +int _cy = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _smallrect = null; +float _w = 0f; +float _h = 0f; +RDebugUtils.currentLine=31522816; + //BA.debugLineNum = 31522816;BA.debugLine="Private Sub Draw (State As Float)"; +RDebugUtils.currentLine=31522817; + //BA.debugLineNum = 31522817;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrect2(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._transparent /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=31522818; + //BA.debugLineNum = 31522818;BA.debugLine="Dim r As Float = Round(bc.mHeight / 2)"; +_r = (float) (__c.Round(__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2)); +RDebugUtils.currentLine=31522819; + //BA.debugLineNum = 31522819;BA.debugLine="Dim cx As Float = r - 1 * Scale + (bc.mWidth - 2"; +_cx = (float) (_r-1*__ref._scale /*float*/ +(__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth-2*_r)*_state); +RDebugUtils.currentLine=31522820; + //BA.debugLineNum = 31522820;BA.debugLine="If State = 0 Then"; +if (_state==0) { +RDebugUtils.currentLine=31522821; + //BA.debugLineNum = 31522821;BA.debugLine="cx = r"; +_cx = _r; + }else +{RDebugUtils.currentLine=31522822; + //BA.debugLineNum = 31522822;BA.debugLine="Else If State = 1 Then"; +if (_state==1) { +RDebugUtils.currentLine=31522823; + //BA.debugLineNum = 31522823;BA.debugLine="cx = Round(bc.mWidth - 1 * Scale - r)"; +_cx = (float) (__c.Round(__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth-1*__ref._scale /*float*/ -_r)); + }} +; +RDebugUtils.currentLine=31522825; + //BA.debugLineNum = 31522825;BA.debugLine="Dim cy As Int = bc.mHeight / 2"; +_cy = (int) (__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2); +RDebugUtils.currentLine=31522826; + //BA.debugLineNum = 31522826;BA.debugLine="Dim smallrect As B4XRect"; +_smallrect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=31522827; + //BA.debugLineNum = 31522827;BA.debugLine="Dim w As Float = State * bc.mWidth"; +_w = (float) (_state*__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth); +RDebugUtils.currentLine=31522828; + //BA.debugLineNum = 31522828;BA.debugLine="Dim h As Float = State * bc.mHeight"; +_h = (float) (_state*__ref._bc /*b4a.example.bitmapcreator*/ ._mheight); +RDebugUtils.currentLine=31522829; + //BA.debugLineNum = 31522829;BA.debugLine="If State < 1 Then bc.DrawRectRounded2(bc.TargetRe"; +if (_state<1) { +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrectrounded2(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._offcolor /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (2*__ref._scale /*float*/ ),(int) (_r));}; +RDebugUtils.currentLine=31522830; + //BA.debugLineNum = 31522830;BA.debugLine="smallrect.Initialize(bc.mWidth / 2 - w / 2, cy -"; +_smallrect.Initialize((float) (__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth/(double)2-_w/(double)2),(float) (_cy-_h/(double)2),(float) (__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth/(double)2+_w/(double)2),(float) (_cy+_h/(double)2)); +RDebugUtils.currentLine=31522831; + //BA.debugLineNum = 31522831;BA.debugLine="If State > 0 Then bc.DrawRectRounded2(smallrect,"; +if (_state>0) { +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrectrounded2(_smallrect,__ref._oncolor /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (2*__ref._scale /*float*/ ),(int) (_smallrect.getHeight()/(double)2));}; +RDebugUtils.currentLine=31522832; + //BA.debugLineNum = 31522832;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=31522833; + //BA.debugLineNum = 31522833;BA.debugLine="bc.DrawCircle2(cx, cy, r - 2 * Scale, ThumbColor"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawcircle2(_cx,(float) (_cy),(float) (_r-2*__ref._scale /*float*/ ),__ref._thumbcolor /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0)); + }; +RDebugUtils.currentLine=31522835; + //BA.debugLineNum = 31522835;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(__ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(),(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._iv /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .getObject()))); +RDebugUtils.currentLine=31522836; + //BA.debugLineNum = 31522836;BA.debugLine="End Sub"; +return ""; } +public boolean _getenabled(reparto_intmex.keymon.lat.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=31457280; + //BA.debugLineNum = 31457280;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=31457281; + //BA.debugLineNum = 31457281;BA.debugLine="Return mEnabled"; +if (true) return __ref._menabled /*boolean*/ ; +RDebugUtils.currentLine=31457282; + //BA.debugLineNum = 31457282;BA.debugLine="End Sub"; +return false; } +public boolean _getvalue(reparto_intmex.keymon.lat.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Boolean) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=31326208; + //BA.debugLineNum = 31326208;BA.debugLine="Public Sub getValue As Boolean"; +RDebugUtils.currentLine=31326209; + //BA.debugLineNum = 31326209;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*boolean*/ ; +RDebugUtils.currentLine=31326210; + //BA.debugLineNum = 31326210;BA.debugLine="End Sub"; +return false; +} +public String _initialize(reparto_intmex.keymon.lat.b4xswitch __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=30998528; + //BA.debugLineNum = 30998528;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=30998529; + //BA.debugLineNum = 30998529;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=30998530; + //BA.debugLineNum = 30998530;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=30998531; + //BA.debugLineNum = 30998531;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_click(reparto_intmex.keymon.lat.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "pnl_click", true)) + {return ((String) Debug.delegate(ba, "pnl_click", null));} +RDebugUtils.currentLine=31129600; + //BA.debugLineNum = 31129600;BA.debugLine="Private Sub pnl_Click"; +RDebugUtils.currentLine=31129602; + //BA.debugLineNum = 31129602;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=31129603; + //BA.debugLineNum = 31129603;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=31129604; + //BA.debugLineNum = 31129604;BA.debugLine="SetValueImpl(Not(mValue), False)"; +__ref._setvalueimpl /*void*/ (null,__c.Not(__ref._mvalue /*boolean*/ ),__c.False); +RDebugUtils.currentLine=31129605; + //BA.debugLineNum = 31129605;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(int) (1))) { +RDebugUtils.currentLine=31129606; + //BA.debugLineNum = 31129606;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*boolean*/ )); + }; + }; +RDebugUtils.currentLine=31129609; + //BA.debugLineNum = 31129609;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(reparto_intmex.keymon.lat.b4xswitch __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=31391744; + //BA.debugLineNum = 31391744;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +RDebugUtils.currentLine=31391745; + //BA.debugLineNum = 31391745;BA.debugLine="mEnabled = b"; +__ref._menabled /*boolean*/ = _b; +RDebugUtils.currentLine=31391746; + //BA.debugLineNum = 31391746;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=31391747; + //BA.debugLineNum = 31391747;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(reparto_intmex.keymon.lat.b4xswitch __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_b}));} +RDebugUtils.currentLine=31260672; + //BA.debugLineNum = 31260672;BA.debugLine="Public Sub setValue(b As Boolean)"; +RDebugUtils.currentLine=31260673; + //BA.debugLineNum = 31260673;BA.debugLine="If b = mValue Then Return"; +if (_b==__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=31260674; + //BA.debugLineNum = 31260674;BA.debugLine="SetValueImpl(b, False)"; +__ref._setvalueimpl /*void*/ (null,_b,__c.False); +RDebugUtils.currentLine=31260675; + //BA.debugLineNum = 31260675;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xtimedtemplate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xtimedtemplate.java index d3b04ff..a8a3834 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/b4xtimedtemplate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/b4xtimedtemplate.java @@ -10,7 +10,7 @@ public class b4xtimedtemplate extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xtimedtemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.b4xtimedtemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xtimedtemplate extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public reparto_intmex.keymon.lat.anotherprogressbar _anotherprogressbar1 = null; @@ -33,10 +40,10 @@ public int _index = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -44,82 +51,67 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; -_anotherprogressbar1 = new reparto_intmex.keymon.lat.anotherprogressbar(); - //BA.debugLineNum = 5;BA.debugLine="Private mTemplate As Object"; -_mtemplate = new Object(); - //BA.debugLineNum = 6;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; -_timeoutmilliseconds = (int) (10000); - //BA.debugLineNum = 7;BA.debugLine="Private Index As Int"; -_index = 0; - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 42;BA.debugLine="Index = Index + 1"; -_index = (int) (_index+1); - //BA.debugLineNum = 43;BA.debugLine="CallSub2(mTemplate, \"DialogClosed\", Result)"; -__c.CallSubNew2(ba,_mtemplate,"DialogClosed",(Object)(_result)); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_intmex.keymon.lat.b4xtimedtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 17;BA.debugLine="If mBase.NumberOfViews = 0 Then"; -if (_mbase.getNumberOfViews()==0) { - //BA.debugLineNum = 18;BA.debugLine="Dim InnerPanel As B4XView = CallSub2(mTemplate,"; +RDebugUtils.currentLine=31784960; + //BA.debugLineNum = 31784960;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=31784961; + //BA.debugLineNum = 31784961;BA.debugLine="If mBase.NumberOfViews = 0 Then"; +if (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()==0) { +RDebugUtils.currentLine=31784962; + //BA.debugLineNum = 31784962;BA.debugLine="Dim InnerPanel As B4XView = CallSub2(mTemplate,"; _innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_innerpanel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.CallSubNew2(ba,_mtemplate,"GetPanel",(Object)(_dialog)))); - //BA.debugLineNum = 19;BA.debugLine="If InnerPanel.Parent.IsInitialized Then InnerPan"; +_innerpanel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"GetPanel",(Object)(_dialog)))); +RDebugUtils.currentLine=31784963; + //BA.debugLineNum = 31784963;BA.debugLine="If InnerPanel.Parent.IsInitialized Then InnerPan"; if (_innerpanel.getParent().IsInitialized()) { _innerpanel.RemoveViewFromParent();}; - //BA.debugLineNum = 20;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, InnerPanel.Widt"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_innerpanel.getWidth(),(int) (_innerpanel.getHeight()+__c.DipToCurrent((int) (19)))); - //BA.debugLineNum = 21;BA.debugLine="mBase.LoadLayout(\"TimedDialogTemplate\")"; -_mbase.LoadLayout("TimedDialogTemplate",ba); - //BA.debugLineNum = 22;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 23;BA.debugLine="mBase.AddView(InnerPanel, 0, 19dip, InnerPanel.W"; -_mbase.AddView((android.view.View)(_innerpanel.getObject()),(int) (0),__c.DipToCurrent((int) (19)),_innerpanel.getWidth(),_innerpanel.getHeight()); +RDebugUtils.currentLine=31784964; + //BA.debugLineNum = 31784964;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, InnerPanel.Widt"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_innerpanel.getWidth(),(int) (_innerpanel.getHeight()+__c.DipToCurrent((int) (19)))); +RDebugUtils.currentLine=31784965; + //BA.debugLineNum = 31784965;BA.debugLine="mBase.LoadLayout(\"TimedDialogTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("TimedDialogTemplate",ba); +RDebugUtils.currentLine=31784966; + //BA.debugLineNum = 31784966;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=31784967; + //BA.debugLineNum = 31784967;BA.debugLine="mBase.AddView(InnerPanel, 0, 19dip, InnerPanel.W"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_innerpanel.getObject()),(int) (0),__c.DipToCurrent((int) (19)),_innerpanel.getWidth(),_innerpanel.getHeight()); }; - //BA.debugLineNum = 25;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 26;BA.debugLine="End Sub"; +RDebugUtils.currentLine=31784969; + //BA.debugLineNum = 31784969;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=31784970; + //BA.debugLineNum = 31784970;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _innertemplate) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (InnerTemplate As Object)"; - //BA.debugLineNum = 11;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 12;BA.debugLine="mTemplate = InnerTemplate"; -_mtemplate = _innertemplate; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public void _show(reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public void _show(reparto_intmex.keymon.lat.b4xtimedtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(reparto_intmex.keymon.lat.b4xtimedtemplate parent,reparto_intmex.keymon.lat.b4xdialog _dialog) { +public ResumableSub_Show(reparto_intmex.keymon.lat.b4xtimedtemplate parent,reparto_intmex.keymon.lat.b4xtimedtemplate __ref,reparto_intmex.keymon.lat.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +reparto_intmex.keymon.lat.b4xtimedtemplate __ref; reparto_intmex.keymon.lat.b4xtimedtemplate parent; reparto_intmex.keymon.lat.b4xdialog _dialog; int _myindex = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xtimedtemplate"; while (true) { switch (state) { @@ -129,60 +121,124 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 29;BA.debugLine="CallSub2(mTemplate, \"Show\", Dialog)"; -parent.__c.CallSubNew2(ba,parent._mtemplate,"Show",(Object)(_dialog)); - //BA.debugLineNum = 30;BA.debugLine="AnotherProgressBar1.SetValueNoAnimation(0)"; -parent._anotherprogressbar1._setvaluenoanimation /*String*/ ((int) (0)); - //BA.debugLineNum = 31;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; -parent._anotherprogressbar1._valuechangepersecond /*float*/ = (float) (100/(double)(parent._timeoutmilliseconds/(double)1000)); - //BA.debugLineNum = 32;BA.debugLine="AnotherProgressBar1.Value = 100"; -parent._anotherprogressbar1._setvalue /*int*/ ((int) (100)); - //BA.debugLineNum = 33;BA.debugLine="Index = Index + 1"; -parent._index = (int) (parent._index+1); - //BA.debugLineNum = 34;BA.debugLine="Dim MyIndex As Int = Index"; -_myindex = parent._index; - //BA.debugLineNum = 35;BA.debugLine="Sleep(TimeoutMilliseconds)"; -parent.__c.Sleep(ba,this,parent._timeoutmilliseconds); +RDebugUtils.currentLine=31850497; + //BA.debugLineNum = 31850497;BA.debugLine="CallSub2(mTemplate, \"Show\", Dialog)"; +parent.__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"Show",(Object)(_dialog)); +RDebugUtils.currentLine=31850498; + //BA.debugLineNum = 31850498;BA.debugLine="AnotherProgressBar1.SetValueNoAnimation(0)"; +__ref._anotherprogressbar1 /*reparto_intmex.keymon.lat.anotherprogressbar*/ ._setvaluenoanimation /*String*/ (null,(int) (0)); +RDebugUtils.currentLine=31850499; + //BA.debugLineNum = 31850499;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; +__ref._anotherprogressbar1 /*reparto_intmex.keymon.lat.anotherprogressbar*/ ._valuechangepersecond /*float*/ = (float) (100/(double)(__ref._timeoutmilliseconds /*int*/ /(double)1000)); +RDebugUtils.currentLine=31850500; + //BA.debugLineNum = 31850500;BA.debugLine="AnotherProgressBar1.Value = 100"; +__ref._anotherprogressbar1 /*reparto_intmex.keymon.lat.anotherprogressbar*/ ._setvalue /*int*/ (null,(int) (100)); +RDebugUtils.currentLine=31850501; + //BA.debugLineNum = 31850501;BA.debugLine="Index = Index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=31850502; + //BA.debugLineNum = 31850502;BA.debugLine="Dim MyIndex As Int = Index"; +_myindex = __ref._index /*int*/ ; +RDebugUtils.currentLine=31850503; + //BA.debugLineNum = 31850503;BA.debugLine="Sleep(TimeoutMilliseconds)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xtimedtemplate", "show"),__ref._timeoutmilliseconds /*int*/ ); this.state = 5; return; case 5: //C this.state = 1; ; - //BA.debugLineNum = 36;BA.debugLine="If MyIndex = Index Then"; +RDebugUtils.currentLine=31850504; + //BA.debugLineNum = 31850504;BA.debugLine="If MyIndex = Index Then"; if (true) break; case 1: //if this.state = 4; -if (_myindex==parent._index) { +if (_myindex==__ref._index /*int*/ ) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 37;BA.debugLine="Dialog.Close(xui.DialogResponse_Cancel)"; -_dialog._close /*boolean*/ (parent._xui.DialogResponse_Cancel); +RDebugUtils.currentLine=31850505; + //BA.debugLineNum = 31850505;BA.debugLine="Dialog.Close(xui.DialogResponse_Cancel)"; +_dialog._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Cancel); if (true) break; case 4: //C this.state = -1; ; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +RDebugUtils.currentLine=31850507; + //BA.debugLineNum = 31850507;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((reparto_intmex.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; +public String _dialogclosed(reparto_intmex.keymon.lat.b4xtimedtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=31916032; + //BA.debugLineNum = 31916032;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=31916033; + //BA.debugLineNum = 31916033;BA.debugLine="Index = Index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=31916034; + //BA.debugLineNum = 31916034;BA.debugLine="CallSub2(mTemplate, \"DialogClosed\", Result)"; +__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"DialogClosed",(Object)(_result)); +RDebugUtils.currentLine=31916035; + //BA.debugLineNum = 31916035;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(reparto_intmex.keymon.lat.b4xtimedtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +RDebugUtils.currentLine=31653888; + //BA.debugLineNum = 31653888;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=31653889; + //BA.debugLineNum = 31653889;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=31653890; + //BA.debugLineNum = 31653890;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=31653891; + //BA.debugLineNum = 31653891;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; +_anotherprogressbar1 = new reparto_intmex.keymon.lat.anotherprogressbar(); +RDebugUtils.currentLine=31653892; + //BA.debugLineNum = 31653892;BA.debugLine="Private mTemplate As Object"; +_mtemplate = new Object(); +RDebugUtils.currentLine=31653893; + //BA.debugLineNum = 31653893;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; +_timeoutmilliseconds = (int) (10000); +RDebugUtils.currentLine=31653894; + //BA.debugLineNum = 31653894;BA.debugLine="Private Index As Int"; +_index = 0; +RDebugUtils.currentLine=31653895; + //BA.debugLineNum = 31653895;BA.debugLine="End Sub"; +return ""; } +public String _initialize(reparto_intmex.keymon.lat.b4xtimedtemplate __ref,anywheresoftware.b4a.BA _ba,Object _innertemplate) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_innertemplate}));} +RDebugUtils.currentLine=31719424; + //BA.debugLineNum = 31719424;BA.debugLine="Public Sub Initialize (InnerTemplate As Object)"; +RDebugUtils.currentLine=31719425; + //BA.debugLineNum = 31719425;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=31719426; + //BA.debugLineNum = 31719426;BA.debugLine="mTemplate = InnerTemplate"; +__ref._mtemplate /*Object*/ = _innertemplate; +RDebugUtils.currentLine=31719428; + //BA.debugLineNum = 31719428;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/batteryutilities.java b/B4A/Objects/src/reparto_intmex/keymon/lat/batteryutilities.java index d1c8612..0a34c2e 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/batteryutilities.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/batteryutilities.java @@ -17,7 +17,7 @@ public class batteryutilities extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.batteryutilities"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.batteryutilities"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -30,15 +30,22 @@ public class batteryutilities extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4j.object.JavaObject _nativeme = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -46,49 +53,75 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private nativeMe As JavaObject"; +public String _class_globals(reparto_intmex.keymon.lat.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +RDebugUtils.currentLine=38928384; + //BA.debugLineNum = 38928384;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=38928385; + //BA.debugLineNum = 38928385;BA.debugLine="Private nativeMe As JavaObject"; _nativeme = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38928386; + //BA.debugLineNum = 38928386;BA.debugLine="End Sub"; return ""; } -public int[] _getbatteryinformation() throws Exception{ +public int[] _getbatteryinformation(reparto_intmex.keymon.lat.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "getbatteryinformation", false)) + {return ((int[]) Debug.delegate(ba, "getbatteryinformation", null));} int[] _batteryinfo = null; - //BA.debugLineNum = 22;BA.debugLine="Public Sub getBatteryInformation () As Int()"; - //BA.debugLineNum = 24;BA.debugLine="Dim batteryInfo(11) As Int"; +RDebugUtils.currentLine=39059456; + //BA.debugLineNum = 39059456;BA.debugLine="Public Sub getBatteryInformation () As Int()"; +RDebugUtils.currentLine=39059458; + //BA.debugLineNum = 39059458;BA.debugLine="Dim batteryInfo(11) As Int"; _batteryinfo = new int[(int) (11)]; ; - //BA.debugLineNum = 25;BA.debugLine="batteryInfo = nativeMe.RunMethod(\"getBatteryInfor"; -_batteryinfo = (int[])(_nativeme.RunMethod("getBatteryInformation",(Object[])(__c.Null))); - //BA.debugLineNum = 26;BA.debugLine="Return batteryInfo"; +RDebugUtils.currentLine=39059459; + //BA.debugLineNum = 39059459;BA.debugLine="batteryInfo = nativeMe.RunMethod(\"getBatteryInfor"; +_batteryinfo = (int[])(__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBatteryInformation",(Object[])(__c.Null))); +RDebugUtils.currentLine=39059460; + //BA.debugLineNum = 39059460;BA.debugLine="Return batteryInfo"; if (true) return _batteryinfo; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39059461; + //BA.debugLineNum = 39059461;BA.debugLine="End Sub"; return null; } -public String _getbatterytechnolgy() throws Exception{ +public String _getbatterytechnolgy(reparto_intmex.keymon.lat.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "getbatterytechnolgy", false)) + {return ((String) Debug.delegate(ba, "getbatterytechnolgy", null));} String _batterytech = ""; - //BA.debugLineNum = 29;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; - //BA.debugLineNum = 31;BA.debugLine="Dim batterytech As String"; +RDebugUtils.currentLine=39124992; + //BA.debugLineNum = 39124992;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; +RDebugUtils.currentLine=39124994; + //BA.debugLineNum = 39124994;BA.debugLine="Dim batterytech As String"; _batterytech = ""; - //BA.debugLineNum = 32;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; -_batterytech = BA.ObjectToString(_nativeme.RunMethod("getBatteryTechnology",(Object[])(__c.Null))); - //BA.debugLineNum = 33;BA.debugLine="Return batterytech"; +RDebugUtils.currentLine=39124995; + //BA.debugLineNum = 39124995;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; +_batterytech = BA.ObjectToString(__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBatteryTechnology",(Object[])(__c.Null))); +RDebugUtils.currentLine=39124996; + //BA.debugLineNum = 39124996;BA.debugLine="Return batterytech"; if (true) return _batterytech; - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39124998; + //BA.debugLineNum = 39124998;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.batteryutilities __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 8;BA.debugLine="nativeMe = Me"; -_nativeme = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=38993920; + //BA.debugLineNum = 38993920;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=38993921; + //BA.debugLineNum = 38993921;BA.debugLine="nativeMe = Me"; +__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=38993922; + //BA.debugLineNum = 38993922;BA.debugLine="End Sub"; return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; } @@ -162,4 +195,4 @@ return BA.SubDelegator.SubNotFound; -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_buscar.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_buscar.java index 723392a..c3d7135 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_buscar.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_buscar.java @@ -10,7 +10,7 @@ public class c_buscar extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_buscar"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_buscar"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_buscar extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; @@ -33,10 +40,10 @@ public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -44,113 +51,179 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_noventa_click() throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_buscar __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=39256064; + //BA.debugLineNum = 39256064;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=39256065; + //BA.debugLineNum = 39256065;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=39256066; + //BA.debugLineNum = 39256066;BA.debugLine="End Sub"; +return null; +} +public String _b_noventa_click(reparto_intmex.keymon.lat.c_buscar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "b_noventa_click", false)) + {return ((String) Debug.delegate(ba, "b_noventa_click", null));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 85;BA.debugLine="Sub b_noventa_Click"; - //BA.debugLineNum = 86;BA.debugLine="c=Starter.skmt.ExecQuery(\"select NV_CLIENTE,NV_MO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select NV_CLIENTE,NV_MOTIVO,NV_COMM FROM NOVENTA ORDER BY NV_CLIENTE asc"))); - //BA.debugLineNum = 87;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 89;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 90;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=39649280; + //BA.debugLineNum = 39649280;BA.debugLine="Sub b_noventa_Click"; +RDebugUtils.currentLine=39649281; + //BA.debugLineNum = 39649281;BA.debugLine="c=Starter.skmt.ExecQuery(\"select NV_CLIENTE,NV_MO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select NV_CLIENTE,NV_MOTIVO,NV_COMM FROM NOVENTA ORDER BY NV_CLIENTE asc"))); +RDebugUtils.currentLine=39649282; + //BA.debugLineNum = 39649282;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=39649284; + //BA.debugLineNum = 39649284;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=39649285; + //BA.debugLineNum = 39649285;BA.debugLine="For i=0 To c.RowCount -1"; { final int step4 = 1; -final int limit4 = (int) (_c.getRowCount()-1); +final int limit4 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 91;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 92;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=39649286; + //BA.debugLineNum = 39649286;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=39649287; + //BA.debugLineNum = 39649287;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 93;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 94;BA.debugLine="label1.TextSize = 10"; +RDebugUtils.currentLine=39649288; + //BA.debugLineNum = 39649288;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=39649289; + //BA.debugLineNum = 39649289;BA.debugLine="label1.TextSize = 10"; _label1.setTextSize((float) (10)); - //BA.debugLineNum = 95;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=39649290; + //BA.debugLineNum = 39649290;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 96;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=39649291; + //BA.debugLineNum = 39649291;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 97;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 98;BA.debugLine="label2.TextSize = 10"; +RDebugUtils.currentLine=39649292; + //BA.debugLineNum = 39649292;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=39649293; + //BA.debugLineNum = 39649293;BA.debugLine="label2.TextSize = 10"; _label2.setTextSize((float) (10)); - //BA.debugLineNum = 99;BA.debugLine="label2.TextColor = Colors.Blue"; +RDebugUtils.currentLine=39649294; + //BA.debugLineNum = 39649294;BA.debugLine="label2.TextColor = Colors.Blue"; _label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 100;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\")"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("NV_CLIENTE")),BA.ObjectToCharSequence("Motivo #"+_c.GetString("NV_MOTIVO")+" Comentario $"+_c.GetString("NV_COMM"))); +RDebugUtils.currentLine=39649295; + //BA.debugLineNum = 39649295;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\")"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")),BA.ObjectToCharSequence("Motivo #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_MOTIVO")+" Comentario $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_COMM"))); } }; }; - //BA.debugLineNum = 103;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39649298; + //BA.debugLineNum = 39649298;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_buscar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 41;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 42;BA.debugLine="p_principal.Width = Root.Width"; -_p_principal.setWidth(_root.getWidth()); - //BA.debugLineNum = 43;BA.debugLine="p_principal.Height = Root.Height"; -_p_principal.setHeight(_root.getHeight()); - //BA.debugLineNum = 44;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 46;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; -_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 REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO"))); - //BA.debugLineNum = 47;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 49;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 50;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=39387136; + //BA.debugLineNum = 39387136;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=39387137; + //BA.debugLineNum = 39387137;BA.debugLine="p_principal.Width = Root.Width"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=39387138; + //BA.debugLineNum = 39387138;BA.debugLine="p_principal.Height = Root.Height"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=39387139; + //BA.debugLineNum = 39387139;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=39387141; + //BA.debugLineNum = 39387141;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO"))); +RDebugUtils.currentLine=39387142; + //BA.debugLineNum = 39387142;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=39387144; + //BA.debugLineNum = 39387144;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=39387145; + //BA.debugLineNum = 39387145;BA.debugLine="For i=0 To c.RowCount -1"; { final int step7 = 1; -final int limit7 = (int) (_c.getRowCount()-1); +final int limit7 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 51;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 52;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=39387146; + //BA.debugLineNum = 39387146;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=39387147; + //BA.debugLineNum = 39387147;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 53;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 54;BA.debugLine="label1.TextSize = 10"; +RDebugUtils.currentLine=39387148; + //BA.debugLineNum = 39387148;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=39387149; + //BA.debugLineNum = 39387149;BA.debugLine="label1.TextSize = 10"; _label1.setTextSize((float) (10)); - //BA.debugLineNum = 55;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=39387150; + //BA.debugLineNum = 39387150;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 56;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=39387151; + //BA.debugLineNum = 39387151;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 57;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 58;BA.debugLine="label2.TextSize = 10"; +RDebugUtils.currentLine=39387152; + //BA.debugLineNum = 39387152;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=39387153; + //BA.debugLineNum = 39387153;BA.debugLine="label2.TextSize = 10"; _label2.setTextSize((float) (10)); - //BA.debugLineNum = 59;BA.debugLine="label2.TextColor = Colors.Blue"; +RDebugUtils.currentLine=39387154; + //BA.debugLineNum = 39387154;BA.debugLine="label2.TextColor = Colors.Blue"; _label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 60;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("REP_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("REP_PRONOMBRE")+" Cantidad #"+_c.GetString("REP_CANT")+" SubTotal $"+_c.GetString("REP_COSTO_TOT"))); +RDebugUtils.currentLine=39387155; + //BA.debugLineNum = 39387155;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_PRONOMBRE")+" Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_CANT")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_COSTO_TOT"))); } }; }; - //BA.debugLineNum = 63;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39387158; + //BA.debugLineNum = 39387158;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=39387159; + //BA.debugLineNum = 39387159;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_buscar __ref) throws Exception{ +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_buscar parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_buscar parent,reparto_intmex.keymon.lat.c_buscar __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_buscar __ref; reparto_intmex.keymon.lat.c_buscar parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_buscar"; while (true) { switch (state) { @@ -160,114 +233,152 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 73;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=39518211; + //BA.debugLineNum = 39518211;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; parent._b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 76;BA.debugLine="Return False"; +RDebugUtils.currentLine=39518214; + //BA.debugLineNum = 39518214;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 77;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39518215; + //BA.debugLineNum = 39518215;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +public String _b4xpage_created(reparto_intmex.keymon.lat.c_buscar __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 16;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 17;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 19;BA.debugLine="Root.LoadLayout(\"buscar\")"; -_root.LoadLayout("buscar",ba); - //BA.debugLineNum = 20;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; -_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 REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO"))); - //BA.debugLineNum = 21;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 22;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 23;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=39321600; + //BA.debugLineNum = 39321600;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=39321601; + //BA.debugLineNum = 39321601;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=39321603; + //BA.debugLineNum = 39321603;BA.debugLine="Root.LoadLayout(\"buscar\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("buscar",ba); +RDebugUtils.currentLine=39321604; + //BA.debugLineNum = 39321604;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO"))); +RDebugUtils.currentLine=39321605; + //BA.debugLineNum = 39321605;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=39321606; + //BA.debugLineNum = 39321606;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=39321607; + //BA.debugLineNum = 39321607;BA.debugLine="For i=0 To c.RowCount -1"; { final int step6 = 1; -final int limit6 = (int) (_c.getRowCount()-1); +final int limit6 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 24;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 25;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=39321608; + //BA.debugLineNum = 39321608;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=39321609; + //BA.debugLineNum = 39321609;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 26;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 27;BA.debugLine="label1.TextSize = 10"; +RDebugUtils.currentLine=39321610; + //BA.debugLineNum = 39321610;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=39321611; + //BA.debugLineNum = 39321611;BA.debugLine="label1.TextSize = 10"; _label1.setTextSize((float) (10)); - //BA.debugLineNum = 28;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=39321612; + //BA.debugLineNum = 39321612;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 29;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=39321613; + //BA.debugLineNum = 39321613;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 31;BA.debugLine="label2.TextSize = 10"; +RDebugUtils.currentLine=39321614; + //BA.debugLineNum = 39321614;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=39321615; + //BA.debugLineNum = 39321615;BA.debugLine="label2.TextSize = 10"; _label2.setTextSize((float) (10)); - //BA.debugLineNum = 32;BA.debugLine="label2.TextColor = Colors.Blue"; +RDebugUtils.currentLine=39321616; + //BA.debugLineNum = 39321616;BA.debugLine="label2.TextColor = Colors.Blue"; _label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 33;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("REP_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("REP_PRONOMBRE")+" Cantidad #"+_c.GetString("REP_CANT")+" SubTotal $"+_c.GetString("REP_COSTO_TOT"))); +RDebugUtils.currentLine=39321617; + //BA.debugLineNum = 39321617;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_PRONOMBRE")+" Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_CANT")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_COSTO_TOT"))); } }; }; - //BA.debugLineNum = 36;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 37;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39321620; + //BA.debugLineNum = 39321620;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=39321621; + //BA.debugLineNum = 39321621;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_buscar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +RDebugUtils.currentLine=39190528; + //BA.debugLineNum = 39190528;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=39190529; + //BA.debugLineNum = 39190529;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=39190530; + //BA.debugLineNum = 39190530;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=39190531; + //BA.debugLineNum = 39190531;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=39190532; + //BA.debugLineNum = 39190532;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim b_noventa As Button"; +RDebugUtils.currentLine=39190533; + //BA.debugLineNum = 39190533;BA.debugLine="Dim b_noventa As Button"; _b_noventa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=39190534; + //BA.debugLineNum = 39190534;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 8;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39190535; + //BA.debugLineNum = 39190535;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 11;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 12;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 13;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 79;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 80;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +public String _listview1_itemlongclick(reparto_intmex.keymon.lat.c_buscar __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=39583744; + //BA.debugLineNum = 39583744;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=39583745; + //BA.debugLineNum = 39583745;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 81;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +RDebugUtils.currentLine=39583746; + //BA.debugLineNum = 39583746;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 82;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=39583747; + //BA.debugLineNum = 39583747;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39583748; + //BA.debugLineNum = 39583748;BA.debugLine="End Sub"; return ""; } -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 67;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +public String _regresar_click(reparto_intmex.keymon.lat.c_buscar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=39452672; + //BA.debugLineNum = 39452672;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=39452673; + //BA.debugLineNum = 39452673;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39452674; + //BA.debugLineNum = 39452674;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_cheklist.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_cheklist.java index f7d2a12..58132fc 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_cheklist.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_cheklist.java @@ -10,7 +10,7 @@ public class c_cheklist extends B4AClass.ImplB4AClass implements BA.SubDelegator private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_cheklist"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_cheklist"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_cheklist extends B4AClass.ImplB4AClass implements BA.SubDelegator ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.PanelWrapper _p_check = null; @@ -126,10 +133,10 @@ public anywheresoftware.b4a.objects.EditTextWrapper _et_km = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -137,320 +144,539 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_foto_click() throws Exception{ - //BA.debugLineNum = 348;BA.debugLine="Private Sub b_foto_Click"; - //BA.debugLineNum = 349;BA.debugLine="camEx.TakePicture"; -_camex._takepicture /*String*/ (); - //BA.debugLineNum = 350;BA.debugLine="p_camara.Visible = False"; -_p_camara.setVisible(__c.False); - //BA.debugLineNum = 352;BA.debugLine="End Sub"; +public Object _initialize(reparto_intmex.keymon.lat.c_cheklist __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=39780352; + //BA.debugLineNum = 39780352;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=39780353; + //BA.debugLineNum = 39780353;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=39780354; + //BA.debugLineNum = 39780354;BA.debugLine="End Sub"; +return null; +} +public String _b_foto_click(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "b_foto_click", false)) + {return ((String) Debug.delegate(ba, "b_foto_click", null));} +RDebugUtils.currentLine=40304640; + //BA.debugLineNum = 40304640;BA.debugLine="Private Sub b_foto_Click"; +RDebugUtils.currentLine=40304641; + //BA.debugLineNum = 40304641;BA.debugLine="camEx.TakePicture"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._takepicture /*String*/ (null); +RDebugUtils.currentLine=40304642; + //BA.debugLineNum = 40304642;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=40304644; + //BA.debugLineNum = 40304644;BA.debugLine="End Sub"; return ""; } -public String _b_guardar_click() throws Exception{ +public String _b_guardar_click(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} String _dirp = ""; String _dir = ""; String _dir2 = ""; String _checkdate = ""; String _checktime = ""; String _rutacheck = ""; - //BA.debugLineNum = 541;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 543;BA.debugLine="Dim Dirp As String = File.DirInternal"; +RDebugUtils.currentLine=43057152; + //BA.debugLineNum = 43057152;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=43057154; + //BA.debugLineNum = 43057154;BA.debugLine="Dim Dirp As String = File.DirInternal"; _dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 544;BA.debugLine="Dim Dir As String"; +RDebugUtils.currentLine=43057155; + //BA.debugLineNum = 43057155;BA.debugLine="Dim Dir As String"; _dir = ""; - //BA.debugLineNum = 545;BA.debugLine="Dim Dir2 As String"; +RDebugUtils.currentLine=43057156; + //BA.debugLineNum = 43057156;BA.debugLine="Dim Dir2 As String"; _dir2 = ""; - //BA.debugLineNum = 546;BA.debugLine="Try"; -try { //BA.debugLineNum = 547;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; +RDebugUtils.currentLine=43057157; + //BA.debugLineNum = 43057157;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43057158; + //BA.debugLineNum = 43057158;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; __c.File.MakeDir(_dirp,"/md"); - //BA.debugLineNum = 548;BA.debugLine="Dir = \"/md\""; +RDebugUtils.currentLine=43057159; + //BA.debugLineNum = 43057159;BA.debugLine="Dir = \"/md\""; _dir = "/md"; - //BA.debugLineNum = 549;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; -__c.LogImpl("87667720","creado en promotoria "+_dirp+_dir,0); +RDebugUtils.currentLine=43057160; + //BA.debugLineNum = 43057160;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; +__c.LogImpl("243057160","creado en promotoria "+_dirp+_dir,0); } catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 551;BA.debugLine="Dir = \"\""; + ba.setLastException(e9);RDebugUtils.currentLine=43057162; + //BA.debugLineNum = 43057162;BA.debugLine="Dir = \"\""; _dir = ""; - //BA.debugLineNum = 552;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("87667723","creado en raiz",0); +RDebugUtils.currentLine=43057163; + //BA.debugLineNum = 43057163;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("243057163","creado en raiz",0); }; - //BA.debugLineNum = 555;BA.debugLine="Try"; -try { //BA.debugLineNum = 556;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; +RDebugUtils.currentLine=43057166; + //BA.debugLineNum = 43057166;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43057167; + //BA.debugLineNum = 43057167;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; __c.File.MakeDir(_dirp+_dir,"/reduccion"); - //BA.debugLineNum = 557;BA.debugLine="Dir2 = \"/reduccion\""; +RDebugUtils.currentLine=43057168; + //BA.debugLineNum = 43057168;BA.debugLine="Dir2 = \"/reduccion\""; _dir2 = "/reduccion"; - //BA.debugLineNum = 558;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; -__c.LogImpl("87667729","creado en promotoria "+_dirp+_dir+_dir2,0); +RDebugUtils.currentLine=43057169; + //BA.debugLineNum = 43057169;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; +__c.LogImpl("243057169","creado en promotoria "+_dirp+_dir+_dir2,0); } catch (Exception e17) { - ba.setLastException(e17); //BA.debugLineNum = 560;BA.debugLine="Dir = \"\""; + ba.setLastException(e17);RDebugUtils.currentLine=43057171; + //BA.debugLineNum = 43057171;BA.debugLine="Dir = \"\""; _dir = ""; - //BA.debugLineNum = 561;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("87667732","creado en raiz",0); +RDebugUtils.currentLine=43057172; + //BA.debugLineNum = 43057172;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("243057172","creado en raiz",0); }; - //BA.debugLineNum = 564;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +RDebugUtils.currentLine=43057175; + //BA.debugLineNum = 43057175;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 565;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +RDebugUtils.currentLine=43057176; + //BA.debugLineNum = 43057176;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 566;BA.debugLine="Dim checkdate As String = DateTime.Date(DateTime."; +RDebugUtils.currentLine=43057177; + //BA.debugLineNum = 43057177;BA.debugLine="Dim checkdate As String = DateTime.Date(DateTime."; _checkdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 567;BA.debugLine="Dim checktime As String = DateTime.Time(DateTime."; +RDebugUtils.currentLine=43057178; + //BA.debugLineNum = 43057178;BA.debugLine="Dim checktime As String = DateTime.Time(DateTime."; _checktime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 568;BA.debugLine="If et_km.Text <> \"\" Then"; -if ((_et_km.getText()).equals("") == false) { - //BA.debugLineNum = 569;BA.debugLine="If rb_docno1.Checked Or rb_docsi1.Checked Then"; -if (_rb_docno1.getChecked() || _rb_docsi1.getChecked()) { - //BA.debugLineNum = 570;BA.debugLine="If rb_docno2.Checked Or rb_docsi2.Checked Then"; -if (_rb_docno2.getChecked() || _rb_docsi2.getChecked()) { - //BA.debugLineNum = 571;BA.debugLine="If rb_docno3.Checked Or rb_docsi3.Checked Then"; -if (_rb_docno3.getChecked() || _rb_docsi3.getChecked()) { - //BA.debugLineNum = 572;BA.debugLine="If rb_docno4.Checked Or rb_docsi4.Checked The"; -if (_rb_docno4.getChecked() || _rb_docsi4.getChecked()) { - //BA.debugLineNum = 573;BA.debugLine="If rb_docno5.Checked Or rb_docsi5.Checked Th"; -if (_rb_docno5.getChecked() || _rb_docsi5.getChecked()) { - //BA.debugLineNum = 574;BA.debugLine="If rb_docno6.Checked Or rb_docsi6.Checked T"; -if (_rb_docno6.getChecked() || _rb_docsi6.getChecked()) { - //BA.debugLineNum = 575;BA.debugLine="If rb_docno7.Checked Or rb_docsi7.Checked"; -if (_rb_docno7.getChecked() || _rb_docsi7.getChecked()) { - //BA.debugLineNum = 576;BA.debugLine="If rb_docno8.Checked Or rb_docsi8.Checked"; -if (_rb_docno8.getChecked() || _rb_docsi8.getChecked()) { - //BA.debugLineNum = 577;BA.debugLine="If rb_docno9.Checked Or rb_docsi9.Checke"; -if (_rb_docno9.getChecked() || _rb_docsi9.getChecked()) { - //BA.debugLineNum = 578;BA.debugLine="If (rb_docno9.Checked And et_carroceria"; -if ((_rb_docno9.getChecked() && (_et_carroceria.getText()).equals("") == false) || (_rb_docsi9.getChecked() && (_et_carroceria.getText()).equals(""))) { - //BA.debugLineNum = 579;BA.debugLine="If rb_docno11.Checked Or rb_docsi11.Ch"; -if (_rb_docno11.getChecked() || _rb_docsi11.getChecked()) { - //BA.debugLineNum = 580;BA.debugLine="If (rb_docno11.Checked And et_luces.T"; -if ((_rb_docno11.getChecked() && (_et_luces.getText()).equals("") == false) || (_rb_docsi11.getChecked() && (_et_luces.getText()).equals(""))) { - //BA.debugLineNum = 581;BA.debugLine="If rb_docno13.Checked Or rb_docsi13."; -if (_rb_docno13.getChecked() || _rb_docsi13.getChecked()) { - //BA.debugLineNum = 582;BA.debugLine="If (rb_docno12.Checked And et_placa"; -if ((_rb_docno12.getChecked() && (_et_placas.getText()).equals("") == false) || (_rb_docsi13.getChecked() && (_et_placas.getText()).equals(""))) { - //BA.debugLineNum = 583;BA.debugLine="If rb_docno15.Checked Or rb_docsi1"; -if (_rb_docno15.getChecked() || _rb_docsi15.getChecked()) { - //BA.debugLineNum = 584;BA.debugLine="If rb_docno16.Checked Or rb_docsi"; -if (_rb_docno16.getChecked() || _rb_docsi16.getChecked()) { - //BA.debugLineNum = 585;BA.debugLine="If rb_docno17.Checked Or rb_docs"; -if (_rb_docno17.getChecked() || _rb_docsi17.getChecked()) { - //BA.debugLineNum = 586;BA.debugLine="If rb_docno18.Checked Or rb_doc"; -if (_rb_docno18.getChecked() || _rb_docsi18.getChecked()) { - //BA.debugLineNum = 587;BA.debugLine="If rb_docno19.Checked Or rb_do"; -if (_rb_docno19.getChecked() || _rb_docsi19.getChecked()) { - //BA.debugLineNum = 588;BA.debugLine="If et_liquidos.Text <> \"\" An"; -if ((_et_liquidos.getText()).equals("") == false && (_rb_docno15.getChecked() || _rb_docno16.getChecked() || _rb_docno17.getChecked() || _rb_docno18.getChecked() || _rb_docno19.getChecked()) || (_et_liquidos.getText()).equals("") && (_rb_docsi15.getChecked() && _rb_docsi16.getChecked() && _rb_docsi17.getChecked() && _rb_docsi18.getChecked() && _rb_docsi19.getChecked())) { - //BA.debugLineNum = 589;BA.debugLine="If nombrefoto <> \"0\" And nom"; -if ((_nombrefoto).equals("0") == false && (_nombrefoto1).equals("0") == false && (_nombrefoto2).equals("0") == false && (_nombrefoto3).equals("0") == false) { - //BA.debugLineNum = 590;BA.debugLine="c = Starter.skmt.ExecQuery("; -_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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 591;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 592;BA.debugLine="Private rutacheck As String"; -_rutacheck = _c.GetString("RUTAA"); - //BA.debugLineNum = 593;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 594;BA.debugLine="Starter.skmt.ExecNonQuery(\""; +RDebugUtils.currentLine=43057179; + //BA.debugLineNum = 43057179;BA.debugLine="If et_km.Text <> \"\" Then"; +if ((__ref._et_km /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=43057180; + //BA.debugLineNum = 43057180;BA.debugLine="If rb_docno1.Checked Or rb_docsi1.Checked Then"; +if (__ref._rb_docno1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057181; + //BA.debugLineNum = 43057181;BA.debugLine="If rb_docno2.Checked Or rb_docsi2.Checked Then"; +if (__ref._rb_docno2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057182; + //BA.debugLineNum = 43057182;BA.debugLine="If rb_docno3.Checked Or rb_docsi3.Checked Then"; +if (__ref._rb_docno3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057183; + //BA.debugLineNum = 43057183;BA.debugLine="If rb_docno4.Checked Or rb_docsi4.Checked The"; +if (__ref._rb_docno4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057184; + //BA.debugLineNum = 43057184;BA.debugLine="If rb_docno5.Checked Or rb_docsi5.Checked Th"; +if (__ref._rb_docno5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057185; + //BA.debugLineNum = 43057185;BA.debugLine="If rb_docno6.Checked Or rb_docsi6.Checked T"; +if (__ref._rb_docno6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057186; + //BA.debugLineNum = 43057186;BA.debugLine="If rb_docno7.Checked Or rb_docsi7.Checked"; +if (__ref._rb_docno7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057187; + //BA.debugLineNum = 43057187;BA.debugLine="If rb_docno8.Checked Or rb_docsi8.Checked"; +if (__ref._rb_docno8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057188; + //BA.debugLineNum = 43057188;BA.debugLine="If rb_docno9.Checked Or rb_docsi9.Checke"; +if (__ref._rb_docno9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057189; + //BA.debugLineNum = 43057189;BA.debugLine="If (rb_docno9.Checked And et_carroceria"; +if ((__ref._rb_docno9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_carroceria /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) || (__ref._rb_docsi9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_carroceria /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(""))) { +RDebugUtils.currentLine=43057190; + //BA.debugLineNum = 43057190;BA.debugLine="If rb_docno11.Checked Or rb_docsi11.Ch"; +if (__ref._rb_docno11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057191; + //BA.debugLineNum = 43057191;BA.debugLine="If (rb_docno11.Checked And et_luces.T"; +if ((__ref._rb_docno11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_luces /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) || (__ref._rb_docsi11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_luces /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(""))) { +RDebugUtils.currentLine=43057192; + //BA.debugLineNum = 43057192;BA.debugLine="If rb_docno13.Checked Or rb_docsi13."; +if (__ref._rb_docno13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057193; + //BA.debugLineNum = 43057193;BA.debugLine="If (rb_docno12.Checked And et_placa"; +if ((__ref._rb_docno12 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_placas /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) || (__ref._rb_docsi13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_placas /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(""))) { +RDebugUtils.currentLine=43057194; + //BA.debugLineNum = 43057194;BA.debugLine="If rb_docno15.Checked Or rb_docsi1"; +if (__ref._rb_docno15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057195; + //BA.debugLineNum = 43057195;BA.debugLine="If rb_docno16.Checked Or rb_docsi"; +if (__ref._rb_docno16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057196; + //BA.debugLineNum = 43057196;BA.debugLine="If rb_docno17.Checked Or rb_docs"; +if (__ref._rb_docno17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057197; + //BA.debugLineNum = 43057197;BA.debugLine="If rb_docno18.Checked Or rb_doc"; +if (__ref._rb_docno18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057198; + //BA.debugLineNum = 43057198;BA.debugLine="If rb_docno19.Checked Or rb_do"; +if (__ref._rb_docno19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=43057199; + //BA.debugLineNum = 43057199;BA.debugLine="If et_liquidos.Text <> \"\" An"; +if ((__ref._et_liquidos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false && (__ref._rb_docno15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docno16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docno17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docno18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docno19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) || (__ref._et_liquidos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") && (__ref._rb_docsi15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && __ref._rb_docsi16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && __ref._rb_docsi17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && __ref._rb_docsi18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && __ref._rb_docsi19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked())) { +RDebugUtils.currentLine=43057200; + //BA.debugLineNum = 43057200;BA.debugLine="If nombrefoto <> \"0\" And nom"; +if ((__ref._nombrefoto /*String*/ ).equals("0") == false && (__ref._nombrefoto1 /*String*/ ).equals("0") == false && (__ref._nombrefoto2 /*String*/ ).equals("0") == false && (__ref._nombrefoto3 /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=43057201; + //BA.debugLineNum = 43057201;BA.debugLine="c = Starter.skmt.ExecQuery("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=43057202; + //BA.debugLineNum = 43057202;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43057203; + //BA.debugLineNum = 43057203;BA.debugLine="Private rutacheck As String"; +_rutacheck = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=43057204; + //BA.debugLineNum = 43057204;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43057205; + //BA.debugLineNum = 43057205;BA.debugLine="Starter.skmt.ExecNonQuery(\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CHECKLIST2"); - //BA.debugLineNum = 595;BA.debugLine="Starter.skmt.ExecNonQuery2("; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CHECKLIST2(USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE,RUTA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ ),(Object)(_l_placa.getText()),(Object)(_checkdate+" "+_checktime),(Object)(_p1),(Object)(_p2),(Object)(_p3),(Object)(_p4),(Object)(_p5),(Object)(_p6),(Object)(_p7),(Object)(_p8),(Object)(_p9),(Object)(_et_carroceria.getText()),(Object)(_p11),(Object)(_et_luces.getText()),(Object)(_p13),(Object)(_et_placas.getText()),(Object)(_itemselect1),(Object)(_itemselect2),(Object)(_itemselect3),(Object)(_itemselect4),(Object)(_p15),(Object)(_p16),(Object)(_p17),(Object)(_p18),(Object)(_p19),(Object)(_et_liquidos.getText()),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto)),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto1)),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto2)),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto3)),(Object)(_et_km.getText()),(Object)(_rutacheck)})); - //BA.debugLineNum = 598;BA.debugLine="mandaPendientes"; -_mandapendientes(); - //BA.debugLineNum = 600;BA.debugLine="rb_docno1.Checked = False"; -_rb_docno1.setChecked(__c.False); - //BA.debugLineNum = 601;BA.debugLine="rb_docno2.Checked = False"; -_rb_docno2.setChecked(__c.False); - //BA.debugLineNum = 602;BA.debugLine="rb_docno3.Checked = False"; -_rb_docno3.setChecked(__c.False); - //BA.debugLineNum = 603;BA.debugLine="rb_docno4.Checked = False"; -_rb_docno4.setChecked(__c.False); - //BA.debugLineNum = 604;BA.debugLine="rb_docno5.Checked = False"; -_rb_docno5.setChecked(__c.False); - //BA.debugLineNum = 605;BA.debugLine="rb_docno6.Checked = False"; -_rb_docno6.setChecked(__c.False); - //BA.debugLineNum = 606;BA.debugLine="rb_docno7.Checked = False"; -_rb_docno7.setChecked(__c.False); - //BA.debugLineNum = 607;BA.debugLine="rb_docno8.Checked = False"; -_rb_docno8.setChecked(__c.False); - //BA.debugLineNum = 608;BA.debugLine="rb_docno9.Checked = False"; -_rb_docno9.setChecked(__c.False); - //BA.debugLineNum = 609;BA.debugLine="rb_docno11.Checked = False"; -_rb_docno11.setChecked(__c.False); - //BA.debugLineNum = 610;BA.debugLine="rb_docno13.Checked = False"; -_rb_docno13.setChecked(__c.False); - //BA.debugLineNum = 611;BA.debugLine="rb_docno15.Checked = False"; -_rb_docno15.setChecked(__c.False); - //BA.debugLineNum = 612;BA.debugLine="rb_docno16.Checked = False"; -_rb_docno16.setChecked(__c.False); - //BA.debugLineNum = 613;BA.debugLine="rb_docno17.Checked = False"; -_rb_docno17.setChecked(__c.False); - //BA.debugLineNum = 614;BA.debugLine="rb_docno18.Checked = False"; -_rb_docno18.setChecked(__c.False); - //BA.debugLineNum = 615;BA.debugLine="rb_docno19.Checked = False"; -_rb_docno19.setChecked(__c.False); - //BA.debugLineNum = 617;BA.debugLine="rb_docsi1.Checked = False"; -_rb_docsi1.setChecked(__c.False); - //BA.debugLineNum = 618;BA.debugLine="rb_docsi2.Checked = False"; -_rb_docsi2.setChecked(__c.False); - //BA.debugLineNum = 619;BA.debugLine="rb_docsi3.Checked = False"; -_rb_docsi3.setChecked(__c.False); - //BA.debugLineNum = 620;BA.debugLine="rb_docsi4.Checked = False"; -_rb_docsi4.setChecked(__c.False); - //BA.debugLineNum = 621;BA.debugLine="rb_docsi5.Checked = False"; -_rb_docsi5.setChecked(__c.False); - //BA.debugLineNum = 622;BA.debugLine="rb_docsi6.Checked = False"; -_rb_docsi6.setChecked(__c.False); - //BA.debugLineNum = 623;BA.debugLine="rb_docsi7.Checked = False"; -_rb_docsi7.setChecked(__c.False); - //BA.debugLineNum = 624;BA.debugLine="rb_docsi8.Checked = False"; -_rb_docsi8.setChecked(__c.False); - //BA.debugLineNum = 625;BA.debugLine="rb_docsi9.Checked = False"; -_rb_docsi9.setChecked(__c.False); - //BA.debugLineNum = 626;BA.debugLine="rb_docsi11.Checked = False"; -_rb_docsi11.setChecked(__c.False); - //BA.debugLineNum = 627;BA.debugLine="rb_docsi13.Checked = False"; -_rb_docsi13.setChecked(__c.False); - //BA.debugLineNum = 628;BA.debugLine="rb_docsi15.Checked = False"; -_rb_docsi15.setChecked(__c.False); - //BA.debugLineNum = 629;BA.debugLine="rb_docsi16.Checked = False"; -_rb_docsi16.setChecked(__c.False); - //BA.debugLineNum = 630;BA.debugLine="rb_docsi17.Checked = False"; -_rb_docsi17.setChecked(__c.False); - //BA.debugLineNum = 631;BA.debugLine="rb_docsi18.Checked = False"; -_rb_docsi18.setChecked(__c.False); - //BA.debugLineNum = 632;BA.debugLine="rb_docsi19.Checked = False"; -_rb_docsi19.setChecked(__c.False); - //BA.debugLineNum = 634;BA.debugLine="cb_deratras.SelectedIndex ="; -_cb_deratras._setselectedindex /*int*/ ((int) (0)); - //BA.debugLineNum = 635;BA.debugLine="cb_derdel.SelectedIndex = 0"; -_cb_derdel._setselectedindex /*int*/ ((int) (0)); - //BA.debugLineNum = 636;BA.debugLine="cb_izqatras.SelectedIndex ="; -_cb_izqatras._setselectedindex /*int*/ ((int) (0)); - //BA.debugLineNum = 637;BA.debugLine="cb_izqdel.SelectedIndex = 0"; -_cb_izqdel._setselectedindex /*int*/ ((int) (0)); - //BA.debugLineNum = 639;BA.debugLine="et_carroceria.Text = \"\""; -_et_carroceria.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 640;BA.debugLine="et_liquidos.Text = \"\""; -_et_liquidos.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 641;BA.debugLine="et_luces.Text = \"\""; -_et_luces.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 642;BA.debugLine="et_placas.Text = \"\""; -_et_placas.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 644;BA.debugLine="ImageView1.Bitmap = LoadBit"; -_imageview1.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"frontal1.png").getObject())); - //BA.debugLineNum = 645;BA.debugLine="ImageView2.Bitmap = LoadBit"; -_imageview2.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"derecha1.png").getObject())); - //BA.debugLineNum = 646;BA.debugLine="ImageView3.Bitmap = LoadBit"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"atras1.png").getObject())); - //BA.debugLineNum = 647;BA.debugLine="ImageView4.Bitmap = LoadBit"; -_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"izquierda1.png").getObject())); - //BA.debugLineNum = 649;BA.debugLine="nombrefoto = \"0\""; -_nombrefoto = "0"; - //BA.debugLineNum = 650;BA.debugLine="nombrefoto1 = \"0\""; -_nombrefoto1 = "0"; - //BA.debugLineNum = 651;BA.debugLine="nombrefoto2 = \"0\""; -_nombrefoto2 = "0"; - //BA.debugLineNum = 652;BA.debugLine="nombrefoto3 = \"0\""; -_nombrefoto3 = "0"; - //BA.debugLineNum = 654;BA.debugLine="B4XPages.ShowPage(\"Principa"; +RDebugUtils.currentLine=43057206; + //BA.debugLineNum = 43057206;BA.debugLine="Starter.skmt.ExecNonQuery2("; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CHECKLIST2(USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE,RUTA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ ),(Object)(__ref._l_placa /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_checkdate+" "+_checktime),(Object)(__ref._p1 /*String*/ ),(Object)(__ref._p2 /*String*/ ),(Object)(__ref._p3 /*String*/ ),(Object)(__ref._p4 /*String*/ ),(Object)(__ref._p5 /*String*/ ),(Object)(__ref._p6 /*String*/ ),(Object)(__ref._p7 /*String*/ ),(Object)(__ref._p8 /*String*/ ),(Object)(__ref._p9 /*String*/ ),(Object)(__ref._et_carroceria /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p11 /*String*/ ),(Object)(__ref._et_luces /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p13 /*String*/ ),(Object)(__ref._et_placas /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._itemselect1 /*String*/ ),(Object)(__ref._itemselect2 /*String*/ ),(Object)(__ref._itemselect3 /*String*/ ),(Object)(__ref._itemselect4 /*String*/ ),(Object)(__ref._p15 /*String*/ ),(Object)(__ref._p16 /*String*/ ),(Object)(__ref._p17 /*String*/ ),(Object)(__ref._p18 /*String*/ ),(Object)(__ref._p19 /*String*/ ),(Object)(__ref._et_liquidos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto /*String*/ )),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto1 /*String*/ )),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto2 /*String*/ )),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto3 /*String*/ )),(Object)(__ref._et_km /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_rutacheck)})); +RDebugUtils.currentLine=43057209; + //BA.debugLineNum = 43057209;BA.debugLine="mandaPendientes"; +__ref._mandapendientes /*String*/ (null); +RDebugUtils.currentLine=43057211; + //BA.debugLineNum = 43057211;BA.debugLine="rb_docno1.Checked = False"; +__ref._rb_docno1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057212; + //BA.debugLineNum = 43057212;BA.debugLine="rb_docno2.Checked = False"; +__ref._rb_docno2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057213; + //BA.debugLineNum = 43057213;BA.debugLine="rb_docno3.Checked = False"; +__ref._rb_docno3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057214; + //BA.debugLineNum = 43057214;BA.debugLine="rb_docno4.Checked = False"; +__ref._rb_docno4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057215; + //BA.debugLineNum = 43057215;BA.debugLine="rb_docno5.Checked = False"; +__ref._rb_docno5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057216; + //BA.debugLineNum = 43057216;BA.debugLine="rb_docno6.Checked = False"; +__ref._rb_docno6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057217; + //BA.debugLineNum = 43057217;BA.debugLine="rb_docno7.Checked = False"; +__ref._rb_docno7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057218; + //BA.debugLineNum = 43057218;BA.debugLine="rb_docno8.Checked = False"; +__ref._rb_docno8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057219; + //BA.debugLineNum = 43057219;BA.debugLine="rb_docno9.Checked = False"; +__ref._rb_docno9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057220; + //BA.debugLineNum = 43057220;BA.debugLine="rb_docno11.Checked = False"; +__ref._rb_docno11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057221; + //BA.debugLineNum = 43057221;BA.debugLine="rb_docno13.Checked = False"; +__ref._rb_docno13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057222; + //BA.debugLineNum = 43057222;BA.debugLine="rb_docno15.Checked = False"; +__ref._rb_docno15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057223; + //BA.debugLineNum = 43057223;BA.debugLine="rb_docno16.Checked = False"; +__ref._rb_docno16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057224; + //BA.debugLineNum = 43057224;BA.debugLine="rb_docno17.Checked = False"; +__ref._rb_docno17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057225; + //BA.debugLineNum = 43057225;BA.debugLine="rb_docno18.Checked = False"; +__ref._rb_docno18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057226; + //BA.debugLineNum = 43057226;BA.debugLine="rb_docno19.Checked = False"; +__ref._rb_docno19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057228; + //BA.debugLineNum = 43057228;BA.debugLine="rb_docsi1.Checked = False"; +__ref._rb_docsi1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057229; + //BA.debugLineNum = 43057229;BA.debugLine="rb_docsi2.Checked = False"; +__ref._rb_docsi2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057230; + //BA.debugLineNum = 43057230;BA.debugLine="rb_docsi3.Checked = False"; +__ref._rb_docsi3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057231; + //BA.debugLineNum = 43057231;BA.debugLine="rb_docsi4.Checked = False"; +__ref._rb_docsi4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057232; + //BA.debugLineNum = 43057232;BA.debugLine="rb_docsi5.Checked = False"; +__ref._rb_docsi5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057233; + //BA.debugLineNum = 43057233;BA.debugLine="rb_docsi6.Checked = False"; +__ref._rb_docsi6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057234; + //BA.debugLineNum = 43057234;BA.debugLine="rb_docsi7.Checked = False"; +__ref._rb_docsi7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057235; + //BA.debugLineNum = 43057235;BA.debugLine="rb_docsi8.Checked = False"; +__ref._rb_docsi8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057236; + //BA.debugLineNum = 43057236;BA.debugLine="rb_docsi9.Checked = False"; +__ref._rb_docsi9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057237; + //BA.debugLineNum = 43057237;BA.debugLine="rb_docsi11.Checked = False"; +__ref._rb_docsi11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057238; + //BA.debugLineNum = 43057238;BA.debugLine="rb_docsi13.Checked = False"; +__ref._rb_docsi13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057239; + //BA.debugLineNum = 43057239;BA.debugLine="rb_docsi15.Checked = False"; +__ref._rb_docsi15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057240; + //BA.debugLineNum = 43057240;BA.debugLine="rb_docsi16.Checked = False"; +__ref._rb_docsi16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057241; + //BA.debugLineNum = 43057241;BA.debugLine="rb_docsi17.Checked = False"; +__ref._rb_docsi17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057242; + //BA.debugLineNum = 43057242;BA.debugLine="rb_docsi18.Checked = False"; +__ref._rb_docsi18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057243; + //BA.debugLineNum = 43057243;BA.debugLine="rb_docsi19.Checked = False"; +__ref._rb_docsi19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=43057245; + //BA.debugLineNum = 43057245;BA.debugLine="cb_deratras.SelectedIndex ="; +__ref._cb_deratras /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setselectedindex /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=43057246; + //BA.debugLineNum = 43057246;BA.debugLine="cb_derdel.SelectedIndex = 0"; +__ref._cb_derdel /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setselectedindex /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=43057247; + //BA.debugLineNum = 43057247;BA.debugLine="cb_izqatras.SelectedIndex ="; +__ref._cb_izqatras /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setselectedindex /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=43057248; + //BA.debugLineNum = 43057248;BA.debugLine="cb_izqdel.SelectedIndex = 0"; +__ref._cb_izqdel /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setselectedindex /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=43057250; + //BA.debugLineNum = 43057250;BA.debugLine="et_carroceria.Text = \"\""; +__ref._et_carroceria /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=43057251; + //BA.debugLineNum = 43057251;BA.debugLine="et_liquidos.Text = \"\""; +__ref._et_liquidos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=43057252; + //BA.debugLineNum = 43057252;BA.debugLine="et_luces.Text = \"\""; +__ref._et_luces /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=43057253; + //BA.debugLineNum = 43057253;BA.debugLine="et_placas.Text = \"\""; +__ref._et_placas /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=43057255; + //BA.debugLineNum = 43057255;BA.debugLine="ImageView1.Bitmap = LoadBit"; +__ref._imageview1 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"frontal1.png").getObject())); +RDebugUtils.currentLine=43057256; + //BA.debugLineNum = 43057256;BA.debugLine="ImageView2.Bitmap = LoadBit"; +__ref._imageview2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"derecha1.png").getObject())); +RDebugUtils.currentLine=43057257; + //BA.debugLineNum = 43057257;BA.debugLine="ImageView3.Bitmap = LoadBit"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"atras1.png").getObject())); +RDebugUtils.currentLine=43057258; + //BA.debugLineNum = 43057258;BA.debugLine="ImageView4.Bitmap = LoadBit"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"izquierda1.png").getObject())); +RDebugUtils.currentLine=43057260; + //BA.debugLineNum = 43057260;BA.debugLine="nombrefoto = \"0\""; +__ref._nombrefoto /*String*/ = "0"; +RDebugUtils.currentLine=43057261; + //BA.debugLineNum = 43057261;BA.debugLine="nombrefoto1 = \"0\""; +__ref._nombrefoto1 /*String*/ = "0"; +RDebugUtils.currentLine=43057262; + //BA.debugLineNum = 43057262;BA.debugLine="nombrefoto2 = \"0\""; +__ref._nombrefoto2 /*String*/ = "0"; +RDebugUtils.currentLine=43057263; + //BA.debugLineNum = 43057263;BA.debugLine="nombrefoto3 = \"0\""; +__ref._nombrefoto3 /*String*/ = "0"; +RDebugUtils.currentLine=43057265; + //BA.debugLineNum = 43057265;BA.debugLine="B4XPages.ShowPage(\"Principa"; _b4xpages._showpage /*String*/ (ba,"Principal"); }else { - //BA.debugLineNum = 656;BA.debugLine="MsgboxAsync(\"Favor de tomar"; +RDebugUtils.currentLine=43057267; + //BA.debugLineNum = 43057267;BA.debugLine="MsgboxAsync(\"Favor de tomar"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de tomar todas las fotos"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 659;BA.debugLine="MsgboxAsync(\"Especifica Fuga"; +RDebugUtils.currentLine=43057270; + //BA.debugLineNum = 43057270;BA.debugLine="MsgboxAsync(\"Especifica Fuga"; __c.MsgboxAsync(BA.ObjectToCharSequence("Especifica Fugas o detallaes en los liquidos"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 662;BA.debugLine="MsgboxAsync(\"Seleeciona una o"; +RDebugUtils.currentLine=43057273; + //BA.debugLineNum = 43057273;BA.debugLine="MsgboxAsync(\"Seleeciona una o"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Fugas"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 665;BA.debugLine="MsgboxAsync(\"Seleeciona una op"; +RDebugUtils.currentLine=43057276; + //BA.debugLineNum = 43057276;BA.debugLine="MsgboxAsync(\"Seleeciona una op"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Aire"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 668;BA.debugLine="MsgboxAsync(\"Seleeciona una opc"; +RDebugUtils.currentLine=43057279; + //BA.debugLineNum = 43057279;BA.debugLine="MsgboxAsync(\"Seleeciona una opc"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Frenos"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 671;BA.debugLine="MsgboxAsync(\"Seleeciona una opci"; +RDebugUtils.currentLine=43057282; + //BA.debugLineNum = 43057282;BA.debugLine="MsgboxAsync(\"Seleeciona una opci"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Anticongelante"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 674;BA.debugLine="MsgboxAsync(\"Seleeciona una opció"; +RDebugUtils.currentLine=43057285; + //BA.debugLineNum = 43057285;BA.debugLine="MsgboxAsync(\"Seleeciona una opció"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Aceite"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 677;BA.debugLine="MsgboxAsync(\"Especifica daños en l"; +RDebugUtils.currentLine=43057288; + //BA.debugLineNum = 43057288;BA.debugLine="MsgboxAsync(\"Especifica daños en l"; __c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en las condiciones de placas"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 680;BA.debugLine="MsgboxAsync(\"Seleeciona una opción"; +RDebugUtils.currentLine=43057291; + //BA.debugLineNum = 43057291;BA.debugLine="MsgboxAsync(\"Seleeciona una opción"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Conciciones de placas de Correcto"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 683;BA.debugLine="MsgboxAsync(\"Especifica daños en las"; +RDebugUtils.currentLine=43057294; + //BA.debugLineNum = 43057294;BA.debugLine="MsgboxAsync(\"Especifica daños en las"; __c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en las luces"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 686;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en"; +RDebugUtils.currentLine=43057297; + //BA.debugLineNum = 43057297;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Funcionamiento de luces de Correcto"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 689;BA.debugLine="MsgboxAsync(\"Especifica daños en la ca"; +RDebugUtils.currentLine=43057300; + //BA.debugLineNum = 43057300;BA.debugLine="MsgboxAsync(\"Especifica daños en la ca"; __c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en la carrocería"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 692;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en C"; +RDebugUtils.currentLine=43057303; + //BA.debugLineNum = 43057303;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en C"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Carrocería de Buen estado"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 695;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Se"; +RDebugUtils.currentLine=43057306; + //BA.debugLineNum = 43057306;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Se"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de Llanta de refacción"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 698;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Seg"; +RDebugUtils.currentLine=43057309; + //BA.debugLineNum = 43057309;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Seg"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de gato"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 701;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Segu"; +RDebugUtils.currentLine=43057312; + //BA.debugLineNum = 43057312;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Segu"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de Triagulo reflectante"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 704;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpi"; +RDebugUtils.currentLine=43057315; + //BA.debugLineNum = 43057315;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpi"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Limpieza unidad interna"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 707;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpie"; +RDebugUtils.currentLine=43057318; + //BA.debugLineNum = 43057318;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpie"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Limpieza unidad externa"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 710;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documen"; +RDebugUtils.currentLine=43057321; + //BA.debugLineNum = 43057321;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documen"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de Licencia de conducir"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 713;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Document"; +RDebugUtils.currentLine=43057324; + //BA.debugLineNum = 43057324;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Document"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de Póliza de seguro"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 716;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documenta"; +RDebugUtils.currentLine=43057327; + //BA.debugLineNum = 43057327;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documenta"; __c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de tarjeta de circulación"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 719;BA.debugLine="MsgboxAsync(\"Captura el kilometraje inicial.\",\"A"; +RDebugUtils.currentLine=43057330; + //BA.debugLineNum = 43057330;BA.debugLine="MsgboxAsync(\"Captura el kilometraje inicial.\",\"A"; __c.MsgboxAsync(BA.ObjectToCharSequence("Captura el kilometraje inicial."),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 722;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43057333; + //BA.debugLineNum = 43057333;BA.debugLine="End Sub"; return ""; } -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); +public String _mandapendientes(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "mandapendientes", false)) + {return ((String) Debug.delegate(ba, "mandapendientes", null));} +int _i = 0; +reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=43122688; + //BA.debugLineNum = 43122688;BA.debugLine="Sub mandaPendientes"; +RDebugUtils.currentLine=43122689; + //BA.debugLineNum = 43122689;BA.debugLine="Log(\"MandaPendientes\")"; +__c.LogImpl("243122689","MandaPendientes",0); +RDebugUtils.currentLine=43122691; + //BA.debugLineNum = 43122691;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLACA,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4 FROM CHECKLIST2"))); +RDebugUtils.currentLine=43122692; + //BA.debugLineNum = 43122692;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("243122692",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=43122693; + //BA.debugLineNum = 43122693;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=43122694; + //BA.debugLineNum = 43122694;BA.debugLine="For i = 0 To c.RowCount -1"; +{ +final int step5 = 1; +final int limit5 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=43122695; + //BA.debugLineNum = 43122695;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=43122696; + //BA.debugLineNum = 43122696;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=43122698; + //BA.debugLineNum = 43122698;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; +__ref._foto1 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO1"); +RDebugUtils.currentLine=43122699; + //BA.debugLineNum = 43122699;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; +__ref._foto2 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO12"); +RDebugUtils.currentLine=43122700; + //BA.debugLineNum = 43122700;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; +__ref._foto3 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO3"); +RDebugUtils.currentLine=43122701; + //BA.debugLineNum = 43122701;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; +__ref._foto4 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO4"); +RDebugUtils.currentLine=43122703; + //BA.debugLineNum = 43122703;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=43122704; + //BA.debugLineNum = 43122704;BA.debugLine="cmd.Name = \"insert_CHECK_MARDS\""; +_cmd.Name /*String*/ = "insert_CHECK_MARDS"; +RDebugUtils.currentLine=43122705; + //BA.debugLineNum = 43122705;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"U"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PLACA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FECHA_CAPTURA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TARJETA_CIRCULACION")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POLIZA_SEGURO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LICENCIA_CONDUCIR")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LIMPIA_EXTERNA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LIMPIA_INTERNA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TRIANGULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("GATO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LLANTA_REFACCION")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CARROCERIA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CARROCERIA_COMENTARIOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LUCES")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LUCES_COMENTARIOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_PLACAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_PLACAS_COMENTARIOS"))}; +RDebugUtils.currentLine=43122706; + //BA.debugLineNum = 43122706;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_checkliPe"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)(("ins_checkliPendientes_head_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO")))+""))); + } +}; + }; +RDebugUtils.currentLine=43122709; + //BA.debugLineNum = 43122709;BA.debugLine="End Sub"; +return ""; +} +public void _b4xpage_appear(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(reparto_intmex.keymon.lat.c_cheklist parent) { +public ResumableSub_B4XPage_Appear(reparto_intmex.keymon.lat.c_cheklist parent,reparto_intmex.keymon.lat.c_cheklist __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_cheklist __ref; reparto_intmex.keymon.lat.c_cheklist parent; String _permission = ""; boolean _result = false; @@ -460,6 +686,7 @@ int _res = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; while (true) { switch (state) { @@ -469,29 +696,37 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 143;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PLACA FROM HIS"; -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 PLACA FROM HIST_VENTAS"))); - //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("84521987",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"; -parent._c.Close(); - //BA.debugLineNum = 148;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=39911425; + //BA.debugLineNum = 39911425;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PLACA FROM HIS"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PLACA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=39911426; + //BA.debugLineNum = 39911426;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=39911427; + //BA.debugLineNum = 39911427;BA.debugLine="Log(c.GetString(\"PLACA\"))"; +parent.__c.LogImpl("239911427",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PLACA"),0); +RDebugUtils.currentLine=39911428; + //BA.debugLineNum = 39911428;BA.debugLine="l_placa.Text = c.GetString(\"PLACA\")"; +__ref._l_placa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PLACA"))); +RDebugUtils.currentLine=39911429; + //BA.debugLineNum = 39911429;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=39911430; + //BA.debugLineNum = 39911430;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA); - //BA.debugLineNum = 149;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=39911431; + //BA.debugLineNum = 39911431;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "b4xpage_appear"), null); this.state = 17; return; case 17: //C this.state = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 150;BA.debugLine="If Result Then"; +RDebugUtils.currentLine=39911432; + //BA.debugLineNum = 39911432;BA.debugLine="If Result Then"; if (true) break; case 1: @@ -506,14 +741,16 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 153;BA.debugLine="Log(\"inicializamos Camara\")"; -parent.__c.LogImpl("84521995","inicializamos Camara",0); +RDebugUtils.currentLine=39911435; + //BA.debugLineNum = 39911435;BA.debugLine="Log(\"inicializamos Camara\")"; +parent.__c.LogImpl("239911435","inicializamos Camara",0); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 155;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; +RDebugUtils.currentLine=39911437; + //BA.debugLineNum = 39911437;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True); if (true) break; @@ -521,11 +758,14 @@ case 6: //C this.state = 7; ; - //BA.debugLineNum = 157;BA.debugLine="MES1.Initialize(Me, \"MES1\")"; -parent._mes1._initialize /*String*/ (ba,parent,"MES1"); - //BA.debugLineNum = 160;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion"; -_sdkversion = parent._device.getSdkVersion(); - //BA.debugLineNum = 163;BA.debugLine="If SdkVersion < 30 Then"; +RDebugUtils.currentLine=39911439; + //BA.debugLineNum = 39911439;BA.debugLine="MES1.Initialize(Me, \"MES1\")"; +__ref._mes1 /*reparto_intmex.keymon.lat.manageexternalstorage*/ ._initialize /*String*/ (null,ba,parent,"MES1"); +RDebugUtils.currentLine=39911442; + //BA.debugLineNum = 39911442;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion"; +_sdkversion = __ref._device /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion(); +RDebugUtils.currentLine=39911445; + //BA.debugLineNum = 39911445;BA.debugLine="If SdkVersion < 30 Then"; if (true) break; case 7: @@ -540,63 +780,76 @@ this.state = 11; case 9: //C this.state = 16; - //BA.debugLineNum = 164;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting WRITE"; -parent.__c.LogImpl("84522006","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0); - //BA.debugLineNum = 165;BA.debugLine="Dim rp As RuntimePermissions"; +RDebugUtils.currentLine=39911446; + //BA.debugLineNum = 39911446;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting WRITE"; +parent.__c.LogImpl("239911446","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0); +RDebugUtils.currentLine=39911447; + //BA.debugLineNum = 39911447;BA.debugLine="Dim rp As RuntimePermissions"; _rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 166;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; +RDebugUtils.currentLine=39911448; + //BA.debugLineNum = 39911448;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; _rp.CheckAndRequest(ba,_rp.PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 167;BA.debugLine="Wait For Activity_PermissionResult (Permission A"; -parent.__c.WaitFor("activity_permissionresult", ba, this, null); +RDebugUtils.currentLine=39911449; + //BA.debugLineNum = 39911449;BA.debugLine="Wait For Activity_PermissionResult (Permission A"; +parent.__c.WaitFor("activity_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "b4xpage_appear"), null); this.state = 18; return; case 18: //C this.state = 16; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 168;BA.debugLine="Log($\"PERMISSION_WRITE_EXTERNAL_STORAGE = ${Resu"; -parent.__c.LogImpl("84522010",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0); +RDebugUtils.currentLine=39911450; + //BA.debugLineNum = 39911450;BA.debugLine="Log($\"PERMISSION_WRITE_EXTERNAL_STORAGE = ${Resu"; +parent.__c.LogImpl("239911450",("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("84522012","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("84522013","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0); - //BA.debugLineNum = 172;BA.debugLine="If Not(MES1.HasPermission) Then"; +RDebugUtils.currentLine=39911452; + //BA.debugLineNum = 39911452;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting MANAG"; +parent.__c.LogImpl("239911452","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0); +RDebugUtils.currentLine=39911453; + //BA.debugLineNum = 39911453;BA.debugLine="Log(\"On Entry MANAGE_EXTERNAL_STORAGE = \" & MES1"; +parent.__c.LogImpl("239911453","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(__ref._mes1 /*reparto_intmex.keymon.lat.manageexternalstorage*/ ._haspermission /*boolean*/ (null)),0); +RDebugUtils.currentLine=39911454; + //BA.debugLineNum = 39911454;BA.debugLine="If Not(MES1.HasPermission) Then"; if (true) break; case 12: //if this.state = 15; -if (parent.__c.Not(parent._mes1._haspermission /*boolean*/ ())) { +if (parent.__c.Not(__ref._mes1 /*reparto_intmex.keymon.lat.manageexternalstorage*/ ._haspermission /*boolean*/ (null))) { this.state = 14; }if (true) break; case 14: //C this.state = 15; - //BA.debugLineNum = 173;BA.debugLine="MsgboxAsync(\"Esta aplicación requiere acceso a"; +RDebugUtils.currentLine=39911455; + //BA.debugLineNum = 39911455;BA.debugLine="MsgboxAsync(\"Esta aplicación requiere acceso a"; parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Esta aplicación requiere acceso a todos los archivos, habilite la opción"),BA.ObjectToCharSequence("Administrar todos los archivos"),ba); - //BA.debugLineNum = 174;BA.debugLine="Wait For Msgbox_Result(Res As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=39911456; + //BA.debugLineNum = 39911456;BA.debugLine="Wait For Msgbox_Result(Res As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "b4xpage_appear"), null); this.state = 19; return; case 19: //C this.state = 15; -_res = (Integer) result[0]; +_res = (Integer) result[1]; ; - //BA.debugLineNum = 175;BA.debugLine="Log(\"Getting permission\")"; -parent.__c.LogImpl("84522017","Getting permission",0); - //BA.debugLineNum = 176;BA.debugLine="MES1.GetPermission"; -parent._mes1._getpermission /*String*/ (); - //BA.debugLineNum = 177;BA.debugLine="Wait For MES_StorageAvailable"; -parent.__c.WaitFor("mes_storageavailable", ba, this, null); +RDebugUtils.currentLine=39911457; + //BA.debugLineNum = 39911457;BA.debugLine="Log(\"Getting permission\")"; +parent.__c.LogImpl("239911457","Getting permission",0); +RDebugUtils.currentLine=39911458; + //BA.debugLineNum = 39911458;BA.debugLine="MES1.GetPermission"; +__ref._mes1 /*reparto_intmex.keymon.lat.manageexternalstorage*/ ._getpermission /*String*/ (null); +RDebugUtils.currentLine=39911459; + //BA.debugLineNum = 39911459;BA.debugLine="Wait For MES_StorageAvailable"; +parent.__c.WaitFor("mes_storageavailable", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "b4xpage_appear"), null); this.state = 20; return; case 20: @@ -615,36 +868,37 @@ case 16: //C this.state = -1; ; - //BA.debugLineNum = 180;BA.debugLine="p_camara.Visible = False"; -parent._p_camara.setVisible(parent.__c.False); - //BA.debugLineNum = 198;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39911462; + //BA.debugLineNum = 39911462;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=39911480; + //BA.debugLineNum = 39911480;BA.debugLine="End Sub"; if (true) break; } } } } -public void _b4xpage_permissionresult(String _permission,boolean _result) throws Exception{ -} -public void _activity_permissionresult(String _permission,boolean _result) throws Exception{ -} -public void _msgbox_result(int _res) throws Exception{ -} -public void _mes_storageavailable() throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_cheklist parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_cheklist parent,reparto_intmex.keymon.lat.c_cheklist __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_cheklist __ref; reparto_intmex.keymon.lat.c_cheklist parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; while (true) { switch (state) { @@ -654,13 +908,14 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 202;BA.debugLine="If p_camara.visible Then"; +RDebugUtils.currentLine=39976962; + //BA.debugLineNum = 39976962;BA.debugLine="If p_camara.visible Then"; if (true) break; case 1: //if this.state = 6; -if (parent._p_camara.getVisible()) { +if (__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { this.state = 3; }else { this.state = 5; @@ -669,16 +924,19 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 203;BA.debugLine="p_camara.visible = False"; -parent._p_camara.setVisible(parent.__c.False); - //BA.debugLineNum = 204;BA.debugLine="StopCamera2"; -parent._stopcamera2(); +RDebugUtils.currentLine=39976963; + //BA.debugLineNum = 39976963;BA.debugLine="p_camara.visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=39976964; + //BA.debugLineNum = 39976964;BA.debugLine="StopCamera2"; +__ref._stopcamera2 /*String*/ (null); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 206;BA.debugLine="B4XPages.ShowPage(\"principal\")"; +RDebugUtils.currentLine=39976966; + //BA.debugLineNum = 39976966;BA.debugLine="B4XPages.ShowPage(\"principal\")"; parent._b4xpages._showpage /*String*/ (ba,"principal"); if (true) break; @@ -686,569 +944,827 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 209;BA.debugLine="Return False"; +RDebugUtils.currentLine=39976969; + //BA.debugLineNum = 39976969;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 210;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39976970; + //BA.debugLineNum = 39976970;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -anywheresoftware.b4a.objects.collections.List _items = null; - //BA.debugLineNum = 111;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 112;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 113;BA.debugLine="Root.LoadLayout(\"checklist\")"; -_root.LoadLayout("checklist",ba); - //BA.debugLineNum = 115;BA.debugLine="sv_datos.Height = Root.Height"; -_sv_datos.setHeight(_root.getHeight()); - //BA.debugLineNum = 116;BA.debugLine="sv_datos.Width = Root.Width"; -_sv_datos.setWidth(_root.getWidth()); - //BA.debugLineNum = 117;BA.debugLine="sv_datos.Panel.LoadLayout(\"check\")"; -_sv_datos.getPanel().LoadLayout("check",ba); - //BA.debugLineNum = 118;BA.debugLine="sv_datos.Panel.Height = p_check.Height"; -_sv_datos.getPanel().setHeight(_p_check.getHeight()); - //BA.debugLineNum = 119;BA.debugLine="p_check.Width = Root.Width"; -_p_check.setWidth(_root.getWidth()); - //BA.debugLineNum = 120;BA.debugLine="p_camara.Width = Root.Width"; -_p_camara.setWidth(_root.getWidth()); - //BA.debugLineNum = 121;BA.debugLine="p_camara.Height = Root.Height"; -_p_camara.setHeight(_root.getHeight()); - //BA.debugLineNum = 124;BA.debugLine="Dim items As List"; -_items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 125;BA.debugLine="items.Initialize"; -_items.Initialize(); - //BA.debugLineNum = 126;BA.debugLine="items.Add(\"100%\")"; -_items.Add((Object)("100%")); - //BA.debugLineNum = 127;BA.debugLine="items.Add(\"75%\")"; -_items.Add((Object)("75%")); - //BA.debugLineNum = 128;BA.debugLine="items.Add(\"50%\")"; -_items.Add((Object)("50%")); - //BA.debugLineNum = 129;BA.debugLine="items.Add(\"25%\")"; -_items.Add((Object)("25%")); - //BA.debugLineNum = 130;BA.debugLine="cb_deratras.SetItems(items)"; -_cb_deratras._setitems /*String*/ (_items); - //BA.debugLineNum = 131;BA.debugLine="cb_izqatras.SetItems(items)"; -_cb_izqatras._setitems /*String*/ (_items); - //BA.debugLineNum = 132;BA.debugLine="cb_derdel.SetItems(items)"; -_cb_derdel._setitems /*String*/ (_items); - //BA.debugLineNum = 133;BA.debugLine="cb_izqdel.SetItems(items)"; -_cb_izqdel._setitems /*String*/ (_items); - //BA.debugLineNum = 134;BA.debugLine="itemselect1 = \"100%\""; -_itemselect1 = "100%"; - //BA.debugLineNum = 135;BA.debugLine="itemselect2 = \"100%\""; -_itemselect2 = "100%"; - //BA.debugLineNum = 136;BA.debugLine="itemselect3 = \"100%\""; -_itemselect3 = "100%"; - //BA.debugLineNum = 137;BA.debugLine="itemselect4 = \"100%\""; -_itemselect4 = "100%"; - //BA.debugLineNum = 139;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 140;BA.debugLine="End Sub"; +public String _stopcamera2(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "stopcamera2", false)) + {return ((String) Debug.delegate(ba, "stopcamera2", null));} +RDebugUtils.currentLine=40370176; + //BA.debugLineNum = 40370176;BA.debugLine="Private Sub StopCamera2"; +RDebugUtils.currentLine=40370178; + //BA.debugLineNum = 40370178;BA.debugLine="If camEx.IsInitialized Then"; +if (__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ .IsInitialized /*boolean*/ ()) { +RDebugUtils.currentLine=40370179; + //BA.debugLineNum = 40370179;BA.debugLine="camEx.Release"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._release /*String*/ (null); + }; +RDebugUtils.currentLine=40370181; + //BA.debugLineNum = 40370181;BA.debugLine="End Sub"; return ""; } -public String _camera1_picturetaken(byte[] _data) throws Exception{ +public String _b4xpage_created(reparto_intmex.keymon.lat.c_cheklist __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +anywheresoftware.b4a.objects.collections.List _items = null; +RDebugUtils.currentLine=39845888; + //BA.debugLineNum = 39845888;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=39845889; + //BA.debugLineNum = 39845889;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=39845890; + //BA.debugLineNum = 39845890;BA.debugLine="Root.LoadLayout(\"checklist\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("checklist",ba); +RDebugUtils.currentLine=39845892; + //BA.debugLineNum = 39845892;BA.debugLine="sv_datos.Height = Root.Height"; +__ref._sv_datos /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=39845893; + //BA.debugLineNum = 39845893;BA.debugLine="sv_datos.Width = Root.Width"; +__ref._sv_datos /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=39845894; + //BA.debugLineNum = 39845894;BA.debugLine="sv_datos.Panel.LoadLayout(\"check\")"; +__ref._sv_datos /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("check",ba); +RDebugUtils.currentLine=39845895; + //BA.debugLineNum = 39845895;BA.debugLine="sv_datos.Panel.Height = p_check.Height"; +__ref._sv_datos /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight(__ref._p_check /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=39845896; + //BA.debugLineNum = 39845896;BA.debugLine="p_check.Width = Root.Width"; +__ref._p_check /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=39845897; + //BA.debugLineNum = 39845897;BA.debugLine="p_camara.Width = Root.Width"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=39845898; + //BA.debugLineNum = 39845898;BA.debugLine="p_camara.Height = Root.Height"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=39845901; + //BA.debugLineNum = 39845901;BA.debugLine="Dim items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=39845902; + //BA.debugLineNum = 39845902;BA.debugLine="items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=39845903; + //BA.debugLineNum = 39845903;BA.debugLine="items.Add(\"100%\")"; +_items.Add((Object)("100%")); +RDebugUtils.currentLine=39845904; + //BA.debugLineNum = 39845904;BA.debugLine="items.Add(\"75%\")"; +_items.Add((Object)("75%")); +RDebugUtils.currentLine=39845905; + //BA.debugLineNum = 39845905;BA.debugLine="items.Add(\"50%\")"; +_items.Add((Object)("50%")); +RDebugUtils.currentLine=39845906; + //BA.debugLineNum = 39845906;BA.debugLine="items.Add(\"25%\")"; +_items.Add((Object)("25%")); +RDebugUtils.currentLine=39845907; + //BA.debugLineNum = 39845907;BA.debugLine="cb_deratras.SetItems(items)"; +__ref._cb_deratras /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=39845908; + //BA.debugLineNum = 39845908;BA.debugLine="cb_izqatras.SetItems(items)"; +__ref._cb_izqatras /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=39845909; + //BA.debugLineNum = 39845909;BA.debugLine="cb_derdel.SetItems(items)"; +__ref._cb_derdel /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=39845910; + //BA.debugLineNum = 39845910;BA.debugLine="cb_izqdel.SetItems(items)"; +__ref._cb_izqdel /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=39845911; + //BA.debugLineNum = 39845911;BA.debugLine="itemselect1 = \"100%\""; +__ref._itemselect1 /*String*/ = "100%"; +RDebugUtils.currentLine=39845912; + //BA.debugLineNum = 39845912;BA.debugLine="itemselect2 = \"100%\""; +__ref._itemselect2 /*String*/ = "100%"; +RDebugUtils.currentLine=39845913; + //BA.debugLineNum = 39845913;BA.debugLine="itemselect3 = \"100%\""; +__ref._itemselect3 /*String*/ = "100%"; +RDebugUtils.currentLine=39845914; + //BA.debugLineNum = 39845914;BA.debugLine="itemselect4 = \"100%\""; +__ref._itemselect4 /*String*/ = "100%"; +RDebugUtils.currentLine=39845916; + //BA.debugLineNum = 39845916;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=39845917; + //BA.debugLineNum = 39845917;BA.debugLine="End Sub"; +return ""; +} +public String _camera1_picturetaken(reparto_intmex.keymon.lat.c_cheklist __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "camera1_picturetaken", false)) + {return ((String) Debug.delegate(ba, "camera1_picturetaken", new Object[] {_data}));} String _filename = ""; String _dirp = ""; String _dir = ""; String _dir2 = ""; anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 238;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)"; - //BA.debugLineNum = 239;BA.debugLine="If x = 1 Then"; -if (_x==1) { - //BA.debugLineNum = 240;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +RDebugUtils.currentLine=40173568; + //BA.debugLineNum = 40173568;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)"; +RDebugUtils.currentLine=40173569; + //BA.debugLineNum = 40173569;BA.debugLine="If x = 1 Then"; +if (__ref._x /*int*/ ==1) { +RDebugUtils.currentLine=40173570; + //BA.debugLineNum = 40173570;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; __c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 241;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\""; -_nombrefoto = BA.NumberToString(__c.DateTime.getNow())+"_FOTO1.jpg"; - //BA.debugLineNum = 242;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 243;BA.debugLine="fototomada = nombrefoto"; -_fototomada = _nombrefoto; - }else if(_x==2) { - //BA.debugLineNum = 246;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +RDebugUtils.currentLine=40173571; + //BA.debugLineNum = 40173571;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\""; +__ref._nombrefoto /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO1.jpg"; +RDebugUtils.currentLine=40173572; + //BA.debugLineNum = 40173572;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=40173573; + //BA.debugLineNum = 40173573;BA.debugLine="fototomada = nombrefoto"; +__ref._fototomada /*String*/ = __ref._nombrefoto /*String*/ ; + }else +{RDebugUtils.currentLine=40173575; + //BA.debugLineNum = 40173575;BA.debugLine="Else If x = 2 Then"; +if (__ref._x /*int*/ ==2) { +RDebugUtils.currentLine=40173576; + //BA.debugLineNum = 40173576;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; __c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 247;BA.debugLine="nombrefoto1 = DateTime.Now & \"_FOTO2.jpg\""; -_nombrefoto1 = BA.NumberToString(__c.DateTime.getNow())+"_FOTO2.jpg"; - //BA.debugLineNum = 248;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 249;BA.debugLine="fototomada = nombrefoto1"; -_fototomada = _nombrefoto1; - }else if(_x==3) { - //BA.debugLineNum = 252;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +RDebugUtils.currentLine=40173577; + //BA.debugLineNum = 40173577;BA.debugLine="nombrefoto1 = DateTime.Now & \"_FOTO2.jpg\""; +__ref._nombrefoto1 /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO2.jpg"; +RDebugUtils.currentLine=40173578; + //BA.debugLineNum = 40173578;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=40173579; + //BA.debugLineNum = 40173579;BA.debugLine="fototomada = nombrefoto1"; +__ref._fototomada /*String*/ = __ref._nombrefoto1 /*String*/ ; + }else +{RDebugUtils.currentLine=40173581; + //BA.debugLineNum = 40173581;BA.debugLine="Else If x = 3 Then"; +if (__ref._x /*int*/ ==3) { +RDebugUtils.currentLine=40173582; + //BA.debugLineNum = 40173582;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; __c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 253;BA.debugLine="nombrefoto2 = DateTime.Now & \"_FOTO3.jpg\""; -_nombrefoto2 = BA.NumberToString(__c.DateTime.getNow())+"_FOTO3.jpg"; - //BA.debugLineNum = 254;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 255;BA.debugLine="fototomada = nombrefoto2"; -_fototomada = _nombrefoto2; - }else if(_x==4) { - //BA.debugLineNum = 258;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +RDebugUtils.currentLine=40173583; + //BA.debugLineNum = 40173583;BA.debugLine="nombrefoto2 = DateTime.Now & \"_FOTO3.jpg\""; +__ref._nombrefoto2 /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO3.jpg"; +RDebugUtils.currentLine=40173584; + //BA.debugLineNum = 40173584;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=40173585; + //BA.debugLineNum = 40173585;BA.debugLine="fototomada = nombrefoto2"; +__ref._fototomada /*String*/ = __ref._nombrefoto2 /*String*/ ; + }else +{RDebugUtils.currentLine=40173587; + //BA.debugLineNum = 40173587;BA.debugLine="Else If x = 4 Then"; +if (__ref._x /*int*/ ==4) { +RDebugUtils.currentLine=40173588; + //BA.debugLineNum = 40173588;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; __c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 259;BA.debugLine="nombrefoto3 = DateTime.Now & \"_FOTO4.jpg\""; -_nombrefoto3 = BA.NumberToString(__c.DateTime.getNow())+"_FOTO4.jpg"; - //BA.debugLineNum = 260;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 261;BA.debugLine="fototomada = nombrefoto3"; -_fototomada = _nombrefoto3; - }; - //BA.debugLineNum = 265;BA.debugLine="Log(\"tome foto\")"; -__c.LogImpl("84784155","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"; +RDebugUtils.currentLine=40173589; + //BA.debugLineNum = 40173589;BA.debugLine="nombrefoto3 = DateTime.Now & \"_FOTO4.jpg\""; +__ref._nombrefoto3 /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO4.jpg"; +RDebugUtils.currentLine=40173590; + //BA.debugLineNum = 40173590;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=40173591; + //BA.debugLineNum = 40173591;BA.debugLine="fototomada = nombrefoto3"; +__ref._fototomada /*String*/ = __ref._nombrefoto3 /*String*/ ; + }}}} +; +RDebugUtils.currentLine=40173595; + //BA.debugLineNum = 40173595;BA.debugLine="Log(\"tome foto\")"; +__c.LogImpl("240173595","tome foto",0); +RDebugUtils.currentLine=40173596; + //BA.debugLineNum = 40173596;BA.debugLine="Dim filename As String = fototomada"; +_filename = __ref._fototomada /*String*/ ; +RDebugUtils.currentLine=40173597; + //BA.debugLineNum = 40173597;BA.debugLine="Dim Dirp As String = File.DirInternal"; _dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 268;BA.debugLine="Dim Dir As String"; +RDebugUtils.currentLine=40173598; + //BA.debugLineNum = 40173598;BA.debugLine="Dim Dir As String"; _dir = ""; - //BA.debugLineNum = 269;BA.debugLine="Dim Dir2 As String"; +RDebugUtils.currentLine=40173599; + //BA.debugLineNum = 40173599;BA.debugLine="Dim Dir2 As String"; _dir2 = ""; - //BA.debugLineNum = 270;BA.debugLine="Try"; -try { //BA.debugLineNum = 271;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; +RDebugUtils.currentLine=40173600; + //BA.debugLineNum = 40173600;BA.debugLine="Try"; +try {RDebugUtils.currentLine=40173601; + //BA.debugLineNum = 40173601;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; __c.File.MakeDir(_dirp,"/md"); - //BA.debugLineNum = 272;BA.debugLine="Dir = \"/md\""; +RDebugUtils.currentLine=40173602; + //BA.debugLineNum = 40173602;BA.debugLine="Dir = \"/md\""; _dir = "/md"; - //BA.debugLineNum = 273;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; -__c.LogImpl("84784163","creado en promotoria "+_dirp+_dir,0); +RDebugUtils.currentLine=40173603; + //BA.debugLineNum = 40173603;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; +__c.LogImpl("240173603","creado en promotoria "+_dirp+_dir,0); } catch (Exception e32) { - ba.setLastException(e32); //BA.debugLineNum = 275;BA.debugLine="Dir = \"\""; + ba.setLastException(e32);RDebugUtils.currentLine=40173605; + //BA.debugLineNum = 40173605;BA.debugLine="Dir = \"\""; _dir = ""; - //BA.debugLineNum = 276;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("84784166","creado en raiz",0); +RDebugUtils.currentLine=40173606; + //BA.debugLineNum = 40173606;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("240173606","creado en raiz",0); }; - //BA.debugLineNum = 279;BA.debugLine="Try"; -try { //BA.debugLineNum = 280;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; +RDebugUtils.currentLine=40173609; + //BA.debugLineNum = 40173609;BA.debugLine="Try"; +try {RDebugUtils.currentLine=40173610; + //BA.debugLineNum = 40173610;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; __c.File.MakeDir(_dirp+_dir,"/reduccion"); - //BA.debugLineNum = 281;BA.debugLine="Dir2 = \"/reduccion\""; +RDebugUtils.currentLine=40173611; + //BA.debugLineNum = 40173611;BA.debugLine="Dir2 = \"/reduccion\""; _dir2 = "/reduccion"; - //BA.debugLineNum = 282;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; -__c.LogImpl("84784172","creado en promotoria "+_dirp+_dir+_dir2,0); +RDebugUtils.currentLine=40173612; + //BA.debugLineNum = 40173612;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; +__c.LogImpl("240173612","creado en promotoria "+_dirp+_dir+_dir2,0); } catch (Exception e40) { - ba.setLastException(e40); //BA.debugLineNum = 284;BA.debugLine="Dir = \"\""; + ba.setLastException(e40);RDebugUtils.currentLine=40173614; + //BA.debugLineNum = 40173614;BA.debugLine="Dir = \"\""; _dir = ""; - //BA.debugLineNum = 285;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("84784175","creado en raiz",0); +RDebugUtils.currentLine=40173615; + //BA.debugLineNum = 40173615;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("240173615","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("84784181","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("84784184",_nombrefoto,0); - //BA.debugLineNum = 295;BA.debugLine="Log(nombrefoto1)"; -__c.LogImpl("84784185",_nombrefoto1,0); - //BA.debugLineNum = 296;BA.debugLine="Log(nombrefoto2)"; -__c.LogImpl("84784186",_nombrefoto2,0); - //BA.debugLineNum = 297;BA.debugLine="Log(nombrefoto3)"; -__c.LogImpl("84784187",_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"; +RDebugUtils.currentLine=40173618; + //BA.debugLineNum = 40173618;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._savepicturetofile /*String*/ (null,_data,_dirp+_dir,_filename); +RDebugUtils.currentLine=40173619; + //BA.debugLineNum = 40173619;BA.debugLine="camEx.StartPreview 'restart preview"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=40173621; + //BA.debugLineNum = 40173621;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi"; +__c.LogImpl("240173621","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); +RDebugUtils.currentLine=40173622; + //BA.debugLineNum = 40173622;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=40173624; + //BA.debugLineNum = 40173624;BA.debugLine="Log(nombrefoto)"; +__c.LogImpl("240173624",__ref._nombrefoto /*String*/ ,0); +RDebugUtils.currentLine=40173625; + //BA.debugLineNum = 40173625;BA.debugLine="Log(nombrefoto1)"; +__c.LogImpl("240173625",__ref._nombrefoto1 /*String*/ ,0); +RDebugUtils.currentLine=40173626; + //BA.debugLineNum = 40173626;BA.debugLine="Log(nombrefoto2)"; +__c.LogImpl("240173626",__ref._nombrefoto2 /*String*/ ,0); +RDebugUtils.currentLine=40173627; + //BA.debugLineNum = 40173627;BA.debugLine="Log(nombrefoto3)"; +__c.LogImpl("240173627",__ref._nombrefoto3 /*String*/ ,0); +RDebugUtils.currentLine=40173629; + //BA.debugLineNum = 40173629;BA.debugLine="If nombrefoto <> \"0\" Then"; +if ((__ref._nombrefoto /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=40173630; + //BA.debugLineNum = 40173630;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; _img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_img = _xui.LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); - //BA.debugLineNum = 301;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +_img = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); +RDebugUtils.currentLine=40173631; + //BA.debugLineNum = 40173631;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.True); - //BA.debugLineNum = 302;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +RDebugUtils.currentLine=40173632; + //BA.debugLineNum = 40173632;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; _img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 305;BA.debugLine="out.Close"; +RDebugUtils.currentLine=40173635; + //BA.debugLineNum = 40173635;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 306;BA.debugLine="ImageView1.Bitmap = LoadBitmap(File.DirInternal"; -_imageview1.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto).getObject())); +RDebugUtils.currentLine=40173636; + //BA.debugLineNum = 40173636;BA.debugLine="ImageView1.Bitmap = LoadBitmap(File.DirInternal"; +__ref._imageview1 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto /*String*/ ).getObject())); }; - //BA.debugLineNum = 310;BA.debugLine="If nombrefoto1 <> \"0\" Then"; -if ((_nombrefoto1).equals("0") == false) { - //BA.debugLineNum = 311;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; +RDebugUtils.currentLine=40173640; + //BA.debugLineNum = 40173640;BA.debugLine="If nombrefoto1 <> \"0\" Then"; +if ((__ref._nombrefoto1 /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=40173641; + //BA.debugLineNum = 40173641;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; _img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_img = _xui.LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); - //BA.debugLineNum = 312;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +_img = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); +RDebugUtils.currentLine=40173642; + //BA.debugLineNum = 40173642;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); - //BA.debugLineNum = 313;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +RDebugUtils.currentLine=40173643; + //BA.debugLineNum = 40173643;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; _img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 316;BA.debugLine="out.Close"; +RDebugUtils.currentLine=40173646; + //BA.debugLineNum = 40173646;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 317;BA.debugLine="ImageView2.Bitmap = LoadBitmap(File.DirInternal"; -_imageview2.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto1).getObject())); +RDebugUtils.currentLine=40173647; + //BA.debugLineNum = 40173647;BA.debugLine="ImageView2.Bitmap = LoadBitmap(File.DirInternal"; +__ref._imageview2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto1 /*String*/ ).getObject())); }; - //BA.debugLineNum = 320;BA.debugLine="If nombrefoto2 <> \"0\" Then"; -if ((_nombrefoto2).equals("0") == false) { - //BA.debugLineNum = 321;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; +RDebugUtils.currentLine=40173650; + //BA.debugLineNum = 40173650;BA.debugLine="If nombrefoto2 <> \"0\" Then"; +if ((__ref._nombrefoto2 /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=40173651; + //BA.debugLineNum = 40173651;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; _img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_img = _xui.LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); - //BA.debugLineNum = 322;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +_img = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); +RDebugUtils.currentLine=40173652; + //BA.debugLineNum = 40173652;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); - //BA.debugLineNum = 323;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +RDebugUtils.currentLine=40173653; + //BA.debugLineNum = 40173653;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; _img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 326;BA.debugLine="out.Close"; +RDebugUtils.currentLine=40173656; + //BA.debugLineNum = 40173656;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 327;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirInternal"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto2).getObject())); +RDebugUtils.currentLine=40173657; + //BA.debugLineNum = 40173657;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirInternal"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto2 /*String*/ ).getObject())); }; - //BA.debugLineNum = 330;BA.debugLine="If nombrefoto3 <> \"0\" Then"; -if ((_nombrefoto3).equals("0") == false) { - //BA.debugLineNum = 331;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; +RDebugUtils.currentLine=40173660; + //BA.debugLineNum = 40173660;BA.debugLine="If nombrefoto3 <> \"0\" Then"; +if ((__ref._nombrefoto3 /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=40173661; + //BA.debugLineNum = 40173661;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; _img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_img = _xui.LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); - //BA.debugLineNum = 332;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +_img = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); +RDebugUtils.currentLine=40173662; + //BA.debugLineNum = 40173662;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); - //BA.debugLineNum = 333;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +RDebugUtils.currentLine=40173663; + //BA.debugLineNum = 40173663;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; _img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 336;BA.debugLine="out.Close"; +RDebugUtils.currentLine=40173666; + //BA.debugLineNum = 40173666;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 337;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal"; -_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto3).getObject())); +RDebugUtils.currentLine=40173667; + //BA.debugLineNum = 40173667;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto3 /*String*/ ).getObject())); }; - //BA.debugLineNum = 340;BA.debugLine="StopCamera2"; -_stopcamera2(); - //BA.debugLineNum = 342;BA.debugLine="End Sub"; +RDebugUtils.currentLine=40173670; + //BA.debugLineNum = 40173670;BA.debugLine="StopCamera2"; +__ref._stopcamera2 /*String*/ (null); +RDebugUtils.currentLine=40173672; + //BA.debugLineNum = 40173672;BA.debugLine="End Sub"; 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("84718593","Camara ready",0); - //BA.debugLineNum = 226;BA.debugLine="If Success Then"; +public String _camera1_ready(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "camera1_ready", false)) + {return ((String) Debug.delegate(ba, "camera1_ready", new Object[] {_success}));} +RDebugUtils.currentLine=40108032; + //BA.debugLineNum = 40108032;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +RDebugUtils.currentLine=40108033; + //BA.debugLineNum = 40108033;BA.debugLine="Log(\"Camara ready\")"; +__c.LogImpl("240108033","Camara ready",0); +RDebugUtils.currentLine=40108034; + //BA.debugLineNum = 40108034;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 227;BA.debugLine="camEx.SetJpegQuality(90)"; -_camex._setjpegquality /*String*/ ((int) (90)); - //BA.debugLineNum = 228;BA.debugLine="camEx.SetContinuousAutoFocus"; -_camex._setcontinuousautofocus /*String*/ (); - //BA.debugLineNum = 229;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 230;BA.debugLine="camEx.StartPreview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 231;BA.debugLine="Log(camEx.GetPreviewSize)"; -__c.LogImpl("84718599",BA.ObjectToString(_camex._getpreviewsize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ ()),0); +RDebugUtils.currentLine=40108035; + //BA.debugLineNum = 40108035;BA.debugLine="camEx.SetJpegQuality(90)"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._setjpegquality /*String*/ (null,(int) (90)); +RDebugUtils.currentLine=40108036; + //BA.debugLineNum = 40108036;BA.debugLine="camEx.SetContinuousAutoFocus"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._setcontinuousautofocus /*String*/ (null); +RDebugUtils.currentLine=40108037; + //BA.debugLineNum = 40108037;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=40108038; + //BA.debugLineNum = 40108038;BA.debugLine="camEx.StartPreview"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=40108039; + //BA.debugLineNum = 40108039;BA.debugLine="Log(camEx.GetPreviewSize)"; +__c.LogImpl("240108039",BA.ObjectToString(__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getpreviewsize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ (null)),0); }else { - //BA.debugLineNum = 233;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +RDebugUtils.currentLine=40108041; + //BA.debugLineNum = 40108041;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("84718602","Cannot open camera",0); +RDebugUtils.currentLine=40108042; + //BA.debugLineNum = 40108042;BA.debugLine="Log(\"Cannot open camera\")"; +__c.LogImpl("240108042","Cannot open camera",0); }; - //BA.debugLineNum = 236;BA.debugLine="End Sub"; +RDebugUtils.currentLine=40108044; + //BA.debugLineNum = 40108044;BA.debugLine="End Sub"; return ""; } -public String _cb_deratras_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 536;BA.debugLine="Private Sub cb_deratras_SelectedIndexChanged (Inde"; - //BA.debugLineNum = 537;BA.debugLine="itemselect4 = cb_deratras.SelectedItem"; -_itemselect4 = _cb_deratras._getselecteditem /*String*/ (); - //BA.debugLineNum = 538;BA.debugLine="Log(itemselect4)"; -__c.LogImpl("87602178",_itemselect4,0); - //BA.debugLineNum = 539;BA.debugLine="End Sub"; +public String _cb_deratras_selectedindexchanged(reparto_intmex.keymon.lat.c_cheklist __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "cb_deratras_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_deratras_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=42991616; + //BA.debugLineNum = 42991616;BA.debugLine="Private Sub cb_deratras_SelectedIndexChanged (Inde"; +RDebugUtils.currentLine=42991617; + //BA.debugLineNum = 42991617;BA.debugLine="itemselect4 = cb_deratras.SelectedItem"; +__ref._itemselect4 /*String*/ = __ref._cb_deratras /*reparto_intmex.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=42991618; + //BA.debugLineNum = 42991618;BA.debugLine="Log(itemselect4)"; +__c.LogImpl("242991618",__ref._itemselect4 /*String*/ ,0); +RDebugUtils.currentLine=42991619; + //BA.debugLineNum = 42991619;BA.debugLine="End Sub"; return ""; } -public String _cb_derdel_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 531;BA.debugLine="Private Sub cb_derdel_SelectedIndexChanged (Index"; - //BA.debugLineNum = 532;BA.debugLine="itemselect3 = cb_derdel.SelectedItem"; -_itemselect3 = _cb_derdel._getselecteditem /*String*/ (); - //BA.debugLineNum = 533;BA.debugLine="Log(itemselect3)"; -__c.LogImpl("87536642",_itemselect3,0); - //BA.debugLineNum = 534;BA.debugLine="End Sub"; +public String _cb_derdel_selectedindexchanged(reparto_intmex.keymon.lat.c_cheklist __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "cb_derdel_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_derdel_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=42926080; + //BA.debugLineNum = 42926080;BA.debugLine="Private Sub cb_derdel_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=42926081; + //BA.debugLineNum = 42926081;BA.debugLine="itemselect3 = cb_derdel.SelectedItem"; +__ref._itemselect3 /*String*/ = __ref._cb_derdel /*reparto_intmex.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=42926082; + //BA.debugLineNum = 42926082;BA.debugLine="Log(itemselect3)"; +__c.LogImpl("242926082",__ref._itemselect3 /*String*/ ,0); +RDebugUtils.currentLine=42926083; + //BA.debugLineNum = 42926083;BA.debugLine="End Sub"; return ""; } -public String _cb_izqatras_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 526;BA.debugLine="Private Sub cb_izqatras_SelectedIndexChanged (Inde"; - //BA.debugLineNum = 527;BA.debugLine="itemselect2 = cb_izqatras.SelectedItem"; -_itemselect2 = _cb_izqatras._getselecteditem /*String*/ (); - //BA.debugLineNum = 528;BA.debugLine="Log(itemselect2)"; -__c.LogImpl("87471106",_itemselect2,0); - //BA.debugLineNum = 529;BA.debugLine="End Sub"; +public String _cb_izqatras_selectedindexchanged(reparto_intmex.keymon.lat.c_cheklist __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "cb_izqatras_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_izqatras_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=42860544; + //BA.debugLineNum = 42860544;BA.debugLine="Private Sub cb_izqatras_SelectedIndexChanged (Inde"; +RDebugUtils.currentLine=42860545; + //BA.debugLineNum = 42860545;BA.debugLine="itemselect2 = cb_izqatras.SelectedItem"; +__ref._itemselect2 /*String*/ = __ref._cb_izqatras /*reparto_intmex.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=42860546; + //BA.debugLineNum = 42860546;BA.debugLine="Log(itemselect2)"; +__c.LogImpl("242860546",__ref._itemselect2 /*String*/ ,0); +RDebugUtils.currentLine=42860547; + //BA.debugLineNum = 42860547;BA.debugLine="End Sub"; return ""; } -public String _cb_izqdel_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 521;BA.debugLine="Private Sub cb_izqdel_SelectedIndexChanged (Index"; - //BA.debugLineNum = 522;BA.debugLine="itemselect1 = cb_izqdel.SelectedItem"; -_itemselect1 = _cb_izqdel._getselecteditem /*String*/ (); - //BA.debugLineNum = 523;BA.debugLine="Log(itemselect1)"; -__c.LogImpl("87405570",_itemselect1,0); - //BA.debugLineNum = 524;BA.debugLine="End Sub"; +public String _cb_izqdel_selectedindexchanged(reparto_intmex.keymon.lat.c_cheklist __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "cb_izqdel_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_izqdel_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=42795008; + //BA.debugLineNum = 42795008;BA.debugLine="Private Sub cb_izqdel_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=42795009; + //BA.debugLineNum = 42795009;BA.debugLine="itemselect1 = cb_izqdel.SelectedItem"; +__ref._itemselect1 /*String*/ = __ref._cb_izqdel /*reparto_intmex.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=42795010; + //BA.debugLineNum = 42795010;BA.debugLine="Log(itemselect1)"; +__c.LogImpl("242795010",__ref._itemselect1 /*String*/ ,0); +RDebugUtils.currentLine=42795011; + //BA.debugLineNum = 42795011;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +RDebugUtils.currentLine=39714816; + //BA.debugLineNum = 39714816;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=39714817; + //BA.debugLineNum = 39714817;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=39714818; + //BA.debugLineNum = 39714818;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private p_check As Panel"; +RDebugUtils.currentLine=39714819; + //BA.debugLineNum = 39714819;BA.debugLine="Private p_check As Panel"; _p_check = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Private sv_datos As ScrollView"; +RDebugUtils.currentLine=39714820; + //BA.debugLineNum = 39714820;BA.debugLine="Private sv_datos As ScrollView"; _sv_datos = new anywheresoftware.b4a.objects.ScrollViewWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private camEx As CameraExClass"; +RDebugUtils.currentLine=39714822; + //BA.debugLineNum = 39714822;BA.debugLine="Private camEx As CameraExClass"; _camex = new reparto_intmex.keymon.lat.cameraexclass(); - //BA.debugLineNum = 8;BA.debugLine="Dim frontCamera As Boolean = False"; +RDebugUtils.currentLine=39714823; + //BA.debugLineNum = 39714823;BA.debugLine="Dim frontCamera As Boolean = False"; _frontcamera = __c.False; - //BA.debugLineNum = 9;BA.debugLine="Private p_cam As Panel"; +RDebugUtils.currentLine=39714824; + //BA.debugLineNum = 39714824;BA.debugLine="Private p_cam As Panel"; _p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim nombrefoto As String = \"0\""; +RDebugUtils.currentLine=39714825; + //BA.debugLineNum = 39714825;BA.debugLine="Dim nombrefoto As String = \"0\""; _nombrefoto = "0"; - //BA.debugLineNum = 11;BA.debugLine="Dim nombrefoto1 As String = \"0\""; +RDebugUtils.currentLine=39714826; + //BA.debugLineNum = 39714826;BA.debugLine="Dim nombrefoto1 As String = \"0\""; _nombrefoto1 = "0"; - //BA.debugLineNum = 12;BA.debugLine="Dim nombrefoto2 As String = \"0\""; +RDebugUtils.currentLine=39714827; + //BA.debugLineNum = 39714827;BA.debugLine="Dim nombrefoto2 As String = \"0\""; _nombrefoto2 = "0"; - //BA.debugLineNum = 13;BA.debugLine="Dim nombrefoto3 As String = \"0\""; +RDebugUtils.currentLine=39714828; + //BA.debugLineNum = 39714828;BA.debugLine="Dim nombrefoto3 As String = \"0\""; _nombrefoto3 = "0"; - //BA.debugLineNum = 14;BA.debugLine="Private p_camara As Panel"; +RDebugUtils.currentLine=39714829; + //BA.debugLineNum = 39714829;BA.debugLine="Private p_camara As Panel"; _p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private teclado As IME"; +RDebugUtils.currentLine=39714830; + //BA.debugLineNum = 39714830;BA.debugLine="Private teclado As IME"; _teclado = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 16;BA.debugLine="Dim fototomada As String"; +RDebugUtils.currentLine=39714831; + //BA.debugLineNum = 39714831;BA.debugLine="Dim fototomada As String"; _fototomada = ""; - //BA.debugLineNum = 17;BA.debugLine="Private ImageView1 As ImageView"; +RDebugUtils.currentLine=39714832; + //BA.debugLineNum = 39714832;BA.debugLine="Private ImageView1 As ImageView"; _imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private ImageView3 As ImageView"; +RDebugUtils.currentLine=39714833; + //BA.debugLineNum = 39714833;BA.debugLine="Private ImageView3 As ImageView"; _imageview3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Private ImageView2 As ImageView"; +RDebugUtils.currentLine=39714834; + //BA.debugLineNum = 39714834;BA.debugLine="Private ImageView2 As ImageView"; _imageview2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private ImageView4 As ImageView"; +RDebugUtils.currentLine=39714835; + //BA.debugLineNum = 39714835;BA.debugLine="Private ImageView4 As ImageView"; _imageview4 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Private b_foto As Button"; +RDebugUtils.currentLine=39714836; + //BA.debugLineNum = 39714836;BA.debugLine="Private b_foto As Button"; _b_foto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim device As Phone"; +RDebugUtils.currentLine=39714837; + //BA.debugLineNum = 39714837;BA.debugLine="Dim device As Phone"; _device = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 23;BA.debugLine="Dim MES1 As ManageExternalStorage"; +RDebugUtils.currentLine=39714838; + //BA.debugLineNum = 39714838;BA.debugLine="Dim MES1 As ManageExternalStorage"; _mes1 = new reparto_intmex.keymon.lat.manageexternalstorage(); - //BA.debugLineNum = 24;BA.debugLine="Dim x As Int = 0"; +RDebugUtils.currentLine=39714839; + //BA.debugLineNum = 39714839;BA.debugLine="Dim x As Int = 0"; _x = (int) (0); - //BA.debugLineNum = 25;BA.debugLine="Private rb_docsi1 As RadioButton"; +RDebugUtils.currentLine=39714840; + //BA.debugLineNum = 39714840;BA.debugLine="Private rb_docsi1 As RadioButton"; _rb_docsi1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Private rb_docno1 As RadioButton"; +RDebugUtils.currentLine=39714841; + //BA.debugLineNum = 39714841;BA.debugLine="Private rb_docno1 As RadioButton"; _rb_docno1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private rb_docsi2 As RadioButton"; +RDebugUtils.currentLine=39714842; + //BA.debugLineNum = 39714842;BA.debugLine="Private rb_docsi2 As RadioButton"; _rb_docsi2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private rb_docno2 As RadioButton"; +RDebugUtils.currentLine=39714843; + //BA.debugLineNum = 39714843;BA.debugLine="Private rb_docno2 As RadioButton"; _rb_docno2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private rb_docsi3 As RadioButton"; +RDebugUtils.currentLine=39714844; + //BA.debugLineNum = 39714844;BA.debugLine="Private rb_docsi3 As RadioButton"; _rb_docsi3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private rb_docno3 As RadioButton"; +RDebugUtils.currentLine=39714845; + //BA.debugLineNum = 39714845;BA.debugLine="Private rb_docno3 As RadioButton"; _rb_docno3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private rb_docsi4 As RadioButton"; +RDebugUtils.currentLine=39714846; + //BA.debugLineNum = 39714846;BA.debugLine="Private rb_docsi4 As RadioButton"; _rb_docsi4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private rb_docno4 As RadioButton"; +RDebugUtils.currentLine=39714847; + //BA.debugLineNum = 39714847;BA.debugLine="Private rb_docno4 As RadioButton"; _rb_docno4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private rb_docsi5 As RadioButton"; +RDebugUtils.currentLine=39714848; + //BA.debugLineNum = 39714848;BA.debugLine="Private rb_docsi5 As RadioButton"; _rb_docsi5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private rb_docno5 As RadioButton"; +RDebugUtils.currentLine=39714849; + //BA.debugLineNum = 39714849;BA.debugLine="Private rb_docno5 As RadioButton"; _rb_docno5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private rb_docsi6 As RadioButton"; +RDebugUtils.currentLine=39714850; + //BA.debugLineNum = 39714850;BA.debugLine="Private rb_docsi6 As RadioButton"; _rb_docsi6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Private rb_docno6 As RadioButton"; +RDebugUtils.currentLine=39714851; + //BA.debugLineNum = 39714851;BA.debugLine="Private rb_docno6 As RadioButton"; _rb_docno6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private rb_docsi7 As RadioButton"; +RDebugUtils.currentLine=39714852; + //BA.debugLineNum = 39714852;BA.debugLine="Private rb_docsi7 As RadioButton"; _rb_docsi7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private rb_docno7 As RadioButton"; +RDebugUtils.currentLine=39714853; + //BA.debugLineNum = 39714853;BA.debugLine="Private rb_docno7 As RadioButton"; _rb_docno7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private rb_docsi8 As RadioButton"; +RDebugUtils.currentLine=39714854; + //BA.debugLineNum = 39714854;BA.debugLine="Private rb_docsi8 As RadioButton"; _rb_docsi8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Private rb_docno8 As RadioButton"; +RDebugUtils.currentLine=39714855; + //BA.debugLineNum = 39714855;BA.debugLine="Private rb_docno8 As RadioButton"; _rb_docno8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private rb_docsi9 As RadioButton"; +RDebugUtils.currentLine=39714856; + //BA.debugLineNum = 39714856;BA.debugLine="Private rb_docsi9 As RadioButton"; _rb_docsi9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Private rb_docno9 As RadioButton"; +RDebugUtils.currentLine=39714857; + //BA.debugLineNum = 39714857;BA.debugLine="Private rb_docno9 As RadioButton"; _rb_docno9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Private rb_docsi10 As RadioButton"; +RDebugUtils.currentLine=39714858; + //BA.debugLineNum = 39714858;BA.debugLine="Private rb_docsi10 As RadioButton"; _rb_docsi10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Private rb_docno10 As RadioButton"; +RDebugUtils.currentLine=39714859; + //BA.debugLineNum = 39714859;BA.debugLine="Private rb_docno10 As RadioButton"; _rb_docno10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Private rb_docsi11 As RadioButton"; +RDebugUtils.currentLine=39714860; + //BA.debugLineNum = 39714860;BA.debugLine="Private rb_docsi11 As RadioButton"; _rb_docsi11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Private rb_docno11 As RadioButton"; +RDebugUtils.currentLine=39714861; + //BA.debugLineNum = 39714861;BA.debugLine="Private rb_docno11 As RadioButton"; _rb_docno11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Private rb_docsi12 As RadioButton"; +RDebugUtils.currentLine=39714862; + //BA.debugLineNum = 39714862;BA.debugLine="Private rb_docsi12 As RadioButton"; _rb_docsi12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Private rb_docno12 As RadioButton"; +RDebugUtils.currentLine=39714863; + //BA.debugLineNum = 39714863;BA.debugLine="Private rb_docno12 As RadioButton"; _rb_docno12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Private rb_docsi13 As RadioButton"; +RDebugUtils.currentLine=39714864; + //BA.debugLineNum = 39714864;BA.debugLine="Private rb_docsi13 As RadioButton"; _rb_docsi13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Private rb_docno13 As RadioButton"; +RDebugUtils.currentLine=39714865; + //BA.debugLineNum = 39714865;BA.debugLine="Private rb_docno13 As RadioButton"; _rb_docno13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 51;BA.debugLine="Private rb_docsi14 As RadioButton"; +RDebugUtils.currentLine=39714866; + //BA.debugLineNum = 39714866;BA.debugLine="Private rb_docsi14 As RadioButton"; _rb_docsi14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Private rb_docno14 As RadioButton"; +RDebugUtils.currentLine=39714867; + //BA.debugLineNum = 39714867;BA.debugLine="Private rb_docno14 As RadioButton"; _rb_docno14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Private rb_docsi15 As RadioButton"; +RDebugUtils.currentLine=39714868; + //BA.debugLineNum = 39714868;BA.debugLine="Private rb_docsi15 As RadioButton"; _rb_docsi15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Private rb_docno15 As RadioButton"; +RDebugUtils.currentLine=39714869; + //BA.debugLineNum = 39714869;BA.debugLine="Private rb_docno15 As RadioButton"; _rb_docno15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 55;BA.debugLine="Private rb_docsi16 As RadioButton"; +RDebugUtils.currentLine=39714870; + //BA.debugLineNum = 39714870;BA.debugLine="Private rb_docsi16 As RadioButton"; _rb_docsi16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Private rb_docno16 As RadioButton"; +RDebugUtils.currentLine=39714871; + //BA.debugLineNum = 39714871;BA.debugLine="Private rb_docno16 As RadioButton"; _rb_docno16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Private rb_docsi17 As RadioButton"; +RDebugUtils.currentLine=39714872; + //BA.debugLineNum = 39714872;BA.debugLine="Private rb_docsi17 As RadioButton"; _rb_docsi17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Private rb_docno17 As RadioButton"; +RDebugUtils.currentLine=39714873; + //BA.debugLineNum = 39714873;BA.debugLine="Private rb_docno17 As RadioButton"; _rb_docno17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 59;BA.debugLine="Private rb_docsi18 As RadioButton"; +RDebugUtils.currentLine=39714874; + //BA.debugLineNum = 39714874;BA.debugLine="Private rb_docsi18 As RadioButton"; _rb_docsi18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 60;BA.debugLine="Private rb_docno18 As RadioButton"; +RDebugUtils.currentLine=39714875; + //BA.debugLineNum = 39714875;BA.debugLine="Private rb_docno18 As RadioButton"; _rb_docno18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Private rb_docsi19 As RadioButton"; +RDebugUtils.currentLine=39714876; + //BA.debugLineNum = 39714876;BA.debugLine="Private rb_docsi19 As RadioButton"; _rb_docsi19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 62;BA.debugLine="Private rb_docno19 As RadioButton"; +RDebugUtils.currentLine=39714877; + //BA.debugLineNum = 39714877;BA.debugLine="Private rb_docno19 As RadioButton"; _rb_docno19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 63;BA.debugLine="Private et_carroceria As EditText"; +RDebugUtils.currentLine=39714878; + //BA.debugLineNum = 39714878;BA.debugLine="Private et_carroceria As EditText"; _et_carroceria = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 64;BA.debugLine="Private et_luces As EditText"; +RDebugUtils.currentLine=39714879; + //BA.debugLineNum = 39714879;BA.debugLine="Private et_luces As EditText"; _et_luces = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Private et_placas As EditText"; +RDebugUtils.currentLine=39714880; + //BA.debugLineNum = 39714880;BA.debugLine="Private et_placas As EditText"; _et_placas = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Private et_liquidos As EditText"; +RDebugUtils.currentLine=39714881; + //BA.debugLineNum = 39714881;BA.debugLine="Private et_liquidos As EditText"; _et_liquidos = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Dim p1 As String"; +RDebugUtils.currentLine=39714883; + //BA.debugLineNum = 39714883;BA.debugLine="Dim p1 As String"; _p1 = ""; - //BA.debugLineNum = 69;BA.debugLine="Dim p2 As String"; +RDebugUtils.currentLine=39714884; + //BA.debugLineNum = 39714884;BA.debugLine="Dim p2 As String"; _p2 = ""; - //BA.debugLineNum = 70;BA.debugLine="Dim p3 As String"; +RDebugUtils.currentLine=39714885; + //BA.debugLineNum = 39714885;BA.debugLine="Dim p3 As String"; _p3 = ""; - //BA.debugLineNum = 71;BA.debugLine="Dim p4 As String"; +RDebugUtils.currentLine=39714886; + //BA.debugLineNum = 39714886;BA.debugLine="Dim p4 As String"; _p4 = ""; - //BA.debugLineNum = 72;BA.debugLine="Dim p5 As String"; +RDebugUtils.currentLine=39714887; + //BA.debugLineNum = 39714887;BA.debugLine="Dim p5 As String"; _p5 = ""; - //BA.debugLineNum = 73;BA.debugLine="Dim p6 As String"; +RDebugUtils.currentLine=39714888; + //BA.debugLineNum = 39714888;BA.debugLine="Dim p6 As String"; _p6 = ""; - //BA.debugLineNum = 74;BA.debugLine="Dim p7 As String"; +RDebugUtils.currentLine=39714889; + //BA.debugLineNum = 39714889;BA.debugLine="Dim p7 As String"; _p7 = ""; - //BA.debugLineNum = 75;BA.debugLine="Dim p8 As String"; +RDebugUtils.currentLine=39714890; + //BA.debugLineNum = 39714890;BA.debugLine="Dim p8 As String"; _p8 = ""; - //BA.debugLineNum = 76;BA.debugLine="Dim p9 As String"; +RDebugUtils.currentLine=39714891; + //BA.debugLineNum = 39714891;BA.debugLine="Dim p9 As String"; _p9 = ""; - //BA.debugLineNum = 77;BA.debugLine="Dim p10 As String"; +RDebugUtils.currentLine=39714892; + //BA.debugLineNum = 39714892;BA.debugLine="Dim p10 As String"; _p10 = ""; - //BA.debugLineNum = 78;BA.debugLine="Dim p11 As String"; +RDebugUtils.currentLine=39714893; + //BA.debugLineNum = 39714893;BA.debugLine="Dim p11 As String"; _p11 = ""; - //BA.debugLineNum = 79;BA.debugLine="Dim p12 As String"; +RDebugUtils.currentLine=39714894; + //BA.debugLineNum = 39714894;BA.debugLine="Dim p12 As String"; _p12 = ""; - //BA.debugLineNum = 80;BA.debugLine="Dim p13 As String"; +RDebugUtils.currentLine=39714895; + //BA.debugLineNum = 39714895;BA.debugLine="Dim p13 As String"; _p13 = ""; - //BA.debugLineNum = 81;BA.debugLine="Dim p14 As String"; +RDebugUtils.currentLine=39714896; + //BA.debugLineNum = 39714896;BA.debugLine="Dim p14 As String"; _p14 = ""; - //BA.debugLineNum = 82;BA.debugLine="Dim p15 As String"; +RDebugUtils.currentLine=39714897; + //BA.debugLineNum = 39714897;BA.debugLine="Dim p15 As String"; _p15 = ""; - //BA.debugLineNum = 83;BA.debugLine="Dim p16 As String"; +RDebugUtils.currentLine=39714898; + //BA.debugLineNum = 39714898;BA.debugLine="Dim p16 As String"; _p16 = ""; - //BA.debugLineNum = 84;BA.debugLine="Dim p17 As String"; +RDebugUtils.currentLine=39714899; + //BA.debugLineNum = 39714899;BA.debugLine="Dim p17 As String"; _p17 = ""; - //BA.debugLineNum = 85;BA.debugLine="Dim p18 As String"; +RDebugUtils.currentLine=39714900; + //BA.debugLineNum = 39714900;BA.debugLine="Dim p18 As String"; _p18 = ""; - //BA.debugLineNum = 86;BA.debugLine="Dim p19 As String"; +RDebugUtils.currentLine=39714901; + //BA.debugLineNum = 39714901;BA.debugLine="Dim p19 As String"; _p19 = ""; - //BA.debugLineNum = 87;BA.debugLine="Private cb_izqdel As B4XComboBox"; +RDebugUtils.currentLine=39714902; + //BA.debugLineNum = 39714902;BA.debugLine="Private cb_izqdel As B4XComboBox"; _cb_izqdel = new reparto_intmex.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 88;BA.debugLine="Private cb_derdel As B4XComboBox"; +RDebugUtils.currentLine=39714903; + //BA.debugLineNum = 39714903;BA.debugLine="Private cb_derdel As B4XComboBox"; _cb_derdel = new reparto_intmex.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 89;BA.debugLine="Private cb_izqatras As B4XComboBox"; +RDebugUtils.currentLine=39714904; + //BA.debugLineNum = 39714904;BA.debugLine="Private cb_izqatras As B4XComboBox"; _cb_izqatras = new reparto_intmex.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 90;BA.debugLine="Private cb_deratras As B4XComboBox"; +RDebugUtils.currentLine=39714905; + //BA.debugLineNum = 39714905;BA.debugLine="Private cb_deratras As B4XComboBox"; _cb_deratras = new reparto_intmex.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 91;BA.debugLine="Dim itemselect1 As String"; +RDebugUtils.currentLine=39714906; + //BA.debugLineNum = 39714906;BA.debugLine="Dim itemselect1 As String"; _itemselect1 = ""; - //BA.debugLineNum = 92;BA.debugLine="Dim itemselect2 As String"; +RDebugUtils.currentLine=39714907; + //BA.debugLineNum = 39714907;BA.debugLine="Dim itemselect2 As String"; _itemselect2 = ""; - //BA.debugLineNum = 93;BA.debugLine="Dim itemselect3 As String"; +RDebugUtils.currentLine=39714908; + //BA.debugLineNum = 39714908;BA.debugLine="Dim itemselect3 As String"; _itemselect3 = ""; - //BA.debugLineNum = 94;BA.debugLine="Dim itemselect4 As String"; +RDebugUtils.currentLine=39714909; + //BA.debugLineNum = 39714909;BA.debugLine="Dim itemselect4 As String"; _itemselect4 = ""; - //BA.debugLineNum = 95;BA.debugLine="Dim foto1() As Byte"; +RDebugUtils.currentLine=39714910; + //BA.debugLineNum = 39714910;BA.debugLine="Dim foto1() As Byte"; _foto1 = new byte[(int) (0)]; ; - //BA.debugLineNum = 96;BA.debugLine="Dim foto2() As Byte"; +RDebugUtils.currentLine=39714911; + //BA.debugLineNum = 39714911;BA.debugLine="Dim foto2() As Byte"; _foto2 = new byte[(int) (0)]; ; - //BA.debugLineNum = 97;BA.debugLine="Dim foto3() As Byte"; +RDebugUtils.currentLine=39714912; + //BA.debugLineNum = 39714912;BA.debugLine="Dim foto3() As Byte"; _foto3 = new byte[(int) (0)]; ; - //BA.debugLineNum = 98;BA.debugLine="Dim foto4() As Byte"; +RDebugUtils.currentLine=39714913; + //BA.debugLineNum = 39714913;BA.debugLine="Dim foto4() As Byte"; _foto4 = new byte[(int) (0)]; ; - //BA.debugLineNum = 99;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=39714914; + //BA.debugLineNum = 39714914;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Dim reqManager As DBRequestManager"; +RDebugUtils.currentLine=39714915; + //BA.debugLineNum = 39714915;BA.debugLine="Dim reqManager As DBRequestManager"; _reqmanager = new reparto_intmex.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 101;BA.debugLine="Private l_placa As Label"; +RDebugUtils.currentLine=39714916; + //BA.debugLineNum = 39714916;BA.debugLine="Private l_placa As Label"; _l_placa = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 102;BA.debugLine="Private et_km As EditText"; +RDebugUtils.currentLine=39714917; + //BA.debugLineNum = 39714917;BA.debugLine="Private et_km As EditText"; _et_km = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 103;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39714918; + //BA.debugLineNum = 39714918;BA.debugLine="End Sub"; return ""; } -public String _imageview1_click() throws Exception{ - //BA.debugLineNum = 361;BA.debugLine="Private Sub ImageView1_Click"; - //BA.debugLineNum = 363;BA.debugLine="x = 1"; -_x = (int) (1); - //BA.debugLineNum = 364;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 365;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 367;BA.debugLine="End Sub"; +public String _imageview1_click(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "imageview1_click", false)) + {return ((String) Debug.delegate(ba, "imageview1_click", null));} +RDebugUtils.currentLine=40435712; + //BA.debugLineNum = 40435712;BA.debugLine="Private Sub ImageView1_Click"; +RDebugUtils.currentLine=40435714; + //BA.debugLineNum = 40435714;BA.debugLine="x = 1"; +__ref._x /*int*/ = (int) (1); +RDebugUtils.currentLine=40435715; + //BA.debugLineNum = 40435715;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=40435716; + //BA.debugLineNum = 40435716;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=40435718; + //BA.debugLineNum = 40435718;BA.debugLine="End Sub"; return ""; } -public String _imageview2_click() throws Exception{ - //BA.debugLineNum = 369;BA.debugLine="Private Sub ImageView2_Click"; - //BA.debugLineNum = 371;BA.debugLine="x = 2"; -_x = (int) (2); - //BA.debugLineNum = 372;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 373;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 375;BA.debugLine="End Sub"; -return ""; -} -public String _imageview3_click() throws Exception{ - //BA.debugLineNum = 377;BA.debugLine="Private Sub ImageView3_Click"; - //BA.debugLineNum = 379;BA.debugLine="x = 3"; -_x = (int) (3); - //BA.debugLineNum = 380;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 381;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 383;BA.debugLine="End Sub"; -return ""; -} -public String _imageview4_click() throws Exception{ - //BA.debugLineNum = 385;BA.debugLine="Private Sub ImageView4_Click"; - //BA.debugLineNum = 387;BA.debugLine="x = 4"; -_x = (int) (4); - //BA.debugLineNum = 388;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 389;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 391;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 106;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 107;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 108;BA.debugLine="End Sub"; -return null; -} -public void _initializecamera2() throws Exception{ -ResumableSub_InitializeCamera2 rsub = new ResumableSub_InitializeCamera2(this); +public void _initializecamera2(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "initializecamera2", false)) + {Debug.delegate(ba, "initializecamera2", null); return;} +ResumableSub_InitializeCamera2 rsub = new ResumableSub_InitializeCamera2(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_InitializeCamera2 extends BA.ResumableSub { -public ResumableSub_InitializeCamera2(reparto_intmex.keymon.lat.c_cheklist parent) { +public ResumableSub_InitializeCamera2(reparto_intmex.keymon.lat.c_cheklist parent,reparto_intmex.keymon.lat.c_cheklist __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_cheklist __ref; reparto_intmex.keymon.lat.c_cheklist parent; String _permission = ""; boolean _result = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; while (true) { switch (state) { @@ -1258,19 +1774,22 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 213;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=40042497; + //BA.debugLineNum = 40042497;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA); - //BA.debugLineNum = 214;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=40042498; + //BA.debugLineNum = 40042498;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "initializecamera2"), null); this.state = 7; return; case 7: //C this.state = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 215;BA.debugLine="If Result Then"; +RDebugUtils.currentLine=40042499; + //BA.debugLineNum = 40042499;BA.debugLine="If Result Then"; if (true) break; case 1: @@ -1285,18 +1804,22 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 216;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; -parent._camex._initialize /*String*/ (ba,parent._p_cam,parent._frontcamera,parent,"Camera1"); - //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("84653062","inicializamos Camara",0); +RDebugUtils.currentLine=40042500; + //BA.debugLineNum = 40042500;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._initialize /*String*/ (null,ba,__ref._p_cam /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._frontcamera /*boolean*/ ,parent,"Camera1"); +RDebugUtils.currentLine=40042501; + //BA.debugLineNum = 40042501;BA.debugLine="frontCamera = camEx.Front"; +__ref._frontcamera /*boolean*/ = __ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._front /*boolean*/ ; +RDebugUtils.currentLine=40042502; + //BA.debugLineNum = 40042502;BA.debugLine="Log(\"inicializamos Camara\")"; +parent.__c.LogImpl("240042502","inicializamos Camara",0); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 220;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; +RDebugUtils.currentLine=40042504; + //BA.debugLineNum = 40042504;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True); if (true) break; @@ -1304,78 +1827,169 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 222;BA.debugLine="End Sub"; +RDebugUtils.currentLine=40042506; + //BA.debugLineNum = 40042506;BA.debugLine="End Sub"; if (true) break; } } } } -public String _jobdone(reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +public String _imageview2_click(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "imageview2_click", false)) + {return ((String) Debug.delegate(ba, "imageview2_click", null));} +RDebugUtils.currentLine=40501248; + //BA.debugLineNum = 40501248;BA.debugLine="Private Sub ImageView2_Click"; +RDebugUtils.currentLine=40501250; + //BA.debugLineNum = 40501250;BA.debugLine="x = 2"; +__ref._x /*int*/ = (int) (2); +RDebugUtils.currentLine=40501251; + //BA.debugLineNum = 40501251;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=40501252; + //BA.debugLineNum = 40501252;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=40501254; + //BA.debugLineNum = 40501254;BA.debugLine="End Sub"; +return ""; +} +public String _imageview3_click(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "imageview3_click", false)) + {return ((String) Debug.delegate(ba, "imageview3_click", null));} +RDebugUtils.currentLine=40566784; + //BA.debugLineNum = 40566784;BA.debugLine="Private Sub ImageView3_Click"; +RDebugUtils.currentLine=40566786; + //BA.debugLineNum = 40566786;BA.debugLine="x = 3"; +__ref._x /*int*/ = (int) (3); +RDebugUtils.currentLine=40566787; + //BA.debugLineNum = 40566787;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=40566788; + //BA.debugLineNum = 40566788;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=40566790; + //BA.debugLineNum = 40566790;BA.debugLine="End Sub"; +return ""; +} +public String _imageview4_click(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "imageview4_click", false)) + {return ((String) Debug.delegate(ba, "imageview4_click", null));} +RDebugUtils.currentLine=40632320; + //BA.debugLineNum = 40632320;BA.debugLine="Private Sub ImageView4_Click"; +RDebugUtils.currentLine=40632322; + //BA.debugLineNum = 40632322;BA.debugLine="x = 4"; +__ref._x /*int*/ = (int) (4); +RDebugUtils.currentLine=40632323; + //BA.debugLineNum = 40632323;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=40632324; + //BA.debugLineNum = 40632324;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=40632326; + //BA.debugLineNum = 40632326;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(reparto_intmex.keymon.lat.c_cheklist __ref,reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} reparto_intmex.keymon.lat.dbrequestmanager._dbresult _resultado = null; String _cliente = ""; int _i = 0; reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _cmd = null; 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("87798785","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 749;BA.debugLine="If Job.Success = False Then"; +RDebugUtils.currentLine=43188224; + //BA.debugLineNum = 43188224;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=43188225; + //BA.debugLineNum = 43188225;BA.debugLine="Log(\"JOBDONE CLIENTE . \" & Job.Success)"; +__c.LogImpl("243188225","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=43188226; + //BA.debugLineNum = 43188226;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("87798789","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue); +RDebugUtils.currentLine=43188229; + //BA.debugLineNum = 43188229;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error"; +__c.LogImpl("243188229","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("87798791","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_intmex.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"; +RDebugUtils.currentLine=43188231; + //BA.debugLineNum = 43188231;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("243188231","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=43188232; + //BA.debugLineNum = 43188232;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 756;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 757;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_checkl"; +RDebugUtils.currentLine=43188233; + //BA.debugLineNum = 43188233;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=43188234; + //BA.debugLineNum = 43188234;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_checkl"; if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_checkliPendientes_head_")>-1) { - //BA.debugLineNum = 758;BA.debugLine="Private cliente As String= resultado.Tag"; +RDebugUtils.currentLine=43188235; + //BA.debugLineNum = 43188235;BA.debugLine="Private cliente As String= resultado.Tag"; _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 759;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +RDebugUtils.currentLine=43188236; + //BA.debugLineNum = 43188236;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; _cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 760;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("87798797",("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("87798800",("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"; +RDebugUtils.currentLine=43188237; + //BA.debugLineNum = 43188237;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("243188237",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=43188239; + //BA.debugLineNum = 43188239;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLAC"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE, RUTA FROM CHECKLIST2"))); +RDebugUtils.currentLine=43188240; + //BA.debugLineNum = 43188240;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("243188240",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=43188241; + //BA.debugLineNum = 43188241;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=43188242; + //BA.debugLineNum = 43188242;BA.debugLine="For i = 0 To c.RowCount -1"; { final int step15 = 1; -final int limit15 = (int) (_c.getRowCount()-1); +final int limit15 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 766;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 767;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=43188243; + //BA.debugLineNum = 43188243;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=43188244; + //BA.debugLineNum = 43188244;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 769;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; -_foto1 = _c.GetBlob("FOTO1"); - //BA.debugLineNum = 770;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; -_foto2 = _c.GetBlob("FOTO12"); - //BA.debugLineNum = 771;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; -_foto3 = _c.GetBlob("FOTO3"); - //BA.debugLineNum = 772;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; -_foto4 = _c.GetBlob("FOTO4"); - //BA.debugLineNum = 774;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=43188246; + //BA.debugLineNum = 43188246;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; +__ref._foto1 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO1"); +RDebugUtils.currentLine=43188247; + //BA.debugLineNum = 43188247;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; +__ref._foto2 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO12"); +RDebugUtils.currentLine=43188248; + //BA.debugLineNum = 43188248;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; +__ref._foto3 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO3"); +RDebugUtils.currentLine=43188249; + //BA.debugLineNum = 43188249;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; +__ref._foto4 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO4"); +RDebugUtils.currentLine=43188251; + //BA.debugLineNum = 43188251;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 775;BA.debugLine="cmd.Name = \"update_CHECK_MARDS\""; +RDebugUtils.currentLine=43188252; + //BA.debugLineNum = 43188252;BA.debugLine="cmd.Name = \"update_CHECK_MARDS\""; _cmd.Name /*String*/ = "update_CHECK_MARDS"; - //BA.debugLineNum = 776;BA.debugLine="cmd.Parameters = Array As Object(c.GetString"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CONDICION_LLANTAS_DEL_DER")),(Object)(_c.GetString("CONDICION_LLANTAS_DEL_IZQ")),(Object)(_c.GetString("CONDICION_LLANTAS_TRASERA_DER")),(Object)(_c.GetString("CONDICION_LLANTAS_TRASERA_IZQ")),(Object)(_c.GetString("ACEITE")),(Object)(_c.GetString("ANTICONGELANTE")),(Object)(_c.GetString("FRENOS")),(Object)(_c.GetString("AIRE")),(Object)(_c.GetString("FUGAS")),(Object)(_c.GetString("COMETARIOS_FUGAS")),(Object)(_foto1),(Object)(_foto2),(Object)(_foto3),(Object)(_foto4),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._principal /*reparto_intmex.keymon.lat.c_principal*/ ._almacen /*String*/ ),(Object)(_c.GetString("KILIMETRAJE")),(Object)(_c.GetString("RUTA")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("PLACA")),(Object)(_c.GetString("FECHA_CAPTURA"))}; - //BA.debugLineNum = 777;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update")); +RDebugUtils.currentLine=43188253; + //BA.debugLineNum = 43188253;BA.debugLine="cmd.Parameters = Array As Object(c.GetString"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_LLANTAS_DEL_DER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_LLANTAS_DEL_IZQ")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_LLANTAS_TRASERA_DER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_LLANTAS_TRASERA_IZQ")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ACEITE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ANTICONGELANTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FRENOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("AIRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FUGAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COMETARIOS_FUGAS")),(Object)(__ref._foto1 /*byte[]*/ ),(Object)(__ref._foto2 /*byte[]*/ ),(Object)(__ref._foto3 /*byte[]*/ ),(Object)(__ref._foto4 /*byte[]*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._principal /*reparto_intmex.keymon.lat.c_principal*/ ._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("KILIMETRAJE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PLACA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FECHA_CAPTURA"))}; +RDebugUtils.currentLine=43188254; + //BA.debugLineNum = 43188254;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("update")); } }; }; - //BA.debugLineNum = 781;BA.debugLine="For Each records() As Object In resultado.Rows"; +RDebugUtils.currentLine=43188258; + //BA.debugLineNum = 43188258;BA.debugLine="For Each records() As Object In resultado.Rows"; { final anywheresoftware.b4a.BA.IterableList group28 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen28 = group28.getSize() @@ -1383,7 +1997,8 @@ final int groupLen28 = group28.getSize() ; for (; index28 < groupLen28;index28++){ _records = (Object[])(group28.Get(index28)); - //BA.debugLineNum = 782;BA.debugLine="For Each k As String In resultado.Columns.Key"; +RDebugUtils.currentLine=43188259; + //BA.debugLineNum = 43188259;BA.debugLine="For Each k As String In resultado.Columns.Key"; { final anywheresoftware.b4a.BA.IterableList group29 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen29 = group29.getSize() @@ -1391,313 +2006,486 @@ 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("87798820",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +RDebugUtils.currentLine=43188260; + //BA.debugLineNum = 43188260;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("243188260",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; - //BA.debugLineNum = 786;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE CHECADO_CHEC"; +RDebugUtils.currentLine=43188263; + //BA.debugLineNum = 43188263;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE CHECADO_CHEC"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE CHECADO_CHECK set CHECADO = 1 "); - //BA.debugLineNum = 787;BA.debugLine="B4XPages.MainPage.principal.checachek"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._principal /*reparto_intmex.keymon.lat.c_principal*/ ._checachek /*String*/ (); +RDebugUtils.currentLine=43188264; + //BA.debugLineNum = 43188264;BA.debugLine="B4XPages.MainPage.principal.checachek"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._principal /*reparto_intmex.keymon.lat.c_principal*/ ._checachek /*String*/ (null); }; }; - //BA.debugLineNum = 791;BA.debugLine="Job.Release"; -_job._release /*String*/ (); +RDebugUtils.currentLine=43188268; + //BA.debugLineNum = 43188268;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); }; - //BA.debugLineNum = 794;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43188271; + //BA.debugLineNum = 43188271;BA.debugLine="End Sub"; return ""; } -public String _mandapendientes() throws Exception{ -int _i = 0; -reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 724;BA.debugLine="Sub mandaPendientes"; - //BA.debugLineNum = 725;BA.debugLine="Log(\"MandaPendientes\")"; -__c.LogImpl("87733249","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("87733252",("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"; -{ -final int step5 = 1; -final int limit5 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 731;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 732;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 734;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; -_foto1 = _c.GetBlob("FOTO1"); - //BA.debugLineNum = 735;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; -_foto2 = _c.GetBlob("FOTO12"); - //BA.debugLineNum = 736;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; -_foto3 = _c.GetBlob("FOTO3"); - //BA.debugLineNum = 737;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; -_foto4 = _c.GetBlob("FOTO4"); - //BA.debugLineNum = 739;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 740;BA.debugLine="cmd.Name = \"insert_CHECK_MARDS\""; -_cmd.Name /*String*/ = "insert_CHECK_MARDS"; - //BA.debugLineNum = 741;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"U"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("PLACA")),(Object)(_c.GetString("FECHA_CAPTURA")),(Object)(_c.GetString("TARJETA_CIRCULACION")),(Object)(_c.GetString("POLIZA_SEGURO")),(Object)(_c.GetString("LICENCIA_CONDUCIR")),(Object)(_c.GetString("LIMPIA_EXTERNA")),(Object)(_c.GetString("LIMPIA_INTERNA")),(Object)(_c.GetString("TRIANGULO")),(Object)(_c.GetString("GATO")),(Object)(_c.GetString("LLANTA_REFACCION")),(Object)(_c.GetString("CARROCERIA")),(Object)(_c.GetString("CARROCERIA_COMENTARIOS")),(Object)(_c.GetString("LUCES")),(Object)(_c.GetString("LUCES_COMENTARIOS")),(Object)(_c.GetString("CONDICION_PLACAS")),(Object)(_c.GetString("CONDICION_PLACAS_COMENTARIOS"))}; - //BA.debugLineNum = 742;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_checkliPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_checkliPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("USUARIO")))+""))); - } -}; - }; - //BA.debugLineNum = 745;BA.debugLine="End Sub"; +public String _p_camara_click(reparto_intmex.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "p_camara_click", false)) + {return ((String) Debug.delegate(ba, "p_camara_click", null));} +RDebugUtils.currentLine=40239104; + //BA.debugLineNum = 40239104;BA.debugLine="Private Sub p_camara_Click"; +RDebugUtils.currentLine=40239106; + //BA.debugLineNum = 40239106;BA.debugLine="End Sub"; return ""; } -public String _p_camara_click() throws Exception{ - //BA.debugLineNum = 344;BA.debugLine="Private Sub p_camara_Click"; - //BA.debugLineNum = 346;BA.debugLine="End Sub"; +public String _rb_docno1_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=40697856; + //BA.debugLineNum = 40697856;BA.debugLine="Private Sub rb_docno1_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=40697857; + //BA.debugLineNum = 40697857;BA.debugLine="p1 = \"No\""; +__ref._p1 /*String*/ = "No"; +RDebugUtils.currentLine=40697858; + //BA.debugLineNum = 40697858;BA.debugLine="End Sub"; return ""; } -public String _rb_docno1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 393;BA.debugLine="Private Sub rb_docno1_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 394;BA.debugLine="p1 = \"No\""; -_p1 = "No"; - //BA.debugLineNum = 395;BA.debugLine="End Sub"; +public String _rb_docno11_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno11_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno11_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41877504; + //BA.debugLineNum = 41877504;BA.debugLine="Private Sub rb_docno11_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=41877505; + //BA.debugLineNum = 41877505;BA.debugLine="p11 = \"Incorrecto\""; +__ref._p11 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=41877506; + //BA.debugLineNum = 41877506;BA.debugLine="End Sub"; return ""; } -public String _rb_docno11_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 465;BA.debugLine="Private Sub rb_docno11_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 466;BA.debugLine="p11 = \"Incorrecto\""; -_p11 = "Incorrecto"; - //BA.debugLineNum = 467;BA.debugLine="End Sub"; +public String _rb_docno13_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno13_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno13_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42008576; + //BA.debugLineNum = 42008576;BA.debugLine="Private Sub rb_docno13_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42008577; + //BA.debugLineNum = 42008577;BA.debugLine="p13 = \"Incorrecto\""; +__ref._p13 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=42008578; + //BA.debugLineNum = 42008578;BA.debugLine="End Sub"; return ""; } -public String _rb_docno13_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 473;BA.debugLine="Private Sub rb_docno13_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 474;BA.debugLine="p13 = \"Incorrecto\""; -_p13 = "Incorrecto"; - //BA.debugLineNum = 475;BA.debugLine="End Sub"; +public String _rb_docno15_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno15_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno15_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42139648; + //BA.debugLineNum = 42139648;BA.debugLine="Private Sub rb_docno15_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42139649; + //BA.debugLineNum = 42139649;BA.debugLine="p15 = \"Incorrecto\""; +__ref._p15 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=42139650; + //BA.debugLineNum = 42139650;BA.debugLine="End Sub"; return ""; } -public String _rb_docno15_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 481;BA.debugLine="Private Sub rb_docno15_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 482;BA.debugLine="p15 = \"Incorrecto\""; -_p15 = "Incorrecto"; - //BA.debugLineNum = 483;BA.debugLine="End Sub"; +public String _rb_docno16_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno16_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno16_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42270720; + //BA.debugLineNum = 42270720;BA.debugLine="Private Sub rb_docno16_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42270721; + //BA.debugLineNum = 42270721;BA.debugLine="p16 = \"Incorrecto\""; +__ref._p16 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=42270722; + //BA.debugLineNum = 42270722;BA.debugLine="End Sub"; return ""; } -public String _rb_docno16_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 489;BA.debugLine="Private Sub rb_docno16_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 490;BA.debugLine="p16 = \"Incorrecto\""; -_p16 = "Incorrecto"; - //BA.debugLineNum = 491;BA.debugLine="End Sub"; +public String _rb_docno17_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno17_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno17_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42401792; + //BA.debugLineNum = 42401792;BA.debugLine="Private Sub rb_docno17_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42401793; + //BA.debugLineNum = 42401793;BA.debugLine="p17 = \"Incorrecto\""; +__ref._p17 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=42401794; + //BA.debugLineNum = 42401794;BA.debugLine="End Sub"; return ""; } -public String _rb_docno17_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 497;BA.debugLine="Private Sub rb_docno17_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 498;BA.debugLine="p17 = \"Incorrecto\""; -_p17 = "Incorrecto"; - //BA.debugLineNum = 499;BA.debugLine="End Sub"; +public String _rb_docno18_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno18_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno18_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42532864; + //BA.debugLineNum = 42532864;BA.debugLine="Private Sub rb_docno18_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42532865; + //BA.debugLineNum = 42532865;BA.debugLine="p18 = \"Incorrecto\""; +__ref._p18 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=42532866; + //BA.debugLineNum = 42532866;BA.debugLine="End Sub"; return ""; } -public String _rb_docno18_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 505;BA.debugLine="Private Sub rb_docno18_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 506;BA.debugLine="p18 = \"Incorrecto\""; -_p18 = "Incorrecto"; - //BA.debugLineNum = 507;BA.debugLine="End Sub"; +public String _rb_docno19_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno19_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno19_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42663936; + //BA.debugLineNum = 42663936;BA.debugLine="Private Sub rb_docno19_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42663937; + //BA.debugLineNum = 42663937;BA.debugLine="p19 = \"Incorrecto\""; +__ref._p19 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=42663938; + //BA.debugLineNum = 42663938;BA.debugLine="End Sub"; return ""; } -public String _rb_docno19_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 513;BA.debugLine="Private Sub rb_docno19_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 514;BA.debugLine="p19 = \"Incorrecto\""; -_p19 = "Incorrecto"; - //BA.debugLineNum = 515;BA.debugLine="End Sub"; +public String _rb_docno2_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=40828928; + //BA.debugLineNum = 40828928;BA.debugLine="Private Sub rb_docno2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=40828929; + //BA.debugLineNum = 40828929;BA.debugLine="p2 = \"No\""; +__ref._p2 /*String*/ = "No"; +RDebugUtils.currentLine=40828930; + //BA.debugLineNum = 40828930;BA.debugLine="End Sub"; return ""; } -public String _rb_docno2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 401;BA.debugLine="Private Sub rb_docno2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 402;BA.debugLine="p2 = \"No\""; -_p2 = "No"; - //BA.debugLineNum = 403;BA.debugLine="End Sub"; +public String _rb_docno3_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=40960000; + //BA.debugLineNum = 40960000;BA.debugLine="Private Sub rb_docno3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=40960001; + //BA.debugLineNum = 40960001;BA.debugLine="p3 = \"No\""; +__ref._p3 /*String*/ = "No"; +RDebugUtils.currentLine=40960002; + //BA.debugLineNum = 40960002;BA.debugLine="End Sub"; return ""; } -public String _rb_docno3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 409;BA.debugLine="Private Sub rb_docno3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 410;BA.debugLine="p3 = \"No\""; -_p3 = "No"; - //BA.debugLineNum = 411;BA.debugLine="End Sub"; +public String _rb_docno4_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno4_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno4_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41091072; + //BA.debugLineNum = 41091072;BA.debugLine="Private Sub rb_docno4_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41091073; + //BA.debugLineNum = 41091073;BA.debugLine="p4 = \"No\""; +__ref._p4 /*String*/ = "No"; +RDebugUtils.currentLine=41091074; + //BA.debugLineNum = 41091074;BA.debugLine="End Sub"; return ""; } -public String _rb_docno4_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 417;BA.debugLine="Private Sub rb_docno4_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 418;BA.debugLine="p4 = \"No\""; -_p4 = "No"; - //BA.debugLineNum = 419;BA.debugLine="End Sub"; +public String _rb_docno5_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno5_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno5_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41222144; + //BA.debugLineNum = 41222144;BA.debugLine="Private Sub rb_docno5_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41222145; + //BA.debugLineNum = 41222145;BA.debugLine="p5 = \"No\""; +__ref._p5 /*String*/ = "No"; +RDebugUtils.currentLine=41222146; + //BA.debugLineNum = 41222146;BA.debugLine="End Sub"; return ""; } -public String _rb_docno5_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 425;BA.debugLine="Private Sub rb_docno5_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 426;BA.debugLine="p5 = \"No\""; -_p5 = "No"; - //BA.debugLineNum = 427;BA.debugLine="End Sub"; +public String _rb_docno6_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno6_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno6_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41353216; + //BA.debugLineNum = 41353216;BA.debugLine="Private Sub rb_docno6_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41353217; + //BA.debugLineNum = 41353217;BA.debugLine="p6 = \"No\""; +__ref._p6 /*String*/ = "No"; +RDebugUtils.currentLine=41353218; + //BA.debugLineNum = 41353218;BA.debugLine="End Sub"; return ""; } -public String _rb_docno6_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 433;BA.debugLine="Private Sub rb_docno6_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 434;BA.debugLine="p6 = \"No\""; -_p6 = "No"; - //BA.debugLineNum = 435;BA.debugLine="End Sub"; +public String _rb_docno7_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno7_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno7_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41484288; + //BA.debugLineNum = 41484288;BA.debugLine="Private Sub rb_docno7_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41484289; + //BA.debugLineNum = 41484289;BA.debugLine="p7 = \"No\""; +__ref._p7 /*String*/ = "No"; +RDebugUtils.currentLine=41484290; + //BA.debugLineNum = 41484290;BA.debugLine="End Sub"; return ""; } -public String _rb_docno7_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 441;BA.debugLine="Private Sub rb_docno7_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 442;BA.debugLine="p7 = \"No\""; -_p7 = "No"; - //BA.debugLineNum = 443;BA.debugLine="End Sub"; +public String _rb_docno8_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno8_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno8_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41615360; + //BA.debugLineNum = 41615360;BA.debugLine="Private Sub rb_docno8_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41615361; + //BA.debugLineNum = 41615361;BA.debugLine="p8 = \"No\""; +__ref._p8 /*String*/ = "No"; +RDebugUtils.currentLine=41615362; + //BA.debugLineNum = 41615362;BA.debugLine="End Sub"; return ""; } -public String _rb_docno8_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 449;BA.debugLine="Private Sub rb_docno8_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 450;BA.debugLine="p8 = \"No\""; -_p8 = "No"; - //BA.debugLineNum = 451;BA.debugLine="End Sub"; +public String _rb_docno9_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno9_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno9_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41746432; + //BA.debugLineNum = 41746432;BA.debugLine="Private Sub rb_docno9_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41746433; + //BA.debugLineNum = 41746433;BA.debugLine="p9 = \"Incorrecto\""; +__ref._p9 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=41746434; + //BA.debugLineNum = 41746434;BA.debugLine="End Sub"; return ""; } -public String _rb_docno9_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 457;BA.debugLine="Private Sub rb_docno9_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 458;BA.debugLine="p9 = \"Incorrecto\""; -_p9 = "Incorrecto"; - //BA.debugLineNum = 459;BA.debugLine="End Sub"; +public String _rb_docsi1_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=40763392; + //BA.debugLineNum = 40763392;BA.debugLine="Private Sub rb_docsi1_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=40763393; + //BA.debugLineNum = 40763393;BA.debugLine="p1 = \"Si\""; +__ref._p1 /*String*/ = "Si"; +RDebugUtils.currentLine=40763394; + //BA.debugLineNum = 40763394;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 397;BA.debugLine="Private Sub rb_docsi1_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 398;BA.debugLine="p1 = \"Si\""; -_p1 = "Si"; - //BA.debugLineNum = 399;BA.debugLine="End Sub"; +public String _rb_docsi11_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi11_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi11_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41943040; + //BA.debugLineNum = 41943040;BA.debugLine="Private Sub rb_docsi11_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=41943041; + //BA.debugLineNum = 41943041;BA.debugLine="p11 = \"Correcto\""; +__ref._p11 /*String*/ = "Correcto"; +RDebugUtils.currentLine=41943042; + //BA.debugLineNum = 41943042;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi11_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 469;BA.debugLine="Private Sub rb_docsi11_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 470;BA.debugLine="p11 = \"Correcto\""; -_p11 = "Correcto"; - //BA.debugLineNum = 471;BA.debugLine="End Sub"; +public String _rb_docsi13_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi13_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi13_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42074112; + //BA.debugLineNum = 42074112;BA.debugLine="Private Sub rb_docsi13_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42074113; + //BA.debugLineNum = 42074113;BA.debugLine="p13 = \"Correcto\""; +__ref._p13 /*String*/ = "Correcto"; +RDebugUtils.currentLine=42074114; + //BA.debugLineNum = 42074114;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi13_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 477;BA.debugLine="Private Sub rb_docsi13_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 478;BA.debugLine="p13 = \"Correcto\""; -_p13 = "Correcto"; - //BA.debugLineNum = 479;BA.debugLine="End Sub"; +public String _rb_docsi15_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi15_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi15_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42205184; + //BA.debugLineNum = 42205184;BA.debugLine="Private Sub rb_docsi15_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42205185; + //BA.debugLineNum = 42205185;BA.debugLine="p15 = \"Correcto\""; +__ref._p15 /*String*/ = "Correcto"; +RDebugUtils.currentLine=42205186; + //BA.debugLineNum = 42205186;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi15_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 485;BA.debugLine="Private Sub rb_docsi15_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 486;BA.debugLine="p15 = \"Correcto\""; -_p15 = "Correcto"; - //BA.debugLineNum = 487;BA.debugLine="End Sub"; +public String _rb_docsi16_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi16_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi16_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42336256; + //BA.debugLineNum = 42336256;BA.debugLine="Private Sub rb_docsi16_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42336257; + //BA.debugLineNum = 42336257;BA.debugLine="p16 = \"Correcto\""; +__ref._p16 /*String*/ = "Correcto"; +RDebugUtils.currentLine=42336258; + //BA.debugLineNum = 42336258;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi16_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 493;BA.debugLine="Private Sub rb_docsi16_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 494;BA.debugLine="p16 = \"Correcto\""; -_p16 = "Correcto"; - //BA.debugLineNum = 495;BA.debugLine="End Sub"; +public String _rb_docsi17_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi17_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi17_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42467328; + //BA.debugLineNum = 42467328;BA.debugLine="Private Sub rb_docsi17_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42467329; + //BA.debugLineNum = 42467329;BA.debugLine="p17 = \"Correcto\""; +__ref._p17 /*String*/ = "Correcto"; +RDebugUtils.currentLine=42467330; + //BA.debugLineNum = 42467330;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi17_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 501;BA.debugLine="Private Sub rb_docsi17_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 502;BA.debugLine="p17 = \"Correcto\""; -_p17 = "Correcto"; - //BA.debugLineNum = 503;BA.debugLine="End Sub"; +public String _rb_docsi18_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi18_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi18_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42598400; + //BA.debugLineNum = 42598400;BA.debugLine="Private Sub rb_docsi18_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42598401; + //BA.debugLineNum = 42598401;BA.debugLine="p18 = \"Correcto\""; +__ref._p18 /*String*/ = "Correcto"; +RDebugUtils.currentLine=42598402; + //BA.debugLineNum = 42598402;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi18_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 509;BA.debugLine="Private Sub rb_docsi18_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 510;BA.debugLine="p18 = \"Correcto\""; -_p18 = "Correcto"; - //BA.debugLineNum = 511;BA.debugLine="End Sub"; +public String _rb_docsi19_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi19_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi19_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=42729472; + //BA.debugLineNum = 42729472;BA.debugLine="Private Sub rb_docsi19_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=42729473; + //BA.debugLineNum = 42729473;BA.debugLine="p19 = \"Correcto\""; +__ref._p19 /*String*/ = "Correcto"; +RDebugUtils.currentLine=42729474; + //BA.debugLineNum = 42729474;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi19_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 517;BA.debugLine="Private Sub rb_docsi19_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 518;BA.debugLine="p19 = \"Correcto\""; -_p19 = "Correcto"; - //BA.debugLineNum = 519;BA.debugLine="End Sub"; +public String _rb_docsi2_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=40894464; + //BA.debugLineNum = 40894464;BA.debugLine="Private Sub rb_docsi2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=40894465; + //BA.debugLineNum = 40894465;BA.debugLine="p2 = \"Si\""; +__ref._p2 /*String*/ = "Si"; +RDebugUtils.currentLine=40894466; + //BA.debugLineNum = 40894466;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 405;BA.debugLine="Private Sub rb_docsi2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 406;BA.debugLine="p2 = \"Si\""; -_p2 = "Si"; - //BA.debugLineNum = 407;BA.debugLine="End Sub"; +public String _rb_docsi3_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41025536; + //BA.debugLineNum = 41025536;BA.debugLine="Private Sub rb_docsi3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41025537; + //BA.debugLineNum = 41025537;BA.debugLine="p3 = \"Si\""; +__ref._p3 /*String*/ = "Si"; +RDebugUtils.currentLine=41025538; + //BA.debugLineNum = 41025538;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 413;BA.debugLine="Private Sub rb_docsi3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 414;BA.debugLine="p3 = \"Si\""; -_p3 = "Si"; - //BA.debugLineNum = 415;BA.debugLine="End Sub"; +public String _rb_docsi4_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi4_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi4_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41156608; + //BA.debugLineNum = 41156608;BA.debugLine="Private Sub rb_docsi4_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41156609; + //BA.debugLineNum = 41156609;BA.debugLine="p4 = \"Si\""; +__ref._p4 /*String*/ = "Si"; +RDebugUtils.currentLine=41156610; + //BA.debugLineNum = 41156610;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi4_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 421;BA.debugLine="Private Sub rb_docsi4_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 422;BA.debugLine="p4 = \"Si\""; -_p4 = "Si"; - //BA.debugLineNum = 423;BA.debugLine="End Sub"; +public String _rb_docsi5_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi5_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi5_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41287680; + //BA.debugLineNum = 41287680;BA.debugLine="Private Sub rb_docsi5_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41287681; + //BA.debugLineNum = 41287681;BA.debugLine="p5 = \"Si\""; +__ref._p5 /*String*/ = "Si"; +RDebugUtils.currentLine=41287682; + //BA.debugLineNum = 41287682;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi5_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 429;BA.debugLine="Private Sub rb_docsi5_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 430;BA.debugLine="p5 = \"Si\""; -_p5 = "Si"; - //BA.debugLineNum = 431;BA.debugLine="End Sub"; +public String _rb_docsi6_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi6_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi6_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41418752; + //BA.debugLineNum = 41418752;BA.debugLine="Private Sub rb_docsi6_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41418753; + //BA.debugLineNum = 41418753;BA.debugLine="p6 = \"Si\""; +__ref._p6 /*String*/ = "Si"; +RDebugUtils.currentLine=41418754; + //BA.debugLineNum = 41418754;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi6_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 437;BA.debugLine="Private Sub rb_docsi6_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 438;BA.debugLine="p6 = \"Si\""; -_p6 = "Si"; - //BA.debugLineNum = 439;BA.debugLine="End Sub"; +public String _rb_docsi7_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi7_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi7_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41549824; + //BA.debugLineNum = 41549824;BA.debugLine="Private Sub rb_docsi7_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41549825; + //BA.debugLineNum = 41549825;BA.debugLine="p7 = \"Si\""; +__ref._p7 /*String*/ = "Si"; +RDebugUtils.currentLine=41549826; + //BA.debugLineNum = 41549826;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi7_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 445;BA.debugLine="Private Sub rb_docsi7_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 446;BA.debugLine="p7 = \"Si\""; -_p7 = "Si"; - //BA.debugLineNum = 447;BA.debugLine="End Sub"; +public String _rb_docsi8_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi8_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi8_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41680896; + //BA.debugLineNum = 41680896;BA.debugLine="Private Sub rb_docsi8_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41680897; + //BA.debugLineNum = 41680897;BA.debugLine="p8 = \"Si\""; +__ref._p8 /*String*/ = "Si"; +RDebugUtils.currentLine=41680898; + //BA.debugLineNum = 41680898;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi8_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 453;BA.debugLine="Private Sub rb_docsi8_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 454;BA.debugLine="p8 = \"Si\""; -_p8 = "Si"; - //BA.debugLineNum = 455;BA.debugLine="End Sub"; +public String _rb_docsi9_checkedchange(reparto_intmex.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi9_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi9_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=41811968; + //BA.debugLineNum = 41811968;BA.debugLine="Private Sub rb_docsi9_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=41811969; + //BA.debugLineNum = 41811969;BA.debugLine="p9 = \"Correcto\""; +__ref._p9 /*String*/ = "Correcto"; +RDebugUtils.currentLine=41811970; + //BA.debugLineNum = 41811970;BA.debugLine="End Sub"; return ""; } -public String _rb_docsi9_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 461;BA.debugLine="Private Sub rb_docsi9_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 462;BA.debugLine="p9 = \"Correcto\""; -_p9 = "Correcto"; - //BA.debugLineNum = 463;BA.debugLine="End Sub"; -return ""; -} -public String _stopcamera2() throws Exception{ - //BA.debugLineNum = 354;BA.debugLine="Private Sub StopCamera2"; - //BA.debugLineNum = 356;BA.debugLine="If camEx.IsInitialized Then"; -if (_camex.IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 357;BA.debugLine="camEx.Release"; -_camex._release /*String*/ (); - }; - //BA.debugLineNum = 359;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((reparto_intmex.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_cliente.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_cliente.java index 6db2f8f..2b37d7a 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_cliente.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_cliente.java @@ -10,7 +10,7 @@ public class c_cliente extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_cliente"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_cliente"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_cliente extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -126,10 +133,10 @@ public String _itemselect = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -137,19 +144,44 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 341;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 343;BA.debugLine="End Sub"; +public Object _initialize(reparto_intmex.keymon.lat.c_cliente __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=43319296; + //BA.debugLineNum = 43319296;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=43319297; + //BA.debugLineNum = 43319297;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=43319298; + //BA.debugLineNum = 43319298;BA.debugLine="End Sub"; +return null; +} +public String _activity_pause(reparto_intmex.keymon.lat.c_cliente __ref,boolean _userclosed) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +RDebugUtils.currentLine=43515904; + //BA.debugLineNum = 43515904;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=43515906; + //BA.debugLineNum = 43515906;BA.debugLine="End Sub"; return ""; } -public void _b_abono_click() throws Exception{ -ResumableSub_b_abono_Click rsub = new ResumableSub_b_abono_Click(this); +public void _b_abono_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_abono_click", false)) + {Debug.delegate(ba, "b_abono_click", null); return;} +ResumableSub_b_abono_Click rsub = new ResumableSub_b_abono_Click(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_b_abono_Click extends BA.ResumableSub { -public ResumableSub_b_abono_Click(reparto_intmex.keymon.lat.c_cliente parent) { +public ResumableSub_b_abono_Click(reparto_intmex.keymon.lat.c_cliente parent,reparto_intmex.keymon.lat.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_cliente __ref; reparto_intmex.keymon.lat.c_cliente parent; anywheresoftware.b4a.sql.SQL.CursorWrapper _con = null; int _consecutivo = 0; @@ -161,6 +193,7 @@ int limit10; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -170,26 +203,28 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 1357;BA.debugLine="If et_abono.Text <> \"\" Then"; +RDebugUtils.currentLine=45219842; + //BA.debugLineNum = 45219842;BA.debugLine="If et_abono.Text <> \"\" Then"; if (true) break; case 1: //if this.state = 28; -if ((parent._et_abono.getText()).equals("") == false) { +if ((__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 1358;BA.debugLine="If et_abono.text > l_montoabonostotal.text Then"; +RDebugUtils.currentLine=45219843; + //BA.debugLineNum = 45219843;BA.debugLine="If et_abono.text > l_montoabonostotal.text Then"; if (true) break; case 4: //if this.state = 27; -if ((double)(Double.parseDouble(parent._et_abono.getText()))>(double)(Double.parseDouble(parent._l_montoabonostotal.getText()))) { +if ((double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))) { this.state = 6; }else { this.state = 8; @@ -198,33 +233,36 @@ this.state = 8; case 6: //C this.state = 27; - //BA.debugLineNum = 1359;BA.debugLine="MsgboxAsync(\"El monto a abonar no puede ser may"; +RDebugUtils.currentLine=45219844; + //BA.debugLineNum = 45219844;BA.debugLine="MsgboxAsync(\"El monto a abonar no puede ser may"; parent.__c.MsgboxAsync(BA.ObjectToCharSequence("El monto a abonar no puede ser mayor que el monto total"),BA.ObjectToCharSequence("Atención"),ba); if (true) break; case 8: //C this.state = 9; - //BA.debugLineNum = 1361;BA.debugLine="If et_abono.Text <> \"\" And et_abono.Text > 0 Th"; +RDebugUtils.currentLine=45219846; + //BA.debugLineNum = 45219846;BA.debugLine="If et_abono.Text <> \"\" And et_abono.Text > 0 Th"; if (true) break; case 9: //if this.state = 26; -if ((parent._et_abono.getText()).equals("") == false && (double)(Double.parseDouble(parent._et_abono.getText()))>0) { +if ((__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false && (double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>0) { this.state = 11; }if (true) break; case 11: //C this.state = 12; - //BA.debugLineNum = 1362;BA.debugLine="If itemselect <> \"SELECCIONA UNA OPCION\" Then"; +RDebugUtils.currentLine=45219847; + //BA.debugLineNum = 45219847;BA.debugLine="If itemselect <> \"SELECCIONA UNA OPCION\" Then"; if (true) break; case 12: //if this.state = 25; -if ((parent._itemselect).equals("SELECCIONA UNA OPCION") == false) { +if ((__ref._itemselect /*String*/ ).equals("SELECCIONA UNA OPCION") == false) { this.state = 14; }else { this.state = 24; @@ -233,21 +271,25 @@ this.state = 24; case 14: //C this.state = 15; - //BA.debugLineNum = 1372;BA.debugLine="Dim con As Cursor = Starter.skmt.ExecQuery(\"S"; +RDebugUtils.currentLine=45219857; + //BA.debugLineNum = 45219857;BA.debugLine="Dim con As Cursor = Starter.skmt.ExecQuery(\"S"; _con = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _con = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ABONOS WHERE a_cliente in (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1373;BA.debugLine="Private consecutivo As Int = con.RowCount +1"; +RDebugUtils.currentLine=45219858; + //BA.debugLineNum = 45219858;BA.debugLine="Private consecutivo As Int = con.RowCount +1"; _consecutivo = (int) (_con.getRowCount()+1); - //BA.debugLineNum = 1375;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT NOTA, SALD"; -parent._d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE in (SELECT CUENTA FROM CUENTAA) AND SALDO_PENDIENTE <> 0"))); - //BA.debugLineNum = 1377;BA.debugLine="For i = 0 To d.RowCount - 1"; +RDebugUtils.currentLine=45219860; + //BA.debugLineNum = 45219860;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT NOTA, SALD"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE in (SELECT CUENTA FROM CUENTAA) AND SALDO_PENDIENTE <> 0"))); +RDebugUtils.currentLine=45219862; + //BA.debugLineNum = 45219862;BA.debugLine="For i = 0 To d.RowCount - 1"; if (true) break; case 15: //for this.state = 18; step10 = 1; -limit10 = (int) (parent._d.getRowCount()-1); +limit10 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 29; if (true) break; @@ -267,12 +309,15 @@ if (true) break; case 17: //C this.state = 30; - //BA.debugLineNum = 1378;BA.debugLine="d.Position = i"; -parent._d.setPosition(_i); - //BA.debugLineNum = 1379;BA.debugLine="Log(d.GetString(\"NOTA\"))"; -parent.__c.LogImpl("89830424",parent._d.GetString("NOTA"),0); - //BA.debugLineNum = 1380;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; -parent.__c.LogImpl("89830425",parent._d.GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=45219863; + //BA.debugLineNum = 45219863;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=45219864; + //BA.debugLineNum = 45219864;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +parent.__c.LogImpl("245219864",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),0); +RDebugUtils.currentLine=45219865; + //BA.debugLineNum = 45219865;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +parent.__c.LogImpl("245219865",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"),0); if (true) break; if (true) break; @@ -280,23 +325,28 @@ case 18: //C this.state = 19; ; - //BA.debugLineNum = 1385;BA.debugLine="Dim d5 As Cursor= Starter.skmt.ExecQuery(\"SEL"; +RDebugUtils.currentLine=45219870; + //BA.debugLineNum = 45219870;BA.debugLine="Dim d5 As Cursor= Starter.skmt.ExecQuery(\"SEL"; _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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 1387;BA.debugLine="d5.Position = 0"; +RDebugUtils.currentLine=45219872; + //BA.debugLineNum = 45219872;BA.debugLine="d5.Position = 0"; _d5.setPosition((int) (0)); - //BA.debugLineNum = 1393;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar u"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("¿Seguro que quieres realizar un abono de $"+parent.__c.SmartStringFormatter("",(Object)(parent._et_abono.getText()))+" para este cliente?")),BA.ObjectToCharSequence("Guardar Abono"),"Guardar","Cancelar","",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.True); - //BA.debugLineNum = 1394;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=45219878; + //BA.debugLineNum = 45219878;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar u"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("¿Seguro que quieres realizar un abono de $"+parent.__c.SmartStringFormatter("",(Object)(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+" para este cliente?")),BA.ObjectToCharSequence("Guardar Abono"),"Guardar","Cancelar","",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.True); +RDebugUtils.currentLine=45219879; + //BA.debugLineNum = 45219879;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_abono_click"), null); this.state = 31; return; case 31: //C this.state = 19; -_resultado = (Integer) result[0]; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 1395;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=45219880; + //BA.debugLineNum = 45219880;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 19: @@ -309,11 +359,14 @@ this.state = 21; case 21: //C this.state = 22; - //BA.debugLineNum = 1396;BA.debugLine="p_abono.Visible = False"; -parent._p_abono.setVisible(parent.__c.False); - //BA.debugLineNum = 1397;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABON"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha, TIPO_PAGO, CONSECUTIVO, NUM_TICKET, RUTA_REP) VALUES ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeusuariodebd /*String*/ (ba)))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeruta /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"' ,'"+parent.__c.SmartStringFormatter("",(Object)(parent._et_abono.getText()))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._fechakmt /*String*/ (ba,BA.NumberToString(parent.__c.DateTime.getNow()))))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._itemselect))+"', '"+parent.__c.SmartStringFormatter("",(Object)(_consecutivo))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._d.GetString("NOTA")))+"' , '"+parent.__c.SmartStringFormatter("",(Object)(_d5.GetString("RUTAA")))+"')")); - //BA.debugLineNum = 1398;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +RDebugUtils.currentLine=45219881; + //BA.debugLineNum = 45219881;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=45219882; + //BA.debugLineNum = 45219882;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABON"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha, TIPO_PAGO, CONSECUTIVO, NUM_TICKET, RUTA_REP) VALUES ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeusuariodebd /*String*/ (ba)))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeruta /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"' ,'"+parent.__c.SmartStringFormatter("",(Object)(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._fechakmt /*String*/ (ba,BA.NumberToString(parent.__c.DateTime.getNow()))))+"', '"+parent.__c.SmartStringFormatter("",(Object)(__ref._itemselect /*String*/ ))+"', '"+parent.__c.SmartStringFormatter("",(Object)(_consecutivo))+"', '"+parent.__c.SmartStringFormatter("",(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA")))+"' , '"+parent.__c.SmartStringFormatter("",(Object)(_d5.GetString("RUTAA")))+"')")); +RDebugUtils.currentLine=45219883; + //BA.debugLineNum = 45219883;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Abono guardado"),parent.__c.False); if (true) break; @@ -321,16 +374,19 @@ case 22: //C this.state = 25; ; - //BA.debugLineNum = 1414;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 1415;BA.debugLine="d5.Close"; +RDebugUtils.currentLine=45219899; + //BA.debugLineNum = 45219899;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=45219900; + //BA.debugLineNum = 45219900;BA.debugLine="d5.Close"; _d5.Close(); if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 1417;BA.debugLine="MsgboxAsync(\"Por favor selecciona un metodo d"; +RDebugUtils.currentLine=45219902; + //BA.debugLineNum = 45219902;BA.debugLine="MsgboxAsync(\"Por favor selecciona un metodo d"; parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor selecciona un metodo de pago"),BA.ObjectToCharSequence("Atención"),ba); if (true) break; @@ -356,336 +412,661 @@ case 28: //C this.state = -1; ; - //BA.debugLineNum = 1422;BA.debugLine="ime.HideKeyboard"; -parent._ime.HideKeyboard(ba); - //BA.debugLineNum = 1423;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45219907; + //BA.debugLineNum = 45219907;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=45219908; + //BA.debugLineNum = 45219908;BA.debugLine="End Sub"; if (true) break; } } } } -public void _msgbox_result(int _resultado) throws Exception{ -} -public String _b_acred_click() throws Exception{ - //BA.debugLineNum = 1086;BA.debugLine="Private Sub b_acred_Click"; - //BA.debugLineNum = 1087;BA.debugLine="If et_montoacredito.Text > l_total.Text.Replace(\""; -if ((double)(Double.parseDouble(_et_montoacredito.getText()))>(double)(Double.parseDouble(_l_total.getText().replace(",","")))) { - //BA.debugLineNum = 1088;BA.debugLine="MsgboxAsync(\"El monto del pagare no puede ser ma"; +public String _b_acred_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_acred_click", false)) + {return ((String) Debug.delegate(ba, "b_acred_click", null));} +RDebugUtils.currentLine=44761088; + //BA.debugLineNum = 44761088;BA.debugLine="Private Sub b_acred_Click"; +RDebugUtils.currentLine=44761089; + //BA.debugLineNum = 44761089;BA.debugLine="If et_montoacredito.Text > l_total.Text.Replace(\""; +if ((double)(Double.parseDouble(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText().replace(",","")))) { +RDebugUtils.currentLine=44761090; + //BA.debugLineNum = 44761090;BA.debugLine="MsgboxAsync(\"El monto del pagare no puede ser ma"; __c.MsgboxAsync(BA.ObjectToCharSequence("El monto del pagare no puede ser mayor a la venta"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 1090;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=44761092; + //BA.debugLineNum = 44761092;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 1091;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=44761093; + //BA.debugLineNum = 44761093;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 1092;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1093;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1095;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cue"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 1096;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1097;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 1098;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1100;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"))); - //BA.debugLineNum = 1101;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1102;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1103;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1105;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 1106;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1107;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 1108;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1110;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_FECHA from"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1111;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1112;BA.debugLine="fechaprev = c.GetString(\"HVD_FECHA\")"; -_fechaprev = _c.GetString("HVD_FECHA"); - //BA.debugLineNum = 1113;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1115;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1116;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1117;BA.debugLine="rutaprev = c.GetString(\"CAT_CL_RUTA\")"; -_rutaprev = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 1118;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1120;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; -_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 RUTAA from RUTAA"))); - //BA.debugLineNum = 1121;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1122;BA.debugLine="rutarep = c.GetString(\"RUTAA\")"; -_rutarep = _c.GetString("RUTAA"); - //BA.debugLineNum = 1123;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1124;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGARES"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_rutarep),(Object)(_rutaprev),(Object)(_fechaprev),(Object)((_sdate)),(Object)(_et_montoacredito.getText()),(Object)(_usuario),(Object)(_cuenta)})); - //BA.debugLineNum = 1125;BA.debugLine="et_montoacredito.Text = \"\""; -_et_montoacredito.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1126;BA.debugLine="p_credito.Visible = False"; -_p_credito.setVisible(__c.False); - //BA.debugLineNum = 1127;BA.debugLine="Guardado"; -_guardado(); +RDebugUtils.currentLine=44761094; + //BA.debugLineNum = 44761094;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=44761095; + //BA.debugLineNum = 44761095;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=44761097; + //BA.debugLineNum = 44761097;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cue"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=44761098; + //BA.debugLineNum = 44761098;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44761099; + //BA.debugLineNum = 44761099;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=44761100; + //BA.debugLineNum = 44761100;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44761102; + //BA.debugLineNum = 44761102;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=44761103; + //BA.debugLineNum = 44761103;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44761104; + //BA.debugLineNum = 44761104;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=44761105; + //BA.debugLineNum = 44761105;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44761107; + //BA.debugLineNum = 44761107;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=44761108; + //BA.debugLineNum = 44761108;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44761109; + //BA.debugLineNum = 44761109;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=44761110; + //BA.debugLineNum = 44761110;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44761112; + //BA.debugLineNum = 44761112;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_FECHA from"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=44761113; + //BA.debugLineNum = 44761113;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44761114; + //BA.debugLineNum = 44761114;BA.debugLine="fechaprev = c.GetString(\"HVD_FECHA\")"; +__ref._fechaprev /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"); +RDebugUtils.currentLine=44761115; + //BA.debugLineNum = 44761115;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44761117; + //BA.debugLineNum = 44761117;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=44761118; + //BA.debugLineNum = 44761118;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44761119; + //BA.debugLineNum = 44761119;BA.debugLine="rutaprev = c.GetString(\"CAT_CL_RUTA\")"; +__ref._rutaprev /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=44761120; + //BA.debugLineNum = 44761120;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44761122; + //BA.debugLineNum = 44761122;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=44761123; + //BA.debugLineNum = 44761123;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44761124; + //BA.debugLineNum = 44761124;BA.debugLine="rutarep = c.GetString(\"RUTAA\")"; +__ref._rutarep /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=44761125; + //BA.debugLineNum = 44761125;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44761126; + //BA.debugLineNum = 44761126;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGARES"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._rutarep /*String*/ ),(Object)(__ref._rutaprev /*String*/ ),(Object)(__ref._fechaprev /*String*/ ),(Object)((__ref._sdate /*String*/ )),(Object)(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cuenta /*String*/ )})); +RDebugUtils.currentLine=44761127; + //BA.debugLineNum = 44761127;BA.debugLine="et_montoacredito.Text = \"\""; +__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=44761128; + //BA.debugLineNum = 44761128;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=44761129; + //BA.debugLineNum = 44761129;BA.debugLine="Guardado"; +__ref._guardado /*String*/ (null); }; - //BA.debugLineNum = 1129;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44761131; + //BA.debugLineNum = 44761131;BA.debugLine="End Sub"; return ""; } -public String _b_cancelar_click() throws Exception{ - //BA.debugLineNum = 1306;BA.debugLine="Private Sub b_cancelar_Click"; - //BA.debugLineNum = 1307;BA.debugLine="et_abono.Text = \"\""; -_et_abono.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1308;BA.debugLine="p_abono.Visible = False"; -_p_abono.setVisible(__c.False); - //BA.debugLineNum = 1309;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 1310;BA.debugLine="End Sub"; +public String _guardado(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guardado", false)) + {return ((String) Debug.delegate(ba, "guardado", null));} +String _ruta = ""; +String _rutapre = ""; +String _rutaactualizar = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; +RDebugUtils.currentLine=43778048; + //BA.debugLineNum = 43778048;BA.debugLine="Sub Guardado"; +RDebugUtils.currentLine=43778049; + //BA.debugLineNum = 43778049;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=43778050; + //BA.debugLineNum = 43778050;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=43778051; + //BA.debugLineNum = 43778051;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=43778052; + //BA.debugLineNum = 43778052;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=43778053; + //BA.debugLineNum = 43778053;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=43778054; + //BA.debugLineNum = 43778054;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43778055; + //BA.debugLineNum = 43778055;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=43778056; + //BA.debugLineNum = 43778056;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=43778057; + //BA.debugLineNum = 43778057;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43778058; + //BA.debugLineNum = 43778058;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=43778059; + //BA.debugLineNum = 43778059;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43778060; + //BA.debugLineNum = 43778060;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=43778061; + //BA.debugLineNum = 43778061;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43778062; + //BA.debugLineNum = 43778062;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +_ruta = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=43778063; + //BA.debugLineNum = 43778063;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43778064; + //BA.debugLineNum = 43778064;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=43778065; + //BA.debugLineNum = 43778065;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43778066; + //BA.debugLineNum = 43778066;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\""; +_rutapre = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=43778067; + //BA.debugLineNum = 43778067;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43778071; + //BA.debugLineNum = 43778071;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; +_fechaprev = _subs._traefechaprev /*String*/ (ba); +RDebugUtils.currentLine=43778074; + //BA.debugLineNum = 43778074;BA.debugLine="Dim rutaactualizar As String"; +_rutaactualizar = ""; +RDebugUtils.currentLine=43778075; + //BA.debugLineNum = 43778075;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rut = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=43778076; + //BA.debugLineNum = 43778076;BA.debugLine="If rut.RowCount > 0 Then"; +if (_rut.getRowCount()>0) { +RDebugUtils.currentLine=43778077; + //BA.debugLineNum = 43778077;BA.debugLine="rut.Position = 0"; +_rut.setPosition((int) (0)); +RDebugUtils.currentLine=43778078; + //BA.debugLineNum = 43778078;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=43778081; + //BA.debugLineNum = 43778081;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA W"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) ")); +RDebugUtils.currentLine=43778082; + //BA.debugLineNum = 43778082;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA ("; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cuenta /*String*/ ),(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)("ENTREGA"),(Object)("ENTREGA COMPLETA"),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); +RDebugUtils.currentLine=43778083; + //BA.debugLineNum = 43778083;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),__ref._usuario /*String*/ ,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,__ref._fechaprev /*String*/ ,"ENTREGADO"})); +RDebugUtils.currentLine=43778084; + //BA.debugLineNum = 43778084;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 2, HORAENT = '"+__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); +RDebugUtils.currentLine=43778085; + //BA.debugLineNum = 43778085;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=43778086; + //BA.debugLineNum = 43778086;BA.debugLine="mandaPendientesreparto"; +__ref._mandapendientesreparto /*String*/ (null); +RDebugUtils.currentLine=43778093; + //BA.debugLineNum = 43778093;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=43778095; + //BA.debugLineNum = 43778095;BA.debugLine="End Sub"; return ""; } -public String _b_cancred_click() throws Exception{ - //BA.debugLineNum = 1131;BA.debugLine="Private Sub b_cancred_Click"; - //BA.debugLineNum = 1132;BA.debugLine="et_montoacredito.Text = \"\""; -_et_montoacredito.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1133;BA.debugLine="p_credito.Visible = False"; -_p_credito.setVisible(__c.False); - //BA.debugLineNum = 1134;BA.debugLine="End Sub"; +public String _b_cancelar_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancelar_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelar_click", null));} +RDebugUtils.currentLine=45154304; + //BA.debugLineNum = 45154304;BA.debugLine="Private Sub b_cancelar_Click"; +RDebugUtils.currentLine=45154305; + //BA.debugLineNum = 45154305;BA.debugLine="et_abono.Text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=45154306; + //BA.debugLineNum = 45154306;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=45154307; + //BA.debugLineNum = 45154307;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=45154308; + //BA.debugLineNum = 45154308;BA.debugLine="End Sub"; return ""; } -public String _b_cxc_click() throws Exception{ +public String _b_cancred_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancred_click", false)) + {return ((String) Debug.delegate(ba, "b_cancred_click", null));} +RDebugUtils.currentLine=44826624; + //BA.debugLineNum = 44826624;BA.debugLine="Private Sub b_cancred_Click"; +RDebugUtils.currentLine=44826625; + //BA.debugLineNum = 44826625;BA.debugLine="et_montoacredito.Text = \"\""; +__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=44826626; + //BA.debugLineNum = 44826626;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=44826627; + //BA.debugLineNum = 44826627;BA.debugLine="End Sub"; +return ""; +} +public String _b_cxc_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cxc_click", false)) + {return ((String) Debug.delegate(ba, "b_cxc_click", null));} anywheresoftware.b4a.objects.collections.List _items = null; double _total = 0; int _i = 0; - //BA.debugLineNum = 1198;BA.debugLine="Private Sub b_cxc_Click"; - //BA.debugLineNum = 1199;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from CU"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); - //BA.debugLineNum = 1200;BA.debugLine="h.Position = 0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 1201;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; -__c.LogImpl("89568259",_h.GetString("CUENTA"),0); - //BA.debugLineNum = 1204;BA.debugLine="Dim Items As List"; +RDebugUtils.currentLine=44957696; + //BA.debugLineNum = 44957696;BA.debugLine="Private Sub b_cxc_Click"; +RDebugUtils.currentLine=44957697; + //BA.debugLineNum = 44957697;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from CU"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); +RDebugUtils.currentLine=44957698; + //BA.debugLineNum = 44957698;BA.debugLine="h.Position = 0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44957699; + //BA.debugLineNum = 44957699;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +__c.LogImpl("244957699",__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"),0); +RDebugUtils.currentLine=44957702; + //BA.debugLineNum = 44957702;BA.debugLine="Dim Items As List"; _items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1205;BA.debugLine="Items.Initialize"; +RDebugUtils.currentLine=44957703; + //BA.debugLineNum = 44957703;BA.debugLine="Items.Initialize"; _items.Initialize(); - //BA.debugLineNum = 1207;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCION\")"; +RDebugUtils.currentLine=44957705; + //BA.debugLineNum = 44957705;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCION\")"; _items.Add((Object)("SELECCIONA UNA OPCION")); - //BA.debugLineNum = 1208;BA.debugLine="Items.Add(\"TRANSFERENCIA\")"; +RDebugUtils.currentLine=44957706; + //BA.debugLineNum = 44957706;BA.debugLine="Items.Add(\"TRANSFERENCIA\")"; _items.Add((Object)("TRANSFERENCIA")); - //BA.debugLineNum = 1209;BA.debugLine="Items.Add(\"EFECTIVO\")"; +RDebugUtils.currentLine=44957707; + //BA.debugLineNum = 44957707;BA.debugLine="Items.Add(\"EFECTIVO\")"; _items.Add((Object)("EFECTIVO")); - //BA.debugLineNum = 1210;BA.debugLine="Items.Add(\"CHEQUE\")"; +RDebugUtils.currentLine=44957708; + //BA.debugLineNum = 44957708;BA.debugLine="Items.Add(\"CHEQUE\")"; _items.Add((Object)("CHEQUE")); - //BA.debugLineNum = 1212;BA.debugLine="cb_tipopago.SetItems(Items)"; -_cb_tipopago._setitems /*String*/ (_items); - //BA.debugLineNum = 1214;BA.debugLine="itemselect= \"SELECCIONA UNA OPCION\""; -_itemselect = "SELECCIONA UNA OPCION"; - //BA.debugLineNum = 1216;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM"; -_j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{_h.GetString("CUENTA")}))); - //BA.debugLineNum = 1217;BA.debugLine="j.position = 0"; -_j.setPosition((int) (0)); - //BA.debugLineNum = 1218;BA.debugLine="Log(j.RowCount)"; -__c.LogImpl("89568276",BA.NumberToString(_j.getRowCount()),0); - //BA.debugLineNum = 1219;BA.debugLine="If j.RowCount = 0 Then"; -if (_j.getRowCount()==0) { - //BA.debugLineNum = 1220;BA.debugLine="p_abono.Visible = True"; -_p_abono.setVisible(__c.True); - //BA.debugLineNum = 1221;BA.debugLine="p_abono.Height = Root.Height"; -_p_abono.setHeight(_root.getHeight()); - //BA.debugLineNum = 1222;BA.debugLine="p_abono.Width = Root.Width"; -_p_abono.setWidth(_root.getWidth()); - //BA.debugLineNum = 1223;BA.debugLine="et_abono.text = \"\""; -_et_abono.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1224;BA.debugLine="Dim total As Double = 0"; +RDebugUtils.currentLine=44957710; + //BA.debugLineNum = 44957710;BA.debugLine="cb_tipopago.SetItems(Items)"; +__ref._cb_tipopago /*reparto_intmex.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=44957712; + //BA.debugLineNum = 44957712;BA.debugLine="itemselect= \"SELECCIONA UNA OPCION\""; +__ref._itemselect /*String*/ = "SELECCIONA UNA OPCION"; +RDebugUtils.currentLine=44957714; + //BA.debugLineNum = 44957714;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=44957715; + //BA.debugLineNum = 44957715;BA.debugLine="j.position = 0"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44957716; + //BA.debugLineNum = 44957716;BA.debugLine="Log(j.RowCount)"; +__c.LogImpl("244957716",BA.NumberToString(__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=44957717; + //BA.debugLineNum = 44957717;BA.debugLine="If j.RowCount = 0 Then"; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=44957718; + //BA.debugLineNum = 44957718;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=44957719; + //BA.debugLineNum = 44957719;BA.debugLine="p_abono.Height = Root.Height"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=44957720; + //BA.debugLineNum = 44957720;BA.debugLine="p_abono.Width = Root.Width"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=44957721; + //BA.debugLineNum = 44957721;BA.debugLine="et_abono.text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=44957722; + //BA.debugLineNum = 44957722;BA.debugLine="Dim total As Double = 0"; _total = 0; - //BA.debugLineNum = 1225;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); - //BA.debugLineNum = 1226;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 1227;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0",new String[]{_f.GetString("CUENTA")}))); - //BA.debugLineNum = 1228;BA.debugLine="clv_abonos.Clear"; -_clv_abonos._clear(); - //BA.debugLineNum = 1229;BA.debugLine="For i = 0 To d.RowCount - 1"; +RDebugUtils.currentLine=44957723; + //BA.debugLineNum = 44957723;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=44957724; + //BA.debugLineNum = 44957724;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44957725; + //BA.debugLineNum = 44957725;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=44957726; + //BA.debugLineNum = 44957726;BA.debugLine="clv_abonos.Clear"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=44957727; + //BA.debugLineNum = 44957727;BA.debugLine="For i = 0 To d.RowCount - 1"; { final int step25 = 1; -final int limit25 = (int) (_d.getRowCount()-1); +final int limit25 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit25 ;_i = _i + step25 ) { - //BA.debugLineNum = 1230;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 1231;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; -_clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_d.GetString("NOTA"),"$ "+_d.GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); - //BA.debugLineNum = 1232;BA.debugLine="Log(d.GetString(\"NOTA\"))"; -__c.LogImpl("89568290",_d.GetString("NOTA"),0); - //BA.debugLineNum = 1233;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; -__c.LogImpl("89568291",_d.GetString("SALDO_PENDIENTE"),0); - //BA.debugLineNum = 1234;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; -_total = _total+(double)(Double.parseDouble(_d.GetString("SALDO_PENDIENTE"))); - //BA.debugLineNum = 1235;BA.debugLine="Log(total)"; -__c.LogImpl("89568293",BA.NumberToString(_total),0); +RDebugUtils.currentLine=44957728; + //BA.debugLineNum = 44957728;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=44957729; + //BA.debugLineNum = 44957729;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),"$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=44957730; + //BA.debugLineNum = 44957730;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +__c.LogImpl("244957730",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),0); +RDebugUtils.currentLine=44957731; + //BA.debugLineNum = 44957731;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("244957731",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=44957732; + //BA.debugLineNum = 44957732;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +_total = _total+(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"))); +RDebugUtils.currentLine=44957733; + //BA.debugLineNum = 44957733;BA.debugLine="Log(total)"; +__c.LogImpl("244957733",BA.NumberToString(_total),0); } }; - //BA.debugLineNum = 1237;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1238;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? ",new String[]{_f.GetString("CUENTA")}))); - //BA.debugLineNum = 1239;BA.debugLine="If d.RowCount > 0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 1240;BA.debugLine="For i = 0 To d.RowCount - 1"; +RDebugUtils.currentLine=44957735; + //BA.debugLineNum = 44957735;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44957736; + //BA.debugLineNum = 44957736;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=44957737; + //BA.debugLineNum = 44957737;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=44957738; + //BA.debugLineNum = 44957738;BA.debugLine="For i = 0 To d.RowCount - 1"; { final int step36 = 1; -final int limit36 = (int) (_d.getRowCount()-1); +final int limit36 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit36 ;_i = _i + step36 ) { - //BA.debugLineNum = 1241;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 1242;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; -_clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem("ABONO","$ "+_d.GetString("a_abono")).getObject())),(Object)(_i)); - //BA.debugLineNum = 1243;BA.debugLine="total = total - d.GetString(\"a_abono\")"; -_total = _total-(double)(Double.parseDouble(_d.GetString("a_abono"))); - //BA.debugLineNum = 1244;BA.debugLine="Log(total)"; -__c.LogImpl("89568302",BA.NumberToString(_total),0); +RDebugUtils.currentLine=44957739; + //BA.debugLineNum = 44957739;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=44957740; + //BA.debugLineNum = 44957740;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,"ABONO","$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=44957741; + //BA.debugLineNum = 44957741;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +_total = _total-(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono"))); +RDebugUtils.currentLine=44957742; + //BA.debugLineNum = 44957742;BA.debugLine="Log(total)"; +__c.LogImpl("244957742",BA.NumberToString(_total),0); } }; }; - //BA.debugLineNum = 1247;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; -_l_montoabonostotal.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_total,(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 1248;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1249;BA.debugLine="f.Close"; -_f.Close(); - }else if(_j.getRowCount()>0) { - //BA.debugLineNum = 1251;BA.debugLine="p_abono.Visible = True"; -_p_abono.setVisible(__c.True); - //BA.debugLineNum = 1252;BA.debugLine="p_abono.Height = Root.Height"; -_p_abono.setHeight(_root.getHeight()); - //BA.debugLineNum = 1253;BA.debugLine="p_abono.Width = Root.Width"; -_p_abono.setWidth(_root.getWidth()); - //BA.debugLineNum = 1254;BA.debugLine="et_abono.text = \"\""; -_et_abono.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1255;BA.debugLine="Dim total As Double = 0"; +RDebugUtils.currentLine=44957745; + //BA.debugLineNum = 44957745;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_total,(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=44957746; + //BA.debugLineNum = 44957746;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44957747; + //BA.debugLineNum = 44957747;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=44957748; + //BA.debugLineNum = 44957748;BA.debugLine="Else If j.RowCount > 0 Then"; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=44957749; + //BA.debugLineNum = 44957749;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=44957750; + //BA.debugLineNum = 44957750;BA.debugLine="p_abono.Height = Root.Height"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=44957751; + //BA.debugLineNum = 44957751;BA.debugLine="p_abono.Width = Root.Width"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=44957752; + //BA.debugLineNum = 44957752;BA.debugLine="et_abono.text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=44957753; + //BA.debugLineNum = 44957753;BA.debugLine="Dim total As Double = 0"; _total = 0; - //BA.debugLineNum = 1256;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); - //BA.debugLineNum = 1257;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 1258;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0",new String[]{_f.GetString("CUENTA")}))); - //BA.debugLineNum = 1259;BA.debugLine="clv_abonos.Clear"; -_clv_abonos._clear(); - //BA.debugLineNum = 1260;BA.debugLine="For i = 0 To d.RowCount - 1"; +RDebugUtils.currentLine=44957754; + //BA.debugLineNum = 44957754;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=44957755; + //BA.debugLineNum = 44957755;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44957756; + //BA.debugLineNum = 44957756;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=44957757; + //BA.debugLineNum = 44957757;BA.debugLine="clv_abonos.Clear"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=44957758; + //BA.debugLineNum = 44957758;BA.debugLine="For i = 0 To d.RowCount - 1"; { final int step56 = 1; -final int limit56 = (int) (_d.getRowCount()-1); +final int limit56 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit56 ;_i = _i + step56 ) { - //BA.debugLineNum = 1261;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 1262;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; -_clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_d.GetString("NOTA"),"$ "+_d.GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); - //BA.debugLineNum = 1263;BA.debugLine="Log(d.GetString(\"NOTA\"))"; -__c.LogImpl("89568321",_d.GetString("NOTA"),0); - //BA.debugLineNum = 1264;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; -__c.LogImpl("89568322",_d.GetString("SALDO_PENDIENTE"),0); - //BA.debugLineNum = 1265;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; -_total = _total+(double)(Double.parseDouble(_d.GetString("SALDO_PENDIENTE"))); - //BA.debugLineNum = 1266;BA.debugLine="Log(total)"; -__c.LogImpl("89568324",BA.NumberToString(_total),0); +RDebugUtils.currentLine=44957759; + //BA.debugLineNum = 44957759;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=44957760; + //BA.debugLineNum = 44957760;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),"$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=44957761; + //BA.debugLineNum = 44957761;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +__c.LogImpl("244957761",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),0); +RDebugUtils.currentLine=44957762; + //BA.debugLineNum = 44957762;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("244957762",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=44957763; + //BA.debugLineNum = 44957763;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +_total = _total+(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"))); +RDebugUtils.currentLine=44957764; + //BA.debugLineNum = 44957764;BA.debugLine="Log(total)"; +__c.LogImpl("244957764",BA.NumberToString(_total),0); } }; - //BA.debugLineNum = 1268;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1269;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? ",new String[]{_f.GetString("CUENTA")}))); - //BA.debugLineNum = 1270;BA.debugLine="If d.RowCount > 0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 1271;BA.debugLine="For i = 0 To d.RowCount - 1"; +RDebugUtils.currentLine=44957766; + //BA.debugLineNum = 44957766;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44957767; + //BA.debugLineNum = 44957767;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=44957768; + //BA.debugLineNum = 44957768;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=44957769; + //BA.debugLineNum = 44957769;BA.debugLine="For i = 0 To d.RowCount - 1"; { final int step67 = 1; -final int limit67 = (int) (_d.getRowCount()-1); +final int limit67 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit67 ;_i = _i + step67 ) { - //BA.debugLineNum = 1272;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 1273;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; -_clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem("ABONO","$ "+_d.GetString("a_abono")).getObject())),(Object)(_i)); - //BA.debugLineNum = 1274;BA.debugLine="total = total - d.GetString(\"a_abono\")"; -_total = _total-(double)(Double.parseDouble(_d.GetString("a_abono"))); - //BA.debugLineNum = 1275;BA.debugLine="Log(total)"; -__c.LogImpl("89568333",BA.NumberToString(_total),0); +RDebugUtils.currentLine=44957770; + //BA.debugLineNum = 44957770;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=44957771; + //BA.debugLineNum = 44957771;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,"ABONO","$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=44957772; + //BA.debugLineNum = 44957772;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +_total = _total-(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono"))); +RDebugUtils.currentLine=44957773; + //BA.debugLineNum = 44957773;BA.debugLine="Log(total)"; +__c.LogImpl("244957773",BA.NumberToString(_total),0); } }; }; - //BA.debugLineNum = 1278;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; -_l_montoabonostotal.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_total,(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 1279;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1280;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 1283;BA.debugLine="h.Close"; -_h.Close(); - //BA.debugLineNum = 1284;BA.debugLine="j.Close"; -_j.Close(); - //BA.debugLineNum = 1285;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44957776; + //BA.debugLineNum = 44957776;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_total,(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=44957777; + //BA.debugLineNum = 44957777;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44957778; + //BA.debugLineNum = 44957778;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; +RDebugUtils.currentLine=44957781; + //BA.debugLineNum = 44957781;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44957782; + //BA.debugLineNum = 44957782;BA.debugLine="j.Close"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44957783; + //BA.debugLineNum = 44957783;BA.debugLine="End Sub"; return ""; } -public String _b_imp_click() throws Exception{ - //BA.debugLineNum = 529;BA.debugLine="Sub B_IMP_Click"; - //BA.debugLineNum = 943;BA.debugLine="Guardado"; -_guardado(); - //BA.debugLineNum = 944;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_intmex.keymon.lat.c_cliente __ref,String _mostrar,String _mostrar1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_mostrar,_mostrar1}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=45088768; + //BA.debugLineNum = 45088768;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; +RDebugUtils.currentLine=45088769; + //BA.debugLineNum = 45088769;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=45088770; + //BA.debugLineNum = 45088770;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=45088771; + //BA.debugLineNum = 45088771;BA.debugLine="p.LoadLayout(\"folioabono\")"; +_p.LoadLayout("folioabono",ba); +RDebugUtils.currentLine=45088772; + //BA.debugLineNum = 45088772;BA.debugLine="p.Height= 32dip"; +_p.setHeight(__c.DipToCurrent((int) (32))); +RDebugUtils.currentLine=45088773; + //BA.debugLineNum = 45088773;BA.debugLine="p.Width = 80dip"; +_p.setWidth(__c.DipToCurrent((int) (80))); +RDebugUtils.currentLine=45088775; + //BA.debugLineNum = 45088775;BA.debugLine="l_folio.Text = mostrar"; +__ref._l_folio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar)); +RDebugUtils.currentLine=45088776; + //BA.debugLineNum = 45088776;BA.debugLine="l_saldo.Text = mostrar1"; +__ref._l_saldo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar1)); +RDebugUtils.currentLine=45088779; + //BA.debugLineNum = 45088779;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=45088780; + //BA.debugLineNum = 45088780;BA.debugLine="End Sub"; +return null; +} +public String _b_imp_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_imp_click", false)) + {return ((String) Debug.delegate(ba, "b_imp_click", null));} +RDebugUtils.currentLine=44302336; + //BA.debugLineNum = 44302336;BA.debugLine="Sub B_IMP_Click"; +RDebugUtils.currentLine=44302750; + //BA.debugLineNum = 44302750;BA.debugLine="Guardado"; +__ref._guardado /*String*/ (null); +RDebugUtils.currentLine=44302751; + //BA.debugLineNum = 44302751;BA.debugLine="End Sub"; return ""; } -public String _b_noentrega_click() throws Exception{ - //BA.debugLineNum = 479;BA.debugLine="Sub b_noEntrega_Click"; - //BA.debugLineNum = 481;BA.debugLine="B4XPages.ShowPage(\"noVenta\")"; +public String _b_noentrega_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_noentrega_click", false)) + {return ((String) Debug.delegate(ba, "b_noentrega_click", null));} +RDebugUtils.currentLine=43843584; + //BA.debugLineNum = 43843584;BA.debugLine="Sub b_noEntrega_Click"; +RDebugUtils.currentLine=43843586; + //BA.debugLineNum = 43843586;BA.debugLine="B4XPages.ShowPage(\"noVenta\")"; _b4xpages._showpage /*String*/ (ba,"noVenta"); - //BA.debugLineNum = 482;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43843587; + //BA.debugLineNum = 43843587;BA.debugLine="End Sub"; return ""; } -public String _b_paso2_click() throws Exception{ - //BA.debugLineNum = 1018;BA.debugLine="Sub B_PASO2_Click"; - //BA.debugLineNum = 1019;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +public String _b_paso2_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_paso2_click", false)) + {return ((String) Debug.delegate(ba, "b_paso2_click", null));} +RDebugUtils.currentLine=44564480; + //BA.debugLineNum = 44564480;BA.debugLine="Sub B_PASO2_Click"; +RDebugUtils.currentLine=44564481; + //BA.debugLineNum = 44564481;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1020;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1021;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1022;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 1023;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1024;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 1025;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 1026;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1027;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1028;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1029;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +RDebugUtils.currentLine=44564482; + //BA.debugLineNum = 44564482;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=44564483; + //BA.debugLineNum = 44564483;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=44564484; + //BA.debugLineNum = 44564484;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=44564485; + //BA.debugLineNum = 44564485;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44564486; + //BA.debugLineNum = 44564486;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=44564487; + //BA.debugLineNum = 44564487;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=44564488; + //BA.debugLineNum = 44564488;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=44564489; + //BA.debugLineNum = 44564489;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=44564490; + //BA.debugLineNum = 44564490;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=44564491; + //BA.debugLineNum = 44564491;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); - //BA.debugLineNum = 1030;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+_stime),(Object)(_usuario),(Object)("PASO"),(Object)("PASO ESPERA"),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 1036;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=44564492; + //BA.debugLineNum = 44564492;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cuenta /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)("PASO"),(Object)("PASO ESPERA"),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=44564498; + //BA.debugLineNum = 44564498;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 1038;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44564500; + //BA.debugLineNum = 44564500;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} anywheresoftware.b4a.objects.collections.Map _cym = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; String _cuenta0 = ""; @@ -704,170 +1085,238 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; String _cuenta3 = ""; String _arti3 = ""; String _cabonos = ""; - //BA.debugLineNum = 144;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 145;BA.debugLine="banderaimp = 0"; -_banderaimp = (int) (0); - //BA.debugLineNum = 146;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 147;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; +RDebugUtils.currentLine=43450368; + //BA.debugLineNum = 43450368;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=43450369; + //BA.debugLineNum = 43450369;BA.debugLine="banderaimp = 0"; +__ref._banderaimp /*int*/ = (int) (0); +RDebugUtils.currentLine=43450370; + //BA.debugLineNum = 43450370;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=43450371; + //BA.debugLineNum = 43450371;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_starter._ruta /*String*/ ,"kmt.db",__c.True); - //BA.debugLineNum = 148;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 149;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_BCREDITO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 150;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 151;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 152;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 153;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -_la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 154;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -_la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 155;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")"; -_nombre = _c.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 156;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")"; -_longitud = _c.GetString("CAT_CL_LONG"); - //BA.debugLineNum = 157;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")"; -_latitud = _c.GetString("CAT_CL_LAT"); - //BA.debugLineNum = 158;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; -_la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+_c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 159;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -_la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 160;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -_la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 161;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; -_la_cp.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CP"))); - //BA.debugLineNum = 162;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -_l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 163;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -_l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 164;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; -if (_c.GetString("CAT_CL_ATIENDE1")!= null && (_c.GetString("CAT_CL_ATIENDE1")).equals("null") == false) { - //BA.debugLineNum = 165;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -_l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); +RDebugUtils.currentLine=43450372; + //BA.debugLineNum = 43450372;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=43450373; + //BA.debugLineNum = 43450373;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,CA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_BCREDITO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=43450374; + //BA.debugLineNum = 43450374;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=43450375; + //BA.debugLineNum = 43450375;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43450376; + //BA.debugLineNum = 43450376;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43450377; + //BA.debugLineNum = 43450377;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))); +RDebugUtils.currentLine=43450378; + //BA.debugLineNum = 43450378;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); +RDebugUtils.currentLine=43450379; + //BA.debugLineNum = 43450379;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")"; +__ref._nombre /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=43450380; + //BA.debugLineNum = 43450380;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")"; +__ref._longitud /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG"); +RDebugUtils.currentLine=43450381; + //BA.debugLineNum = 43450381;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")"; +__ref._latitud /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT"); +RDebugUtils.currentLine=43450382; + //BA.debugLineNum = 43450382;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; +__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))); +RDebugUtils.currentLine=43450383; + //BA.debugLineNum = 43450383;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_COLONIA"))); +RDebugUtils.currentLine=43450384; + //BA.debugLineNum = 43450384;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +__ref._la_edo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EDO"))); +RDebugUtils.currentLine=43450385; + //BA.debugLineNum = 43450385;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; +__ref._la_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CP"))); +RDebugUtils.currentLine=43450386; + //BA.debugLineNum = 43450386;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE1"))); +RDebugUtils.currentLine=43450387; + //BA.debugLineNum = 43450387;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE2"))); +RDebugUtils.currentLine=43450388; + //BA.debugLineNum = 43450388;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")!= null && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")).equals("null") == false) { +RDebugUtils.currentLine=43450389; + //BA.debugLineNum = 43450389;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1"))); }else { - //BA.debugLineNum = 167;BA.debugLine="l_atiende.Text = \" \""; -_l_atiende.setText(BA.ObjectToCharSequence(" ")); +RDebugUtils.currentLine=43450391; + //BA.debugLineNum = 43450391;BA.debugLine="l_atiende.Text = \" \""; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(" ")); }; - //BA.debugLineNum = 169;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; -if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { - //BA.debugLineNum = 170;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; -_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); +RDebugUtils.currentLine=43450393; + //BA.debugLineNum = 43450393;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")!= null && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { +RDebugUtils.currentLine=43450394; + //BA.debugLineNum = 43450394;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2"))); }else { - //BA.debugLineNum = 172;BA.debugLine="l_atiende2.Text = \" \""; -_l_atiende2.setText(BA.ObjectToCharSequence(" ")); +RDebugUtils.currentLine=43450396; + //BA.debugLineNum = 43450396;BA.debugLine="l_atiende2.Text = \" \""; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(" ")); }; - //BA.debugLineNum = 174;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; -_la_saldotot.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 175;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; -_la_saldooper.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EMAIL"))); - //BA.debugLineNum = 177;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")"; -_credito = _c.GetString("CAT_CL_BCREDITO"); - //BA.debugLineNum = 180;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr"; +RDebugUtils.currentLine=43450398; + //BA.debugLineNum = 43450398;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +__ref._la_saldotot /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO"))); +RDebugUtils.currentLine=43450399; + //BA.debugLineNum = 43450399;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; +__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EMAIL"))); +RDebugUtils.currentLine=43450401; + //BA.debugLineNum = 43450401;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")"; +__ref._credito /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO"); +RDebugUtils.currentLine=43450404; + //BA.debugLineNum = 43450404;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr"; _cym = new anywheresoftware.b4a.objects.collections.Map(); _cym = _subs._traecantymonto2 /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_subs._traecliente /*String*/ (ba)); - //BA.debugLineNum = 181;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; -_l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 182;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); - //BA.debugLineNum = 190;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set"; +RDebugUtils.currentLine=43450405; + //BA.debugLineNum = 43450405;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); +RDebugUtils.currentLine=43450406; + //BA.debugLineNum = 43450406;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); +RDebugUtils.currentLine=43450414; + //BA.debugLineNum = 43450414;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE HIST_VENTAS set ESPROMO = 1 where HVD_CODPROMO = HVD_PROID AND HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 191;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=43450415; + //BA.debugLineNum = 43450415;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE in (select cuenta from cuentaa)")))); - //BA.debugLineNum = 193;BA.debugLine="Private cuenta0 As String = 0"; +RDebugUtils.currentLine=43450417; + //BA.debugLineNum = 43450417;BA.debugLine="Private cuenta0 As String = 0"; _cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 194;BA.debugLine="Private arti As String = 0"; +RDebugUtils.currentLine=43450418; + //BA.debugLineNum = 43450418;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 195;BA.debugLine="If vc.RowCount > 0 Then"; +RDebugUtils.currentLine=43450419; + //BA.debugLineNum = 43450419;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 196;BA.debugLine="For i = 0 To vc.RowCount - 1"; +RDebugUtils.currentLine=43450420; + //BA.debugLineNum = 43450420;BA.debugLine="For i = 0 To vc.RowCount - 1"; { final int step41 = 1; final int limit41 = (int) (_vc.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit41 ;_i = _i + step41 ) { - //BA.debugLineNum = 197;BA.debugLine="vc.Position = i"; +RDebugUtils.currentLine=43450421; + //BA.debugLineNum = 43450421;BA.debugLine="vc.Position = i"; _vc.setPosition(_i); - //BA.debugLineNum = 200;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=43450424; + //BA.debugLineNum = 43450424;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")"; _cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); - //BA.debugLineNum = 205;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; +RDebugUtils.currentLine=43450429; + //BA.debugLineNum = 43450429;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; _arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); } }; }; - //BA.debugLineNum = 211;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; +RDebugUtils.currentLine=43450435; + //BA.debugLineNum = 43450435;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; _vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))); - //BA.debugLineNum = 212;BA.debugLine="Private Cuenta1 As String = 0"; +RDebugUtils.currentLine=43450436; + //BA.debugLineNum = 43450436;BA.debugLine="Private Cuenta1 As String = 0"; _cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 213;BA.debugLine="Private arti1 As String = 0"; +RDebugUtils.currentLine=43450437; + //BA.debugLineNum = 43450437;BA.debugLine="Private arti1 As String = 0"; _arti1 = BA.NumberToString(0); - //BA.debugLineNum = 214;BA.debugLine="If vc2.RowCount > 0 Then"; +RDebugUtils.currentLine=43450438; + //BA.debugLineNum = 43450438;BA.debugLine="If vc2.RowCount > 0 Then"; if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 215;BA.debugLine="For i = 0 To vc2.RowCount - 1"; +RDebugUtils.currentLine=43450439; + //BA.debugLineNum = 43450439;BA.debugLine="For i = 0 To vc2.RowCount - 1"; { final int step51 = 1; final int limit51 = (int) (_vc2.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit51 ;_i = _i + step51 ) { - //BA.debugLineNum = 216;BA.debugLine="vc2.Position = i"; +RDebugUtils.currentLine=43450440; + //BA.debugLineNum = 43450440;BA.debugLine="vc2.Position = i"; _vc2.setPosition(_i); - //BA.debugLineNum = 217;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; +RDebugUtils.currentLine=43450441; + //BA.debugLineNum = 43450441;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; _preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 218;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=43450442; + //BA.debugLineNum = 43450442;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; _vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 219;BA.debugLine="If vc3.RowCount > 0 Then"; +RDebugUtils.currentLine=43450443; + //BA.debugLineNum = 43450443;BA.debugLine="If vc3.RowCount > 0 Then"; if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 220;BA.debugLine="vc3.Position = 0"; +RDebugUtils.currentLine=43450444; + //BA.debugLineNum = 43450444;BA.debugLine="vc3.Position = 0"; _vc3.setPosition((int) (0)); - //BA.debugLineNum = 221;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; +RDebugUtils.currentLine=43450445; + //BA.debugLineNum = 43450445;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; _cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); - //BA.debugLineNum = 222;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; +RDebugUtils.currentLine=43450446; + //BA.debugLineNum = 43450446;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; _arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); }; } }; }; - //BA.debugLineNum = 228;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=43450452; + //BA.debugLineNum = 43450452;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; _vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 229;BA.debugLine="Private Cuenta2 As String = 0"; +RDebugUtils.currentLine=43450453; + //BA.debugLineNum = 43450453;BA.debugLine="Private Cuenta2 As String = 0"; _cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 230;BA.debugLine="Private arti2 As String = 0"; +RDebugUtils.currentLine=43450454; + //BA.debugLineNum = 43450454;BA.debugLine="Private arti2 As String = 0"; _arti2 = BA.NumberToString(0); - //BA.debugLineNum = 231;BA.debugLine="If vc4.RowCount > 0 Then"; +RDebugUtils.currentLine=43450455; + //BA.debugLineNum = 43450455;BA.debugLine="If vc4.RowCount > 0 Then"; if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 233;BA.debugLine="For i = 0 To vc4.RowCount - 1"; +RDebugUtils.currentLine=43450457; + //BA.debugLineNum = 43450457;BA.debugLine="For i = 0 To vc4.RowCount - 1"; { final int step66 = 1; final int limit66 = (int) (_vc4.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit66 ;_i = _i + step66 ) { - //BA.debugLineNum = 234;BA.debugLine="vc4.Position = i"; +RDebugUtils.currentLine=43450458; + //BA.debugLineNum = 43450458;BA.debugLine="vc4.Position = i"; _vc4.setPosition(_i); - //BA.debugLineNum = 235;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; +RDebugUtils.currentLine=43450459; + //BA.debugLineNum = 43450459;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 236;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +RDebugUtils.currentLine=43450460; + //BA.debugLineNum = 43450460;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 237;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; +RDebugUtils.currentLine=43450461; + //BA.debugLineNum = 43450461;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 238;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=43450462; + //BA.debugLineNum = 43450462;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); }else { - //BA.debugLineNum = 240;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=43450464; + //BA.debugLineNum = 43450464;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; _vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 241;BA.debugLine="If vc5.RowCount > 0 Then"; +RDebugUtils.currentLine=43450465; + //BA.debugLineNum = 43450465;BA.debugLine="If vc5.RowCount > 0 Then"; if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 242;BA.debugLine="vc5.Position= 0"; +RDebugUtils.currentLine=43450466; + //BA.debugLineNum = 43450466;BA.debugLine="vc5.Position= 0"; _vc5.setPosition((int) (0)); - //BA.debugLineNum = 244;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; +RDebugUtils.currentLine=43450468; + //BA.debugLineNum = 43450468;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))))); - //BA.debugLineNum = 245;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; +RDebugUtils.currentLine=43450469; + //BA.debugLineNum = 43450469;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); }; }; @@ -875,113 +1324,159 @@ _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double } }; }; - //BA.debugLineNum = 253;BA.debugLine="Subs.centraPanel(p_credito, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_credito,_root.getWidth()); - //BA.debugLineNum = 254;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; +RDebugUtils.currentLine=43450477; + //BA.debugLineNum = 43450477;BA.debugLine="Subs.centraPanel(p_credito, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=43450478; + //BA.debugLineNum = 43450478;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 255;BA.debugLine="Private Cuenta3 As String = 0"; +RDebugUtils.currentLine=43450479; + //BA.debugLineNum = 43450479;BA.debugLine="Private Cuenta3 As String = 0"; _cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 256;BA.debugLine="Private arti3 As String = 0"; +RDebugUtils.currentLine=43450480; + //BA.debugLineNum = 43450480;BA.debugLine="Private arti3 As String = 0"; _arti3 = BA.NumberToString(0); - //BA.debugLineNum = 257;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=43450481; + //BA.debugLineNum = 43450481;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 258;BA.debugLine="For i = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=43450482; + //BA.debugLineNum = 43450482;BA.debugLine="For i = 0 To c4.RowCount -1"; { final int step88 = 1; final int limit88 = (int) (_c4.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit88 ;_i = _i + step88 ) { - //BA.debugLineNum = 259;BA.debugLine="c4.Position = i"; +RDebugUtils.currentLine=43450483; + //BA.debugLineNum = 43450483;BA.debugLine="c4.Position = i"; _c4.setPosition(_i); - //BA.debugLineNum = 260;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=43450484; + //BA.debugLineNum = 43450484;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; _arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 261;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; +RDebugUtils.currentLine=43450485; + //BA.debugLineNum = 43450485;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); } }; }; - //BA.debugLineNum = 264;BA.debugLine="Log(cuenta0)"; -__c.LogImpl("88061048",_cuenta0,0); - //BA.debugLineNum = 265;BA.debugLine="Log(Cuenta1)"; -__c.LogImpl("88061049",_cuenta1,0); - //BA.debugLineNum = 266;BA.debugLine="Log(Cuenta2)"; -__c.LogImpl("88061050",_cuenta2,0); - //BA.debugLineNum = 267;BA.debugLine="Log(Cuenta3)"; -__c.LogImpl("88061051",_cuenta3,0); - //BA.debugLineNum = 269;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 = 270;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; -_l_cant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); - //BA.debugLineNum = 275;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; -_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_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); - //BA.debugLineNum = 276;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 277;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 278;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; -_starter._mac_impresora /*String*/ = _c.GetString("CAT_VA_VALOR"); +RDebugUtils.currentLine=43450488; + //BA.debugLineNum = 43450488;BA.debugLine="Log(cuenta0)"; +__c.LogImpl("243450488",_cuenta0,0); +RDebugUtils.currentLine=43450489; + //BA.debugLineNum = 43450489;BA.debugLine="Log(Cuenta1)"; +__c.LogImpl("243450489",_cuenta1,0); +RDebugUtils.currentLine=43450490; + //BA.debugLineNum = 43450490;BA.debugLine="Log(Cuenta2)"; +__c.LogImpl("243450490",_cuenta2,0); +RDebugUtils.currentLine=43450491; + //BA.debugLineNum = 43450491;BA.debugLine="Log(Cuenta3)"; +__c.LogImpl("243450491",_cuenta3,0); +RDebugUtils.currentLine=43450493; + //BA.debugLineNum = 43450493;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True))); +RDebugUtils.currentLine=43450494; + //BA.debugLineNum = 43450494;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); +RDebugUtils.currentLine=43450499; + //BA.debugLineNum = 43450499;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); +RDebugUtils.currentLine=43450500; + //BA.debugLineNum = 43450500;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=43450501; + //BA.debugLineNum = 43450501;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43450502; + //BA.debugLineNum = 43450502;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; +_starter._mac_impresora /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); }; - //BA.debugLineNum = 280;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +RDebugUtils.currentLine=43450504; + //BA.debugLineNum = 43450504;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; if ((_starter._mac_impresora /*String*/ ).equals("")) { _starter._mac_impresora /*String*/ = "0";}; - //BA.debugLineNum = 282;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; -_printer1._initialize /*String*/ (ba,this,"Printer1"); - //BA.debugLineNum = 284;BA.debugLine="If Printer1.IsConnected = False Then"; -if (_printer1._isconnected /*boolean*/ ()==__c.False) { +RDebugUtils.currentLine=43450506; + //BA.debugLineNum = 43450506;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +__ref._printer1 /*reparto_intmex.keymon.lat.escposprinter*/ ._initialize /*String*/ (null,ba,this,"Printer1"); +RDebugUtils.currentLine=43450508; + //BA.debugLineNum = 43450508;BA.debugLine="If Printer1.IsConnected = False Then"; +if (__ref._printer1 /*reparto_intmex.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null)==__c.False) { }else { - //BA.debugLineNum = 288;BA.debugLine="Printer1.DisConnect"; -_printer1._disconnect /*String*/ (); - //BA.debugLineNum = 289;BA.debugLine="Printer1.Connect"; -_printer1._connect /*boolean*/ (); - //BA.debugLineNum = 290;BA.debugLine="Log(\"2\")"; -__c.LogImpl("88061074","2",0); +RDebugUtils.currentLine=43450512; + //BA.debugLineNum = 43450512;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_intmex.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=43450513; + //BA.debugLineNum = 43450513;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_intmex.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=43450514; + //BA.debugLineNum = 43450514;BA.debugLine="Log(\"2\")"; +__c.LogImpl("243450514","2",0); }; - //BA.debugLineNum = 320;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 321;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 322;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 323;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 326;BA.debugLine="If almacen = \"3\" Or almacen = 3 Or almacen = \"5\""; -if ((_almacen).equals("3") || (_almacen).equals(BA.NumberToString(3)) || (_almacen).equals("5") || (_almacen).equals(BA.NumberToString(5))) { - //BA.debugLineNum = 327;BA.debugLine="Tar.Visible = False"; -_tar.setVisible(__c.False); - //BA.debugLineNum = 328;BA.debugLine="Log(\"SI AQUI\")"; -__c.LogImpl("88061112","SI AQUI",0); - //BA.debugLineNum = 329;BA.debugLine="b = Starter.skmt.ExecQuery(\"select COUNT(*) AS C"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 330;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 331;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; -_cabonos = _b.GetString("CLIENTE"); - //BA.debugLineNum = 332;BA.debugLine="If cabonos = 0 Then"; +RDebugUtils.currentLine=43450544; + //BA.debugLineNum = 43450544;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=43450545; + //BA.debugLineNum = 43450545;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43450546; + //BA.debugLineNum = 43450546;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=43450547; + //BA.debugLineNum = 43450547;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43450550; + //BA.debugLineNum = 43450550;BA.debugLine="If almacen = \"3\" Or almacen = 3 Or almacen = \"5\""; +if ((__ref._almacen /*String*/ ).equals("3") || (__ref._almacen /*String*/ ).equals(BA.NumberToString(3)) || (__ref._almacen /*String*/ ).equals("5") || (__ref._almacen /*String*/ ).equals(BA.NumberToString(5))) { +RDebugUtils.currentLine=43450551; + //BA.debugLineNum = 43450551;BA.debugLine="Tar.Visible = False"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=43450552; + //BA.debugLineNum = 43450552;BA.debugLine="Log(\"SI AQUI\")"; +__c.LogImpl("243450552","SI AQUI",0); +RDebugUtils.currentLine=43450553; + //BA.debugLineNum = 43450553;BA.debugLine="b = Starter.skmt.ExecQuery(\"select COUNT(*) AS C"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=43450554; + //BA.debugLineNum = 43450554;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43450555; + //BA.debugLineNum = 43450555;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; +_cabonos = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE"); +RDebugUtils.currentLine=43450556; + //BA.debugLineNum = 43450556;BA.debugLine="If cabonos = 0 Then"; if ((_cabonos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 333;BA.debugLine="b_cxc.Visible = False"; -_b_cxc.setVisible(__c.False); +RDebugUtils.currentLine=43450557; + //BA.debugLineNum = 43450557;BA.debugLine="b_cxc.Visible = False"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }else { - //BA.debugLineNum = 335;BA.debugLine="b_cxc.Visible = True"; -_b_cxc.setVisible(__c.True); +RDebugUtils.currentLine=43450559; + //BA.debugLineNum = 43450559;BA.debugLine="b_cxc.Visible = True"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); }; }; - //BA.debugLineNum = 339;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43450563; + //BA.debugLineNum = 43450563;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_cliente parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_cliente parent,reparto_intmex.keymon.lat.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_cliente __ref; reparto_intmex.keymon.lat.c_cliente parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -991,13 +1486,14 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 487;BA.debugLine="If p_credito.Visible Then"; +RDebugUtils.currentLine=43909123; + //BA.debugLineNum = 43909123;BA.debugLine="If p_credito.Visible Then"; if (true) break; case 1: //if this.state = 6; -if (parent._p_credito.getVisible()) { +if (__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { this.state = 3; }else { this.state = 5; @@ -1006,11 +1502,14 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 488;BA.debugLine="et_montoacredito.Text = \"\""; -parent._et_montoacredito.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 489;BA.debugLine="p_credito.Visible = False"; -parent._p_credito.setVisible(parent.__c.False); - //BA.debugLineNum = 490;BA.debugLine="Return False"; +RDebugUtils.currentLine=43909124; + //BA.debugLineNum = 43909124;BA.debugLine="et_montoacredito.Text = \"\""; +__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=43909125; + //BA.debugLineNum = 43909125;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=43909126; + //BA.debugLineNum = 43909126;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1018,9 +1517,11 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; case 5: //C this.state = 6; - //BA.debugLineNum = 492;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +RDebugUtils.currentLine=43909128; + //BA.debugLineNum = 43909128;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; parent._b4xpages._showpage /*String*/ (ba,"Clientes"); - //BA.debugLineNum = 493;BA.debugLine="Return False"; +RDebugUtils.currentLine=43909129; + //BA.debugLineNum = 43909129;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1029,323 +1530,453 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 496;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43909132; + //BA.debugLineNum = 43909132;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 105;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 106;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 108;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 110;BA.debugLine="Root.LoadLayout(\"cliente\")"; -_root.LoadLayout("cliente",ba); - //BA.debugLineNum = 111;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_ATIENDE1, CAT_CL_ATIENTE2, CAT_CL_TELEFONO, CAT_CL_EMAIL, CAT_CL_CALLE, CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 112;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 113;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 114;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 115;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -_la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 116;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -_la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 117;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; -_la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+_c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 118;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -_la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 119;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -_la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 120;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; -_la_cp.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CP"))); - //BA.debugLineNum = 121;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -_l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 122;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -_l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 123;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; -if (_c.GetString("CAT_CL_ATIENDE1")!= null && (_c.GetString("CAT_CL_ATIENDE1")).equals("null") == false) { - //BA.debugLineNum = 124;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -_l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); +public String _b4xpage_created(reparto_intmex.keymon.lat.c_cliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=43384832; + //BA.debugLineNum = 43384832;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=43384833; + //BA.debugLineNum = 43384833;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=43384835; + //BA.debugLineNum = 43384835;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=43384837; + //BA.debugLineNum = 43384837;BA.debugLine="Root.LoadLayout(\"cliente\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("cliente",ba); +RDebugUtils.currentLine=43384838; + //BA.debugLineNum = 43384838;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_ATIENDE1, CAT_CL_ATIENTE2, CAT_CL_TELEFONO, CAT_CL_EMAIL, CAT_CL_CALLE, CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=43384839; + //BA.debugLineNum = 43384839;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=43384840; + //BA.debugLineNum = 43384840;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43384841; + //BA.debugLineNum = 43384841;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43384842; + //BA.debugLineNum = 43384842;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))); +RDebugUtils.currentLine=43384843; + //BA.debugLineNum = 43384843;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); +RDebugUtils.currentLine=43384844; + //BA.debugLineNum = 43384844;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; +__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))); +RDebugUtils.currentLine=43384845; + //BA.debugLineNum = 43384845;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_COLONIA"))); +RDebugUtils.currentLine=43384846; + //BA.debugLineNum = 43384846;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +__ref._la_edo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EDO"))); +RDebugUtils.currentLine=43384847; + //BA.debugLineNum = 43384847;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; +__ref._la_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CP"))); +RDebugUtils.currentLine=43384848; + //BA.debugLineNum = 43384848;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE1"))); +RDebugUtils.currentLine=43384849; + //BA.debugLineNum = 43384849;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE2"))); +RDebugUtils.currentLine=43384850; + //BA.debugLineNum = 43384850;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")!= null && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")).equals("null") == false) { +RDebugUtils.currentLine=43384851; + //BA.debugLineNum = 43384851;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1"))); }else { - //BA.debugLineNum = 126;BA.debugLine="l_atiende.Text = \" \""; -_l_atiende.setText(BA.ObjectToCharSequence(" ")); +RDebugUtils.currentLine=43384853; + //BA.debugLineNum = 43384853;BA.debugLine="l_atiende.Text = \" \""; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(" ")); }; - //BA.debugLineNum = 128;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; -if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { - //BA.debugLineNum = 129;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; -_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); - //BA.debugLineNum = 130;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")"; -__c.LogImpl("87995417","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0); +RDebugUtils.currentLine=43384855; + //BA.debugLineNum = 43384855;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")!= null && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { +RDebugUtils.currentLine=43384856; + //BA.debugLineNum = 43384856;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2"))); +RDebugUtils.currentLine=43384857; + //BA.debugLineNum = 43384857;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")"; +__c.LogImpl("243384857","|"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")+"|",0); }else { - //BA.debugLineNum = 132;BA.debugLine="l_atiende2.Text = \" \""; -_l_atiende2.setText(BA.ObjectToCharSequence(" ")); +RDebugUtils.currentLine=43384859; + //BA.debugLineNum = 43384859;BA.debugLine="l_atiende2.Text = \" \""; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(" ")); }; - //BA.debugLineNum = 134;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; -_la_saldotot.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 135;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; -_la_saldooper.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EMAIL"))); - //BA.debugLineNum = 137;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; -_btadmin.Initialize(ba,"BlueTeeth"); - //BA.debugLineNum = 138;BA.debugLine="cmp20.Initialize(\"Printer\")"; -_cmp20.Initialize("Printer"); - //BA.debugLineNum = 139;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 140;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43384861; + //BA.debugLineNum = 43384861;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +__ref._la_saldotot /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO"))); +RDebugUtils.currentLine=43384862; + //BA.debugLineNum = 43384862;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; +__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EMAIL"))); +RDebugUtils.currentLine=43384864; + //BA.debugLineNum = 43384864;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +__ref._btadmin /*anywheresoftware.b4a.objects.Serial.BluetoothAdmin*/ .Initialize(ba,"BlueTeeth"); +RDebugUtils.currentLine=43384865; + //BA.debugLineNum = 43384865;BA.debugLine="cmp20.Initialize(\"Printer\")"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Printer"); +RDebugUtils.currentLine=43384866; + //BA.debugLineNum = 43384866;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=43384867; + //BA.debugLineNum = 43384867;BA.debugLine="End Sub"; return ""; } -public String _cb_tipopago_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 1447;BA.debugLine="Private Sub cb_tipopago_SelectedIndexChanged (Inde"; - //BA.debugLineNum = 1448;BA.debugLine="itemselect = cb_tipopago.SelectedItem"; -_itemselect = _cb_tipopago._getselecteditem /*String*/ (); - //BA.debugLineNum = 1449;BA.debugLine="End Sub"; +public String _cb_tipopago_selectedindexchanged(reparto_intmex.keymon.lat.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_tipopago_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_tipopago_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=45285376; + //BA.debugLineNum = 45285376;BA.debugLine="Private Sub cb_tipopago_SelectedIndexChanged (Inde"; +RDebugUtils.currentLine=45285377; + //BA.debugLineNum = 45285377;BA.debugLine="itemselect = cb_tipopago.SelectedItem"; +__ref._itemselect /*String*/ = __ref._cb_tipopago /*reparto_intmex.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=45285378; + //BA.debugLineNum = 45285378;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +RDebugUtils.currentLine=43253760; + //BA.debugLineNum = 43253760;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=43253761; + //BA.debugLineNum = 43253761;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=43253762; + //BA.debugLineNum = 43253762;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=43253763; + //BA.debugLineNum = 43253763;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=43253764; + //BA.debugLineNum = 43253764;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=43253765; + //BA.debugLineNum = 43253765;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=43253766; + //BA.debugLineNum = 43253766;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim cuenta As String"; +RDebugUtils.currentLine=43253767; + //BA.debugLineNum = 43253767;BA.debugLine="Dim cuenta As String"; _cuenta = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +RDebugUtils.currentLine=43253768; + //BA.debugLineNum = 43253768;BA.debugLine="Dim btAdmin As BluetoothAdmin"; _btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 10;BA.debugLine="Dim cmp20 As Serial"; +RDebugUtils.currentLine=43253769; + //BA.debugLineNum = 43253769;BA.debugLine="Dim cmp20 As Serial"; _cmp20 = new anywheresoftware.b4a.objects.Serial(); - //BA.debugLineNum = 11;BA.debugLine="Dim printer As TextWriter"; +RDebugUtils.currentLine=43253770; + //BA.debugLineNum = 43253770;BA.debugLine="Dim printer As TextWriter"; _printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim PairedDevices As Map"; +RDebugUtils.currentLine=43253771; + //BA.debugLineNum = 43253771;BA.debugLine="Dim PairedDevices As Map"; _paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 13;BA.debugLine="Dim L As List"; +RDebugUtils.currentLine=43253772; + //BA.debugLineNum = 43253772;BA.debugLine="Dim L As List"; _l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Dim TAMANO As Int"; +RDebugUtils.currentLine=43253773; + //BA.debugLineNum = 43253773;BA.debugLine="Dim TAMANO As Int"; _tamano = 0; - //BA.debugLineNum = 15;BA.debugLine="Dim ESPACIO As Int"; +RDebugUtils.currentLine=43253774; + //BA.debugLineNum = 43253774;BA.debugLine="Dim ESPACIO As Int"; _espacio = 0; - //BA.debugLineNum = 16;BA.debugLine="Dim BLANCO As String"; +RDebugUtils.currentLine=43253775; + //BA.debugLineNum = 43253775;BA.debugLine="Dim BLANCO As String"; _blanco = ""; - //BA.debugLineNum = 17;BA.debugLine="Dim impresoraConectada As Boolean = False"; +RDebugUtils.currentLine=43253776; + //BA.debugLineNum = 43253776;BA.debugLine="Dim impresoraConectada As Boolean = False"; _impresoraconectada = __c.False; - //BA.debugLineNum = 18;BA.debugLine="Dim LONGITUD As String"; +RDebugUtils.currentLine=43253777; + //BA.debugLineNum = 43253777;BA.debugLine="Dim LONGITUD As String"; _longitud = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim LATITUD As String"; +RDebugUtils.currentLine=43253778; + //BA.debugLineNum = 43253778;BA.debugLine="Dim LATITUD As String"; _latitud = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim NOMBRE As String"; +RDebugUtils.currentLine=43253779; + //BA.debugLineNum = 43253779;BA.debugLine="Dim NOMBRE As String"; _nombre = ""; - //BA.debugLineNum = 21;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=43253780; + //BA.debugLineNum = 43253780;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim s As Cursor"; +RDebugUtils.currentLine=43253781; + //BA.debugLineNum = 43253781;BA.debugLine="Dim s As Cursor"; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=43253782; + //BA.debugLineNum = 43253782;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim la_cuenta As Label"; +RDebugUtils.currentLine=43253783; + //BA.debugLineNum = 43253783;BA.debugLine="Dim la_cuenta As Label"; _la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim La_nombre As Label"; +RDebugUtils.currentLine=43253784; + //BA.debugLineNum = 43253784;BA.debugLine="Dim La_nombre As Label"; _la_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim la_Calle As Label"; +RDebugUtils.currentLine=43253785; + //BA.debugLineNum = 43253785;BA.debugLine="Dim la_Calle As Label"; _la_calle = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Dim la_numero As Label"; +RDebugUtils.currentLine=43253786; + //BA.debugLineNum = 43253786;BA.debugLine="Dim la_numero As Label"; _la_numero = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim la_nint As Label"; +RDebugUtils.currentLine=43253787; + //BA.debugLineNum = 43253787;BA.debugLine="Dim la_nint As Label"; _la_nint = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Dim la_edo As Label"; +RDebugUtils.currentLine=43253788; + //BA.debugLineNum = 43253788;BA.debugLine="Dim la_edo As Label"; _la_edo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim la_pob As Label"; +RDebugUtils.currentLine=43253789; + //BA.debugLineNum = 43253789;BA.debugLine="Dim la_pob As Label"; _la_pob = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim la_col As Label"; +RDebugUtils.currentLine=43253790; + //BA.debugLineNum = 43253790;BA.debugLine="Dim la_col As Label"; _la_col = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Dim la_cp As Label"; +RDebugUtils.currentLine=43253791; + //BA.debugLineNum = 43253791;BA.debugLine="Dim la_cp As Label"; _la_cp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Dim la_zona As Label"; +RDebugUtils.currentLine=43253792; + //BA.debugLineNum = 43253792;BA.debugLine="Dim la_zona As Label"; _la_zona = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim gest As Button"; +RDebugUtils.currentLine=43253793; + //BA.debugLineNum = 43253793;BA.debugLine="Dim gest As Button"; _gest = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim la_saldotot As Label"; +RDebugUtils.currentLine=43253794; + //BA.debugLineNum = 43253794;BA.debugLine="Dim la_saldotot As Label"; _la_saldotot = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Dim la_saldooper As Label"; +RDebugUtils.currentLine=43253795; + //BA.debugLineNum = 43253795;BA.debugLine="Dim la_saldooper As Label"; _la_saldooper = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Dim reqManager As DBRequestManager"; +RDebugUtils.currentLine=43253796; + //BA.debugLineNum = 43253796;BA.debugLine="Dim reqManager As DBRequestManager"; _reqmanager = new reparto_intmex.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 38;BA.debugLine="Dim b_noEntrega As Button"; +RDebugUtils.currentLine=43253797; + //BA.debugLineNum = 43253797;BA.debugLine="Dim b_noEntrega As Button"; _b_noentrega = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim Label10 As Label"; +RDebugUtils.currentLine=43253798; + //BA.debugLineNum = 43253798;BA.debugLine="Dim Label10 As Label"; _label10 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim Label11 As Label"; +RDebugUtils.currentLine=43253799; + //BA.debugLineNum = 43253799;BA.debugLine="Dim Label11 As Label"; _label11 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Dim d As Cursor"; +RDebugUtils.currentLine=43253800; + //BA.debugLineNum = 43253800;BA.debugLine="Dim d As Cursor"; _d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim ime As IME"; +RDebugUtils.currentLine=43253801; + //BA.debugLineNum = 43253801;BA.debugLine="Dim ime As IME"; _ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 43;BA.debugLine="Dim Tar As Button"; +RDebugUtils.currentLine=43253802; + //BA.debugLineNum = 43253802;BA.debugLine="Dim Tar As Button"; _tar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Private L_QR As Label"; +RDebugUtils.currentLine=43253803; + //BA.debugLineNum = 43253803;BA.debugLine="Private L_QR As Label"; _l_qr = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Private BT_QR As Button"; +RDebugUtils.currentLine=43253804; + //BA.debugLineNum = 43253804;BA.debugLine="Private BT_QR As Button"; _bt_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Dim Printer1 As EscPosPrinter"; +RDebugUtils.currentLine=43253805; + //BA.debugLineNum = 43253805;BA.debugLine="Dim Printer1 As EscPosPrinter"; _printer1 = new reparto_intmex.keymon.lat.escposprinter(); - //BA.debugLineNum = 47;BA.debugLine="Dim la_comm As Label"; +RDebugUtils.currentLine=43253806; + //BA.debugLineNum = 43253806;BA.debugLine="Dim la_comm As Label"; _la_comm = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Dim la_actdte As Label"; +RDebugUtils.currentLine=43253807; + //BA.debugLineNum = 43253807;BA.debugLine="Dim la_actdte As Label"; _la_actdte = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Dim la_usuario As Label"; +RDebugUtils.currentLine=43253808; + //BA.debugLineNum = 43253808;BA.debugLine="Dim la_usuario As Label"; _la_usuario = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Dim la_resultado As Label"; +RDebugUtils.currentLine=43253809; + //BA.debugLineNum = 43253809;BA.debugLine="Dim la_resultado As Label"; _la_resultado = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 51;BA.debugLine="Dim l_entre1 As Label"; +RDebugUtils.currentLine=43253810; + //BA.debugLineNum = 43253810;BA.debugLine="Dim l_entre1 As Label"; _l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Dim l_entre2 As Label"; +RDebugUtils.currentLine=43253811; + //BA.debugLineNum = 43253811;BA.debugLine="Dim l_entre2 As Label"; _l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Dim l_atiende As Label"; +RDebugUtils.currentLine=43253812; + //BA.debugLineNum = 43253812;BA.debugLine="Dim l_atiende As Label"; _l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Dim l_atiende2 As Label"; +RDebugUtils.currentLine=43253813; + //BA.debugLineNum = 43253813;BA.debugLine="Dim l_atiende2 As Label"; _l_atiende2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 55;BA.debugLine="Dim DATOS As Button"; +RDebugUtils.currentLine=43253814; + //BA.debugLineNum = 43253814;BA.debugLine="Dim DATOS As Button"; _datos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Dim Guardar As Button"; +RDebugUtils.currentLine=43253815; + //BA.debugLineNum = 43253815;BA.debugLine="Dim Guardar As Button"; _guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Dim NUEVO As Button"; +RDebugUtils.currentLine=43253816; + //BA.debugLineNum = 43253816;BA.debugLine="Dim NUEVO As Button"; _nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Private l_total As Label"; +RDebugUtils.currentLine=43253817; + //BA.debugLineNum = 43253817;BA.debugLine="Private l_total As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 59;BA.debugLine="Private HIST As Button"; +RDebugUtils.currentLine=43253818; + //BA.debugLineNum = 43253818;BA.debugLine="Private HIST As Button"; _hist = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 60;BA.debugLine="Dim PASA_IMP As String"; +RDebugUtils.currentLine=43253819; + //BA.debugLineNum = 43253819;BA.debugLine="Dim PASA_IMP As String"; _pasa_imp = ""; - //BA.debugLineNum = 61;BA.debugLine="Private B_IMP As Button"; +RDebugUtils.currentLine=43253820; + //BA.debugLineNum = 43253820;BA.debugLine="Private B_IMP As Button"; _b_imp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 62;BA.debugLine="Dim total_cliente As String"; +RDebugUtils.currentLine=43253821; + //BA.debugLineNum = 43253821;BA.debugLine="Dim total_cliente As String"; _total_cliente = ""; - //BA.debugLineNum = 63;BA.debugLine="Dim CREDITO As String"; +RDebugUtils.currentLine=43253822; + //BA.debugLineNum = 43253822;BA.debugLine="Dim CREDITO As String"; _credito = ""; - //BA.debugLineNum = 64;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=43253823; + //BA.debugLineNum = 43253823;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Private B_PASO2 As Button"; +RDebugUtils.currentLine=43253824; + //BA.debugLineNum = 43253824;BA.debugLine="Private B_PASO2 As Button"; _b_paso2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Private L_CANT As Label"; +RDebugUtils.currentLine=43253825; + //BA.debugLineNum = 43253825;BA.debugLine="Private L_CANT As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Dim errorImpresora As Int = 0"; +RDebugUtils.currentLine=43253826; + //BA.debugLineNum = 43253826;BA.debugLine="Dim errorImpresora As Int = 0"; _errorimpresora = (int) (0); - //BA.debugLineNum = 68;BA.debugLine="Dim banderaimp As Int"; +RDebugUtils.currentLine=43253827; + //BA.debugLineNum = 43253827;BA.debugLine="Dim banderaimp As Int"; _banderaimp = 0; - //BA.debugLineNum = 69;BA.debugLine="Private l_credi As Label"; +RDebugUtils.currentLine=43253828; + //BA.debugLineNum = 43253828;BA.debugLine="Private l_credi As Label"; _l_credi = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 70;BA.debugLine="Private l_pagare As Label"; +RDebugUtils.currentLine=43253829; + //BA.debugLineNum = 43253829;BA.debugLine="Private l_pagare As Label"; _l_pagare = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Private l_montopag As Label"; +RDebugUtils.currentLine=43253830; + //BA.debugLineNum = 43253830;BA.debugLine="Private l_montopag As Label"; _l_montopag = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 72;BA.debugLine="Private l_efectivo As Label"; +RDebugUtils.currentLine=43253831; + //BA.debugLineNum = 43253831;BA.debugLine="Private l_efectivo As Label"; _l_efectivo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 73;BA.debugLine="Private l_montoefec As Label"; +RDebugUtils.currentLine=43253832; + //BA.debugLineNum = 43253832;BA.debugLine="Private l_montoefec As Label"; _l_montoefec = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 74;BA.debugLine="Private p_credito As Panel"; +RDebugUtils.currentLine=43253833; + //BA.debugLineNum = 43253833;BA.debugLine="Private p_credito As Panel"; _p_credito = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 75;BA.debugLine="Private b_acred As Button"; +RDebugUtils.currentLine=43253834; + //BA.debugLineNum = 43253834;BA.debugLine="Private b_acred As Button"; _b_acred = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 76;BA.debugLine="Private b_cancred As Button"; +RDebugUtils.currentLine=43253835; + //BA.debugLineNum = 43253835;BA.debugLine="Private b_cancred As Button"; _b_cancred = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Private et_montoacredito As EditText"; +RDebugUtils.currentLine=43253836; + //BA.debugLineNum = 43253836;BA.debugLine="Private et_montoacredito As EditText"; _et_montoacredito = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 78;BA.debugLine="Private Label16 As Label"; +RDebugUtils.currentLine=43253837; + //BA.debugLineNum = 43253837;BA.debugLine="Private Label16 As Label"; _label16 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Private l_limite As Label"; +RDebugUtils.currentLine=43253838; + //BA.debugLineNum = 43253838;BA.debugLine="Private l_limite As Label"; _l_limite = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 80;BA.debugLine="Dim almacen As String"; +RDebugUtils.currentLine=43253839; + //BA.debugLineNum = 43253839;BA.debugLine="Dim almacen As String"; _almacen = ""; - //BA.debugLineNum = 81;BA.debugLine="Dim fechaprev As String"; +RDebugUtils.currentLine=43253840; + //BA.debugLineNum = 43253840;BA.debugLine="Dim fechaprev As String"; _fechaprev = ""; - //BA.debugLineNum = 82;BA.debugLine="Dim rutaprev As String"; +RDebugUtils.currentLine=43253841; + //BA.debugLineNum = 43253841;BA.debugLine="Dim rutaprev As String"; _rutaprev = ""; - //BA.debugLineNum = 83;BA.debugLine="Dim rutarep As String"; +RDebugUtils.currentLine=43253842; + //BA.debugLineNum = 43253842;BA.debugLine="Dim rutarep As String"; _rutarep = ""; - //BA.debugLineNum = 84;BA.debugLine="Dim montopagare As String"; +RDebugUtils.currentLine=43253843; + //BA.debugLineNum = 43253843;BA.debugLine="Dim montopagare As String"; _montopagare = ""; - //BA.debugLineNum = 85;BA.debugLine="Private p_abono As Panel"; +RDebugUtils.currentLine=43253844; + //BA.debugLineNum = 43253844;BA.debugLine="Private p_abono As Panel"; _p_abono = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 86;BA.debugLine="Private clv_abonos As CustomListView"; +RDebugUtils.currentLine=43253845; + //BA.debugLineNum = 43253845;BA.debugLine="Private clv_abonos As CustomListView"; _clv_abonos = new b4a.example3.customlistview(); - //BA.debugLineNum = 87;BA.debugLine="Private et_abono As EditText"; +RDebugUtils.currentLine=43253846; + //BA.debugLineNum = 43253846;BA.debugLine="Private et_abono As EditText"; _et_abono = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private b_cancelar As Button"; +RDebugUtils.currentLine=43253847; + //BA.debugLineNum = 43253847;BA.debugLine="Private b_cancelar As Button"; _b_cancelar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 89;BA.debugLine="Private b_abono As Button"; +RDebugUtils.currentLine=43253848; + //BA.debugLineNum = 43253848;BA.debugLine="Private b_abono As Button"; _b_abono = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Private l_montoabonostotal As Label"; +RDebugUtils.currentLine=43253849; + //BA.debugLineNum = 43253849;BA.debugLine="Private l_montoabonostotal As Label"; _l_montoabonostotal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Dim h, j,b, f As Cursor"; +RDebugUtils.currentLine=43253850; + //BA.debugLineNum = 43253850;BA.debugLine="Dim h, j,b, f As Cursor"; _h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _j = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Private l_folio As Label"; +RDebugUtils.currentLine=43253851; + //BA.debugLineNum = 43253851;BA.debugLine="Private l_folio As Label"; _l_folio = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private l_saldo As Label"; +RDebugUtils.currentLine=43253852; + //BA.debugLineNum = 43253852;BA.debugLine="Private l_saldo As Label"; _l_saldo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Private b_cxc As Button"; +RDebugUtils.currentLine=43253853; + //BA.debugLineNum = 43253853;BA.debugLine="Private b_cxc As Button"; _b_cxc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Private cb_tipopago As B4XComboBox"; +RDebugUtils.currentLine=43253854; + //BA.debugLineNum = 43253854;BA.debugLine="Private cb_tipopago As B4XComboBox"; _cb_tipopago = new reparto_intmex.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 96;BA.debugLine="Dim itemselect As String"; +RDebugUtils.currentLine=43253855; + //BA.debugLineNum = 43253855;BA.debugLine="Dim itemselect As String"; _itemselect = ""; - //BA.debugLineNum = 97;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43253856; + //BA.debugLineNum = 43253856;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _mostrar,String _mostrar1) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 1292;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; - //BA.debugLineNum = 1293;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 1294;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 10)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 1295;BA.debugLine="p.LoadLayout(\"folioabono\")"; -_p.LoadLayout("folioabono",ba); - //BA.debugLineNum = 1296;BA.debugLine="p.Height= 32dip"; -_p.setHeight(__c.DipToCurrent((int) (32))); - //BA.debugLineNum = 1297;BA.debugLine="p.Width = 80dip"; -_p.setWidth(__c.DipToCurrent((int) (80))); - //BA.debugLineNum = 1299;BA.debugLine="l_folio.Text = mostrar"; -_l_folio.setText(BA.ObjectToCharSequence(_mostrar)); - //BA.debugLineNum = 1300;BA.debugLine="l_saldo.Text = mostrar1"; -_l_saldo.setText(BA.ObjectToCharSequence(_mostrar1)); - //BA.debugLineNum = 1303;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 1304;BA.debugLine="End Sub"; -return null; -} -public String _datos_click() throws Exception{ - //BA.debugLineNum = 503;BA.debugLine="Sub DATOS_Click"; - //BA.debugLineNum = 505;BA.debugLine="End Sub"; +public String _datos_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "datos_click", false)) + {return ((String) Debug.delegate(ba, "datos_click", null));} +RDebugUtils.currentLine=44040192; + //BA.debugLineNum = 44040192;BA.debugLine="Sub DATOS_Click"; +RDebugUtils.currentLine=44040194; + //BA.debugLineNum = 44040194;BA.debugLine="End Sub"; return ""; } -public void _gest_click() throws Exception{ -ResumableSub_gest_Click rsub = new ResumableSub_gest_Click(this); +public void _gest_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "gest_click", false)) + {Debug.delegate(ba, "gest_click", null); return;} +ResumableSub_gest_Click rsub = new ResumableSub_gest_Click(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_gest_Click extends BA.ResumableSub { -public ResumableSub_gest_Click(reparto_intmex.keymon.lat.c_cliente parent) { +public ResumableSub_gest_Click(reparto_intmex.keymon.lat.c_cliente parent,reparto_intmex.keymon.lat.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_cliente __ref; reparto_intmex.keymon.lat.c_cliente parent; int _result = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -1355,13 +1986,14 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 362;BA.debugLine="If CREDITO = 1 Then"; +RDebugUtils.currentLine=43712514; + //BA.debugLineNum = 43712514;BA.debugLine="If CREDITO = 1 Then"; if (true) break; case 1: //if this.state = 14; -if ((parent._credito).equals(BA.NumberToString(1))) { +if ((__ref._credito /*String*/ ).equals(BA.NumberToString(1))) { this.state = 3; }else { this.state = 13; @@ -1370,18 +2002,21 @@ this.state = 13; case 3: //C this.state = 4; - //BA.debugLineNum = 363;BA.debugLine="Msgbox2Async(\"Forma de pago\",\"EL CLIENTE PUEDE T"; +RDebugUtils.currentLine=43712515; + //BA.debugLineNum = 43712515;BA.debugLine="Msgbox2Async(\"Forma de pago\",\"EL CLIENTE PUEDE T"; parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Forma de pago"),BA.ObjectToCharSequence("EL CLIENTE PUEDE TENER CREDITO"),"Parcial","Total","Efectivo",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 364;BA.debugLine="Wait For Msgbox_Result (Result As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=43712516; + //BA.debugLineNum = 43712516;BA.debugLine="Wait For Msgbox_Result (Result As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "gest_click"), null); this.state = 15; return; case 15: //C this.state = 4; -_result = (Integer) result[0]; +_result = (Integer) result[1]; ; - //BA.debugLineNum = 365;BA.debugLine="If Result= DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=43712517; + //BA.debugLineNum = 43712517;BA.debugLine="If Result= DialogResponse.POSITIVE Then"; if (true) break; case 4: @@ -1389,117 +2024,170 @@ case 4: this.state = 11; if (_result==parent.__c.DialogResponse.POSITIVE) { this.state = 6; -}else if(_result==parent.__c.DialogResponse.NEGATIVE) { +}else +{RDebugUtils.currentLine=43712526; + //BA.debugLineNum = 43712526;BA.debugLine="Else If Result = DialogResponse.NEGATIVE Then"; +if (_result==parent.__c.DialogResponse.NEGATIVE) { this.state = 8; -}else if(_result==parent.__c.DialogResponse.CANCEL) { +}else +{RDebugUtils.currentLine=43712530; + //BA.debugLineNum = 43712530;BA.debugLine="Else If Result = DialogResponse.CANCEL Then"; +if (_result==parent.__c.DialogResponse.CANCEL) { this.state = 10; -}if (true) break; +}}} +if (true) break; case 6: //C this.state = 11; - //BA.debugLineNum = 366;BA.debugLine="Log(1)"; -parent.__c.LogImpl("88323078",BA.NumberToString(1),0); - //BA.debugLineNum = 367;BA.debugLine="p_credito.Visible = True"; -parent._p_credito.setVisible(parent.__c.True); - //BA.debugLineNum = 369;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(HVD_COSTO_"; -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 sum(HVD_COSTO_TOT) AS MONTO from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_RECHAZO = 0 AND HVD_PARCIAL = 0"))); - //BA.debugLineNum = 370;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 371;BA.debugLine="montopagare = c.GetString(\"MONTO\")"; -parent._montopagare = parent._c.GetString("MONTO"); - //BA.debugLineNum = 372;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 373;BA.debugLine="l_limite.Text = \"Monto de la venta: $\" & l_tota"; -parent._l_limite.setText(BA.ObjectToCharSequence("Monto de la venta: $"+parent._l_total.getText())); +RDebugUtils.currentLine=43712518; + //BA.debugLineNum = 43712518;BA.debugLine="Log(1)"; +parent.__c.LogImpl("243712518",BA.NumberToString(1),0); +RDebugUtils.currentLine=43712519; + //BA.debugLineNum = 43712519;BA.debugLine="p_credito.Visible = True"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=43712521; + //BA.debugLineNum = 43712521;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(HVD_COSTO_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(HVD_COSTO_TOT) AS MONTO from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_RECHAZO = 0 AND HVD_PARCIAL = 0"))); +RDebugUtils.currentLine=43712522; + //BA.debugLineNum = 43712522;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43712523; + //BA.debugLineNum = 43712523;BA.debugLine="montopagare = c.GetString(\"MONTO\")"; +__ref._montopagare /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO"); +RDebugUtils.currentLine=43712524; + //BA.debugLineNum = 43712524;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43712525; + //BA.debugLineNum = 43712525;BA.debugLine="l_limite.Text = \"Monto de la venta: $\" & l_tota"; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Monto de la venta: $"+__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); if (true) break; case 8: //C this.state = 11; - //BA.debugLineNum = 375;BA.debugLine="Log(2)"; -parent.__c.LogImpl("88323087",BA.NumberToString(2),0); - //BA.debugLineNum = 376;BA.debugLine="B_IMP_Click"; -parent._b_imp_click(); - //BA.debugLineNum = 377;BA.debugLine="banderaimp = 1"; -parent._banderaimp = (int) (1); +RDebugUtils.currentLine=43712527; + //BA.debugLineNum = 43712527;BA.debugLine="Log(2)"; +parent.__c.LogImpl("243712527",BA.NumberToString(2),0); +RDebugUtils.currentLine=43712528; + //BA.debugLineNum = 43712528;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*String*/ (null); +RDebugUtils.currentLine=43712529; + //BA.debugLineNum = 43712529;BA.debugLine="banderaimp = 1"; +__ref._banderaimp /*int*/ = (int) (1); if (true) break; case 10: //C this.state = 11; - //BA.debugLineNum = 379;BA.debugLine="Log(3)"; -parent.__c.LogImpl("88323091",BA.NumberToString(3),0); - //BA.debugLineNum = 380;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=43712531; + //BA.debugLineNum = 43712531;BA.debugLine="Log(3)"; +parent.__c.LogImpl("243712531",BA.NumberToString(3),0); +RDebugUtils.currentLine=43712532; + //BA.debugLineNum = 43712532;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 381;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=43712533; + //BA.debugLineNum = 43712533;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; parent.__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 382;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 383;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 385;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cu"; -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 CUENTA from cuentaa"))); - //BA.debugLineNum = 386;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 387;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -parent._cuenta = parent._c.GetString("CUENTA"); - //BA.debugLineNum = 388;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 390;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from u"; -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 usuario from usuarioa"))); - //BA.debugLineNum = 391;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 392;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 393;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 395;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN fro"; -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 ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 396;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 397;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; -parent._almacen = parent._c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 398;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 400;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_FECHA from"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 401;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 402;BA.debugLine="fechaprev = c.GetString(\"HVD_FECHA\")"; -parent._fechaprev = parent._c.GetString("HVD_FECHA"); - //BA.debugLineNum = 403;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 405;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fr"; -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 CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 406;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 407;BA.debugLine="rutaprev = c.GetString(\"CAT_CL_RUTA\")"; -parent._rutaprev = parent._c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 408;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 410;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUT"; -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 RUTAA from RUTAA"))); - //BA.debugLineNum = 411;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 412;BA.debugLine="rutarep = c.GetString(\"RUTAA\")"; -parent._rutarep = parent._c.GetString("RUTAA"); - //BA.debugLineNum = 413;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 415;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(HVD_COSTO_"; -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 sum(HVD_COSTO_TOT) AS MONTO from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_RECHAZO = 0 AND HVD_PARCIAL = 0"))); - //BA.debugLineNum = 416;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 417;BA.debugLine="montopagare = c.GetString(\"MONTO\")"; -parent._montopagare = parent._c.GetString("MONTO"); - //BA.debugLineNum = 418;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 419;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGARE"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._almacen),(Object)(parent._rutarep),(Object)(parent._rutaprev),(Object)(parent._fechaprev),(Object)((parent._sdate)),(Object)(parent._montopagare),(Object)(parent._usuario),(Object)(parent._cuenta)})); - //BA.debugLineNum = 420;BA.debugLine="B_IMP_Click"; -parent._b_imp_click(); - //BA.debugLineNum = 421;BA.debugLine="banderaimp = 1"; -parent._banderaimp = (int) (1); +RDebugUtils.currentLine=43712534; + //BA.debugLineNum = 43712534;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=43712535; + //BA.debugLineNum = 43712535;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=43712537; + //BA.debugLineNum = 43712537;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cu"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=43712538; + //BA.debugLineNum = 43712538;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43712539; + //BA.debugLineNum = 43712539;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=43712540; + //BA.debugLineNum = 43712540;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43712542; + //BA.debugLineNum = 43712542;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from u"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=43712543; + //BA.debugLineNum = 43712543;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43712544; + //BA.debugLineNum = 43712544;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=43712545; + //BA.debugLineNum = 43712545;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43712547; + //BA.debugLineNum = 43712547;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=43712548; + //BA.debugLineNum = 43712548;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43712549; + //BA.debugLineNum = 43712549;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=43712550; + //BA.debugLineNum = 43712550;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43712552; + //BA.debugLineNum = 43712552;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_FECHA from"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=43712553; + //BA.debugLineNum = 43712553;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43712554; + //BA.debugLineNum = 43712554;BA.debugLine="fechaprev = c.GetString(\"HVD_FECHA\")"; +__ref._fechaprev /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"); +RDebugUtils.currentLine=43712555; + //BA.debugLineNum = 43712555;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43712557; + //BA.debugLineNum = 43712557;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fr"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=43712558; + //BA.debugLineNum = 43712558;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43712559; + //BA.debugLineNum = 43712559;BA.debugLine="rutaprev = c.GetString(\"CAT_CL_RUTA\")"; +__ref._rutaprev /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=43712560; + //BA.debugLineNum = 43712560;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43712562; + //BA.debugLineNum = 43712562;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=43712563; + //BA.debugLineNum = 43712563;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43712564; + //BA.debugLineNum = 43712564;BA.debugLine="rutarep = c.GetString(\"RUTAA\")"; +__ref._rutarep /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=43712565; + //BA.debugLineNum = 43712565;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43712567; + //BA.debugLineNum = 43712567;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(HVD_COSTO_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(HVD_COSTO_TOT) AS MONTO from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_RECHAZO = 0 AND HVD_PARCIAL = 0"))); +RDebugUtils.currentLine=43712568; + //BA.debugLineNum = 43712568;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=43712569; + //BA.debugLineNum = 43712569;BA.debugLine="montopagare = c.GetString(\"MONTO\")"; +__ref._montopagare /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO"); +RDebugUtils.currentLine=43712570; + //BA.debugLineNum = 43712570;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=43712571; + //BA.debugLineNum = 43712571;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGARE"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._rutarep /*String*/ ),(Object)(__ref._rutaprev /*String*/ ),(Object)(__ref._fechaprev /*String*/ ),(Object)((__ref._sdate /*String*/ )),(Object)(__ref._montopagare /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cuenta /*String*/ )})); +RDebugUtils.currentLine=43712572; + //BA.debugLineNum = 43712572;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*String*/ (null); +RDebugUtils.currentLine=43712573; + //BA.debugLineNum = 43712573;BA.debugLine="banderaimp = 1"; +__ref._banderaimp /*int*/ = (int) (1); if (true) break; case 11: @@ -1511,168 +2199,142 @@ this.state = 14; case 13: //C this.state = 14; - //BA.debugLineNum = 424;BA.debugLine="B_IMP_Click"; -parent._b_imp_click(); - //BA.debugLineNum = 425;BA.debugLine="banderaimp = 1"; -parent._banderaimp = (int) (1); +RDebugUtils.currentLine=43712576; + //BA.debugLineNum = 43712576;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*String*/ (null); +RDebugUtils.currentLine=43712577; + //BA.debugLineNum = 43712577;BA.debugLine="banderaimp = 1"; +__ref._banderaimp /*int*/ = (int) (1); if (true) break; case 14: //C this.state = -1; ; - //BA.debugLineNum = 428;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43712580; + //BA.debugLineNum = 43712580;BA.debugLine="End Sub"; if (true) break; } } } } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 345;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 348;BA.debugLine="Dim sDate,sTime As String"; +public String _gps_locationchanged(reparto_intmex.keymon.lat.c_cliente __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=43581440; + //BA.debugLineNum = 43581440;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=43581443; + //BA.debugLineNum = 43581443;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 349;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=43581444; + //BA.debugLineNum = 43581444;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 350;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 351;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 352;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")"; +RDebugUtils.currentLine=43581445; + //BA.debugLineNum = 43581445;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=43581446; + //BA.debugLineNum = 43581446;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=43581447; + //BA.debugLineNum = 43581447;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 353;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 354;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43581448; + //BA.debugLineNum = 43581448;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=43581449; + //BA.debugLineNum = 43581449;BA.debugLine="End Sub"; return ""; } -public String _guardado() throws Exception{ -String _ruta = ""; -String _rutapre = ""; -String _rutaactualizar = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; - //BA.debugLineNum = 430;BA.debugLine="Sub Guardado"; - //BA.debugLineNum = 431;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 432;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 433;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 434;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 435;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 436;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 437;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 438;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 439;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 440;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 441;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 442;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); - //BA.debugLineNum = 443;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 444;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; -_ruta = _d.GetString("RUTAA"); - //BA.debugLineNum = 445;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 446;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 447;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 448;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\""; -_rutapre = _d.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 449;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 453;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; -_fechaprev = _subs._traefechaprev /*String*/ (ba); - //BA.debugLineNum = 456;BA.debugLine="Dim rutaactualizar As String"; -_rutaactualizar = ""; - //BA.debugLineNum = 457;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC"; -_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rut = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 458;BA.debugLine="If rut.RowCount > 0 Then"; -if (_rut.getRowCount()>0) { - //BA.debugLineNum = 459;BA.debugLine="rut.Position = 0"; -_rut.setPosition((int) (0)); - //BA.debugLineNum = 460;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; -_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 463;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA W"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) ")); - //BA.debugLineNum = 464;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA ("; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+" "+_stime),(Object)(_usuario),(Object)("ENTREGA"),(Object)("ENTREGA COMPLETA"),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); - //BA.debugLineNum = 465;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_la_cuenta.getText(),_usuario,_sdate+" "+_stime,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,"ENTREGADO"})); - //BA.debugLineNum = 466;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 2, HORAENT = '"+__c.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); - //BA.debugLineNum = 467;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 468;BA.debugLine="mandaPendientesreparto"; -_mandapendientesreparto(); - //BA.debugLineNum = 475;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +public String _mandapendientesreparto(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandapendientesreparto", false)) + {return ((String) Debug.delegate(ba, "mandapendientesreparto", null));} +RDebugUtils.currentLine=44630016; + //BA.debugLineNum = 44630016;BA.debugLine="Sub mandaPendientesreparto"; +RDebugUtils.currentLine=44630032; + //BA.debugLineNum = 44630032;BA.debugLine="End Sub"; +return ""; +} +public String _guardar_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guardar_click", false)) + {return ((String) Debug.delegate(ba, "guardar_click", null));} +RDebugUtils.currentLine=44105728; + //BA.debugLineNum = 44105728;BA.debugLine="Sub Guardar_Click"; +RDebugUtils.currentLine=44105733; + //BA.debugLineNum = 44105733;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 477;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44105735; + //BA.debugLineNum = 44105735;BA.debugLine="End Sub"; return ""; } -public String _guardar_click() throws Exception{ - //BA.debugLineNum = 507;BA.debugLine="Sub Guardar_Click"; - //BA.debugLineNum = 512;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 514;BA.debugLine="End Sub"; -return ""; -} -public String _hist_click() throws Exception{ - //BA.debugLineNum = 520;BA.debugLine="Sub HIST_Click"; - //BA.debugLineNum = 524;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initializ"; +public String _hist_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "hist_click", false)) + {return ((String) Debug.delegate(ba, "hist_click", null));} +RDebugUtils.currentLine=44236800; + //BA.debugLineNum = 44236800;BA.debugLine="Sub HIST_Click"; +RDebugUtils.currentLine=44236804; + //BA.debugLineNum = 44236804;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initializ"; _b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._detalleventa /*reparto_intmex.keymon.lat.c_detalleventa*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 526;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; +RDebugUtils.currentLine=44236806; + //BA.debugLineNum = 44236806;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; _b4xpages._showpage /*String*/ (ba,"DetalleVenta"); - //BA.debugLineNum = 527;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44236807; + //BA.debugLineNum = 44236807;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 100;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 101;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 102;BA.debugLine="End Sub"; -return null; -} -public String _jobdone(reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +public String _jobdone(reparto_intmex.keymon.lat.c_cliente __ref,reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} reparto_intmex.keymon.lat.dbrequestmanager._dbresult _resultado = null; String _cliente = ""; Object[] _records = null; String _k = ""; - //BA.debugLineNum = 1061;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1062;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("89306113",BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 1063;BA.debugLine="If Job.Success = False Then"; +RDebugUtils.currentLine=44695552; + //BA.debugLineNum = 44695552;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=44695553; + //BA.debugLineNum = 44695553;BA.debugLine="Log(Job.Success)"; +__c.LogImpl("244695553",BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=44695554; + //BA.debugLineNum = 44695554;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { }else { - //BA.debugLineNum = 1066;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("89306117","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 1067;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=44695557; + //BA.debugLineNum = 44695557;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("244695557","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=44695558; + //BA.debugLineNum = 44695558;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1068;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1069;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; +RDebugUtils.currentLine=44695559; + //BA.debugLineNum = 44695559;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=44695560; + //BA.debugLineNum = 44695560;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_REPARTOPendientes_head_")>-1) { - //BA.debugLineNum = 1070;BA.debugLine="Private cliente As String= resultado.Tag"; +RDebugUtils.currentLine=44695561; + //BA.debugLineNum = 44695561;BA.debugLine="Private cliente As String= resultado.Tag"; _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 1071;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +RDebugUtils.currentLine=44695562; + //BA.debugLineNum = 44695562;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; _cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 1072;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("89306123",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 1073;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; +RDebugUtils.currentLine=44695563; + //BA.debugLineNum = 44695563;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("244695563",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=44695564; + //BA.debugLineNum = 44695564;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 = 1074;BA.debugLine="For Each records() As Object In resultado.Rows"; +RDebugUtils.currentLine=44695565; + //BA.debugLineNum = 44695565;BA.debugLine="For Each records() As Object In resultado.Rows"; { final anywheresoftware.b4a.BA.IterableList group12 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen12 = group12.getSize() @@ -1680,7 +2342,8 @@ final int groupLen12 = group12.getSize() ; for (; index12 < groupLen12;index12++){ _records = (Object[])(group12.Get(index12)); - //BA.debugLineNum = 1075;BA.debugLine="For Each k As String In resultado.Columns.Key"; +RDebugUtils.currentLine=44695566; + //BA.debugLineNum = 44695566;BA.debugLine="For Each k As String In resultado.Columns.Key"; { final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen13 = group13.getSize() @@ -1688,183 +2351,263 @@ final int groupLen13 = group13.getSize() ; for (; index13 < groupLen13;index13++){ _k = BA.ObjectToString(group13.Get(index13)); - //BA.debugLineNum = 1076;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("89306127",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +RDebugUtils.currentLine=44695567; + //BA.debugLineNum = 44695567;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("244695567",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 1081;BA.debugLine="Job.Release"; -_job._release /*String*/ (); +RDebugUtils.currentLine=44695572; + //BA.debugLineNum = 44695572;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); }; - //BA.debugLineNum = 1084;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44695575; + //BA.debugLineNum = 44695575;BA.debugLine="End Sub"; return ""; } -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 356;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 358;BA.debugLine="End Sub"; +public String _listview1_itemlongclick(reparto_intmex.keymon.lat.c_cliente __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=43646976; + //BA.debugLineNum = 43646976;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=43646978; + //BA.debugLineNum = 43646978;BA.debugLine="End Sub"; return ""; } -public String _mandapendientesreparto() throws Exception{ - //BA.debugLineNum = 1041;BA.debugLine="Sub mandaPendientesreparto"; - //BA.debugLineNum = 1057;BA.debugLine="End Sub"; -return ""; -} -public String _nuevo_click() throws Exception{ - //BA.debugLineNum = 516;BA.debugLine="Sub NUEVO_Click"; - //BA.debugLineNum = 517;BA.debugLine="StartActivity(MAPA_CLIENTE)"; +public String _nuevo_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "nuevo_click", false)) + {return ((String) Debug.delegate(ba, "nuevo_click", null));} +RDebugUtils.currentLine=44171264; + //BA.debugLineNum = 44171264;BA.debugLine="Sub NUEVO_Click"; +RDebugUtils.currentLine=44171265; + //BA.debugLineNum = 44171265;BA.debugLine="StartActivity(MAPA_CLIENTE)"; __c.StartActivity(ba,(Object)(_mapa_cliente.getObject())); - //BA.debugLineNum = 518;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44171266; + //BA.debugLineNum = 44171266;BA.debugLine="End Sub"; return ""; } -public String _p_abono_click() throws Exception{ - //BA.debugLineNum = 1288;BA.debugLine="Private Sub p_abono_Click"; - //BA.debugLineNum = 1290;BA.debugLine="End Sub"; +public String _p_abono_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_abono_click", false)) + {return ((String) Debug.delegate(ba, "p_abono_click", null));} +RDebugUtils.currentLine=45023232; + //BA.debugLineNum = 45023232;BA.debugLine="Private Sub p_abono_Click"; +RDebugUtils.currentLine=45023234; + //BA.debugLineNum = 45023234;BA.debugLine="End Sub"; return ""; } -public String _p_credito_click() throws Exception{ - //BA.debugLineNum = 1136;BA.debugLine="Private Sub p_credito_Click"; - //BA.debugLineNum = 1138;BA.debugLine="End Sub"; +public String _p_credito_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_credito_click", false)) + {return ((String) Debug.delegate(ba, "p_credito_click", null));} +RDebugUtils.currentLine=44892160; + //BA.debugLineNum = 44892160;BA.debugLine="Private Sub p_credito_Click"; +RDebugUtils.currentLine=44892162; + //BA.debugLineNum = 44892162;BA.debugLine="End Sub"; return ""; } -public String _printer_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 967;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; - //BA.debugLineNum = 968;BA.debugLine="If Success Then"; +public String _printer_connected(reparto_intmex.keymon.lat.c_cliente __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "printer_connected", false)) + {return ((String) Debug.delegate(ba, "printer_connected", new Object[] {_success}));} +RDebugUtils.currentLine=44433408; + //BA.debugLineNum = 44433408;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +RDebugUtils.currentLine=44433409; + //BA.debugLineNum = 44433409;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 969;BA.debugLine="B_IMP.Enabled = True"; -_b_imp.setEnabled(__c.True); - //BA.debugLineNum = 970;BA.debugLine="PASA_IMP = \"1\""; -_pasa_imp = "1"; +RDebugUtils.currentLine=44433410; + //BA.debugLineNum = 44433410;BA.debugLine="B_IMP.Enabled = True"; +__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=44433411; + //BA.debugLineNum = 44433411;BA.debugLine="PASA_IMP = \"1\""; +__ref._pasa_imp /*String*/ = "1"; }else { - //BA.debugLineNum = 972;BA.debugLine="B_IMP.Enabled = False"; -_b_imp.setEnabled(__c.False); - //BA.debugLineNum = 973;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; +RDebugUtils.currentLine=44433413; + //BA.debugLineNum = 44433413;BA.debugLine="B_IMP.Enabled = False"; +__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=44433414; + //BA.debugLineNum = 44433414;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; if (__c.Msgbox2(BA.ObjectToCharSequence(""),BA.ObjectToCharSequence("Printer Error"),"Reprint","Cancel","",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { - //BA.debugLineNum = 974;BA.debugLine="StartPrinter"; -_startprinter(); +RDebugUtils.currentLine=44433415; + //BA.debugLineNum = 44433415;BA.debugLine="StartPrinter"; +__ref._startprinter /*String*/ (null); }; }; - //BA.debugLineNum = 977;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44433418; + //BA.debugLineNum = 44433418;BA.debugLine="End Sub"; return ""; } -public String _printer1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 946;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; - //BA.debugLineNum = 948;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 949;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); - //BA.debugLineNum = 950;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")})); - //BA.debugLineNum = 951;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 = 952;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)"; -__c.LogImpl("88978438","Impresora conectada",__c.Colors.Green); - //BA.debugLineNum = 954;BA.debugLine="impresoraConectada = True"; -_impresoraconectada = __c.True; - }else { - //BA.debugLineNum = 958;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; -__c.LogImpl("88978444","Error conectando la impresora",__c.Colors.Red); - //BA.debugLineNum = 959;BA.debugLine="errorImpresora = errorImpresora + 1"; -_errorimpresora = (int) (_errorimpresora+1); - //BA.debugLineNum = 960;BA.debugLine="If errorImpresora > 1 Then"; -if (_errorimpresora>1) { - //BA.debugLineNum = 961;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; -_starter._mac_impresora /*String*/ = "0"; - //BA.debugLineNum = 962;BA.debugLine="errorImpresora = 0"; -_errorimpresora = (int) (0); - }; - }; - //BA.debugLineNum = 965;BA.debugLine="End Sub"; -return ""; -} -public String _startprinter() throws Exception{ +public String _startprinter(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "startprinter", false)) + {return ((String) Debug.delegate(ba, "startprinter", null));} int _resimp = 0; int _i = 0; - //BA.debugLineNum = 979;BA.debugLine="Sub StartPrinter"; - //BA.debugLineNum = 980;BA.debugLine="Dim PairedDevices As Map"; +RDebugUtils.currentLine=44498944; + //BA.debugLineNum = 44498944;BA.debugLine="Sub StartPrinter"; +RDebugUtils.currentLine=44498945; + //BA.debugLineNum = 44498945;BA.debugLine="Dim PairedDevices As Map"; _paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 981;BA.debugLine="Dim L As List"; +RDebugUtils.currentLine=44498946; + //BA.debugLineNum = 44498946;BA.debugLine="Dim L As List"; _l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 982;BA.debugLine="Dim resimp As Int"; +RDebugUtils.currentLine=44498947; + //BA.debugLineNum = 44498947;BA.debugLine="Dim resimp As Int"; _resimp = 0; - //BA.debugLineNum = 983;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +RDebugUtils.currentLine=44498948; + //BA.debugLineNum = 44498948;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); - //BA.debugLineNum = 984;BA.debugLine="PairedDevices.Initialize"; -_paireddevices.Initialize(); - //BA.debugLineNum = 985;BA.debugLine="Try"; -try { //BA.debugLineNum = 986;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; -_paireddevices = _cmp20.GetPairedDevices(); +RDebugUtils.currentLine=44498949; + //BA.debugLineNum = 44498949;BA.debugLine="PairedDevices.Initialize"; +__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=44498950; + //BA.debugLineNum = 44498950;BA.debugLine="Try"; +try {RDebugUtils.currentLine=44498951; + //BA.debugLineNum = 44498951;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ = __ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices(); } catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 988;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; + ba.setLastException(e9);RDebugUtils.currentLine=44498953; + //BA.debugLineNum = 44498953;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; __c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 989;BA.debugLine="printer.Close"; -_printer.Close(); - //BA.debugLineNum = 990;BA.debugLine="cmp20.Disconnect"; -_cmp20.Disconnect(); +RDebugUtils.currentLine=44498954; + //BA.debugLineNum = 44498954;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=44498955; + //BA.debugLineNum = 44498955;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); }; - //BA.debugLineNum = 992;BA.debugLine="If PairedDevices.Size = 0 Then"; -if (_paireddevices.getSize()==0) { - //BA.debugLineNum = 993;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; +RDebugUtils.currentLine=44498957; + //BA.debugLineNum = 44498957;BA.debugLine="If PairedDevices.Size = 0 Then"; +if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==0) { +RDebugUtils.currentLine=44498958; + //BA.debugLineNum = 44498958;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; __c.Msgbox(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found"),BA.ObjectToCharSequence(""),ba); - //BA.debugLineNum = 994;BA.debugLine="Return"; +RDebugUtils.currentLine=44498959; + //BA.debugLineNum = 44498959;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 996;BA.debugLine="If PairedDevices.Size = 1 Then"; -if (_paireddevices.getSize()==1) { - //BA.debugLineNum = 997;BA.debugLine="Try"; -try { //BA.debugLineNum = 999;BA.debugLine="cmp20.ConnectInsecure(btAdmin,PairedDevices.Get"; -_cmp20.ConnectInsecure(ba,_btadmin,BA.ObjectToString(_paireddevices.Get(_paireddevices.GetKeyAt((int) (0)))),(int) (1)); +RDebugUtils.currentLine=44498961; + //BA.debugLineNum = 44498961;BA.debugLine="If PairedDevices.Size = 1 Then"; +if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==1) { +RDebugUtils.currentLine=44498962; + //BA.debugLineNum = 44498962;BA.debugLine="Try"; +try {RDebugUtils.currentLine=44498964; + //BA.debugLineNum = 44498964;BA.debugLine="cmp20.ConnectInsecure(btAdmin,PairedDevices.Get"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .ConnectInsecure(ba,__ref._btadmin /*anywheresoftware.b4a.objects.Serial.BluetoothAdmin*/ ,BA.ObjectToString(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Get(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .GetKeyAt((int) (0)))),(int) (1)); } catch (Exception e21) { - ba.setLastException(e21); //BA.debugLineNum = 1002;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; + ba.setLastException(e21);RDebugUtils.currentLine=44498967; + //BA.debugLineNum = 44498967;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; __c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 1003;BA.debugLine="printer.Close"; -_printer.Close(); - //BA.debugLineNum = 1004;BA.debugLine="cmp20.Disconnect"; -_cmp20.Disconnect(); +RDebugUtils.currentLine=44498968; + //BA.debugLineNum = 44498968;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=44498969; + //BA.debugLineNum = 44498969;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); }; }else { - //BA.debugLineNum = 1007;BA.debugLine="L.Initialize"; -_l.Initialize(); - //BA.debugLineNum = 1008;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +RDebugUtils.currentLine=44498972; + //BA.debugLineNum = 44498972;BA.debugLine="L.Initialize"; +__ref._l /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=44498973; + //BA.debugLineNum = 44498973;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; { final int step27 = 1; -final int limit27 = (int) (_paireddevices.getSize()-1); +final int limit27 = (int) (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit27 ;_i = _i + step27 ) { - //BA.debugLineNum = 1009;BA.debugLine="L.Add(PairedDevices.GetKeyAt(i))"; -_l.Add(_paireddevices.GetKeyAt(_i)); +RDebugUtils.currentLine=44498974; + //BA.debugLineNum = 44498974;BA.debugLine="L.Add(PairedDevices.GetKeyAt(i))"; +__ref._l /*anywheresoftware.b4a.objects.collections.List*/ .Add(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .GetKeyAt(_i)); } }; - //BA.debugLineNum = 1011;BA.debugLine="resimp = InputList(L, \"Choose device\", -1) 'igno"; -_resimp = __c.InputList(_l,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); - //BA.debugLineNum = 1012;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +RDebugUtils.currentLine=44498976; + //BA.debugLineNum = 44498976;BA.debugLine="resimp = InputList(L, \"Choose device\", -1) 'igno"; +_resimp = __c.InputList(__ref._l /*anywheresoftware.b4a.objects.collections.List*/ ,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); +RDebugUtils.currentLine=44498977; + //BA.debugLineNum = 44498977;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; if (_resimp!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 1013;BA.debugLine="cmp20.Connect(PairedDevices.Get(L.Get(resimp)))"; -_cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_resimp)))); +RDebugUtils.currentLine=44498978; + //BA.debugLineNum = 44498978;BA.debugLine="cmp20.Connect(PairedDevices.Get(L.Get(resimp)))"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Get(__ref._l /*anywheresoftware.b4a.objects.collections.List*/ .Get(_resimp)))); }; }; - //BA.debugLineNum = 1016;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44498981; + //BA.debugLineNum = 44498981;BA.debugLine="End Sub"; return ""; } -public String _tar_click() throws Exception{ - //BA.debugLineNum = 498;BA.debugLine="Sub Tar_Click"; - //BA.debugLineNum = 500;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +public String _printer1_connected(reparto_intmex.keymon.lat.c_cliente __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "printer1_connected", false)) + {return ((String) Debug.delegate(ba, "printer1_connected", new Object[] {_success}));} +RDebugUtils.currentLine=44367872; + //BA.debugLineNum = 44367872;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=44367874; + //BA.debugLineNum = 44367874;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=44367875; + //BA.debugLineNum = 44367875;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); +RDebugUtils.currentLine=44367876; + //BA.debugLineNum = 44367876;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")})); +RDebugUtils.currentLine=44367877; + //BA.debugLineNum = 44367877;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )})); +RDebugUtils.currentLine=44367878; + //BA.debugLineNum = 44367878;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)"; +__c.LogImpl("244367878","Impresora conectada",__c.Colors.Green); +RDebugUtils.currentLine=44367880; + //BA.debugLineNum = 44367880;BA.debugLine="impresoraConectada = True"; +__ref._impresoraconectada /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=44367884; + //BA.debugLineNum = 44367884;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +__c.LogImpl("244367884","Error conectando la impresora",__c.Colors.Red); +RDebugUtils.currentLine=44367885; + //BA.debugLineNum = 44367885;BA.debugLine="errorImpresora = errorImpresora + 1"; +__ref._errorimpresora /*int*/ = (int) (__ref._errorimpresora /*int*/ +1); +RDebugUtils.currentLine=44367886; + //BA.debugLineNum = 44367886;BA.debugLine="If errorImpresora > 1 Then"; +if (__ref._errorimpresora /*int*/ >1) { +RDebugUtils.currentLine=44367887; + //BA.debugLineNum = 44367887;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +_starter._mac_impresora /*String*/ = "0"; +RDebugUtils.currentLine=44367888; + //BA.debugLineNum = 44367888;BA.debugLine="errorImpresora = 0"; +__ref._errorimpresora /*int*/ = (int) (0); + }; + }; +RDebugUtils.currentLine=44367891; + //BA.debugLineNum = 44367891;BA.debugLine="End Sub"; +return ""; +} +public String _tar_click(reparto_intmex.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "tar_click", false)) + {return ((String) Debug.delegate(ba, "tar_click", null));} +RDebugUtils.currentLine=43974656; + //BA.debugLineNum = 43974656;BA.debugLine="Sub Tar_Click"; +RDebugUtils.currentLine=43974658; + //BA.debugLineNum = 43974658;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); - //BA.debugLineNum = 501;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43974659; + //BA.debugLineNum = 43974659;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((reparto_intmex.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_clientes.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_clientes.java index c44a736..e9fe52e 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_clientes.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_clientes.java @@ -10,7 +10,7 @@ public class c_clientes extends B4AClass.ImplB4AClass implements BA.SubDelegator private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_clientes"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_clientes"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_clientes extends B4AClass.ImplB4AClass implements BA.SubDelegator ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public String _q_buscar = ""; @@ -51,10 +58,10 @@ public int _distanciacero = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -62,35 +69,101 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 234;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; - //BA.debugLineNum = 236;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +public Object _initialize(reparto_intmex.keymon.lat.c_clientes __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=45416448; + //BA.debugLineNum = 45416448;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=45416449; + //BA.debugLineNum = 45416449;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=45416450; + //BA.debugLineNum = 45416450;BA.debugLine="End Sub"; +return null; +} +public boolean _activity_keypress(reparto_intmex.keymon.lat.c_clientes __ref,int _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=45809664; + //BA.debugLineNum = 45809664;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; +RDebugUtils.currentLine=45809666; + //BA.debugLineNum = 45809666;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; if (_key==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 237;BA.debugLine="If entro = 3 And Not(conMapa) Then"; -if ((_entro).equals(BA.NumberToString(3)) && __c.Not(_conmapa)) { - //BA.debugLineNum = 238;BA.debugLine="b_GetDirs.Visible = False"; -_b_getdirs.setVisible(__c.False); - //BA.debugLineNum = 240;BA.debugLine="B4XPage_Created(Root)"; -_b4xpage_created(_root); - //BA.debugLineNum = 241;BA.debugLine="Return True"; +RDebugUtils.currentLine=45809667; + //BA.debugLineNum = 45809667;BA.debugLine="If entro = 3 And Not(conMapa) Then"; +if ((__ref._entro /*String*/ ).equals(BA.NumberToString(3)) && __c.Not(__ref._conmapa /*boolean*/ )) { +RDebugUtils.currentLine=45809668; + //BA.debugLineNum = 45809668;BA.debugLine="b_GetDirs.Visible = False"; +__ref._b_getdirs /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=45809670; + //BA.debugLineNum = 45809670;BA.debugLine="B4XPage_Created(Root)"; +__ref._b4xpage_created /*String*/ (null,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=45809671; + //BA.debugLineNum = 45809671;BA.debugLine="Return True"; if (true) return __c.True; }; - //BA.debugLineNum = 243;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=45809673; + //BA.debugLineNum = 45809673;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 244;BA.debugLine="Return False"; +RDebugUtils.currentLine=45809674; + //BA.debugLineNum = 45809674;BA.debugLine="Return False"; if (true) return __c.False; }; - //BA.debugLineNum = 248;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45809678; + //BA.debugLineNum = 45809678;BA.debugLine="End Sub"; return false; } -public void _b_getdirs_click() throws Exception{ -ResumableSub_b_GetDirs_Click rsub = new ResumableSub_b_GetDirs_Click(this); +public String _b4xpage_created(reparto_intmex.keymon.lat.c_clientes __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=45481984; + //BA.debugLineNum = 45481984;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=45481985; + //BA.debugLineNum = 45481985;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=45481987; + //BA.debugLineNum = 45481987;BA.debugLine="Root.LoadLayout(\"clientes\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("clientes",ba); +RDebugUtils.currentLine=45481988; + //BA.debugLineNum = 45481988;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=45481989; + //BA.debugLineNum = 45481989;BA.debugLine="lv1Top = ListView1.Top"; +__ref._lv1top /*String*/ = BA.NumberToString(__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTop()); +RDebugUtils.currentLine=45481990; + //BA.debugLineNum = 45481990;BA.debugLine="clientesMapaO.Initialize"; +__ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=45481991; + //BA.debugLineNum = 45481991;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); +RDebugUtils.currentLine=45481992; + //BA.debugLineNum = 45481992;BA.debugLine="Log(\"Coordenadas del almacen: \" & Starter.cedisLo"; +__c.LogImpl("245481992","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0); +RDebugUtils.currentLine=45481993; + //BA.debugLineNum = 45481993;BA.debugLine="End Sub"; +return ""; +} +public void _b_getdirs_click(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_getdirs_click", false)) + {Debug.delegate(ba, "b_getdirs_click", null); return;} +ResumableSub_b_GetDirs_Click rsub = new ResumableSub_b_GetDirs_Click(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_b_GetDirs_Click extends BA.ResumableSub { -public ResumableSub_b_GetDirs_Click(reparto_intmex.keymon.lat.c_clientes parent) { +public ResumableSub_b_GetDirs_Click(reparto_intmex.keymon.lat.c_clientes parent,reparto_intmex.keymon.lat.c_clientes __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_clientes __ref; reparto_intmex.keymon.lat.c_clientes parent; anywheresoftware.b4a.objects.collections.Map _m2 = null; int _f = 0; @@ -114,6 +187,7 @@ int groupLen38; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; while (true) { switch (state) { @@ -123,19 +197,23 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 482;BA.debugLine="ProgressDialogShow(\"Calculando distancias y tiemp"; +RDebugUtils.currentLine=46071809; + //BA.debugLineNum = 46071809;BA.debugLine="ProgressDialogShow(\"Calculando distancias y tiemp"; parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Calculando distancias y tiempos ...")); - //BA.debugLineNum = 483;BA.debugLine="Private m2 As Map"; +RDebugUtils.currentLine=46071810; + //BA.debugLineNum = 46071810;BA.debugLine="Private m2 As Map"; _m2 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 484;BA.debugLine="Private f As Int = 0"; +RDebugUtils.currentLine=46071811; + //BA.debugLineNum = 46071811;BA.debugLine="Private f As Int = 0"; _f = (int) (0); - //BA.debugLineNum = 485;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'Trae"; +RDebugUtils.currentLine=46071812; + //BA.debugLineNum = 46071812;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'Trae"; if (true) break; case 1: //for this.state = 30; -group4 = parent._distorderedmap._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); +group4 = __ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); index4 = 0; groupLen4 = group4.getSize(); this.state = 31; @@ -158,15 +236,20 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 486;BA.debugLine="m2 = distOrderedMap.Get(k)"; -_m2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ (_k))); - //BA.debugLineNum = 487;BA.debugLine="Private distancia2 As String = m2.Get(\"distancia"; +RDebugUtils.currentLine=46071813; + //BA.debugLineNum = 46071813;BA.debugLine="m2 = distOrderedMap.Get(k)"; +_m2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=46071814; + //BA.debugLineNum = 46071814;BA.debugLine="Private distancia2 As String = m2.Get(\"distancia"; _distancia2 = BA.ObjectToString(_m2.Get((Object)("distancia"))); - //BA.debugLineNum = 488;BA.debugLine="Private thisLoc1 As String = m2.Get(\"ubicacion\")"; +RDebugUtils.currentLine=46071815; + //BA.debugLineNum = 46071815;BA.debugLine="Private thisLoc1 As String = m2.Get(\"ubicacion\")"; _thisloc1 = BA.ObjectToString(_m2.Get((Object)("ubicacion"))); - //BA.debugLineNum = 489;BA.debugLine="Private locActual As String = Tracker.UUGCoords."; +RDebugUtils.currentLine=46071816; + //BA.debugLineNum = 46071816;BA.debugLine="Private locActual As String = Tracker.UUGCoords."; _locactual = BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()); - //BA.debugLineNum = 490;BA.debugLine="If locActual = \"0,0\" Then 'Si no tenemos ubicaci"; +RDebugUtils.currentLine=46071817; + //BA.debugLineNum = 46071817;BA.debugLine="If locActual = \"0,0\" Then 'Si no tenemos ubicaci"; if (true) break; case 4: @@ -179,42 +262,49 @@ this.state = 6; case 6: //C this.state = 7; - //BA.debugLineNum = 491;BA.debugLine="c = Starter.skmt.ExecQuery(\"select * from hist_"; -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 * from hist_gps"))); - //BA.debugLineNum = 492;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=46071818; + //BA.debugLineNum = 46071818;BA.debugLine="c = Starter.skmt.ExecQuery(\"select * from hist_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from hist_gps"))); +RDebugUtils.currentLine=46071819; + //BA.debugLineNum = 46071819;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 7: //if this.state = 10; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 9; }if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 493;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 494;BA.debugLine="locActual = c.GetString(\"hglon\") & \",\" & c.Get"; -_locactual = parent._c.GetString("hglon")+","+parent._c.GetString("hglat"); +RDebugUtils.currentLine=46071820; + //BA.debugLineNum = 46071820;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=46071821; + //BA.debugLineNum = 46071821;BA.debugLine="locActual = c.GetString(\"hglon\") & \",\" & c.Get"; +_locactual = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hglon")+","+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hglat"); if (true) break; case 10: //C this.state = 11; ; - //BA.debugLineNum = 496;BA.debugLine="c.Close"; -parent._c.Close(); +RDebugUtils.currentLine=46071823; + //BA.debugLineNum = 46071823;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 11: //C this.state = 12; ; - //BA.debugLineNum = 498;BA.debugLine="f = f+1"; +RDebugUtils.currentLine=46071825; + //BA.debugLineNum = 46071825;BA.debugLine="f = f+1"; _f = (int) (_f+1); - //BA.debugLineNum = 499;BA.debugLine="If f < 8 Then"; +RDebugUtils.currentLine=46071826; + //BA.debugLineNum = 46071826;BA.debugLine="If f < 8 Then"; if (true) break; case 12: @@ -227,7 +317,8 @@ this.state = 14; case 14: //C this.state = 15; - //BA.debugLineNum = 500;BA.debugLine="If locActual = \"0,0\" Then 'Si todavia no tenemo"; +RDebugUtils.currentLine=46071827; + //BA.debugLineNum = 46071827;BA.debugLine="If locActual = \"0,0\" Then 'Si todavia no tenemo"; if (true) break; case 15: @@ -240,9 +331,11 @@ this.state = 17; case 17: //C this.state = 18; - //BA.debugLineNum = 501;BA.debugLine="ToastMessageShow(\"No se pudo obtener la ubicac"; +RDebugUtils.currentLine=46071828; + //BA.debugLineNum = 46071828;BA.debugLine="ToastMessageShow(\"No se pudo obtener la ubicac"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo obtener la ubicacion actual!!"),parent.__c.True); - //BA.debugLineNum = 502;BA.debugLine="f = 8"; +RDebugUtils.currentLine=46071829; + //BA.debugLineNum = 46071829;BA.debugLine="f = 8"; _f = (int) (8); if (true) break; @@ -250,31 +343,40 @@ case 18: //C this.state = 19; ; - //BA.debugLineNum = 504;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this"; -parent.__c.LogImpl("810682391",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0); - //BA.debugLineNum = 505;BA.debugLine="Wait For(distanciaEntreCoords(distancia2, locAc"; -parent.__c.WaitFor("complete", ba, this, parent._distanciaentrecoords(_distancia2,_locactual,_thisloc1)); +RDebugUtils.currentLine=46071831; + //BA.debugLineNum = 46071831;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this"; +parent.__c.LogImpl("246071831",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0); +RDebugUtils.currentLine=46071832; + //BA.debugLineNum = 46071832;BA.debugLine="Wait For(distanciaEntreCoords(distancia2, locAc"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "b_getdirs_click"), __ref._distanciaentrecoords /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null,_distancia2,_locactual,_thisloc1)); this.state = 33; return; case 33: //C this.state = 19; -_r = (anywheresoftware.b4a.objects.collections.List) result[0]; +_r = (anywheresoftware.b4a.objects.collections.List) result[1]; ; - //BA.debugLineNum = 506;BA.debugLine="LogColor($\"R: ${r.Get(0)} - ${r.Get(1)} - ${r.G"; -parent.__c.LogImpl("810682393",("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 = 507;BA.debugLine="Private tId As Int = r.Get(0)"; +RDebugUtils.currentLine=46071833; + //BA.debugLineNum = 46071833;BA.debugLine="LogColor($\"R: ${r.Get(0)} - ${r.Get(1)} - ${r.G"; +parent.__c.LogImpl("246071833",("R: "+parent.__c.SmartStringFormatter("",_r.Get((int) (0)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (1)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (2)))+""),parent.__c.Colors.Green); +RDebugUtils.currentLine=46071834; + //BA.debugLineNum = 46071834;BA.debugLine="Private tId As Int = r.Get(0)"; _tid = (int)(BA.ObjectToNumber(_r.Get((int) (0)))); - //BA.debugLineNum = 508;BA.debugLine="Private tMap As Map = distOrderedMap.Get(tId)"; +RDebugUtils.currentLine=46071835; + //BA.debugLineNum = 46071835;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 = 509;BA.debugLine="LogColor(\"|\" & tId & \"| - \" &distOrderedMap.Get"; -parent.__c.LogImpl("810682396","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue); - //BA.debugLineNum = 510;BA.debugLine="Private tempNDD As String = tMap.Get(\"nomDirDis"; +_tmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_tid)))); +RDebugUtils.currentLine=46071836; + //BA.debugLineNum = 46071836;BA.debugLine="LogColor(\"|\" & tId & \"| - \" &distOrderedMap.Get"; +parent.__c.LogImpl("246071836","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_tid))),parent.__c.Colors.Blue); +RDebugUtils.currentLine=46071837; + //BA.debugLineNum = 46071837;BA.debugLine="Private tempNDD As String = tMap.Get(\"nomDirDis"; _tempndd = BA.ObjectToString(_tmap.Get((Object)("nomDirDist"))); - //BA.debugLineNum = 511;BA.debugLine="Private indexD As Int = tempNDD.IndexOf(\"Distan"; +RDebugUtils.currentLine=46071838; + //BA.debugLineNum = 46071838;BA.debugLine="Private indexD As Int = tempNDD.IndexOf(\"Distan"; _indexd = _tempndd.indexOf("Distancia:"); - //BA.debugLineNum = 512;BA.debugLine="If indexD > -1 Then tempNDD = tempNDD.SubString"; +RDebugUtils.currentLine=46071839; + //BA.debugLineNum = 46071839;BA.debugLine="If indexD > -1 Then tempNDD = tempNDD.SubString"; if (true) break; case 19: @@ -294,26 +396,33 @@ case 24: //C this.state = 25; ; - //BA.debugLineNum = 513;BA.debugLine="Log(tempNDD)"; -parent.__c.LogImpl("810682400",_tempndd,0); - //BA.debugLineNum = 514;BA.debugLine="tempNDD = tempNDD & $\"Dist: $1.1{(r.Get(1)/1000"; +RDebugUtils.currentLine=46071840; + //BA.debugLineNum = 46071840;BA.debugLine="Log(tempNDD)"; +parent.__c.LogImpl("246071840",_tempndd,0); +RDebugUtils.currentLine=46071841; + //BA.debugLineNum = 46071841;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 = 515;BA.debugLine="Private esteCliente As Map = CreateMap(\"distanc"; +RDebugUtils.currentLine=46071842; + //BA.debugLineNum = 46071842;BA.debugLine="Private esteCliente As Map = CreateMap(\"distanc"; _estecliente = new anywheresoftware.b4a.objects.collections.Map(); _estecliente = parent.__c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia2),(Object)("ubicacion"),_tmap.Get((Object)("ubicacion")),(Object)("codigo"),_tmap.Get((Object)("codigo")),(Object)("nomDirDist"),(Object)(_tempndd)}); - //BA.debugLineNum = 516;BA.debugLine="distOrderedMap.Put(tId, esteCliente)"; -parent._distorderedmap._put /*String*/ ((Object)(_tid),(Object)(_estecliente.getObject())); - //BA.debugLineNum = 517;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 518;BA.debugLine="Private m3 As Map"; +RDebugUtils.currentLine=46071843; + //BA.debugLineNum = 46071843;BA.debugLine="distOrderedMap.Put(tId, esteCliente)"; +__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_tid),(Object)(_estecliente.getObject())); +RDebugUtils.currentLine=46071844; + //BA.debugLineNum = 46071844;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=46071845; + //BA.debugLineNum = 46071845;BA.debugLine="Private m3 As Map"; _m3 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 519;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; +RDebugUtils.currentLine=46071846; + //BA.debugLineNum = 46071846;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; if (true) break; case 25: //for this.state = 28; -group38 = parent._distorderedmap._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); +group38 = __ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); index38 = 0; groupLen38 = group38.getSize(); this.state = 34; @@ -336,12 +445,15 @@ if (true) break; case 27: //C this.state = 35; - //BA.debugLineNum = 520;BA.debugLine="m3 = distOrderedMap.Get(k)"; -_m3 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ (_k))); - //BA.debugLineNum = 521;BA.debugLine="m3.Get(\"codigo\")"; +RDebugUtils.currentLine=46071847; + //BA.debugLineNum = 46071847;BA.debugLine="m3 = distOrderedMap.Get(k)"; +_m3 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=46071848; + //BA.debugLineNum = 46071848;BA.debugLine="m3.Get(\"codigo\")"; _m3.Get((Object)("codigo")); - //BA.debugLineNum = 522;BA.debugLine="ListView1.AddTwoLines(m3.Get(\"codigo\"), m3.Get"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence(_m3.Get((Object)("codigo"))),BA.ObjectToCharSequence(_m3.Get((Object)("nomDirDist")))); +RDebugUtils.currentLine=46071849; + //BA.debugLineNum = 46071849;BA.debugLine="ListView1.AddTwoLines(m3.Get(\"codigo\"), m3.Get"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_m3.Get((Object)("codigo"))),BA.ObjectToCharSequence(_m3.Get((Object)("nomDirDist")))); if (true) break; if (true) break; @@ -362,172 +474,51 @@ case 30: //C this.state = -1; ; - //BA.debugLineNum = 526;BA.debugLine="ProgressDialogHide"; +RDebugUtils.currentLine=46071853; + //BA.debugLineNum = 46071853;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 527;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46071854; + //BA.debugLineNum = 46071854;BA.debugLine="End Sub"; if (true) break; } } } } -public void _complete(anywheresoftware.b4a.objects.collections.List _r) throws Exception{ -} -public String _b_getrutainfo_click() throws Exception{ - //BA.debugLineNum = 585;BA.debugLine="Private Sub b_getRutaInfo_Click"; - //BA.debugLineNum = 587;BA.debugLine="caculaRutaGPS(todosAVisitar)"; -_cacularutagps(_todosavisitar()); - //BA.debugLineNum = 588;BA.debugLine="End Sub"; -return ""; -} -public String _b_getrutainfo_longclick() throws Exception{ - //BA.debugLineNum = 591;BA.debugLine="Private Sub b_getRutaInfo_LongClick"; - //BA.debugLineNum = 592;BA.debugLine="If b_limpiarRuta.Visible Then"; -if (_b_limpiarruta.getVisible()) { - //BA.debugLineNum = 593;BA.debugLine="b_limpiarRuta.Visible = False"; -_b_limpiarruta.setVisible(__c.False); - }else { - //BA.debugLineNum = 595;BA.debugLine="b_limpiarRuta.Visible = True"; -_b_limpiarruta.setVisible(__c.True); - }; - //BA.debugLineNum = 597;BA.debugLine="End Sub"; -return ""; -} -public String _b_limpiarruta_click() throws Exception{ - //BA.debugLineNum = 600;BA.debugLine="Private Sub b_limpiarRuta_Click"; - //BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - //BA.debugLineNum = 602;BA.debugLine="b_limpiarRuta.Visible = False"; -_b_limpiarruta.setVisible(__c.False); - //BA.debugLineNum = 603;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 604;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.objects.CSBuilder _cs2 = null; -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; -String[] _y = null; - //BA.debugLineNum = 50;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 51;BA.debugLine="busca.Text = \"\""; -_busca.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 52;BA.debugLine="b_GetDirs.Visible = False"; -_b_getdirs.setVisible(__c.False); - //BA.debugLineNum = 54;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 58;BA.debugLine="p_colonia.Width = Root.Width"; -_p_colonia.setWidth(_root.getWidth()); - //BA.debugLineNum = 59;BA.debugLine="p_colonia.Height = Root.Height"; -_p_colonia.setHeight(_root.getHeight()); - //BA.debugLineNum = 60;BA.debugLine="p_colonia.Top = 0"; -_p_colonia.setTop((int) (0)); - //BA.debugLineNum = 61;BA.debugLine="p_colonia.Left = 0"; -_p_colonia.setLeft((int) (0)); - //BA.debugLineNum = 62;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; -_subs._centralistview /*String*/ (ba,_listview1,_p_colonia.getWidth()); - //BA.debugLineNum = 63;BA.debugLine="ListView1.Height = p_colonia.Height * 0.75"; -_listview1.setHeight((int) (_p_colonia.getHeight()*0.75)); - //BA.debugLineNum = 64;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 65;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; -if (__c.Not(_l_rutainfo.getVisible())) { - //BA.debugLineNum = 66;BA.debugLine="ListView1.Top = lv1Top"; -_listview1.setTop((int)(Double.parseDouble(_lv1top))); - }else { - //BA.debugLineNum = 68;BA.debugLine="ListView1.Top = lv1Top + 100"; -_listview1.setTop((int) ((double)(Double.parseDouble(_lv1top))+100)); - }; - //BA.debugLineNum = 70;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; -_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 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 = 71;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la ba"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 72;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 74;BA.debugLine="conMapa = True"; -_conmapa = __c.True; - //BA.debugLineNum = 76;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 77;BA.debugLine="Dim cs, cs2 As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); -_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 78;BA.debugLine="entro = 3"; -_entro = BA.NumberToString(3); - //BA.debugLineNum = 80;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; -{ -final int step23 = 1; -final int limit23 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit23 ;_i = _i + step23 ) { - //BA.debugLineNum = 81;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 82;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 83;BA.debugLine="cs2.Initialize"; -_cs2.Initialize(); - //BA.debugLineNum = 87;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(_c.GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))).Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE").trim()+" "+_c.GetString("CAT_CL_NOEXT"))).PopAll().getObject())); - } -}; - }else { - //BA.debugLineNum = 90;BA.debugLine="generaListViewRutas"; -_generalistviewrutas(); - }; - //BA.debugLineNum = 92;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 93;BA.debugLine="p_colonia.Width = Root.Width"; -_p_colonia.setWidth(_root.getWidth()); - //BA.debugLineNum = 94;BA.debugLine="p_colonia.Height = Root.Height"; -_p_colonia.setHeight(_root.getHeight()); - //BA.debugLineNum = 95;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_l_rutainfo,_root.getWidth()); - //BA.debugLineNum = 96;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; -_subs._centralistview /*String*/ (ba,_listview1,_p_colonia.getWidth()); - //BA.debugLineNum = 97;BA.debugLine="ListView1.Height = p_colonia.Height * 0.70"; -_listview1.setHeight((int) (_p_colonia.getHeight()*0.70)); - //BA.debugLineNum = 98;BA.debugLine="Subs.centraEtiqueta(lfila, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_lfila,_root.getWidth()); - //BA.debugLineNum = 99;BA.debugLine="b_getRutaInfo.Visible = True"; -_b_getrutainfo.setVisible(__c.True); - //BA.debugLineNum = 100;BA.debugLine="b_getRutaInfo.BringToFront"; -_b_getrutainfo.BringToFront(); - //BA.debugLineNum = 101;BA.debugLine="If Starter.cedisLocation.Latitude = \"0\" Then"; -if (_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()==(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 102;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery(\"se"; -_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'COORDS_ALMACEN'"))); - //BA.debugLineNum = 103;BA.debugLine="If x.RowCount > 0 Then"; -if (_x.getRowCount()>0) { - //BA.debugLineNum = 104;BA.debugLine="x.Position = 0"; -_x.setPosition((int) (0)); - //BA.debugLineNum = 105;BA.debugLine="Private y() As String"; -_y = new String[(int) (0)]; -java.util.Arrays.fill(_y,""); - //BA.debugLineNum = 106;BA.debugLine="Starter.cedisLocation.Latitude = Regex.Split(\","; -_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude((double)(Double.parseDouble(__c.Regex.Split(",",_x.GetString("CAT_VA_VALOR"))[(int) (1)]))); - //BA.debugLineNum = 107;BA.debugLine="Starter.cedisLocation.Longitude = Regex.Split(\""; -_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude((double)(Double.parseDouble(__c.Regex.Split(",",_x.GetString("CAT_VA_VALOR"))[(int) (0)]))); - }; - }; - //BA.debugLineNum = 110;BA.debugLine="Log(Starter.cedisLocation)"; -__c.LogImpl("810158140",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0); - //BA.debugLineNum = 111;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _distanciaentrecoords(reparto_intmex.keymon.lat.c_clientes __ref,String _id,String _coords1,String _coords2) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "distanciaentrecoords", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "distanciaentrecoords", new Object[] {_id,_coords1,_coords2}));} +ResumableSub_distanciaEntreCoords rsub = new ResumableSub_distanciaEntreCoords(this,__ref,_id,_coords1,_coords2); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_clientes parent) { +public static class ResumableSub_distanciaEntreCoords extends BA.ResumableSub { +public ResumableSub_distanciaEntreCoords(reparto_intmex.keymon.lat.c_clientes parent,reparto_intmex.keymon.lat.c_clientes __ref,String _id,String _coords1,String _coords2) { this.parent = parent; +this.__ref = __ref; +this._id = _id; +this._coords1 = _coords1; +this._coords2 = _coords2; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_clientes __ref; reparto_intmex.keymon.lat.c_clientes parent; +String _id; +String _coords1; +String _coords2; +String _distanciatotal = ""; +String _tiempo = ""; +reparto_intmex.keymon.lat.httpjob _j = null; +anywheresoftware.b4a.objects.collections.JSONParser _jp = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.objects.collections.List _rutas = null; +anywheresoftware.b4a.objects.collections.Map _rutas2 = null; +anywheresoftware.b4a.objects.collections.List _r = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; while (true) { switch (state) { @@ -537,133 +528,179 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 117;BA.debugLine="Log(entro)"; -parent.__c.LogImpl("810223619",parent._entro,0); - //BA.debugLineNum = 118;BA.debugLine="If rutaGenerada Or entro = 3 Then ' Si ya generam"; +RDebugUtils.currentLine=45940737; + //BA.debugLineNum = 45940737;BA.debugLine="Sleep(1050)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "distanciaentrecoords"),(int) (1050)); +this.state = 11; +return; +case 11: +//C +this.state = 1; +; +RDebugUtils.currentLine=45940738; + //BA.debugLineNum = 45940738;BA.debugLine="Private distanciaTotal As String = \"0\""; +_distanciatotal = "0"; +RDebugUtils.currentLine=45940739; + //BA.debugLineNum = 45940739;BA.debugLine="Private tiempo As String = \"0\""; +_tiempo = "0"; +RDebugUtils.currentLine=45940740; + //BA.debugLineNum = 45940740;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_intmex.keymon.lat.httpjob(); +RDebugUtils.currentLine=45940741; + //BA.debugLineNum = 45940741;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=45940742; + //BA.debugLineNum = 45940742;BA.debugLine="j.Download(\"https://router.project-osrm.org/route"; +_j._download /*String*/ (null,"https://router.project-osrm.org/route/v1/driving/"+_coords1+";"+_coords2+"?overview=false"); +RDebugUtils.currentLine=45940743; + //BA.debugLineNum = 45940743;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "distanciaentrecoords"), (Object)(_j)); +this.state = 12; +return; +case 12: +//C +this.state = 1; +_j = (reparto_intmex.keymon.lat.httpjob) result[1]; +; +RDebugUtils.currentLine=45940744; + //BA.debugLineNum = 45940744;BA.debugLine="If j.Success Then"; if (true) break; case 1: //if -this.state = 6; -if (parent._rutagenerada || (parent._entro).equals(BA.NumberToString(3))) { +this.state = 10; +if (_j._success /*boolean*/ ) { this.state = 3; -}else if((parent._entro).equals(BA.NumberToString(2))) { -this.state = 5; +}else { +this.state = 9; }if (true) break; case 3: //C -this.state = 6; - //BA.debugLineNum = 119;BA.debugLine="b_limpiarRuta_Click"; -parent._b_limpiarruta_click(); - //BA.debugLineNum = 120;BA.debugLine="l_rutaInfo.Text = \"\""; -parent._l_rutainfo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 121;BA.debugLine="rutaGenerada = False"; -parent._rutagenerada = parent.__c.False; - if (true) break; +this.state = 4; +RDebugUtils.currentLine=45940745; + //BA.debugLineNum = 45940745;BA.debugLine="Dim jp As JSONParser"; +_jp = new anywheresoftware.b4a.objects.collections.JSONParser(); +RDebugUtils.currentLine=45940746; + //BA.debugLineNum = 45940746;BA.debugLine="jp.Initialize(j.GetString)"; +_jp.Initialize(_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=45940747; + //BA.debugLineNum = 45940747;BA.debugLine="Dim m As Map = jp.NextObject"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = _jp.NextObject(); +RDebugUtils.currentLine=45940748; + //BA.debugLineNum = 45940748;BA.debugLine="Log($\"Respuesta: ${m.Get(\"code\")}\"$)"; +parent.__c.LogImpl("245940748",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0); +RDebugUtils.currentLine=45940749; + //BA.debugLineNum = 45940749;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; +if (true) break; -case 5: -//C +case 4: +//if +this.state = 7; +if ((_m.Get((Object)("code"))).equals((Object)("Ok"))) { this.state = 6; - //BA.debugLineNum = 123;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -parent._b4xpages._showpage /*String*/ (ba,"Principal"); - if (true) break; +}if (true) break; case 6: //C +this.state = 7; +RDebugUtils.currentLine=45940751; + //BA.debugLineNum = 45940751;BA.debugLine="Dim rutas As List = m.Get(\"routes\")"; +_rutas = new anywheresoftware.b4a.objects.collections.List(); +_rutas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("routes")))); +RDebugUtils.currentLine=45940752; + //BA.debugLineNum = 45940752;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; +_rutas2 = new anywheresoftware.b4a.objects.collections.Map(); +_rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas.Get((int) (0)))); +RDebugUtils.currentLine=45940756; + //BA.debugLineNum = 45940756;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; +_distanciatotal = BA.ObjectToString(_rutas2.Get((Object)("distance"))); +RDebugUtils.currentLine=45940757; + //BA.debugLineNum = 45940757;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; +_tiempo = BA.ObjectToString(_rutas2.Get((Object)("duration"))); +RDebugUtils.currentLine=45940758; + //BA.debugLineNum = 45940758;BA.debugLine="Log($\"Distancia total: ${distanciaTotal}, Tiemp"; +parent.__c.LogImpl("245940758",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0); + if (true) break; + +case 7: +//C +this.state = 10; +; + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=45940761; + //BA.debugLineNum = 45940761;BA.debugLine="Log(\"Error!\")"; +parent.__c.LogImpl("245940761","Error!",0); + if (true) break; + +case 10: +//C this.state = -1; ; - //BA.debugLineNum = 125;BA.debugLine="Return False"; +RDebugUtils.currentLine=45940763; + //BA.debugLineNum = 45940763;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=45940764; + //BA.debugLineNum = 45940764;BA.debugLine="Private r As List"; +_r = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=45940765; + //BA.debugLineNum = 45940765;BA.debugLine="r.Initialize"; +_r.Initialize(); +RDebugUtils.currentLine=45940766; + //BA.debugLineNum = 45940766;BA.debugLine="r.Add(id)"; +_r.Add((Object)(_id)); +RDebugUtils.currentLine=45940767; + //BA.debugLineNum = 45940767;BA.debugLine="r.Add(distanciaTotal)"; +_r.Add((Object)(_distanciatotal)); +RDebugUtils.currentLine=45940768; + //BA.debugLineNum = 45940768;BA.debugLine="r.Add(tiempo)"; +_r.Add((Object)(_tiempo)); +RDebugUtils.currentLine=45940769; + //BA.debugLineNum = 45940769;BA.debugLine="Return r"; if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 126;BA.debugLine="End Sub"; +parent.__c.ReturnFromResumableSub(this,(Object)(_r));return;}; +RDebugUtils.currentLine=45940770; + //BA.debugLineNum = 45940770;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 38;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 40;BA.debugLine="Root.LoadLayout(\"clientes\")"; -_root.LoadLayout("clientes",ba); - //BA.debugLineNum = 41;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 42;BA.debugLine="lv1Top = ListView1.Top"; -_lv1top = BA.NumberToString(_listview1.getTop()); - //BA.debugLineNum = 43;BA.debugLine="clientesMapaO.Initialize"; -_clientesmapao._initialize /*String*/ (ba); - //BA.debugLineNum = 44;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - //BA.debugLineNum = 45;BA.debugLine="Log(\"Coordenadas del almacen: \" & Starter.cedisLo"; -__c.LogImpl("810092552","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0); - //BA.debugLineNum = 46;BA.debugLine="End Sub"; +public String _b_getrutainfo_click(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_getrutainfo_click", false)) + {return ((String) Debug.delegate(ba, "b_getrutainfo_click", null));} +RDebugUtils.currentLine=46202880; + //BA.debugLineNum = 46202880;BA.debugLine="Private Sub b_getRutaInfo_Click"; +RDebugUtils.currentLine=46202882; + //BA.debugLineNum = 46202882;BA.debugLine="caculaRutaGPS(todosAVisitar)"; +__ref._cacularutagps /*void*/ (null,__ref._todosavisitar /*anywheresoftware.b4a.objects.collections.List*/ (null)); +RDebugUtils.currentLine=46202883; + //BA.debugLineNum = 46202883;BA.debugLine="End Sub"; return ""; } -public String _busca_textchanged(String _old,String _new) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 250;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; - //BA.debugLineNum = 251;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; -_q_buscar = "%"+_busca.getText()+"%"; - //BA.debugLineNum = 252;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMBRE"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where CAT_CL_NOMBRE like ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_CODIGO ",new String[]{_q_buscar}))); - //BA.debugLineNum = 253;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 254;BA.debugLine="lfila.text = \"Nombre y Calle\""; -_lfila.setText(BA.ObjectToCharSequence("Nombre y Calle")); - //BA.debugLineNum = 255;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 256;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 257;BA.debugLine="For i=0 To c2.RowCount -1"; -{ -final int step7 = 1; -final int limit7 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 258;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 259;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 260;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 261;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 262;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 263;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 264;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 265;BA.debugLine="label2.TextSize = 15"; -_label2.setTextSize((float) (15)); - //BA.debugLineNum = 266;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 267;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c2.GetString("CAT_CL_NOMBRE")+" CALLE: "+_c2.GetString("CAT_CL_CALLE"))); - } -}; - }; - //BA.debugLineNum = 270;BA.debugLine="entro = \"3\""; -_entro = "3"; - //BA.debugLineNum = 271;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 272;BA.debugLine="End Sub"; -return ""; -} -public void _cacularutagps(anywheresoftware.b4a.objects.collections.List _coords) throws Exception{ -ResumableSub_caculaRutaGPS rsub = new ResumableSub_caculaRutaGPS(this,_coords); +public void _cacularutagps(reparto_intmex.keymon.lat.c_clientes __ref,anywheresoftware.b4a.objects.collections.List _coords) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "cacularutagps", false)) + {Debug.delegate(ba, "cacularutagps", new Object[] {_coords}); return;} +ResumableSub_caculaRutaGPS rsub = new ResumableSub_caculaRutaGPS(this,__ref,_coords); rsub.resume(ba, null); } public static class ResumableSub_caculaRutaGPS extends BA.ResumableSub { -public ResumableSub_caculaRutaGPS(reparto_intmex.keymon.lat.c_clientes parent,anywheresoftware.b4a.objects.collections.List _coords) { +public ResumableSub_caculaRutaGPS(reparto_intmex.keymon.lat.c_clientes parent,reparto_intmex.keymon.lat.c_clientes __ref,anywheresoftware.b4a.objects.collections.List _coords) { this.parent = parent; +this.__ref = __ref; this._coords = _coords; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_clientes __ref; reparto_intmex.keymon.lat.c_clientes parent; anywheresoftware.b4a.objects.collections.List _coords; anywheresoftware.b4a.objects.collections.List _tmplist = null; @@ -690,6 +727,7 @@ int limit49; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; while (true) { switch (state) { @@ -699,22 +737,30 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 607;BA.debugLine="Private tmpList As List"; +RDebugUtils.currentLine=46399489; + //BA.debugLineNum = 46399489;BA.debugLine="Private tmpList As List"; _tmplist = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 608;BA.debugLine="Dim cs, cs2 As CSBuilder"; +RDebugUtils.currentLine=46399490; + //BA.debugLineNum = 46399490;BA.debugLine="Dim cs, cs2 As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); _cs2 = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 609;BA.debugLine="tmpList.Initialize"; +RDebugUtils.currentLine=46399491; + //BA.debugLineNum = 46399491;BA.debugLine="tmpList.Initialize"; _tmplist.Initialize(); - //BA.debugLineNum = 610;BA.debugLine="tmpList.AddAll(Array As String(\"ACTUAL\", Tracker."; +RDebugUtils.currentLine=46399492; + //BA.debugLineNum = 46399492;BA.debugLine="tmpList.AddAll(Array As String(\"ACTUAL\", Tracker."; _tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"ACTUAL",BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()),BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude())})); - //BA.debugLineNum = 611;BA.debugLine="coords.InsertAt(0,tmpList)"; +RDebugUtils.currentLine=46399493; + //BA.debugLineNum = 46399493;BA.debugLine="coords.InsertAt(0,tmpList)"; _coords.InsertAt((int) (0),(Object)(_tmplist.getObject())); - //BA.debugLineNum = 612;BA.debugLine="Log(\"=================================\")"; -parent.__c.LogImpl("811010054","=================================",0); - //BA.debugLineNum = 614;BA.debugLine="Private coordsStr As String = \"\""; +RDebugUtils.currentLine=46399494; + //BA.debugLineNum = 46399494;BA.debugLine="Log(\"=================================\")"; +parent.__c.LogImpl("246399494","=================================",0); +RDebugUtils.currentLine=46399496; + //BA.debugLineNum = 46399496;BA.debugLine="Private coordsStr As String = \"\""; _coordsstr = ""; - //BA.debugLineNum = 615;BA.debugLine="For Each tienda As List In coords"; +RDebugUtils.currentLine=46399497; + //BA.debugLineNum = 46399497;BA.debugLine="For Each tienda As List In coords"; if (true) break; case 1: @@ -744,7 +790,8 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 617;BA.debugLine="If coordsStr = \"\" Then"; +RDebugUtils.currentLine=46399499; + //BA.debugLineNum = 46399499;BA.debugLine="If coordsStr = \"\" Then"; if (true) break; case 4: @@ -759,14 +806,16 @@ this.state = 8; case 6: //C this.state = 9; - //BA.debugLineNum = 618;BA.debugLine="coordsStr = $\"${tienda.get(0)},${tienda.get(1)}"; +RDebugUtils.currentLine=46399500; + //BA.debugLineNum = 46399500;BA.debugLine="coordsStr = $\"${tienda.get(0)},${tienda.get(1)}"; _coordsstr = (""+parent.__c.SmartStringFormatter("",_tienda.Get((int) (0)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (1)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (2)))+""); if (true) break; case 8: //C this.state = 9; - //BA.debugLineNum = 620;BA.debugLine="coordsStr = $\"${coordsStr};${tienda.get(0)},${t"; +RDebugUtils.currentLine=46399502; + //BA.debugLineNum = 46399502;BA.debugLine="coordsStr = $\"${coordsStr};${tienda.get(0)},${t"; _coordsstr = (""+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+";"+parent.__c.SmartStringFormatter("",_tienda.Get((int) (0)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (1)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (2)))+""); if (true) break; @@ -781,28 +830,36 @@ case 10: //C this.state = 11; ; - //BA.debugLineNum = 623;BA.debugLine="Log(coordsStr)"; -parent.__c.LogImpl("811010065",_coordsstr,0); - //BA.debugLineNum = 624;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; +RDebugUtils.currentLine=46399505; + //BA.debugLineNum = 46399505;BA.debugLine="Log(coordsStr)"; +parent.__c.LogImpl("246399505",_coordsstr,0); +RDebugUtils.currentLine=46399506; + //BA.debugLineNum = 46399506;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 = 625;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=46399507; + //BA.debugLineNum = 46399507;BA.debugLine="Dim j As HttpJob"; _j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 626;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; -_j._initialize /*String*/ (ba,"trip",parent); - //BA.debugLineNum = 627;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 = 628;BA.debugLine="Log($\"http://keymon.lat:9002/ruteador?m=OSRM&r=${"; -parent.__c.LogImpl("811010070",("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 = 629;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); +RDebugUtils.currentLine=46399508; + //BA.debugLineNum = 46399508;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; +_j._initialize /*String*/ (null,ba,"trip",parent); +RDebugUtils.currentLine=46399509; + //BA.debugLineNum = 46399509;BA.debugLine="j.Download($\"http://keymon.lat:9002/ruteador?m=OS"; +_j._download /*String*/ (null,("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))+"")); +RDebugUtils.currentLine=46399510; + //BA.debugLineNum = 46399510;BA.debugLine="Log($\"http://keymon.lat:9002/ruteador?m=OSRM&r=${"; +parent.__c.LogImpl("246399510",("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); +RDebugUtils.currentLine=46399511; + //BA.debugLineNum = 46399511;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "cacularutagps"), (Object)(_j)); this.state = 35; return; case 35: //C this.state = 11; -_j = (reparto_intmex.keymon.lat.httpjob) result[0]; +_j = (reparto_intmex.keymon.lat.httpjob) result[1]; ; - //BA.debugLineNum = 630;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=46399512; + //BA.debugLineNum = 46399512;BA.debugLine="If j.Success Then"; if (true) break; case 11: @@ -817,16 +874,21 @@ this.state = 31; case 13: //C this.state = 14; - //BA.debugLineNum = 631;BA.debugLine="Dim jp As JSONParser"; +RDebugUtils.currentLine=46399513; + //BA.debugLineNum = 46399513;BA.debugLine="Dim jp As JSONParser"; _jp = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 632;BA.debugLine="jp.Initialize(j.GetString)"; -_jp.Initialize(_j._getstring /*String*/ ()); - //BA.debugLineNum = 633;BA.debugLine="Dim m As Map = jp.NextObject"; +RDebugUtils.currentLine=46399514; + //BA.debugLineNum = 46399514;BA.debugLine="jp.Initialize(j.GetString)"; +_jp.Initialize(_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=46399515; + //BA.debugLineNum = 46399515;BA.debugLine="Dim m As Map = jp.NextObject"; _m = new anywheresoftware.b4a.objects.collections.Map(); _m = _jp.NextObject(); - //BA.debugLineNum = 634;BA.debugLine="Log(m)"; -parent.__c.LogImpl("811010076",BA.ObjectToString(_m),0); - //BA.debugLineNum = 635;BA.debugLine="If m.Get(\"code\") = \"OK\" Then"; +RDebugUtils.currentLine=46399516; + //BA.debugLineNum = 46399516;BA.debugLine="Log(m)"; +parent.__c.LogImpl("246399516",BA.ObjectToString(_m),0); +RDebugUtils.currentLine=46399517; + //BA.debugLineNum = 46399517;BA.debugLine="If m.Get(\"code\") = \"OK\" Then"; if (true) break; case 14: @@ -839,26 +901,36 @@ this.state = 16; case 16: //C this.state = 17; - //BA.debugLineNum = 636;BA.debugLine="Log(\"===== OK\")"; -parent.__c.LogImpl("811010078","===== OK",0); - //BA.debugLineNum = 637;BA.debugLine="rutaGenerada = True"; -parent._rutagenerada = parent.__c.True; - //BA.debugLineNum = 638;BA.debugLine="Dim puntos As Int = m.Get(\"puntos\")"; +RDebugUtils.currentLine=46399518; + //BA.debugLineNum = 46399518;BA.debugLine="Log(\"===== OK\")"; +parent.__c.LogImpl("246399518","===== OK",0); +RDebugUtils.currentLine=46399519; + //BA.debugLineNum = 46399519;BA.debugLine="rutaGenerada = True"; +__ref._rutagenerada /*boolean*/ = parent.__c.True; +RDebugUtils.currentLine=46399520; + //BA.debugLineNum = 46399520;BA.debugLine="Dim puntos As Int = m.Get(\"puntos\")"; _puntos = (int)(BA.ObjectToNumber(_m.Get((Object)("puntos")))); - //BA.debugLineNum = 639;BA.debugLine="Private coords As List = m.Get(\"coords\")"; +RDebugUtils.currentLine=46399521; + //BA.debugLineNum = 46399521;BA.debugLine="Private coords As List = m.Get(\"coords\")"; _coords = new anywheresoftware.b4a.objects.collections.List(); _coords = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("coords")))); - //BA.debugLineNum = 640;BA.debugLine="Private duration As String = m.Get(\"duration\")"; +RDebugUtils.currentLine=46399522; + //BA.debugLineNum = 46399522;BA.debugLine="Private duration As String = m.Get(\"duration\")"; _duration = BA.ObjectToString(_m.Get((Object)("duration"))); - //BA.debugLineNum = 641;BA.debugLine="Private distance As String = m.Get(\"distance\")"; +RDebugUtils.currentLine=46399523; + //BA.debugLineNum = 46399523;BA.debugLine="Private distance As String = m.Get(\"distance\")"; _distance = BA.ObjectToString(_m.Get((Object)("distance"))); - //BA.debugLineNum = 642;BA.debugLine="Private mensaje As String = m.Get(\"mensaje\")"; +RDebugUtils.currentLine=46399524; + //BA.debugLineNum = 46399524;BA.debugLine="Private mensaje As String = m.Get(\"mensaje\")"; _mensaje = BA.ObjectToString(_m.Get((Object)("mensaje"))); - //BA.debugLineNum = 643;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoint"; +RDebugUtils.currentLine=46399525; + //BA.debugLineNum = 46399525;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoint"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - //BA.debugLineNum = 644;BA.debugLine="Starter.skmt.ExecNonQuery(\"update kmt_info set"; +RDebugUtils.currentLine=46399526; + //BA.debugLineNum = 46399526;BA.debugLine="Starter.skmt.ExecNonQuery(\"update kmt_info set"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update kmt_info set SECUENCIA = 0"); - //BA.debugLineNum = 645;BA.debugLine="For i = 0 To coords.Size - 1"; +RDebugUtils.currentLine=46399527; + //BA.debugLineNum = 46399527;BA.debugLine="For i = 0 To coords.Size - 1"; if (true) break; case 17: @@ -885,12 +957,15 @@ if (true) break; case 19: //C this.state = 37; - //BA.debugLineNum = 646;BA.debugLine="Private ti As Map = coords.Get(i)"; +RDebugUtils.currentLine=46399528; + //BA.debugLineNum = 46399528;BA.debugLine="Private ti As Map = coords.Get(i)"; _ti = new anywheresoftware.b4a.objects.collections.Map(); _ti = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_coords.Get(_i))); - //BA.debugLineNum = 647;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info se"; +RDebugUtils.currentLine=46399529; + //BA.debugLineNum = 46399529;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info se"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info set SECUENCIA = "+parent.__c.SmartStringFormatter("",_ti.Get((Object)("pos")))+" where CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",(Object)((BA.ObjectToString(_ti.Get((Object)("id")))).substring((int) (1))))+"'")); - //BA.debugLineNum = 648;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into waypoi"; +RDebugUtils.currentLine=46399530; + //BA.debugLineNum = 46399530;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into waypoi"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into waypoints (codigo, indice) values ('"+parent.__c.SmartStringFormatter("",(Object)((BA.ObjectToString(_ti.Get((Object)("id")))).substring((int) (1))))+"', '"+parent.__c.SmartStringFormatter("",_ti.Get((Object)("pos")))+"')")); if (true) break; if (true) break; @@ -899,40 +974,48 @@ case 20: //C this.state = 21; ; - //BA.debugLineNum = 650;BA.debugLine="c = Starter.skmt.ExecQuery(\"select codigo, indi"; -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 = 651;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la"; +RDebugUtils.currentLine=46399532; + //BA.debugLineNum = 46399532;BA.debugLine="c = Starter.skmt.ExecQuery(\"select codigo, indi"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); +RDebugUtils.currentLine=46399533; + //BA.debugLineNum = 46399533;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la"; if (true) break; case 21: //if this.state = 28; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 23; }if (true) break; case 23: //C this.state = 24; - //BA.debugLineNum = 652;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 653;BA.debugLine="conMapa = True"; -parent._conmapa = parent.__c.True; - //BA.debugLineNum = 654;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 655;BA.debugLine="Dim cs, cs2 As CSBuilder"; +RDebugUtils.currentLine=46399534; + //BA.debugLineNum = 46399534;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=46399535; + //BA.debugLineNum = 46399535;BA.debugLine="conMapa = True"; +__ref._conmapa /*boolean*/ = parent.__c.True; +RDebugUtils.currentLine=46399536; + //BA.debugLineNum = 46399536;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=46399537; + //BA.debugLineNum = 46399537;BA.debugLine="Dim cs, cs2 As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); _cs2 = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 656;BA.debugLine="entro = 3"; -parent._entro = BA.NumberToString(3); - //BA.debugLineNum = 657;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listVie"; +RDebugUtils.currentLine=46399538; + //BA.debugLineNum = 46399538;BA.debugLine="entro = 3"; +__ref._entro /*String*/ = BA.NumberToString(3); +RDebugUtils.currentLine=46399539; + //BA.debugLineNum = 46399539;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listVie"; if (true) break; case 24: //for this.state = 27; step49 = 1; -limit49 = (int) (parent._c.getRowCount()-1); +limit49 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 38; if (true) break; @@ -952,14 +1035,18 @@ if (true) break; case 26: //C this.state = 39; - //BA.debugLineNum = 658;BA.debugLine="c.Position = i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 659;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=46399540; + //BA.debugLineNum = 46399540;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=46399541; + //BA.debugLineNum = 46399541;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 660;BA.debugLine="cs2.Initialize"; +RDebugUtils.currentLine=46399542; + //BA.debugLineNum = 46399542;BA.debugLine="cs2.Initialize"; _cs2.Initialize(); - //BA.debugLineNum = 661;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(parent._c.GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE"))).Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE").trim()+" "+parent._c.GetString("CAT_CL_NOEXT"))).PopAll().getObject())); +RDebugUtils.currentLine=46399543; + //BA.debugLineNum = 46399543;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_cs.Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))).Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE").trim()+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))).PopAll().getObject())); if (true) break; if (true) break; @@ -973,22 +1060,30 @@ case 28: //C this.state = 29; ; - //BA.debugLineNum = 664;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 665;BA.debugLine="Log($\"Distancia total: $1.1{distance/1000} kms,"; -parent.__c.LogImpl("811010107",("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 = 666;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 = 667;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; -parent._l_rutainfo.setWidth((int) (parent._root.getWidth()*0.9)); - //BA.debugLineNum = 668;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; -parent._subs._centraetiqueta /*String*/ (ba,parent._l_rutainfo,parent._root.getWidth()); - //BA.debugLineNum = 669;BA.debugLine="l_rutaInfo.Visible = True"; -parent._l_rutainfo.setVisible(parent.__c.True); - //BA.debugLineNum = 670;BA.debugLine="l_rutaInfo.BringToFront"; -parent._l_rutainfo.BringToFront(); - //BA.debugLineNum = 671;BA.debugLine="ListView1.Top = lv1Top + 100"; -parent._listview1.setTop((int) ((double)(Double.parseDouble(parent._lv1top))+100)); +RDebugUtils.currentLine=46399546; + //BA.debugLineNum = 46399546;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=46399547; + //BA.debugLineNum = 46399547;BA.debugLine="Log($\"Distancia total: $1.1{distance/1000} kms,"; +parent.__c.LogImpl("246399547",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs)"),0); +RDebugUtils.currentLine=46399548; + //BA.debugLineNum = 46399548;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distance/10"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_puntos-1))+""))); +RDebugUtils.currentLine=46399549; + //BA.debugLineNum = 46399549;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.9)); +RDebugUtils.currentLine=46399550; + //BA.debugLineNum = 46399550;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +parent._subs._centraetiqueta /*String*/ (ba,__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=46399551; + //BA.debugLineNum = 46399551;BA.debugLine="l_rutaInfo.Visible = True"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=46399552; + //BA.debugLineNum = 46399552;BA.debugLine="l_rutaInfo.BringToFront"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=46399553; + //BA.debugLineNum = 46399553;BA.debugLine="ListView1.Top = lv1Top + 100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int) ((double)(Double.parseDouble(__ref._lv1top /*String*/ ))+100)); if (true) break; case 29: @@ -1000,240 +1095,304 @@ this.state = 32; case 31: //C this.state = 32; - //BA.debugLineNum = 674;BA.debugLine="LogColor(\"**************** Error! ************"; -parent.__c.LogImpl("811010116","**************** Error! ******************",parent.__c.Colors.Red); +RDebugUtils.currentLine=46399556; + //BA.debugLineNum = 46399556;BA.debugLine="LogColor(\"**************** Error! ************"; +parent.__c.LogImpl("246399556","**************** Error! ******************",parent.__c.Colors.Red); if (true) break; case 32: //C this.state = -1; ; - //BA.debugLineNum = 676;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 677;BA.debugLine="ProgressDialogHide"; +RDebugUtils.currentLine=46399558; + //BA.debugLineNum = 46399558;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=46399559; + //BA.debugLineNum = 46399559;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 678;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46399560; + //BA.debugLineNum = 46399560;BA.debugLine="End Sub"; if (true) break; } } } } -public void _jobdone(reparto_intmex.keymon.lat.httpjob _j) throws Exception{ +public anywheresoftware.b4a.objects.collections.List _todosavisitar(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "todosavisitar", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "todosavisitar", null));} +String _sqlderuta = ""; +anywheresoftware.b4a.objects.collections.List _avisitar = null; +anywheresoftware.b4a.objects.collections.List _tmplist = null; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _coords = null; +RDebugUtils.currentLine=46465024; + //BA.debugLineNum = 46465024;BA.debugLine="Sub todosAVisitar As List"; +RDebugUtils.currentLine=46465025; + //BA.debugLineNum = 46465025;BA.debugLine="Log(laRuta)"; +__c.LogImpl("246465025",__ref._laruta /*String*/ ,0); +RDebugUtils.currentLine=46465026; + //BA.debugLineNum = 46465026;BA.debugLine="Log(entro)"; +__c.LogImpl("246465026",__ref._entro /*String*/ ,0); +RDebugUtils.currentLine=46465027; + //BA.debugLineNum = 46465027;BA.debugLine="Private sqlDeRuta As String = \"\""; +_sqlderuta = ""; +RDebugUtils.currentLine=46465028; + //BA.debugLineNum = 46465028;BA.debugLine="If entro = 3 Then sqlDeRuta = $\"and CAT_CL_RUTA ="; +if ((__ref._entro /*String*/ ).equals(BA.NumberToString(3))) { +_sqlderuta = ("and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(__ref._laruta /*String*/ ))+"'");}; +RDebugUtils.currentLine=46465029; + //BA.debugLineNum = 46465029;BA.debugLine="Private aVisitar, tmpList As List"; +_avisitar = new anywheresoftware.b4a.objects.collections.List(); +_tmplist = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=46465030; + //BA.debugLineNum = 46465030;BA.debugLine="aVisitar.Initialize"; +_avisitar.Initialize(); +RDebugUtils.currentLine=46465031; + //BA.debugLineNum = 46465031;BA.debugLine="Private coords As ResultSet = Starter.skmt.ExecQu"; +_coords = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_coords = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 "+__c.SmartStringFormatter("",(Object)(_sqlderuta))+"")))); +RDebugUtils.currentLine=46465032; + //BA.debugLineNum = 46465032;BA.debugLine="Do While coords.NextRow"; +while (_coords.NextRow()) { +RDebugUtils.currentLine=46465033; + //BA.debugLineNum = 46465033;BA.debugLine="tmpList.Initialize"; +_tmplist.Initialize(); +RDebugUtils.currentLine=46465034; + //BA.debugLineNum = 46465034;BA.debugLine="tmpList.AddAll(Array As String(coords.GetString("; +_tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_coords.GetString("CAT_CL_CODIGO"),_coords.GetString("CAT_CL_LONG"),_coords.GetString("CAT_CL_LAT")})); +RDebugUtils.currentLine=46465035; + //BA.debugLineNum = 46465035;BA.debugLine="aVisitar.Add(tmpList)"; +_avisitar.Add((Object)(_tmplist.getObject())); + } +; +RDebugUtils.currentLine=46465037; + //BA.debugLineNum = 46465037;BA.debugLine="Log(aVisitar)"; +__c.LogImpl("246465037",BA.ObjectToString(_avisitar),0); +RDebugUtils.currentLine=46465038; + //BA.debugLineNum = 46465038;BA.debugLine="Return aVisitar"; +if (true) return _avisitar; +RDebugUtils.currentLine=46465039; + //BA.debugLineNum = 46465039;BA.debugLine="End Sub"; +return null; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim q_buscar As String"; -_q_buscar = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim entro As String"; -_entro = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim lfila As Label"; -_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim busca As EditText"; -_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private p_colonia As Panel"; -_p_colonia = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim laRuta As String"; -_laruta = ""; - //BA.debugLineNum = 17;BA.debugLine="Private b_GetDirs As Button"; -_b_getdirs = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private distOrderedMap, clientesMapaO As B4XOrder"; -_distorderedmap = new reparto_intmex.keymon.lat.b4xorderedmap(); -_clientesmapao = new reparto_intmex.keymon.lat.b4xorderedmap(); - //BA.debugLineNum = 19;BA.debugLine="Private img_getDirs As ImageView"; -_img_getdirs = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private l_rutaInfo As Label"; -_l_rutainfo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Private b_getRutaInfo As Button"; -_b_getrutainfo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private conMapa As Boolean = False"; -_conmapa = __c.False; - //BA.debugLineNum = 23;BA.debugLine="Dim listaWayPoints As List"; -_listawaypoints = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 24;BA.debugLine="Dim lv1Top As String"; -_lv1top = ""; - //BA.debugLineNum = 25;BA.debugLine="Private b_limpiarRuta As Button"; -_b_limpiarruta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim rutaGenerada As Boolean = False"; -_rutagenerada = __c.False; - //BA.debugLineNum = 27;BA.debugLine="Dim rutaacambiar As String"; -_rutaacambiar = ""; - //BA.debugLineNum = 28;BA.debugLine="Dim distanciacero as Int = 0"; -_distanciacero = (int) (0); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +public String _b_getrutainfo_longclick(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_getrutainfo_longclick", false)) + {return ((String) Debug.delegate(ba, "b_getrutainfo_longclick", null));} +RDebugUtils.currentLine=46268416; + //BA.debugLineNum = 46268416;BA.debugLine="Private Sub b_getRutaInfo_LongClick"; +RDebugUtils.currentLine=46268417; + //BA.debugLineNum = 46268417;BA.debugLine="If b_limpiarRuta.Visible Then"; +if (__ref._b_limpiarruta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()) { +RDebugUtils.currentLine=46268418; + //BA.debugLineNum = 46268418;BA.debugLine="b_limpiarRuta.Visible = False"; +__ref._b_limpiarruta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=46268420; + //BA.debugLineNum = 46268420;BA.debugLine="b_limpiarRuta.Visible = True"; +__ref._b_limpiarruta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=46268422; + //BA.debugLineNum = 46268422;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _distanciaentrecoords(String _id,String _coords1,String _coords2) throws Exception{ -ResumableSub_distanciaEntreCoords rsub = new ResumableSub_distanciaEntreCoords(this,_id,_coords1,_coords2); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +public String _b_limpiarruta_click(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_limpiarruta_click", false)) + {return ((String) Debug.delegate(ba, "b_limpiarruta_click", null));} +RDebugUtils.currentLine=46333952; + //BA.debugLineNum = 46333952;BA.debugLine="Private Sub b_limpiarRuta_Click"; +RDebugUtils.currentLine=46333953; + //BA.debugLineNum = 46333953;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); +RDebugUtils.currentLine=46333954; + //BA.debugLineNum = 46333954;BA.debugLine="b_limpiarRuta.Visible = False"; +__ref._b_limpiarruta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=46333955; + //BA.debugLineNum = 46333955;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=46333956; + //BA.debugLineNum = 46333956;BA.debugLine="End Sub"; +return ""; } -public static class ResumableSub_distanciaEntreCoords extends BA.ResumableSub { -public ResumableSub_distanciaEntreCoords(reparto_intmex.keymon.lat.c_clientes parent,String _id,String _coords1,String _coords2) { -this.parent = parent; -this._id = _id; -this._coords1 = _coords1; -this._coords2 = _coords2; -} -reparto_intmex.keymon.lat.c_clientes parent; -String _id; -String _coords1; -String _coords2; -String _distanciatotal = ""; -String _tiempo = ""; -reparto_intmex.keymon.lat.httpjob _j = null; -anywheresoftware.b4a.objects.collections.JSONParser _jp = null; -anywheresoftware.b4a.objects.collections.Map _m = null; -anywheresoftware.b4a.objects.collections.List _rutas = null; -anywheresoftware.b4a.objects.collections.Map _rutas2 = null; -anywheresoftware.b4a.objects.collections.List _r = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.objects.CSBuilder _cs2 = null; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; +String[] _y = null; +RDebugUtils.currentLine=45547520; + //BA.debugLineNum = 45547520;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=45547521; + //BA.debugLineNum = 45547521;BA.debugLine="busca.Text = \"\""; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=45547522; + //BA.debugLineNum = 45547522;BA.debugLine="b_GetDirs.Visible = False"; +__ref._b_getdirs /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=45547524; + //BA.debugLineNum = 45547524;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=45547528; + //BA.debugLineNum = 45547528;BA.debugLine="p_colonia.Width = Root.Width"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=45547529; + //BA.debugLineNum = 45547529;BA.debugLine="p_colonia.Height = Root.Height"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=45547530; + //BA.debugLineNum = 45547530;BA.debugLine="p_colonia.Top = 0"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=45547531; + //BA.debugLineNum = 45547531;BA.debugLine="p_colonia.Left = 0"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=45547532; + //BA.debugLineNum = 45547532;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; +_subs._centralistview /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=45547533; + //BA.debugLineNum = 45547533;BA.debugLine="ListView1.Height = p_colonia.Height * 0.75"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setHeight((int) (__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()*0.75)); +RDebugUtils.currentLine=45547534; + //BA.debugLineNum = 45547534;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=45547535; + //BA.debugLineNum = 45547535;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; +if (__c.Not(__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getVisible())) { +RDebugUtils.currentLine=45547536; + //BA.debugLineNum = 45547536;BA.debugLine="ListView1.Top = lv1Top"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int)(Double.parseDouble(__ref._lv1top /*String*/ ))); + }else { +RDebugUtils.currentLine=45547538; + //BA.debugLineNum = 45547538;BA.debugLine="ListView1.Top = lv1Top + 100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int) ((double)(Double.parseDouble(__ref._lv1top /*String*/ ))+100)); + }; +RDebugUtils.currentLine=45547540; + //BA.debugLineNum = 45547540;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); +RDebugUtils.currentLine=45547541; + //BA.debugLineNum = 45547541;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la ba"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=45547542; + //BA.debugLineNum = 45547542;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=45547544; + //BA.debugLineNum = 45547544;BA.debugLine="conMapa = True"; +__ref._conmapa /*boolean*/ = __c.True; +RDebugUtils.currentLine=45547546; + //BA.debugLineNum = 45547546;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=45547547; + //BA.debugLineNum = 45547547;BA.debugLine="Dim cs, cs2 As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=45547548; + //BA.debugLineNum = 45547548;BA.debugLine="entro = 3"; +__ref._entro /*String*/ = BA.NumberToString(3); +RDebugUtils.currentLine=45547550; + //BA.debugLineNum = 45547550;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; { -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 278;BA.debugLine="Sleep(1050)"; -parent.__c.Sleep(ba,this,(int) (1050)); -this.state = 11; -return; -case 11: -//C -this.state = 1; -; - //BA.debugLineNum = 279;BA.debugLine="Private distanciaTotal As String = \"0\""; -_distanciatotal = "0"; - //BA.debugLineNum = 280;BA.debugLine="Private tiempo As String = \"0\""; -_tiempo = "0"; - //BA.debugLineNum = 281;BA.debugLine="Dim j As HttpJob"; -_j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 282;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 283;BA.debugLine="j.Download(\"https://router.project-osrm.org/route"; -_j._download /*String*/ ("https://router.project-osrm.org/route/v1/driving/"+_coords1+";"+_coords2+"?overview=false"); - //BA.debugLineNum = 284;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); -this.state = 12; -return; -case 12: -//C -this.state = 1; -_j = (reparto_intmex.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 285;BA.debugLine="If j.Success Then"; -if (true) break; - -case 1: -//if -this.state = 10; -if (_j._success /*boolean*/ ) { -this.state = 3; -}else { -this.state = 9; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 286;BA.debugLine="Dim jp As JSONParser"; -_jp = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 287;BA.debugLine="jp.Initialize(j.GetString)"; -_jp.Initialize(_j._getstring /*String*/ ()); - //BA.debugLineNum = 288;BA.debugLine="Dim m As Map = jp.NextObject"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = _jp.NextObject(); - //BA.debugLineNum = 289;BA.debugLine="Log($\"Respuesta: ${m.Get(\"code\")}\"$)"; -parent.__c.LogImpl("810551308",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0); - //BA.debugLineNum = 290;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; -if (true) break; - -case 4: -//if -this.state = 7; -if ((_m.Get((Object)("code"))).equals((Object)("Ok"))) { -this.state = 6; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 292;BA.debugLine="Dim rutas As List = m.Get(\"routes\")"; -_rutas = new anywheresoftware.b4a.objects.collections.List(); -_rutas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("routes")))); - //BA.debugLineNum = 293;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; -_rutas2 = new anywheresoftware.b4a.objects.collections.Map(); -_rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas.Get((int) (0)))); - //BA.debugLineNum = 297;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; -_distanciatotal = BA.ObjectToString(_rutas2.Get((Object)("distance"))); - //BA.debugLineNum = 298;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; -_tiempo = BA.ObjectToString(_rutas2.Get((Object)("duration"))); - //BA.debugLineNum = 299;BA.debugLine="Log($\"Distancia total: ${distanciaTotal}, Tiemp"; -parent.__c.LogImpl("810551318",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0); - if (true) break; - -case 7: -//C -this.state = 10; -; - if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 302;BA.debugLine="Log(\"Error!\")"; -parent.__c.LogImpl("810551321","Error!",0); - if (true) break; - -case 10: -//C -this.state = -1; -; - //BA.debugLineNum = 304;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 305;BA.debugLine="Private r As List"; -_r = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 306;BA.debugLine="r.Initialize"; -_r.Initialize(); - //BA.debugLineNum = 307;BA.debugLine="r.Add(id)"; -_r.Add((Object)(_id)); - //BA.debugLineNum = 308;BA.debugLine="r.Add(distanciaTotal)"; -_r.Add((Object)(_distanciatotal)); - //BA.debugLineNum = 309;BA.debugLine="r.Add(tiempo)"; -_r.Add((Object)(_tiempo)); - //BA.debugLineNum = 310;BA.debugLine="Return r"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(_r));return;}; - //BA.debugLineNum = 311;BA.debugLine="End Sub"; -if (true) break; - - } - } - } +final int step23 = 1; +final int limit23 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit23 ;_i = _i + step23 ) { +RDebugUtils.currentLine=45547551; + //BA.debugLineNum = 45547551;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=45547552; + //BA.debugLineNum = 45547552;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=45547553; + //BA.debugLineNum = 45547553;BA.debugLine="cs2.Initialize"; +_cs2.Initialize(); +RDebugUtils.currentLine=45547557; + //BA.debugLineNum = 45547557;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))).Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE").trim()+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))).PopAll().getObject())); + } +}; + }else { +RDebugUtils.currentLine=45547560; + //BA.debugLineNum = 45547560;BA.debugLine="generaListViewRutas"; +__ref._generalistviewrutas /*void*/ (null); + }; +RDebugUtils.currentLine=45547562; + //BA.debugLineNum = 45547562;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=45547563; + //BA.debugLineNum = 45547563;BA.debugLine="p_colonia.Width = Root.Width"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=45547564; + //BA.debugLineNum = 45547564;BA.debugLine="p_colonia.Height = Root.Height"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=45547565; + //BA.debugLineNum = 45547565;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=45547566; + //BA.debugLineNum = 45547566;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; +_subs._centralistview /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=45547567; + //BA.debugLineNum = 45547567;BA.debugLine="ListView1.Height = p_colonia.Height * 0.70"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setHeight((int) (__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()*0.70)); +RDebugUtils.currentLine=45547568; + //BA.debugLineNum = 45547568;BA.debugLine="Subs.centraEtiqueta(lfila, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=45547569; + //BA.debugLineNum = 45547569;BA.debugLine="b_getRutaInfo.Visible = True"; +__ref._b_getrutainfo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=45547570; + //BA.debugLineNum = 45547570;BA.debugLine="b_getRutaInfo.BringToFront"; +__ref._b_getrutainfo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .BringToFront(); +RDebugUtils.currentLine=45547571; + //BA.debugLineNum = 45547571;BA.debugLine="If Starter.cedisLocation.Latitude = \"0\" Then"; +if (_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()==(double)(Double.parseDouble("0"))) { +RDebugUtils.currentLine=45547572; + //BA.debugLineNum = 45547572;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery(\"se"; +_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'COORDS_ALMACEN'"))); +RDebugUtils.currentLine=45547573; + //BA.debugLineNum = 45547573;BA.debugLine="If x.RowCount > 0 Then"; +if (_x.getRowCount()>0) { +RDebugUtils.currentLine=45547574; + //BA.debugLineNum = 45547574;BA.debugLine="x.Position = 0"; +_x.setPosition((int) (0)); +RDebugUtils.currentLine=45547575; + //BA.debugLineNum = 45547575;BA.debugLine="Private y() As String"; +_y = new String[(int) (0)]; +java.util.Arrays.fill(_y,""); +RDebugUtils.currentLine=45547576; + //BA.debugLineNum = 45547576;BA.debugLine="Starter.cedisLocation.Latitude = Regex.Split(\","; +_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude((double)(Double.parseDouble(__c.Regex.Split(",",_x.GetString("CAT_VA_VALOR"))[(int) (1)]))); +RDebugUtils.currentLine=45547577; + //BA.debugLineNum = 45547577;BA.debugLine="Starter.cedisLocation.Longitude = Regex.Split(\""; +_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude((double)(Double.parseDouble(__c.Regex.Split(",",_x.GetString("CAT_VA_VALOR"))[(int) (0)]))); + }; + }; +RDebugUtils.currentLine=45547580; + //BA.debugLineNum = 45547580;BA.debugLine="Log(Starter.cedisLocation)"; +__c.LogImpl("245547580",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0); +RDebugUtils.currentLine=45547581; + //BA.debugLineNum = 45547581;BA.debugLine="End Sub"; +return ""; } -public void _generalistviewrutas() throws Exception{ -ResumableSub_generaListViewRutas rsub = new ResumableSub_generaListViewRutas(this); +public void _generalistviewrutas(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "generalistviewrutas", false)) + {Debug.delegate(ba, "generalistviewrutas", null); return;} +ResumableSub_generaListViewRutas rsub = new ResumableSub_generaListViewRutas(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_generaListViewRutas extends BA.ResumableSub { -public ResumableSub_generaListViewRutas(reparto_intmex.keymon.lat.c_clientes parent) { +public ResumableSub_generaListViewRutas(reparto_intmex.keymon.lat.c_clientes parent,reparto_intmex.keymon.lat.c_clientes __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_clientes __ref; reparto_intmex.keymon.lat.c_clientes parent; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; @@ -1243,6 +1402,7 @@ int limit16; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; while (true) { switch (state) { @@ -1252,61 +1412,77 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 211;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 212;BA.debugLine="Sleep(110)"; -parent.__c.Sleep(ba,this,(int) (110)); +RDebugUtils.currentLine=45744129; + //BA.debugLineNum = 45744129;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=45744130; + //BA.debugLineNum = 45744130;BA.debugLine="Sleep(110)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "generalistviewrutas"),(int) (110)); this.state = 9; return; case 9: //C this.state = 1; ; - //BA.debugLineNum = 213;BA.debugLine="lfila.Text = \"RUTA PREVENTA\""; -parent._lfila.setText(BA.ObjectToCharSequence("RUTA PREVENTA")); - //BA.debugLineNum = 214;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=45744131; + //BA.debugLineNum = 45744131;BA.debugLine="lfila.Text = \"RUTA PREVENTA\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("RUTA PREVENTA")); +RDebugUtils.currentLine=45744132; + //BA.debugLineNum = 45744132;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 215;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = parent._listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 216;BA.debugLine="label1.TextSize = 15"; +RDebugUtils.currentLine=45744133; + //BA.debugLineNum = 45744133;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=45744134; + //BA.debugLineNum = 45744134;BA.debugLine="label1.TextSize = 15"; _label1.setTextSize((float) (15)); - //BA.debugLineNum = 217;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=45744135; + //BA.debugLineNum = 45744135;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 218;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=45744136; + //BA.debugLineNum = 45744136;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 219;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = parent._listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 220;BA.debugLine="label2.TextSize = 15"; +RDebugUtils.currentLine=45744137; + //BA.debugLineNum = 45744137;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=45744138; + //BA.debugLineNum = 45744138;BA.debugLine="label2.TextSize = 15"; _label2.setTextSize((float) (15)); - //BA.debugLineNum = 221;BA.debugLine="label2.TextColor = Colors.Black"; +RDebugUtils.currentLine=45744139; + //BA.debugLineNum = 45744139;BA.debugLine="label2.TextColor = Colors.Black"; _label2.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 222;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 60dip"; -parent._listview1.getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 223;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, cou"; -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 CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc"))); - //BA.debugLineNum = 224;BA.debugLine="If c.RowCount>0 Then"; +RDebugUtils.currentLine=45744140; + //BA.debugLineNum = 45744140;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 60dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=45744141; + //BA.debugLineNum = 45744141;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, cou"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc"))); +RDebugUtils.currentLine=45744142; + //BA.debugLineNum = 45744142;BA.debugLine="If c.RowCount>0 Then"; if (true) break; case 1: //if this.state = 8; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 225;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 226;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=45744143; + //BA.debugLineNum = 45744143;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=45744144; + //BA.debugLineNum = 45744144;BA.debugLine="For i=0 To c.RowCount -1"; if (true) break; case 4: //for this.state = 7; step16 = 1; -limit16 = (int) (parent._c.getRowCount()-1); +limit16 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 10; if (true) break; @@ -1326,10 +1502,12 @@ if (true) break; case 6: //C this.state = 11; - //BA.debugLineNum = 227;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 228;BA.debugLine="ListView1.AddTwoLines(\"Ruta: \" & c.GetString(\"C"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence("Ruta: "+parent._c.GetString("CAT_CL_RUTA")),BA.ObjectToCharSequence("Por visitar: "+parent._c.GetString("cuantos"))); +RDebugUtils.currentLine=45744145; + //BA.debugLineNum = 45744145;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=45744146; + //BA.debugLineNum = 45744146;BA.debugLine="ListView1.AddTwoLines(\"Ruta: \" & c.GetString(\"C"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence("Ruta: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")),BA.ObjectToCharSequence("Por visitar: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("cuantos"))); if (true) break; if (true) break; @@ -1343,33 +1521,277 @@ case 8: //C this.state = -1; ; - //BA.debugLineNum = 231;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 232;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45744149; + //BA.debugLineNum = 45744149;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=45744150; + //BA.debugLineNum = 45744150;BA.debugLine="End Sub"; if (true) break; } } } } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 32;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 33;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return null; +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } -public void _listview1_itemclick(int _position,Object _value) throws Exception{ -ResumableSub_ListView1_ItemClick rsub = new ResumableSub_ListView1_ItemClick(this,_position,_value); +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_clientes parent,reparto_intmex.keymon.lat.c_clientes __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_intmex.keymon.lat.c_clientes __ref; +reparto_intmex.keymon.lat.c_clientes parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=45613059; + //BA.debugLineNum = 45613059;BA.debugLine="Log(entro)"; +parent.__c.LogImpl("245613059",__ref._entro /*String*/ ,0); +RDebugUtils.currentLine=45613060; + //BA.debugLineNum = 45613060;BA.debugLine="If rutaGenerada Or entro = 3 Then ' Si ya generam"; +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref._rutagenerada /*boolean*/ || (__ref._entro /*String*/ ).equals(BA.NumberToString(3))) { +this.state = 3; +}else +{RDebugUtils.currentLine=45613064; + //BA.debugLineNum = 45613064;BA.debugLine="else if entro = 2 Then ' Si estamos mostrando las"; +if ((__ref._entro /*String*/ ).equals(BA.NumberToString(2))) { +this.state = 5; +}} +if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=45613061; + //BA.debugLineNum = 45613061;BA.debugLine="b_limpiarRuta_Click"; +__ref._b_limpiarruta_click /*String*/ (null); +RDebugUtils.currentLine=45613062; + //BA.debugLineNum = 45613062;BA.debugLine="l_rutaInfo.Text = \"\""; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=45613063; + //BA.debugLineNum = 45613063;BA.debugLine="rutaGenerada = False"; +__ref._rutagenerada /*boolean*/ = parent.__c.False; + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=45613065; + //BA.debugLineNum = 45613065;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 6: +//C +this.state = -1; +; +RDebugUtils.currentLine=45613067; + //BA.debugLineNum = 45613067;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=45613068; + //BA.debugLineNum = 45613068;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _busca_textchanged(reparto_intmex.keymon.lat.c_clientes __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "busca_textchanged", false)) + {return ((String) Debug.delegate(ba, "busca_textchanged", new Object[] {_old,_new}));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=45875200; + //BA.debugLineNum = 45875200;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +RDebugUtils.currentLine=45875201; + //BA.debugLineNum = 45875201;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=45875202; + //BA.debugLineNum = 45875202;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMBRE"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where CAT_CL_NOMBRE like ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_CODIGO ",new String[]{__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=45875203; + //BA.debugLineNum = 45875203;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=45875204; + //BA.debugLineNum = 45875204;BA.debugLine="lfila.text = \"Nombre y Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre y Calle")); +RDebugUtils.currentLine=45875205; + //BA.debugLineNum = 45875205;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=45875206; + //BA.debugLineNum = 45875206;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=45875207; + //BA.debugLineNum = 45875207;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step7 = 1; +final int limit7 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=45875208; + //BA.debugLineNum = 45875208;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=45875209; + //BA.debugLineNum = 45875209;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=45875210; + //BA.debugLineNum = 45875210;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=45875211; + //BA.debugLineNum = 45875211;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=45875212; + //BA.debugLineNum = 45875212;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=45875213; + //BA.debugLineNum = 45875213;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=45875214; + //BA.debugLineNum = 45875214;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=45875215; + //BA.debugLineNum = 45875215;BA.debugLine="label2.TextSize = 15"; +_label2.setTextSize((float) (15)); +RDebugUtils.currentLine=45875216; + //BA.debugLineNum = 45875216;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=45875217; + //BA.debugLineNum = 45875217;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")+" CALLE: "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"))); + } +}; + }; +RDebugUtils.currentLine=45875220; + //BA.debugLineNum = 45875220;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=45875221; + //BA.debugLineNum = 45875221;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=45875222; + //BA.debugLineNum = 45875222;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +RDebugUtils.currentLine=45350912; + //BA.debugLineNum = 45350912;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=45350913; + //BA.debugLineNum = 45350913;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45350914; + //BA.debugLineNum = 45350914;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=45350915; + //BA.debugLineNum = 45350915;BA.debugLine="Dim q_buscar As String"; +_q_buscar = ""; +RDebugUtils.currentLine=45350917; + //BA.debugLineNum = 45350917;BA.debugLine="Dim entro As String"; +_entro = ""; +RDebugUtils.currentLine=45350918; + //BA.debugLineNum = 45350918;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=45350919; + //BA.debugLineNum = 45350919;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=45350920; + //BA.debugLineNum = 45350920;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=45350922; + //BA.debugLineNum = 45350922;BA.debugLine="Dim lfila As Label"; +_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=45350923; + //BA.debugLineNum = 45350923;BA.debugLine="Dim busca As EditText"; +_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=45350924; + //BA.debugLineNum = 45350924;BA.debugLine="Private p_colonia As Panel"; +_p_colonia = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=45350927; + //BA.debugLineNum = 45350927;BA.debugLine="Dim laRuta As String"; +_laruta = ""; +RDebugUtils.currentLine=45350928; + //BA.debugLineNum = 45350928;BA.debugLine="Private b_GetDirs As Button"; +_b_getdirs = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=45350929; + //BA.debugLineNum = 45350929;BA.debugLine="Private distOrderedMap, clientesMapaO As B4XOrder"; +_distorderedmap = new reparto_intmex.keymon.lat.b4xorderedmap(); +_clientesmapao = new reparto_intmex.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=45350930; + //BA.debugLineNum = 45350930;BA.debugLine="Private img_getDirs As ImageView"; +_img_getdirs = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=45350931; + //BA.debugLineNum = 45350931;BA.debugLine="Private l_rutaInfo As Label"; +_l_rutainfo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=45350932; + //BA.debugLineNum = 45350932;BA.debugLine="Private b_getRutaInfo As Button"; +_b_getrutainfo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=45350933; + //BA.debugLineNum = 45350933;BA.debugLine="Private conMapa As Boolean = False"; +_conmapa = __c.False; +RDebugUtils.currentLine=45350934; + //BA.debugLineNum = 45350934;BA.debugLine="Dim listaWayPoints As List"; +_listawaypoints = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=45350935; + //BA.debugLineNum = 45350935;BA.debugLine="Dim lv1Top As String"; +_lv1top = ""; +RDebugUtils.currentLine=45350936; + //BA.debugLineNum = 45350936;BA.debugLine="Private b_limpiarRuta As Button"; +_b_limpiarruta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=45350937; + //BA.debugLineNum = 45350937;BA.debugLine="Dim rutaGenerada As Boolean = False"; +_rutagenerada = __c.False; +RDebugUtils.currentLine=45350938; + //BA.debugLineNum = 45350938;BA.debugLine="Dim rutaacambiar As String"; +_rutaacambiar = ""; +RDebugUtils.currentLine=45350939; + //BA.debugLineNum = 45350939;BA.debugLine="Dim distanciacero as Int = 0"; +_distanciacero = (int) (0); +RDebugUtils.currentLine=45350940; + //BA.debugLineNum = 45350940;BA.debugLine="End Sub"; +return ""; +} +public void _listview1_itemclick(reparto_intmex.keymon.lat.c_clientes __ref,int _position,Object _value) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}); return;} +ResumableSub_ListView1_ItemClick rsub = new ResumableSub_ListView1_ItemClick(this,__ref,_position,_value); rsub.resume(ba, null); } public static class ResumableSub_ListView1_ItemClick extends BA.ResumableSub { -public ResumableSub_ListView1_ItemClick(reparto_intmex.keymon.lat.c_clientes parent,int _position,Object _value) { +public ResumableSub_ListView1_ItemClick(reparto_intmex.keymon.lat.c_clientes parent,reparto_intmex.keymon.lat.c_clientes __ref,int _position,Object _value) { this.parent = parent; +this.__ref = __ref; this._position = _position; this._value = _value; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_clientes __ref; reparto_intmex.keymon.lat.c_clientes parent; int _position; Object _value; @@ -1390,6 +1812,7 @@ int groupLen47; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; while (true) { switch (state) { @@ -1399,27 +1822,32 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 130;BA.debugLine="Log(Value)"; -parent.__c.LogImpl("810289154",BA.ObjectToString(_value),0); - //BA.debugLineNum = 131;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 132;BA.debugLine="Sleep(50)"; -parent.__c.Sleep(ba,this,(int) (50)); +RDebugUtils.currentLine=45678594; + //BA.debugLineNum = 45678594;BA.debugLine="Log(Value)"; +parent.__c.LogImpl("245678594",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=45678595; + //BA.debugLineNum = 45678595;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=45678596; + //BA.debugLineNum = 45678596;BA.debugLine="Sleep(50)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "listview1_itemclick"),(int) (50)); this.state = 31; return; case 31: //C this.state = 1; ; - //BA.debugLineNum = 133;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -parent._subs._setdivider /*String*/ (ba,parent._listview1,parent.__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 134;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; +RDebugUtils.currentLine=45678597; + //BA.debugLineNum = 45678597;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +parent._subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,parent.__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=45678598; + //BA.debugLineNum = 45678598;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; if (true) break; case 1: //if this.state = 6; -if (parent.__c.Not(parent._l_rutainfo.getVisible())) { +if (parent.__c.Not(__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getVisible())) { this.state = 3; }else { this.state = 5; @@ -1428,119 +1856,150 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 135;BA.debugLine="ListView1.Top = lv1Top"; -parent._listview1.setTop((int)(Double.parseDouble(parent._lv1top))); +RDebugUtils.currentLine=45678599; + //BA.debugLineNum = 45678599;BA.debugLine="ListView1.Top = lv1Top"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int)(Double.parseDouble(__ref._lv1top /*String*/ ))); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 137;BA.debugLine="ListView1.Top = lv1Top + 100"; -parent._listview1.setTop((int) ((double)(Double.parseDouble(parent._lv1top))+100)); +RDebugUtils.currentLine=45678601; + //BA.debugLineNum = 45678601;BA.debugLine="ListView1.Top = lv1Top + 100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int) ((double)(Double.parseDouble(__ref._lv1top /*String*/ ))+100)); if (true) break; case 6: //C this.state = 7; ; - //BA.debugLineNum = 139;BA.debugLine="l_rutaInfo.Visible = False"; -parent._l_rutainfo.setVisible(parent.__c.False); - //BA.debugLineNum = 140;BA.debugLine="b_GetDirs.Visible = False"; -parent._b_getdirs.setVisible(parent.__c.False); - //BA.debugLineNum = 141;BA.debugLine="If entro = \"2\" Then"; +RDebugUtils.currentLine=45678603; + //BA.debugLineNum = 45678603;BA.debugLine="l_rutaInfo.Visible = False"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=45678604; + //BA.debugLineNum = 45678604;BA.debugLine="b_GetDirs.Visible = False"; +__ref._b_getdirs /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=45678605; + //BA.debugLineNum = 45678605;BA.debugLine="If entro = \"2\" Then"; if (true) break; case 7: //if this.state = 30; -if ((parent._entro).equals("2")) { +if ((__ref._entro /*String*/ ).equals("2")) { this.state = 9; -}else if((parent._entro).equals("3")) { +}else +{RDebugUtils.currentLine=45678665; + //BA.debugLineNum = 45678665;BA.debugLine="Else If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { this.state = 29; -}if (true) break; +}} +if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 145;BA.debugLine="Private lrt As String"; +RDebugUtils.currentLine=45678609; + //BA.debugLineNum = 45678609;BA.debugLine="Private lrt As String"; _lrt = ""; - //BA.debugLineNum = 146;BA.debugLine="lrt = Value"; +RDebugUtils.currentLine=45678610; + //BA.debugLineNum = 45678610;BA.debugLine="lrt = Value"; _lrt = BA.ObjectToString(_value); - //BA.debugLineNum = 147;BA.debugLine="laRuta = lrt.SubString(6) 'Quitamos el texto \"Ru"; -parent._laruta = _lrt.substring((int) (6)); - //BA.debugLineNum = 148;BA.debugLine="Log($\"Original: ${Value} - Mod: |${lrt.SubString"; -parent.__c.LogImpl("810289172",("Original: "+parent.__c.SmartStringFormatter("",_value)+" - Mod: |"+parent.__c.SmartStringFormatter("",(Object)(_lrt.substring((int) (6))))+"| - laRuta: "+parent.__c.SmartStringFormatter("",(Object)(parent._laruta))+""),0); - //BA.debugLineNum = 149;BA.debugLine="rutaacambiar = laRuta"; -parent._rutaacambiar = parent._laruta; - //BA.debugLineNum = 150;BA.debugLine="c2 = Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ",new String[]{parent._laruta}))); - //BA.debugLineNum = 151;BA.debugLine="Private thisLoc As Location"; +RDebugUtils.currentLine=45678611; + //BA.debugLineNum = 45678611;BA.debugLine="laRuta = lrt.SubString(6) 'Quitamos el texto \"Ru"; +__ref._laruta /*String*/ = _lrt.substring((int) (6)); +RDebugUtils.currentLine=45678612; + //BA.debugLineNum = 45678612;BA.debugLine="Log($\"Original: ${Value} - Mod: |${lrt.SubString"; +parent.__c.LogImpl("245678612",("Original: "+parent.__c.SmartStringFormatter("",_value)+" - Mod: |"+parent.__c.SmartStringFormatter("",(Object)(_lrt.substring((int) (6))))+"| - laRuta: "+parent.__c.SmartStringFormatter("",(Object)(__ref._laruta /*String*/ ))+""),0); +RDebugUtils.currentLine=45678613; + //BA.debugLineNum = 45678613;BA.debugLine="rutaacambiar = laRuta"; +__ref._rutaacambiar /*String*/ = __ref._laruta /*String*/ ; +RDebugUtils.currentLine=45678614; + //BA.debugLineNum = 45678614;BA.debugLine="c2 = Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ",new String[]{__ref._laruta /*String*/ }))); +RDebugUtils.currentLine=45678615; + //BA.debugLineNum = 45678615;BA.debugLine="Private thisLoc As Location"; _thisloc = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 152;BA.debugLine="Private label1 As Label"; +RDebugUtils.currentLine=45678616; + //BA.debugLineNum = 45678616;BA.debugLine="Private label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 153;BA.debugLine="Private label2 As Label"; +RDebugUtils.currentLine=45678617; + //BA.debugLineNum = 45678617;BA.debugLine="Private label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 154;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = parent._listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 155;BA.debugLine="label1.TextSize = 15"; +RDebugUtils.currentLine=45678618; + //BA.debugLineNum = 45678618;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=45678619; + //BA.debugLineNum = 45678619;BA.debugLine="label1.TextSize = 15"; _label1.setTextSize((float) (15)); - //BA.debugLineNum = 156;BA.debugLine="label1.TextColor = Colors.black"; +RDebugUtils.currentLine=45678620; + //BA.debugLineNum = 45678620;BA.debugLine="label1.TextColor = Colors.black"; _label1.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 157;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = parent._listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 158;BA.debugLine="label2.TextSize = 15"; +RDebugUtils.currentLine=45678621; + //BA.debugLineNum = 45678621;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=45678622; + //BA.debugLineNum = 45678622;BA.debugLine="label2.TextSize = 15"; _label2.setTextSize((float) (15)); - //BA.debugLineNum = 159;BA.debugLine="label2.TextColor = Colors.black"; +RDebugUtils.currentLine=45678623; + //BA.debugLineNum = 45678623;BA.debugLine="label2.TextColor = Colors.black"; _label2.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 160;BA.debugLine="label2.Height = 57dip"; +RDebugUtils.currentLine=45678624; + //BA.debugLineNum = 45678624;BA.debugLine="label2.Height = 57dip"; _label2.setHeight(parent.__c.DipToCurrent((int) (57))); - //BA.debugLineNum = 161;BA.debugLine="thisLoc.Initialize"; +RDebugUtils.currentLine=45678625; + //BA.debugLineNum = 45678625;BA.debugLine="thisLoc.Initialize"; _thisloc.Initialize(); - //BA.debugLineNum = 162;BA.debugLine="If entro = 2 Then ListView1.TwoLinesLayout.ItemH"; +RDebugUtils.currentLine=45678626; + //BA.debugLineNum = 45678626;BA.debugLine="If entro = 2 Then ListView1.TwoLinesLayout.ItemH"; if (true) break; case 10: //if this.state = 15; -if ((parent._entro).equals(BA.NumberToString(2))) { +if ((__ref._entro /*String*/ ).equals(BA.NumberToString(2))) { this.state = 12; ;}if (true) break; case 12: //C this.state = 15; -parent._listview1.getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (90))); +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (90))); if (true) break; case 15: //C this.state = 16; ; - //BA.debugLineNum = 163;BA.debugLine="lfila.text = \"Nombre y Calle\""; -parent._lfila.setText(BA.ObjectToCharSequence("Nombre y Calle")); - //BA.debugLineNum = 164;BA.debugLine="distOrderedMap.Initialize"; -parent._distorderedmap._initialize /*String*/ (ba); - //BA.debugLineNum = 166;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=45678627; + //BA.debugLineNum = 45678627;BA.debugLine="lfila.text = \"Nombre y Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre y Calle")); +RDebugUtils.currentLine=45678628; + //BA.debugLineNum = 45678628;BA.debugLine="distOrderedMap.Initialize"; +__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=45678630; + //BA.debugLineNum = 45678630;BA.debugLine="If c2.RowCount > 0 Then"; if (true) break; case 16: //if this.state = 27; -if (parent._c2.getRowCount()>0) { +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 18; }if (true) break; case 18: //C this.state = 19; - //BA.debugLineNum = 167;BA.debugLine="For i = 0 To c2.RowCount -1 'Generamos mapa de"; +RDebugUtils.currentLine=45678631; + //BA.debugLineNum = 45678631;BA.debugLine="For i = 0 To c2.RowCount -1 'Generamos mapa de"; if (true) break; case 19: //for this.state = 22; step34 = 1; -limit34 = (int) (parent._c2.getRowCount()-1); +limit34 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 32; if (true) break; @@ -1560,21 +2019,28 @@ if (true) break; case 21: //C this.state = 33; - //BA.debugLineNum = 168;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 169;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; -_thisloc.setLatitude((double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT")))); - //BA.debugLineNum = 170;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG\""; -_thisloc.setLongitude((double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG")))); - //BA.debugLineNum = 172;BA.debugLine="Private distancia As Int = Tracker.UUGCoords.D"; +RDebugUtils.currentLine=45678632; + //BA.debugLineNum = 45678632;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=45678633; + //BA.debugLineNum = 45678633;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; +_thisloc.setLatitude((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")))); +RDebugUtils.currentLine=45678634; + //BA.debugLineNum = 45678634;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG\""; +_thisloc.setLongitude((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")))); +RDebugUtils.currentLine=45678636; + //BA.debugLineNum = 45678636;BA.debugLine="Private distancia As Int = Tracker.UUGCoords.D"; _distancia = (int) (parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(_thisloc.getObject()))); - //BA.debugLineNum = 174;BA.debugLine="distancia = distancia + i"; +RDebugUtils.currentLine=45678638; + //BA.debugLineNum = 45678638;BA.debugLine="distancia = distancia + i"; _distancia = (int) (_distancia+_i); - //BA.debugLineNum = 183;BA.debugLine="Private esteCliente As Map = CreateMap(\"distan"; +RDebugUtils.currentLine=45678647; + //BA.debugLineNum = 45678647;BA.debugLine="Private esteCliente As Map = CreateMap(\"distan"; _estecliente = new anywheresoftware.b4a.objects.collections.Map(); -_estecliente = parent.__c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia),(Object)("ubicacion"),(Object)(BA.NumberToString(_thisloc.getLongitude())+","+BA.NumberToString(_thisloc.getLatitude())),(Object)("codigo"),(Object)(parent._c2.GetString("CAT_CL_CODIGO")),(Object)("nomDirDist"),(Object)((""+parent.__c.SmartStringFormatter("",(Object)(parent._c2.GetString("CAT_CL_NOMBRE")))+" CALLE: "+parent.__c.SmartStringFormatter("",(Object)(parent._c2.GetString("CAT_CL_CALLE")))+" "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((_distancia/(double)1000)))+" kms"))}); - //BA.debugLineNum = 185;BA.debugLine="distOrderedMap.Put(distancia, esteCliente)"; -parent._distorderedmap._put /*String*/ ((Object)(_distancia),(Object)(_estecliente.getObject())); +_estecliente = parent.__c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia),(Object)("ubicacion"),(Object)(BA.NumberToString(_thisloc.getLongitude())+","+BA.NumberToString(_thisloc.getLatitude())),(Object)("codigo"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),(Object)("nomDirDist"),(Object)((""+parent.__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")))+" CALLE: "+parent.__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")))+" "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((_distancia/(double)1000)))+" kms"))}); +RDebugUtils.currentLine=45678649; + //BA.debugLineNum = 45678649;BA.debugLine="distOrderedMap.Put(distancia, esteCliente)"; +__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_distancia),(Object)(_estecliente.getObject())); if (true) break; if (true) break; @@ -1582,21 +2048,26 @@ case 22: //C this.state = 23; ; - //BA.debugLineNum = 188;BA.debugLine="distOrderedMap.Keys.Sort(True) 'Ordenamos la ma"; -parent._distorderedmap._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().Sort(parent.__c.True); - //BA.debugLineNum = 189;BA.debugLine="Log(distOrderedMap)"; -parent.__c.LogImpl("810289213",BA.ObjectToString(parent._distorderedmap),0); - //BA.debugLineNum = 190;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 191;BA.debugLine="Private m1 As Map"; +RDebugUtils.currentLine=45678652; + //BA.debugLineNum = 45678652;BA.debugLine="distOrderedMap.Keys.Sort(True) 'Ordenamos la ma"; +__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).Sort(parent.__c.True); +RDebugUtils.currentLine=45678653; + //BA.debugLineNum = 45678653;BA.debugLine="Log(distOrderedMap)"; +parent.__c.LogImpl("245678653",BA.ObjectToString(__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ),0); +RDebugUtils.currentLine=45678654; + //BA.debugLineNum = 45678654;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=45678655; + //BA.debugLineNum = 45678655;BA.debugLine="Private m1 As Map"; _m1 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 192;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; +RDebugUtils.currentLine=45678656; + //BA.debugLineNum = 45678656;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; if (true) break; case 23: //for this.state = 26; -group47 = parent._distorderedmap._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); +group47 = __ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); index47 = 0; groupLen47 = group47.getSize(); this.state = 34; @@ -1619,12 +2090,15 @@ if (true) break; case 25: //C this.state = 35; - //BA.debugLineNum = 193;BA.debugLine="m1 = distOrderedMap.Get(k)"; -_m1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ (_k))); - //BA.debugLineNum = 194;BA.debugLine="m1.Get(\"codigo\")"; +RDebugUtils.currentLine=45678657; + //BA.debugLineNum = 45678657;BA.debugLine="m1 = distOrderedMap.Get(k)"; +_m1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._distorderedmap /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=45678658; + //BA.debugLineNum = 45678658;BA.debugLine="m1.Get(\"codigo\")"; _m1.Get((Object)("codigo")); - //BA.debugLineNum = 196;BA.debugLine="ListView1.AddTwoLines(m1.Get(\"codigo\"), m1.Get"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence(_m1.Get((Object)("codigo"))),BA.ObjectToCharSequence(_m1.Get((Object)("nomDirDist")))); +RDebugUtils.currentLine=45678660; + //BA.debugLineNum = 45678660;BA.debugLine="ListView1.AddTwoLines(m1.Get(\"codigo\"), m1.Get"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_m1.Get((Object)("codigo"))),BA.ObjectToCharSequence(_m1.Get((Object)("nomDirDist")))); if (true) break; if (true) break; @@ -1638,20 +2112,25 @@ case 27: //C this.state = 30; ; - //BA.debugLineNum = 199;BA.debugLine="c2.Close"; -parent._c2.Close(); - //BA.debugLineNum = 200;BA.debugLine="entro = \"3\""; -parent._entro = "3"; +RDebugUtils.currentLine=45678663; + //BA.debugLineNum = 45678663;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=45678664; + //BA.debugLineNum = 45678664;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; if (true) break; case 29: //C this.state = 30; - //BA.debugLineNum = 203;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +RDebugUtils.currentLine=45678667; + //BA.debugLineNum = 45678667;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 204;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA"; +RDebugUtils.currentLine=45678668; + //BA.debugLineNum = 45678668;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 205;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=45678669; + //BA.debugLineNum = 45678669;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); if (true) break; @@ -1659,62 +2138,29 @@ case 30: //C this.state = -1; ; - //BA.debugLineNum = 207;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45678671; + //BA.debugLineNum = 45678671;BA.debugLine="End Sub"; if (true) break; } } } } -public anywheresoftware.b4a.objects.collections.List _todosavisitar() throws Exception{ -String _sqlderuta = ""; -anywheresoftware.b4a.objects.collections.List _avisitar = null; -anywheresoftware.b4a.objects.collections.List _tmplist = null; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _coords = null; - //BA.debugLineNum = 681;BA.debugLine="Sub todosAVisitar As List"; - //BA.debugLineNum = 682;BA.debugLine="Log(laRuta)"; -__c.LogImpl("811075585",_laruta,0); - //BA.debugLineNum = 683;BA.debugLine="Log(entro)"; -__c.LogImpl("811075586",_entro,0); - //BA.debugLineNum = 684;BA.debugLine="Private sqlDeRuta As String = \"\""; -_sqlderuta = ""; - //BA.debugLineNum = 685;BA.debugLine="If entro = 3 Then sqlDeRuta = $\"and CAT_CL_RUTA ="; -if ((_entro).equals(BA.NumberToString(3))) { -_sqlderuta = ("and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_laruta))+"'");}; - //BA.debugLineNum = 686;BA.debugLine="Private aVisitar, tmpList As List"; -_avisitar = new anywheresoftware.b4a.objects.collections.List(); -_tmplist = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 687;BA.debugLine="aVisitar.Initialize"; -_avisitar.Initialize(); - //BA.debugLineNum = 688;BA.debugLine="Private coords As ResultSet = Starter.skmt.ExecQu"; -_coords = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_coords = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 "+__c.SmartStringFormatter("",(Object)(_sqlderuta))+"")))); - //BA.debugLineNum = 689;BA.debugLine="Do While coords.NextRow"; -while (_coords.NextRow()) { - //BA.debugLineNum = 690;BA.debugLine="tmpList.Initialize"; -_tmplist.Initialize(); - //BA.debugLineNum = 691;BA.debugLine="tmpList.AddAll(Array As String(coords.GetString("; -_tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_coords.GetString("CAT_CL_CODIGO"),_coords.GetString("CAT_CL_LONG"),_coords.GetString("CAT_CL_LAT")})); - //BA.debugLineNum = 692;BA.debugLine="aVisitar.Add(tmpList)"; -_avisitar.Add((Object)(_tmplist.getObject())); - } -; - //BA.debugLineNum = 694;BA.debugLine="Log(aVisitar)"; -__c.LogImpl("811075597",BA.ObjectToString(_avisitar),0); - //BA.debugLineNum = 695;BA.debugLine="Return aVisitar"; -if (true) return _avisitar; - //BA.debugLineNum = 696;BA.debugLine="End Sub"; -return null; -} -public void _traerutadia(reparto_intmex.keymon.lat.b4xorderedmap _avisitar) throws Exception{ -ResumableSub_traeRutaDia rsub = new ResumableSub_traeRutaDia(this,_avisitar); +public void _traerutadia(reparto_intmex.keymon.lat.c_clientes __ref,reparto_intmex.keymon.lat.b4xorderedmap _avisitar) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "traerutadia", false)) + {Debug.delegate(ba, "traerutadia", new Object[] {_avisitar}); return;} +ResumableSub_traeRutaDia rsub = new ResumableSub_traeRutaDia(this,__ref,_avisitar); rsub.resume(ba, null); } public static class ResumableSub_traeRutaDia extends BA.ResumableSub { -public ResumableSub_traeRutaDia(reparto_intmex.keymon.lat.c_clientes parent,reparto_intmex.keymon.lat.b4xorderedmap _avisitar) { +public ResumableSub_traeRutaDia(reparto_intmex.keymon.lat.c_clientes parent,reparto_intmex.keymon.lat.c_clientes __ref,reparto_intmex.keymon.lat.b4xorderedmap _avisitar) { this.parent = parent; +this.__ref = __ref; this._avisitar = _avisitar; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_clientes __ref; reparto_intmex.keymon.lat.c_clientes parent; reparto_intmex.keymon.lat.b4xorderedmap _avisitar; String _coordsinicio = ""; @@ -1768,6 +2214,7 @@ int limit135; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; while (true) { switch (state) { @@ -1777,49 +2224,64 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 316;BA.debugLine="Private coordsInicio As String = $\"${Starter.cedi"; +RDebugUtils.currentLine=46006273; + //BA.debugLineNum = 46006273;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 = 317;BA.debugLine="Log($\"Coordenadas de inicio: ${Starter.cedisLocat"; -parent.__c.LogImpl("810616834",("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 = 318;BA.debugLine="Private rutaCompleta As String = coordsInicio"; +RDebugUtils.currentLine=46006274; + //BA.debugLineNum = 46006274;BA.debugLine="Log($\"Coordenadas de inicio: ${Starter.cedisLocat"; +parent.__c.LogImpl("246006274",("Coordenadas de inicio: "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""),0); +RDebugUtils.currentLine=46006275; + //BA.debugLineNum = 46006275;BA.debugLine="Private rutaCompleta As String = coordsInicio"; _rutacompleta = _coordsinicio; - //BA.debugLineNum = 319;BA.debugLine="Private preRuta As String = coordsInicio"; +RDebugUtils.currentLine=46006276; + //BA.debugLineNum = 46006276;BA.debugLine="Private preRuta As String = coordsInicio"; _preruta = _coordsinicio; - //BA.debugLineNum = 320;BA.debugLine="Private distanciaTotal, distanciaTotal0, tiempo0,"; +RDebugUtils.currentLine=46006277; + //BA.debugLineNum = 46006277;BA.debugLine="Private distanciaTotal, distanciaTotal0, tiempo0,"; _distanciatotal = 0; _distanciatotal0 = 0; _tiempo0 = 0; _tiempo = 0; - //BA.debugLineNum = 321;BA.debugLine="Private masDe100 As Boolean"; +RDebugUtils.currentLine=46006278; + //BA.debugLineNum = 46006278;BA.debugLine="Private masDe100 As Boolean"; _masde100 = false; - //BA.debugLineNum = 322;BA.debugLine="Private m4 As Map"; +RDebugUtils.currentLine=46006279; + //BA.debugLineNum = 46006279;BA.debugLine="Private m4 As Map"; _m4 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 323;BA.debugLine="Private visitaActual As Int = 0"; +RDebugUtils.currentLine=46006280; + //BA.debugLineNum = 46006280;BA.debugLine="Private visitaActual As Int = 0"; _visitaactual = (int) (0); - //BA.debugLineNum = 324;BA.debugLine="Private cuantosAntes As Int = 0"; +RDebugUtils.currentLine=46006281; + //BA.debugLineNum = 46006281;BA.debugLine="Private cuantosAntes As Int = 0"; _cuantosantes = (int) (0); - //BA.debugLineNum = 325;BA.debugLine="listaWayPoints.Initialize"; -parent._listawaypoints.Initialize(); - //BA.debugLineNum = 326;BA.debugLine="If aVisitar.Keys.Size > 98 Then 'Si los clientes"; +RDebugUtils.currentLine=46006282; + //BA.debugLineNum = 46006282;BA.debugLine="listaWayPoints.Initialize"; +__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=46006283; + //BA.debugLineNum = 46006283;BA.debugLine="If aVisitar.Keys.Size > 98 Then 'Si los clientes"; if (true) break; case 1: //if this.state = 4; -if (_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()>98) { +if (_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()>98) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 327;BA.debugLine="cuantosAntes = aVisitar.Keys.Size - 98 'Definimo"; -_cuantosantes = (int) (_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()-98); - //BA.debugLineNum = 328;BA.debugLine="preRuta = coordsInicio 'Ponemos las coordenadas"; +RDebugUtils.currentLine=46006284; + //BA.debugLineNum = 46006284;BA.debugLine="cuantosAntes = aVisitar.Keys.Size - 98 'Definimo"; +_cuantosantes = (int) (_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()-98); +RDebugUtils.currentLine=46006285; + //BA.debugLineNum = 46006285;BA.debugLine="preRuta = coordsInicio 'Ponemos las coordenadas"; _preruta = _coordsinicio; - //BA.debugLineNum = 329;BA.debugLine="rutaCompleta = \"\""; +RDebugUtils.currentLine=46006286; + //BA.debugLineNum = 46006286;BA.debugLine="rutaCompleta = \"\""; _rutacompleta = ""; - //BA.debugLineNum = 330;BA.debugLine="masDe100 = True"; +RDebugUtils.currentLine=46006287; + //BA.debugLineNum = 46006287;BA.debugLine="masDe100 = True"; _masde100 = parent.__c.True; if (true) break; @@ -1827,15 +2289,17 @@ case 4: //C this.state = 5; ; - //BA.debugLineNum = 332;BA.debugLine="Log($\"a visitar: ${aVisitar.Keys.Size}\"$)"; -parent.__c.LogImpl("810616849",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0); - //BA.debugLineNum = 333;BA.debugLine="For Each k As Object In aVisitar.Keys"; +RDebugUtils.currentLine=46006289; + //BA.debugLineNum = 46006289;BA.debugLine="Log($\"a visitar: ${aVisitar.Keys.Size}\"$)"; +parent.__c.LogImpl("246006289",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()))+""),0); +RDebugUtils.currentLine=46006290; + //BA.debugLineNum = 46006290;BA.debugLine="For Each k As Object In aVisitar.Keys"; if (true) break; case 5: //for this.state = 15; -group18 = _avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); +group18 = _avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); index18 = 0; groupLen18 = group18.getSize(); this.state = 70; @@ -1858,11 +2322,14 @@ if (true) break; case 7: //C this.state = 8; - //BA.debugLineNum = 334;BA.debugLine="visitaActual = visitaActual + 1"; +RDebugUtils.currentLine=46006291; + //BA.debugLineNum = 46006291;BA.debugLine="visitaActual = visitaActual + 1"; _visitaactual = (int) (_visitaactual+1); - //BA.debugLineNum = 335;BA.debugLine="m4 = aVisitar.Get(k)"; -_m4 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_avisitar._get /*Object*/ (_k))); - //BA.debugLineNum = 337;BA.debugLine="If visitaActual < cuantosAntes + 2 Then 'Si esta"; +RDebugUtils.currentLine=46006292; + //BA.debugLineNum = 46006292;BA.debugLine="m4 = aVisitar.Get(k)"; +_m4 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_avisitar._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=46006294; + //BA.debugLineNum = 46006294;BA.debugLine="If visitaActual < cuantosAntes + 2 Then 'Si esta"; if (true) break; case 8: @@ -1875,11 +2342,13 @@ this.state = 10; case 10: //C this.state = 11; - //BA.debugLineNum = 338;BA.debugLine="preRuta = preRuta & \";\" & m4.Get(\"coords\")"; +RDebugUtils.currentLine=46006295; + //BA.debugLineNum = 46006295;BA.debugLine="preRuta = preRuta & \";\" & m4.Get(\"coords\")"; _preruta = _preruta+";"+BA.ObjectToString(_m4.Get((Object)("coords"))); if (true) break; ; - //BA.debugLineNum = 341;BA.debugLine="If visitaActual >= cuantosAntes + 2 Then 'Si est"; +RDebugUtils.currentLine=46006298; + //BA.debugLineNum = 46006298;BA.debugLine="If visitaActual >= cuantosAntes + 2 Then 'Si est"; case 11: //if @@ -1891,7 +2360,8 @@ this.state = 13; case 13: //C this.state = 14; - //BA.debugLineNum = 342;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & m4.Get(\"coo"; +RDebugUtils.currentLine=46006299; + //BA.debugLineNum = 46006299;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & m4.Get(\"coo"; _rutacompleta = _rutacompleta+";"+BA.ObjectToString(_m4.Get((Object)("coords"))); if (true) break; @@ -1906,9 +2376,11 @@ case 15: //C this.state = 16; ; - //BA.debugLineNum = 346;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & coordsInicio"; +RDebugUtils.currentLine=46006303; + //BA.debugLineNum = 46006303;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & coordsInicio"; _rutacompleta = _rutacompleta+";"+_coordsinicio; - //BA.debugLineNum = 348;BA.debugLine="If rutaCompleta.StartsWith(\";\") Then rutaCompleta"; +RDebugUtils.currentLine=46006305; + //BA.debugLineNum = 46006305;BA.debugLine="If rutaCompleta.StartsWith(\";\") Then rutaCompleta"; if (true) break; case 16: @@ -1928,17 +2400,23 @@ case 21: //C this.state = 22; ; - //BA.debugLineNum = 351;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; +RDebugUtils.currentLine=46006308; + //BA.debugLineNum = 46006308;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 = 352;BA.debugLine="Private tiempoVisitas As Double 'TIMEPO DE 4 MINU"; +RDebugUtils.currentLine=46006309; + //BA.debugLineNum = 46006309;BA.debugLine="Private tiempoVisitas As Double 'TIMEPO DE 4 MINU"; _tiempovisitas = 0; - //BA.debugLineNum = 353;BA.debugLine="tiempoVisitas = aVisitar.Keys.Size * 4 * 60 'Aqui"; -_tiempovisitas = _avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()*4*60; - //BA.debugLineNum = 354;BA.debugLine="tiempo0 = 0"; +RDebugUtils.currentLine=46006310; + //BA.debugLineNum = 46006310;BA.debugLine="tiempoVisitas = aVisitar.Keys.Size * 4 * 60 'Aqui"; +_tiempovisitas = _avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()*4*60; +RDebugUtils.currentLine=46006311; + //BA.debugLineNum = 46006311;BA.debugLine="tiempo0 = 0"; _tiempo0 = 0; - //BA.debugLineNum = 355;BA.debugLine="distanciaTotal0 = 0"; +RDebugUtils.currentLine=46006312; + //BA.debugLineNum = 46006312;BA.debugLine="distanciaTotal0 = 0"; _distanciatotal0 = 0; - //BA.debugLineNum = 356;BA.debugLine="If masDe100 Then 'Si son mas de 100, entonces pri"; +RDebugUtils.currentLine=46006313; + //BA.debugLineNum = 46006313;BA.debugLine="If masDe100 Then 'Si son mas de 100, entonces pri"; if (true) break; case 22: @@ -1951,22 +2429,27 @@ this.state = 24; case 24: //C this.state = 25; - //BA.debugLineNum = 357;BA.debugLine="Dim j0 As HttpJob"; +RDebugUtils.currentLine=46006314; + //BA.debugLineNum = 46006314;BA.debugLine="Dim j0 As HttpJob"; _j0 = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 358;BA.debugLine="j0.Initialize(\"trip0\", Me)"; -_j0._initialize /*String*/ (ba,"trip0",parent); - //BA.debugLineNum = 359;BA.debugLine="j0.Download(\"https://router.project-osrm.org/tri"; -_j0._download /*String*/ ("https://router.project-osrm.org/trip/v1/driving/"+_preruta+"?source=first&destination=last&roundtrip=false&geometries=geojson"); - //BA.debugLineNum = 361;BA.debugLine="Wait For (j0) JobDone(j0 As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j0)); +RDebugUtils.currentLine=46006315; + //BA.debugLineNum = 46006315;BA.debugLine="j0.Initialize(\"trip0\", Me)"; +_j0._initialize /*String*/ (null,ba,"trip0",parent); +RDebugUtils.currentLine=46006316; + //BA.debugLineNum = 46006316;BA.debugLine="j0.Download(\"https://router.project-osrm.org/tri"; +_j0._download /*String*/ (null,"https://router.project-osrm.org/trip/v1/driving/"+_preruta+"?source=first&destination=last&roundtrip=false&geometries=geojson"); +RDebugUtils.currentLine=46006318; + //BA.debugLineNum = 46006318;BA.debugLine="Wait For (j0) JobDone(j0 As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "traerutadia"), (Object)(_j0)); this.state = 72; return; case 72: //C this.state = 25; -_j0 = (reparto_intmex.keymon.lat.httpjob) result[0]; +_j0 = (reparto_intmex.keymon.lat.httpjob) result[1]; ; - //BA.debugLineNum = 362;BA.debugLine="If j0.Success Then"; +RDebugUtils.currentLine=46006319; + //BA.debugLineNum = 46006319;BA.debugLine="If j0.Success Then"; if (true) break; case 25: @@ -1981,14 +2464,18 @@ this.state = 37; case 27: //C this.state = 28; - //BA.debugLineNum = 363;BA.debugLine="Dim jp0 As JSONParser"; +RDebugUtils.currentLine=46006320; + //BA.debugLineNum = 46006320;BA.debugLine="Dim jp0 As JSONParser"; _jp0 = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 364;BA.debugLine="jp0.Initialize(j0.GetString)"; -_jp0.Initialize(_j0._getstring /*String*/ ()); - //BA.debugLineNum = 365;BA.debugLine="Dim m0 As Map = jp0.NextObject"; +RDebugUtils.currentLine=46006321; + //BA.debugLineNum = 46006321;BA.debugLine="jp0.Initialize(j0.GetString)"; +_jp0.Initialize(_j0._getstring /*String*/ (null)); +RDebugUtils.currentLine=46006322; + //BA.debugLineNum = 46006322;BA.debugLine="Dim m0 As Map = jp0.NextObject"; _m0 = new anywheresoftware.b4a.objects.collections.Map(); _m0 = _jp0.NextObject(); - //BA.debugLineNum = 366;BA.debugLine="If m0.Get(\"code\") = \"Ok\" Then"; +RDebugUtils.currentLine=46006323; + //BA.debugLineNum = 46006323;BA.debugLine="If m0.Get(\"code\") = \"Ok\" Then"; if (true) break; case 28: @@ -2001,12 +2488,15 @@ this.state = 30; case 30: //C this.state = 31; - //BA.debugLineNum = 367;BA.debugLine="Dim puntos0 As List = m0.Get(\"waypoints\")"; +RDebugUtils.currentLine=46006324; + //BA.debugLineNum = 46006324;BA.debugLine="Dim puntos0 As List = m0.Get(\"waypoints\")"; _puntos0 = new anywheresoftware.b4a.objects.collections.List(); _puntos0 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m0.Get((Object)("waypoints")))); - //BA.debugLineNum = 368;BA.debugLine="Private esteWayPoint0 As Map"; +RDebugUtils.currentLine=46006325; + //BA.debugLineNum = 46006325;BA.debugLine="Private esteWayPoint0 As Map"; _estewaypoint0 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 369;BA.debugLine="For p = 0 To puntos0.Size -1"; +RDebugUtils.currentLine=46006326; + //BA.debugLineNum = 46006326;BA.debugLine="For p = 0 To puntos0.Size -1"; if (true) break; case 31: @@ -2033,16 +2523,21 @@ if (true) break; case 33: //C this.state = 74; - //BA.debugLineNum = 370;BA.debugLine="esteWayPoint0 = puntos0.Get(p)"; +RDebugUtils.currentLine=46006327; + //BA.debugLineNum = 46006327;BA.debugLine="esteWayPoint0 = puntos0.Get(p)"; _estewaypoint0 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_puntos0.Get(_p))); - //BA.debugLineNum = 373;BA.debugLine="esteWayPoint0.Remove(\"hint\")"; +RDebugUtils.currentLine=46006330; + //BA.debugLineNum = 46006330;BA.debugLine="esteWayPoint0.Remove(\"hint\")"; _estewaypoint0.Remove((Object)("hint")); - //BA.debugLineNum = 374;BA.debugLine="esteWayPoint0.Remove(\"distance\")"; +RDebugUtils.currentLine=46006331; + //BA.debugLineNum = 46006331;BA.debugLine="esteWayPoint0.Remove(\"distance\")"; _estewaypoint0.Remove((Object)("distance")); - //BA.debugLineNum = 375;BA.debugLine="esteWayPoint0.Remove(\"trips_index\")"; +RDebugUtils.currentLine=46006332; + //BA.debugLineNum = 46006332;BA.debugLine="esteWayPoint0.Remove(\"trips_index\")"; _estewaypoint0.Remove((Object)("trips_index")); - //BA.debugLineNum = 376;BA.debugLine="listaWayPoints.Add(esteWayPoint0)"; -parent._listawaypoints.Add((Object)(_estewaypoint0.getObject())); +RDebugUtils.currentLine=46006333; + //BA.debugLineNum = 46006333;BA.debugLine="listaWayPoints.Add(esteWayPoint0)"; +__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_estewaypoint0.getObject())); if (true) break; if (true) break; @@ -2050,20 +2545,26 @@ case 34: //C this.state = 35; ; - //BA.debugLineNum = 379;BA.debugLine="Dim rutas0 As List = m0.Get(\"trips\")"; +RDebugUtils.currentLine=46006336; + //BA.debugLineNum = 46006336;BA.debugLine="Dim rutas0 As List = m0.Get(\"trips\")"; _rutas0 = new anywheresoftware.b4a.objects.collections.List(); _rutas0 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m0.Get((Object)("trips")))); - //BA.debugLineNum = 380;BA.debugLine="Dim rutas20 As Map = rutas0.Get(0)"; +RDebugUtils.currentLine=46006337; + //BA.debugLineNum = 46006337;BA.debugLine="Dim rutas20 As Map = rutas0.Get(0)"; _rutas20 = new anywheresoftware.b4a.objects.collections.Map(); _rutas20 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas0.Get((int) (0)))); - //BA.debugLineNum = 383;BA.debugLine="distanciaTotal0 = rutas20.Get(\"distance\")"; +RDebugUtils.currentLine=46006340; + //BA.debugLineNum = 46006340;BA.debugLine="distanciaTotal0 = rutas20.Get(\"distance\")"; _distanciatotal0 = (double)(BA.ObjectToNumber(_rutas20.Get((Object)("distance")))); - //BA.debugLineNum = 384;BA.debugLine="tiempo0 = rutas20.Get(\"duration\")"; +RDebugUtils.currentLine=46006341; + //BA.debugLineNum = 46006341;BA.debugLine="tiempo0 = rutas20.Get(\"duration\")"; _tiempo0 = (double)(BA.ObjectToNumber(_rutas20.Get((Object)("duration")))); - //BA.debugLineNum = 385;BA.debugLine="tiempo0 = ((tiempo0 * 2) ) 'Tiempo X 2 (es muy"; +RDebugUtils.currentLine=46006342; + //BA.debugLineNum = 46006342;BA.debugLine="tiempo0 = ((tiempo0 * 2) ) 'Tiempo X 2 (es muy"; _tiempo0 = ((_tiempo0*2)); - //BA.debugLineNum = 386;BA.debugLine="Log($\"Distancia total ruta inicial: $1.1{dista"; -parent.__c.LogImpl("810616903",("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); +RDebugUtils.currentLine=46006343; + //BA.debugLineNum = 46006343;BA.debugLine="Log($\"Distancia total ruta inicial: $1.1{dista"; +parent.__c.LogImpl("246006343",("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: @@ -2075,38 +2576,45 @@ this.state = 38; case 37: //C this.state = 38; - //BA.debugLineNum = 390;BA.debugLine="Log(\"Error!\")"; -parent.__c.LogImpl("810616907","Error!",0); +RDebugUtils.currentLine=46006347; + //BA.debugLineNum = 46006347;BA.debugLine="Log(\"Error!\")"; +parent.__c.LogImpl("246006347","Error!",0); if (true) break; case 38: //C this.state = 39; ; - //BA.debugLineNum = 392;BA.debugLine="j0.Release"; -_j0._release /*String*/ (); +RDebugUtils.currentLine=46006349; + //BA.debugLineNum = 46006349;BA.debugLine="j0.Release"; +_j0._release /*String*/ (null); if (true) break; case 39: //C this.state = 40; ; - //BA.debugLineNum = 395;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=46006352; + //BA.debugLineNum = 46006352;BA.debugLine="Dim j As HttpJob"; _j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 396;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; -_j._initialize /*String*/ (ba,"trip",parent); - //BA.debugLineNum = 397;BA.debugLine="j.Download(\"https://router.project-osrm.org/trip/"; -_j._download /*String*/ ("https://router.project-osrm.org/trip/v1/driving/"+_rutacompleta+"?source=first&destination=last&roundtrip=false&geometries=geojson"); - //BA.debugLineNum = 399;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); +RDebugUtils.currentLine=46006353; + //BA.debugLineNum = 46006353;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; +_j._initialize /*String*/ (null,ba,"trip",parent); +RDebugUtils.currentLine=46006354; + //BA.debugLineNum = 46006354;BA.debugLine="j.Download(\"https://router.project-osrm.org/trip/"; +_j._download /*String*/ (null,"https://router.project-osrm.org/trip/v1/driving/"+_rutacompleta+"?source=first&destination=last&roundtrip=false&geometries=geojson"); +RDebugUtils.currentLine=46006356; + //BA.debugLineNum = 46006356;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "traerutadia"), (Object)(_j)); this.state = 75; return; case 75: //C this.state = 40; -_j = (reparto_intmex.keymon.lat.httpjob) result[0]; +_j = (reparto_intmex.keymon.lat.httpjob) result[1]; ; - //BA.debugLineNum = 400;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=46006357; + //BA.debugLineNum = 46006357;BA.debugLine="If j.Success Then"; if (true) break; case 40: @@ -2121,14 +2629,18 @@ this.state = 52; case 42: //C this.state = 43; - //BA.debugLineNum = 401;BA.debugLine="Dim jp As JSONParser"; +RDebugUtils.currentLine=46006358; + //BA.debugLineNum = 46006358;BA.debugLine="Dim jp As JSONParser"; _jp = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 402;BA.debugLine="jp.Initialize(j.GetString)"; -_jp.Initialize(_j._getstring /*String*/ ()); - //BA.debugLineNum = 403;BA.debugLine="Dim m As Map = jp.NextObject"; +RDebugUtils.currentLine=46006359; + //BA.debugLineNum = 46006359;BA.debugLine="jp.Initialize(j.GetString)"; +_jp.Initialize(_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=46006360; + //BA.debugLineNum = 46006360;BA.debugLine="Dim m As Map = jp.NextObject"; _m = new anywheresoftware.b4a.objects.collections.Map(); _m = _jp.NextObject(); - //BA.debugLineNum = 404;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; +RDebugUtils.currentLine=46006361; + //BA.debugLineNum = 46006361;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; if (true) break; case 43: @@ -2141,14 +2653,18 @@ this.state = 45; case 45: //C this.state = 46; - //BA.debugLineNum = 405;BA.debugLine="Dim puntos As List = m.Get(\"waypoints\")"; +RDebugUtils.currentLine=46006362; + //BA.debugLineNum = 46006362;BA.debugLine="Dim puntos As List = m.Get(\"waypoints\")"; _puntos = new anywheresoftware.b4a.objects.collections.List(); _puntos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("waypoints")))); - //BA.debugLineNum = 406;BA.debugLine="Private esteWayPoint As Map"; +RDebugUtils.currentLine=46006363; + //BA.debugLineNum = 46006363;BA.debugLine="Private esteWayPoint As Map"; _estewaypoint = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 407;BA.debugLine="Dim twpi As Int"; +RDebugUtils.currentLine=46006364; + //BA.debugLineNum = 46006364;BA.debugLine="Dim twpi As Int"; _twpi = 0; - //BA.debugLineNum = 408;BA.debugLine="For p = 0 To puntos.Size -1"; +RDebugUtils.currentLine=46006365; + //BA.debugLineNum = 46006365;BA.debugLine="For p = 0 To puntos.Size -1"; if (true) break; case 46: @@ -2175,22 +2691,30 @@ if (true) break; case 48: //C this.state = 77; - //BA.debugLineNum = 409;BA.debugLine="esteWayPoint = puntos.Get(p)"; +RDebugUtils.currentLine=46006366; + //BA.debugLineNum = 46006366;BA.debugLine="esteWayPoint = puntos.Get(p)"; _estewaypoint = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_puntos.Get(_p))); - //BA.debugLineNum = 412;BA.debugLine="esteWayPoint.Remove(\"hint\")"; +RDebugUtils.currentLine=46006369; + //BA.debugLineNum = 46006369;BA.debugLine="esteWayPoint.Remove(\"hint\")"; _estewaypoint.Remove((Object)("hint")); - //BA.debugLineNum = 413;BA.debugLine="esteWayPoint.Remove(\"distance\")"; +RDebugUtils.currentLine=46006370; + //BA.debugLineNum = 46006370;BA.debugLine="esteWayPoint.Remove(\"distance\")"; _estewaypoint.Remove((Object)("distance")); - //BA.debugLineNum = 414;BA.debugLine="esteWayPoint.Remove(\"trips_index\")"; +RDebugUtils.currentLine=46006371; + //BA.debugLineNum = 46006371;BA.debugLine="esteWayPoint.Remove(\"trips_index\")"; _estewaypoint.Remove((Object)("trips_index")); - //BA.debugLineNum = 415;BA.debugLine="twpi = esteWayPoint.Get(\"waypoint_index\")"; +RDebugUtils.currentLine=46006372; + //BA.debugLineNum = 46006372;BA.debugLine="twpi = esteWayPoint.Get(\"waypoint_index\")"; _twpi = (int)(BA.ObjectToNumber(_estewaypoint.Get((Object)("waypoint_index")))); - //BA.debugLineNum = 416;BA.debugLine="esteWayPoint.Remove(\"waypoint_index\")"; +RDebugUtils.currentLine=46006373; + //BA.debugLineNum = 46006373;BA.debugLine="esteWayPoint.Remove(\"waypoint_index\")"; _estewaypoint.Remove((Object)("waypoint_index")); - //BA.debugLineNum = 417;BA.debugLine="esteWayPoint.Put(\"waypoint_index\", (twpi + cua"; +RDebugUtils.currentLine=46006374; + //BA.debugLineNum = 46006374;BA.debugLine="esteWayPoint.Put(\"waypoint_index\", (twpi + cua"; _estewaypoint.Put((Object)("waypoint_index"),(Object)((_twpi+_cuantosantes+2))); - //BA.debugLineNum = 418;BA.debugLine="listaWayPoints.Add(esteWayPoint)"; -parent._listawaypoints.Add((Object)(_estewaypoint.getObject())); +RDebugUtils.currentLine=46006375; + //BA.debugLineNum = 46006375;BA.debugLine="listaWayPoints.Add(esteWayPoint)"; +__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_estewaypoint.getObject())); if (true) break; if (true) break; @@ -2198,36 +2722,50 @@ case 49: //C this.state = 50; ; - //BA.debugLineNum = 421;BA.debugLine="Dim rutas As List = m.Get(\"trips\")"; +RDebugUtils.currentLine=46006378; + //BA.debugLineNum = 46006378;BA.debugLine="Dim rutas As List = m.Get(\"trips\")"; _rutas = new anywheresoftware.b4a.objects.collections.List(); _rutas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("trips")))); - //BA.debugLineNum = 422;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; +RDebugUtils.currentLine=46006379; + //BA.debugLineNum = 46006379;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; _rutas2 = new anywheresoftware.b4a.objects.collections.Map(); _rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas.Get((int) (0)))); - //BA.debugLineNum = 423;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; +RDebugUtils.currentLine=46006380; + //BA.debugLineNum = 46006380;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; _distanciatotal = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("distance")))); - //BA.debugLineNum = 424;BA.debugLine="Log(\"distancia ruta 2:\" & (distanciaTotal) & \"|"; -parent.__c.LogImpl("810616941","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0); - //BA.debugLineNum = 425;BA.debugLine="distanciaTotal = distanciaTotal + distanciaTota"; +RDebugUtils.currentLine=46006381; + //BA.debugLineNum = 46006381;BA.debugLine="Log(\"distancia ruta 2:\" & (distanciaTotal) & \"|"; +parent.__c.LogImpl("246006381","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0); +RDebugUtils.currentLine=46006382; + //BA.debugLineNum = 46006382;BA.debugLine="distanciaTotal = distanciaTotal + distanciaTota"; _distanciatotal = _distanciatotal+_distanciatotal0; - //BA.debugLineNum = 426;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; +RDebugUtils.currentLine=46006383; + //BA.debugLineNum = 46006383;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; _tiempo = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("duration")))); - //BA.debugLineNum = 427;BA.debugLine="tiempo = (((tiempo + tiempo0) * 2) + tiempoVisi"; +RDebugUtils.currentLine=46006384; + //BA.debugLineNum = 46006384;BA.debugLine="tiempo = (((tiempo + tiempo0) * 2) + tiempoVisi"; _tiempo = (((_tiempo+_tiempo0)*2)+_tiempovisitas); - //BA.debugLineNum = 428;BA.debugLine="Log($\"Distancia total: $1.1{distanciaTotal/1000"; -parent.__c.LogImpl("810616945",("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 = 429;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 = 430;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; -parent._l_rutainfo.setWidth((int) (parent._root.getWidth()*0.9)); - //BA.debugLineNum = 431;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; -parent._subs._centraetiqueta /*String*/ (ba,parent._l_rutainfo,parent._root.getWidth()); - //BA.debugLineNum = 432;BA.debugLine="l_rutaInfo.Visible = True"; -parent._l_rutainfo.setVisible(parent.__c.True); - //BA.debugLineNum = 433;BA.debugLine="l_rutaInfo.BringToFront"; -parent._l_rutainfo.BringToFront(); - //BA.debugLineNum = 434;BA.debugLine="ListView1.Top = lv1Top + 100"; -parent._listview1.setTop((int) ((double)(Double.parseDouble(parent._lv1top))+100)); +RDebugUtils.currentLine=46006385; + //BA.debugLineNum = 46006385;BA.debugLine="Log($\"Distancia total: $1.1{distanciaTotal/1000"; +parent.__c.LogImpl("246006385",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs)"),0); +RDebugUtils.currentLine=46006386; + //BA.debugLineNum = 46006386;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distanciaTo"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()))+""))); +RDebugUtils.currentLine=46006387; + //BA.debugLineNum = 46006387;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.9)); +RDebugUtils.currentLine=46006388; + //BA.debugLineNum = 46006388;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +parent._subs._centraetiqueta /*String*/ (ba,__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=46006389; + //BA.debugLineNum = 46006389;BA.debugLine="l_rutaInfo.Visible = True"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=46006390; + //BA.debugLineNum = 46006390;BA.debugLine="l_rutaInfo.BringToFront"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=46006391; + //BA.debugLineNum = 46006391;BA.debugLine="ListView1.Top = lv1Top + 100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int) ((double)(Double.parseDouble(__ref._lv1top /*String*/ ))+100)); if (true) break; case 50: @@ -2239,34 +2777,42 @@ this.state = 53; case 52: //C this.state = 53; - //BA.debugLineNum = 437;BA.debugLine="LogColor(\"**************** Error! ************"; -parent.__c.LogImpl("810616954","**************** Error! ******************",parent.__c.Colors.Red); +RDebugUtils.currentLine=46006394; + //BA.debugLineNum = 46006394;BA.debugLine="LogColor(\"**************** Error! ************"; +parent.__c.LogImpl("246006394","**************** Error! ******************",parent.__c.Colors.Red); if (true) break; case 53: //C this.state = 54; ; - //BA.debugLineNum = 439;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 440;BA.debugLine="ProgressDialogHide"; +RDebugUtils.currentLine=46006396; + //BA.debugLineNum = 46006396;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=46006397; + //BA.debugLineNum = 46006397;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 442;BA.debugLine="Private r As Int = 1"; +RDebugUtils.currentLine=46006399; + //BA.debugLineNum = 46006399;BA.debugLine="Private r As Int = 1"; _r = (int) (1); - //BA.debugLineNum = 443;BA.debugLine="Private r1, wps As Map"; +RDebugUtils.currentLine=46006400; + //BA.debugLineNum = 46006400;BA.debugLine="Private r1, wps As Map"; _r1 = new anywheresoftware.b4a.objects.collections.Map(); _wps = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 444;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +RDebugUtils.currentLine=46006401; + //BA.debugLineNum = 46006401;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - //BA.debugLineNum = 445;BA.debugLine="Log(\"BORRAMOS WAYPOINTS\")"; -parent.__c.LogImpl("810616962","BORRAMOS WAYPOINTS",0); - //BA.debugLineNum = 446;BA.debugLine="For Each k As Object In clientesMapaO.Keys 'Guard"; +RDebugUtils.currentLine=46006402; + //BA.debugLineNum = 46006402;BA.debugLine="Log(\"BORRAMOS WAYPOINTS\")"; +parent.__c.LogImpl("246006402","BORRAMOS WAYPOINTS",0); +RDebugUtils.currentLine=46006403; + //BA.debugLineNum = 46006403;BA.debugLine="For Each k As Object In clientesMapaO.Keys 'Guard"; if (true) break; case 54: //for this.state = 61; -group112 = parent._clientesmapao._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); +group112 = __ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); index112 = 0; groupLen112 = group112.getSize(); this.state = 78; @@ -2289,32 +2835,40 @@ if (true) break; case 56: //C this.state = 57; - //BA.debugLineNum = 447;BA.debugLine="If listaWayPoints.Size > 0 Then"; +RDebugUtils.currentLine=46006404; + //BA.debugLineNum = 46006404;BA.debugLine="If listaWayPoints.Size > 0 Then"; if (true) break; case 57: //if this.state = 60; -if (parent._listawaypoints.getSize()>0) { +if (__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { this.state = 59; }if (true) break; case 59: //C this.state = 60; - //BA.debugLineNum = 448;BA.debugLine="r1 = clientesMapaO.Get(k)"; -_r1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._clientesmapao._get /*Object*/ (_k))); - //BA.debugLineNum = 449;BA.debugLine="r1.Get(\"codigo\")"; +RDebugUtils.currentLine=46006405; + //BA.debugLineNum = 46006405;BA.debugLine="r1 = clientesMapaO.Get(k)"; +_r1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=46006406; + //BA.debugLineNum = 46006406;BA.debugLine="r1.Get(\"codigo\")"; _r1.Get((Object)("codigo")); - //BA.debugLineNum = 450;BA.debugLine="Log(listaWayPoints.Get(r) & \"|\" & r1.Get(\"coord"; -parent.__c.LogImpl("810616967",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0); - //BA.debugLineNum = 451;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 = 452;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info set"; +RDebugUtils.currentLine=46006407; + //BA.debugLineNum = 46006407;BA.debugLine="Log(listaWayPoints.Get(r) & \"|\" & r1.Get(\"coord"; +parent.__c.LogImpl("246006407",BA.ObjectToString(__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0); +RDebugUtils.currentLine=46006408; + //BA.debugLineNum = 46006408;BA.debugLine="wps = listaWayPoints.Get(r)"; +_wps = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Get(_r))); +RDebugUtils.currentLine=46006409; + //BA.debugLineNum = 46006409;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info set"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info set SECUENCIA = "+parent.__c.SmartStringFormatter("",_wps.Get((Object)("waypoint_index")))+" where CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",_r1.Get((Object)("codigo")))+"'")); - //BA.debugLineNum = 453;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into waypoin"; +RDebugUtils.currentLine=46006410; + //BA.debugLineNum = 46006410;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into waypoin"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into waypoints values (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_r1.Get((Object)("codigo")),_wps.Get((Object)("waypoint_index"))})); - //BA.debugLineNum = 454;BA.debugLine="r = r + 1"; +RDebugUtils.currentLine=46006411; + //BA.debugLineNum = 46006411;BA.debugLine="r = r + 1"; _r = (int) (_r+1); if (true) break; @@ -2329,56 +2883,69 @@ case 61: //C this.state = 62; ; - //BA.debugLineNum = 457;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 458;BA.debugLine="Sleep(100)"; -parent.__c.Sleep(ba,this,(int) (100)); +RDebugUtils.currentLine=46006414; + //BA.debugLineNum = 46006414;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=46006415; + //BA.debugLineNum = 46006415;BA.debugLine="Sleep(100)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "traerutadia"),(int) (100)); this.state = 80; return; case 80: //C this.state = 62; ; - //BA.debugLineNum = 459;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=46006416; + //BA.debugLineNum = 46006416;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 460;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = parent._listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 461;BA.debugLine="label2.TextSize = 15"; +RDebugUtils.currentLine=46006417; + //BA.debugLineNum = 46006417;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=46006418; + //BA.debugLineNum = 46006418;BA.debugLine="label2.TextSize = 15"; _label2.setTextSize((float) (15)); - //BA.debugLineNum = 462;BA.debugLine="label2.Height = 100dip"; +RDebugUtils.currentLine=46006419; + //BA.debugLineNum = 46006419;BA.debugLine="label2.Height = 100dip"; _label2.setHeight(parent.__c.DipToCurrent((int) (100))); - //BA.debugLineNum = 463;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 70dip"; -parent._listview1.getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (70))); - //BA.debugLineNum = 464;BA.debugLine="Dim cs, cs2 As CSBuilder"; +RDebugUtils.currentLine=46006420; + //BA.debugLineNum = 46006420;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 70dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (70))); +RDebugUtils.currentLine=46006421; + //BA.debugLineNum = 46006421;BA.debugLine="Dim cs, cs2 As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); _cs2 = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 465;BA.debugLine="entro = 3"; -parent._entro = BA.NumberToString(3); - //BA.debugLineNum = 466;BA.debugLine="Log(\"Generamos ListView1 en traeRutaDia\")"; -parent.__c.LogImpl("810616983","Generamos ListView1 en traeRutaDia",0); - //BA.debugLineNum = 468;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 = 469;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=46006422; + //BA.debugLineNum = 46006422;BA.debugLine="entro = 3"; +__ref._entro /*String*/ = BA.NumberToString(3); +RDebugUtils.currentLine=46006423; + //BA.debugLineNum = 46006423;BA.debugLine="Log(\"Generamos ListView1 en traeRutaDia\")"; +parent.__c.LogImpl("246006423","Generamos ListView1 en traeRutaDia",0); +RDebugUtils.currentLine=46006425; + //BA.debugLineNum = 46006425;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); +RDebugUtils.currentLine=46006426; + //BA.debugLineNum = 46006426;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 62: //if this.state = 69; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 64; }if (true) break; case 64: //C this.state = 65; - //BA.debugLineNum = 470;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; +RDebugUtils.currentLine=46006427; + //BA.debugLineNum = 46006427;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; if (true) break; case 65: //for this.state = 68; step135 = 1; -limit135 = (int) (parent._c.getRowCount()-1); +limit135 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 81; if (true) break; @@ -2398,14 +2965,18 @@ if (true) break; case 67: //C this.state = 82; - //BA.debugLineNum = 471;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 472;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=46006428; + //BA.debugLineNum = 46006428;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=46006429; + //BA.debugLineNum = 46006429;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 473;BA.debugLine="cs2.Initialize"; +RDebugUtils.currentLine=46006430; + //BA.debugLineNum = 46006430;BA.debugLine="cs2.Initialize"; _cs2.Initialize(); - //BA.debugLineNum = 474;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(parent._c.GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE"))).Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE").trim()+" "+parent._c.GetString("CAT_CL_NOEXT"))).PopAll().getObject())); +RDebugUtils.currentLine=46006431; + //BA.debugLineNum = 46006431;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_cs.Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))).Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE").trim()+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))).PopAll().getObject())); if (true) break; if (true) break; @@ -2419,92 +2990,127 @@ case 69: //C this.state = -1; ; - //BA.debugLineNum = 477;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 478;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46006434; + //BA.debugLineNum = 46006434;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=46006435; + //BA.debugLineNum = 46006435;BA.debugLine="End Sub"; if (true) break; } } } } -public reparto_intmex.keymon.lat.b4xorderedmap _traetodosavisitar() throws Exception{ +public reparto_intmex.keymon.lat.b4xorderedmap _traetodosavisitar(reparto_intmex.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "traetodosavisitar", false)) + {return ((reparto_intmex.keymon.lat.b4xorderedmap) Debug.delegate(ba, "traetodosavisitar", null));} anywheresoftware.b4a.gps.LocationWrapper _thisloc = null; anywheresoftware.b4a.gps.LocationWrapper _ubicacioninicial = null; int _i = 0; int _j = 0; int _distancia = 0; anywheresoftware.b4a.objects.collections.Map _estecliente = null; - //BA.debugLineNum = 530;BA.debugLine="Sub traeTodosAVisitar As B4XOrderedMap 'ignore"; - //BA.debugLineNum = 531;BA.debugLine="Log(\"Iniciamos traeTodosAVisitar\")"; -__c.LogImpl("810747905","Iniciamos traeTodosAVisitar",0); - //BA.debugLineNum = 534;BA.debugLine="Private thisLoc, ubicacionInicial As Location"; +RDebugUtils.currentLine=46137344; + //BA.debugLineNum = 46137344;BA.debugLine="Sub traeTodosAVisitar As B4XOrderedMap 'ignore"; +RDebugUtils.currentLine=46137345; + //BA.debugLineNum = 46137345;BA.debugLine="Log(\"Iniciamos traeTodosAVisitar\")"; +__c.LogImpl("246137345","Iniciamos traeTodosAVisitar",0); +RDebugUtils.currentLine=46137348; + //BA.debugLineNum = 46137348;BA.debugLine="Private thisLoc, ubicacionInicial As Location"; _thisloc = new anywheresoftware.b4a.gps.LocationWrapper(); _ubicacioninicial = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 535;BA.debugLine="ubicacionInicial = Starter.cedisLocation"; +RDebugUtils.currentLine=46137349; + //BA.debugLineNum = 46137349;BA.debugLine="ubicacionInicial = Starter.cedisLocation"; _ubicacioninicial = _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ; - //BA.debugLineNum = 536;BA.debugLine="LogColor(ubicacionInicial, Colors.Gray)"; -__c.LogImpl("810747910",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray); - //BA.debugLineNum = 537;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 = 538;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 539;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 541;BA.debugLine="If c.GetString(\"hayVisitados\") > 0 Then ubicacio"; -if ((double)(Double.parseDouble(_c.GetString("hayVisitados")))>0) { +RDebugUtils.currentLine=46137350; + //BA.debugLineNum = 46137350;BA.debugLine="LogColor(ubicacionInicial, Colors.Gray)"; +__c.LogImpl("246137350",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray); +RDebugUtils.currentLine=46137351; + //BA.debugLineNum = 46137351;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(gestion) as"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(gestion) as hayVisitados from kmt_info"))); +RDebugUtils.currentLine=46137352; + //BA.debugLineNum = 46137352;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=46137353; + //BA.debugLineNum = 46137353;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=46137355; + //BA.debugLineNum = 46137355;BA.debugLine="If c.GetString(\"hayVisitados\") > 0 Then ubicacio"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hayVisitados")))>0) { _ubicacioninicial = _tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ ;}; }; - //BA.debugLineNum = 543;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 544;BA.debugLine="LogColor(ubicacionInicial, Colors.Red)"; -__c.LogImpl("810747918",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red); - //BA.debugLineNum = 545;BA.debugLine="thisLoc.Initialize"; +RDebugUtils.currentLine=46137357; + //BA.debugLineNum = 46137357;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=46137358; + //BA.debugLineNum = 46137358;BA.debugLine="LogColor(ubicacionInicial, Colors.Red)"; +__c.LogImpl("246137358",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red); +RDebugUtils.currentLine=46137359; + //BA.debugLineNum = 46137359;BA.debugLine="thisLoc.Initialize"; _thisloc.Initialize(); - //BA.debugLineNum = 546;BA.debugLine="clientesMapaO.Clear"; -_clientesmapao._clear /*String*/ (); - //BA.debugLineNum = 548;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, cou"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc"))); - //BA.debugLineNum = 549;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 551;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=46137360; + //BA.debugLineNum = 46137360;BA.debugLine="clientesMapaO.Clear"; +__ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=46137362; + //BA.debugLineNum = 46137362;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, cou"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc"))); +RDebugUtils.currentLine=46137363; + //BA.debugLineNum = 46137363;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=46137365; + //BA.debugLineNum = 46137365;BA.debugLine="For i=0 To c.RowCount -1"; { final int step16 = 1; -final int limit16 = (int) (_c.getRowCount()-1); +final int limit16 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 552;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 554;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ",new String[]{_c.GetString("CAT_CL_RUTA")}))); - //BA.debugLineNum = 555;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 556;BA.debugLine="For j=0 To c2.RowCount -1 'Generamos lista de"; +RDebugUtils.currentLine=46137366; + //BA.debugLineNum = 46137366;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=46137368; + //BA.debugLineNum = 46137368;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")}))); +RDebugUtils.currentLine=46137369; + //BA.debugLineNum = 46137369;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=46137370; + //BA.debugLineNum = 46137370;BA.debugLine="For j=0 To c2.RowCount -1 'Generamos lista de"; { final int step20 = 1; -final int limit20 = (int) (_c2.getRowCount()-1); +final int limit20 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _j = (int) (0) ; for (;_j <= limit20 ;_j = _j + step20 ) { - //BA.debugLineNum = 557;BA.debugLine="c2.Position=j"; -_c2.setPosition(_j); - //BA.debugLineNum = 559;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; -_thisloc.setLatitude((double)(Double.parseDouble(_c2.GetString("CAT_CL_LAT")))); - //BA.debugLineNum = 560;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG"; -_thisloc.setLongitude((double)(Double.parseDouble(_c2.GetString("CAT_CL_LONG")))); - //BA.debugLineNum = 561;BA.debugLine="If Not(thisLoc.Latitude = 0.0) And Not(thisLo"; +RDebugUtils.currentLine=46137371; + //BA.debugLineNum = 46137371;BA.debugLine="c2.Position=j"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=46137373; + //BA.debugLineNum = 46137373;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; +_thisloc.setLatitude((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")))); +RDebugUtils.currentLine=46137374; + //BA.debugLineNum = 46137374;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG"; +_thisloc.setLongitude((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")))); +RDebugUtils.currentLine=46137375; + //BA.debugLineNum = 46137375;BA.debugLine="If Not(thisLoc.Latitude = 0.0) And Not(thisLo"; if (__c.Not(_thisloc.getLatitude()==0.0) && __c.Not(_thisloc.getLatitude()==0)) { - //BA.debugLineNum = 562;BA.debugLine="Private distancia As Int = ubicacionInicial."; +RDebugUtils.currentLine=46137376; + //BA.debugLineNum = 46137376;BA.debugLine="Private distancia As Int = ubicacionInicial."; _distancia = (int) (_ubicacioninicial.DistanceTo((android.location.Location)(_thisloc.getObject()))); - //BA.debugLineNum = 563;BA.debugLine="If clientesMapaO.ContainsKey(distancia) Then"; -if (_clientesmapao._containskey /*boolean*/ ((Object)(_distancia))) { +RDebugUtils.currentLine=46137377; + //BA.debugLineNum = 46137377;BA.debugLine="If clientesMapaO.ContainsKey(distancia) Then"; +if (__ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_distancia))) { _distancia = (int) (_distancia+1);}; - //BA.debugLineNum = 564;BA.debugLine="Private esteCliente As Map = CreateMap(\"dist"; +RDebugUtils.currentLine=46137378; + //BA.debugLineNum = 46137378;BA.debugLine="Private esteCliente As Map = CreateMap(\"dist"; _estecliente = new anywheresoftware.b4a.objects.collections.Map(); -_estecliente = __c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia),(Object)("ordenDist"),(Object)(_j),(Object)("coords"),(Object)(_c2.GetString("CAT_CL_LONG")+","+_c2.GetString("CAT_CL_LAT")),(Object)("codigo"),(Object)(_c2.GetString("CAT_CL_CODIGO")),(Object)("nombre"),(Object)(_c2.GetString("CAT_CL_NOMBRE")),(Object)("calle"),(Object)(_c2.GetString("CAT_CL_CALLE"))}); - //BA.debugLineNum = 565;BA.debugLine="clientesMapaO.Put(distancia, esteCliente)"; -_clientesmapao._put /*String*/ ((Object)(_distancia),(Object)(_estecliente.getObject())); +_estecliente = __c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia),(Object)("ordenDist"),(Object)(_j),(Object)("coords"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")+","+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")),(Object)("codigo"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),(Object)("nombre"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")),(Object)("calle"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"))}); +RDebugUtils.currentLine=46137379; + //BA.debugLineNum = 46137379;BA.debugLine="clientesMapaO.Put(distancia, esteCliente)"; +__ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_distancia),(Object)(_estecliente.getObject())); }else { - //BA.debugLineNum = 567;BA.debugLine="ToastMessageShow(\"Hay tiendas SIN coordenada"; +RDebugUtils.currentLine=46137381; + //BA.debugLineNum = 46137381;BA.debugLine="ToastMessageShow(\"Hay tiendas SIN coordenada"; __c.ToastMessageShow(BA.ObjectToCharSequence("Hay tiendas SIN coordenadas, fueron excluidas!!"),__c.False); }; } @@ -2513,23 +3119,23 @@ __c.ToastMessageShow(BA.ObjectToCharSequence("Hay tiendas SIN coordenadas, fuero } }; }; - //BA.debugLineNum = 575;BA.debugLine="clientesMapaO.Keys.Sort(True) 'Ordenamos la lista"; -_clientesmapao._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().Sort(__c.True); - //BA.debugLineNum = 576;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 577;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 578;BA.debugLine="Log(c.RowCount & \" rutas, \" & clientesMapaO.Size"; -__c.LogImpl("810747952",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0); - //BA.debugLineNum = 581;BA.debugLine="Return clientesMapaO"; -if (true) return _clientesmapao; - //BA.debugLineNum = 582;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46137389; + //BA.debugLineNum = 46137389;BA.debugLine="clientesMapaO.Keys.Sort(True) 'Ordenamos la lista"; +__ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).Sort(__c.True); +RDebugUtils.currentLine=46137390; + //BA.debugLineNum = 46137390;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=46137391; + //BA.debugLineNum = 46137391;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=46137392; + //BA.debugLineNum = 46137392;BA.debugLine="Log(c.RowCount & \" rutas, \" & clientesMapaO.Size"; +__c.LogImpl("246137392",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount())+" rutas, "+BA.NumberToString(__ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null))+" clientes",0); +RDebugUtils.currentLine=46137395; + //BA.debugLineNum = 46137395;BA.debugLine="Return clientesMapaO"; +if (true) return __ref._clientesmapao /*reparto_intmex.keymon.lat.b4xorderedmap*/ ; +RDebugUtils.currentLine=46137396; + //BA.debugLineNum = 46137396;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_detalle_promo.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_detalle_promo.java index 0ecb7e5..9091b29 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_detalle_promo.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_detalle_promo.java @@ -10,7 +10,7 @@ public class c_detalle_promo extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_detalle_promo"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_detalle_promo"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_detalle_promo extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; @@ -38,10 +45,10 @@ public String _existe = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -49,197 +56,292 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 96;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; - //BA.debugLineNum = 98;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; -if (_key==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 101;BA.debugLine="B4XPages.ShowPage(\"\")"; -_b4xpages._showpage /*String*/ (ba,""); - }; - //BA.debugLineNum = 105;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return false; -} -public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 87;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 56;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 57;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_starter._ruta /*String*/ ,"kmt.db",__c.True); - //BA.debugLineNum = 58;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); - //BA.debugLineNum = 59;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 60;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 61;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 62;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step6 = 1; -final int limit6 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 63;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 64;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?",new String[]{_c.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 65;BA.debugLine="B.Position =0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 66;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 67;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 68;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 69;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 70;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 72;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 73;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 74;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; -if ((_c.GetString("CAT_DP_PRECIO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 75;BA.debugLine="regalo = \"SI\""; -_regalo = "SI"; - }else { - //BA.debugLineNum = 77;BA.debugLine="regalo = \"NO\""; -_regalo = "NO"; - }; - //BA.debugLineNum = 79;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_b.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("Cantidad # "+_c.GetString("CAT_DP_PZAS")+" REGALO "+_regalo)); - //BA.debugLineNum = 80;BA.debugLine="b.Close"; -_b.Close(); - } -}; - //BA.debugLineNum = 82;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 85;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 22;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 23;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 25;BA.debugLine="Root.LoadLayout(\"detalle_promo\")"; -_root.LoadLayout("detalle_promo",ba); - //BA.debugLineNum = 26;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); - //BA.debugLineNum = 27;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 28;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 29;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 30;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step7 = 1; -final int limit7 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 31;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 32;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?",new String[]{_c.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 33;BA.debugLine="B.Position =0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 34;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 36;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 37;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 38;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 40;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 41;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 42;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; -if ((_c.GetString("CAT_DP_PRECIO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 43;BA.debugLine="regalo = \"SI\""; -_regalo = "SI"; - }else { - //BA.debugLineNum = 45;BA.debugLine="regalo = \"NO\""; -_regalo = "NO"; - }; - //BA.debugLineNum = 47;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_b.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("Cantidad # "+_c.GetString("CAT_DP_PZAS")+" REGALO "+_regalo)); - //BA.debugLineNum = 48;BA.debugLine="b.Close"; -_b.Close(); - } -}; - //BA.debugLineNum = 50;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim Regresar As Button"; -_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Dim b As Cursor"; -_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim regalo As String"; -_regalo = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim L_CANT As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim L_TOTAL As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim borra As Button"; -_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim Existe As String"; -_existe = ""; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_detalle_promo __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 18;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_detalle_promo"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=46596096; + //BA.debugLineNum = 46596096;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=46596097; + //BA.debugLineNum = 46596097;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 19;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46596098; + //BA.debugLineNum = 46596098;BA.debugLine="End Sub"; return null; } -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 93;BA.debugLine="B4XPages.ShowPage(\"\")"; +public boolean _activity_keypress(reparto_intmex.keymon.lat.c_detalle_promo __ref,int _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +if (Debug.shouldDelegate(ba, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=46923776; + //BA.debugLineNum = 46923776;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +RDebugUtils.currentLine=46923778; + //BA.debugLineNum = 46923778;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +if (_key==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=46923781; + //BA.debugLineNum = 46923781;BA.debugLine="B4XPages.ShowPage(\"\")"; _b4xpages._showpage /*String*/ (ba,""); - //BA.debugLineNum = 94;BA.debugLine="End Sub"; + }; +RDebugUtils.currentLine=46923785; + //BA.debugLineNum = 46923785;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=46923786; + //BA.debugLineNum = 46923786;BA.debugLine="End Sub"; +return false; +} +public String _activity_pause(reparto_intmex.keymon.lat.c_detalle_promo __ref,boolean _userclosed) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +RDebugUtils.currentLine=46792704; + //BA.debugLineNum = 46792704;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=46792706; + //BA.debugLineNum = 46792706;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_detalle_promo __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=46727168; + //BA.debugLineNum = 46727168;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=46727169; + //BA.debugLineNum = 46727169;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_starter._ruta /*String*/ ,"kmt.db",__c.True); +RDebugUtils.currentLine=46727170; + //BA.debugLineNum = 46727170;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); +RDebugUtils.currentLine=46727171; + //BA.debugLineNum = 46727171;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=46727172; + //BA.debugLineNum = 46727172;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=46727173; + //BA.debugLineNum = 46727173;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=46727174; + //BA.debugLineNum = 46727174;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step6 = 1; +final int limit6 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=46727175; + //BA.debugLineNum = 46727175;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=46727176; + //BA.debugLineNum = 46727176;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=46727177; + //BA.debugLineNum = 46727177;BA.debugLine="B.Position =0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=46727178; + //BA.debugLineNum = 46727178;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46727179; + //BA.debugLineNum = 46727179;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=46727180; + //BA.debugLineNum = 46727180;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=46727181; + //BA.debugLineNum = 46727181;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=46727182; + //BA.debugLineNum = 46727182;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46727183; + //BA.debugLineNum = 46727183;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=46727184; + //BA.debugLineNum = 46727184;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=46727185; + //BA.debugLineNum = 46727185;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=46727186; + //BA.debugLineNum = 46727186;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=46727187; + //BA.debugLineNum = 46727187;BA.debugLine="regalo = \"SI\""; +__ref._regalo /*String*/ = "SI"; + }else { +RDebugUtils.currentLine=46727189; + //BA.debugLineNum = 46727189;BA.debugLine="regalo = \"NO\""; +__ref._regalo /*String*/ = "NO"; + }; +RDebugUtils.currentLine=46727191; + //BA.debugLineNum = 46727191;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("Cantidad # "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")+" REGALO "+__ref._regalo /*String*/ )); +RDebugUtils.currentLine=46727192; + //BA.debugLineNum = 46727192;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; +RDebugUtils.currentLine=46727194; + //BA.debugLineNum = 46727194;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=46727197; + //BA.debugLineNum = 46727197;BA.debugLine="End Sub"; +return ""; } +public String _b4xpage_created(reparto_intmex.keymon.lat.c_detalle_promo __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=46661632; + //BA.debugLineNum = 46661632;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=46661633; + //BA.debugLineNum = 46661633;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=46661635; + //BA.debugLineNum = 46661635;BA.debugLine="Root.LoadLayout(\"detalle_promo\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("detalle_promo",ba); +RDebugUtils.currentLine=46661636; + //BA.debugLineNum = 46661636;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); +RDebugUtils.currentLine=46661637; + //BA.debugLineNum = 46661637;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=46661638; + //BA.debugLineNum = 46661638;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=46661639; + //BA.debugLineNum = 46661639;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=46661640; + //BA.debugLineNum = 46661640;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step7 = 1; +final int limit7 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=46661641; + //BA.debugLineNum = 46661641;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=46661642; + //BA.debugLineNum = 46661642;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=46661643; + //BA.debugLineNum = 46661643;BA.debugLine="B.Position =0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=46661644; + //BA.debugLineNum = 46661644;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46661645; + //BA.debugLineNum = 46661645;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=46661646; + //BA.debugLineNum = 46661646;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=46661647; + //BA.debugLineNum = 46661647;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=46661648; + //BA.debugLineNum = 46661648;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46661649; + //BA.debugLineNum = 46661649;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=46661650; + //BA.debugLineNum = 46661650;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=46661651; + //BA.debugLineNum = 46661651;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=46661652; + //BA.debugLineNum = 46661652;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=46661653; + //BA.debugLineNum = 46661653;BA.debugLine="regalo = \"SI\""; +__ref._regalo /*String*/ = "SI"; + }else { +RDebugUtils.currentLine=46661655; + //BA.debugLineNum = 46661655;BA.debugLine="regalo = \"NO\""; +__ref._regalo /*String*/ = "NO"; + }; +RDebugUtils.currentLine=46661657; + //BA.debugLineNum = 46661657;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("Cantidad # "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")+" REGALO "+__ref._regalo /*String*/ )); +RDebugUtils.currentLine=46661658; + //BA.debugLineNum = 46661658;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; +RDebugUtils.currentLine=46661660; + //BA.debugLineNum = 46661660;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=46661662; + //BA.debugLineNum = 46661662;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(reparto_intmex.keymon.lat.c_detalle_promo __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +RDebugUtils.currentLine=46530560; + //BA.debugLineNum = 46530560;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=46530561; + //BA.debugLineNum = 46530561;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=46530562; + //BA.debugLineNum = 46530562;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=46530563; + //BA.debugLineNum = 46530563;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46530565; + //BA.debugLineNum = 46530565;BA.debugLine="Dim Regresar As Button"; +_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=46530566; + //BA.debugLineNum = 46530566;BA.debugLine="Dim b As Cursor"; +_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46530567; + //BA.debugLineNum = 46530567;BA.debugLine="Dim regalo As String"; +_regalo = ""; +RDebugUtils.currentLine=46530568; + //BA.debugLineNum = 46530568;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=46530569; + //BA.debugLineNum = 46530569;BA.debugLine="Dim L_CANT As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46530570; + //BA.debugLineNum = 46530570;BA.debugLine="Dim L_TOTAL As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46530571; + //BA.debugLineNum = 46530571;BA.debugLine="Dim borra As Button"; +_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=46530572; + //BA.debugLineNum = 46530572;BA.debugLine="Dim Existe As String"; +_existe = ""; +RDebugUtils.currentLine=46530573; + //BA.debugLineNum = 46530573;BA.debugLine="End Sub"; +return ""; +} +public String _regresar_click(reparto_intmex.keymon.lat.c_detalle_promo __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=46858240; + //BA.debugLineNum = 46858240;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=46858242; + //BA.debugLineNum = 46858242;BA.debugLine="B4XPages.ShowPage(\"\")"; +_b4xpages._showpage /*String*/ (ba,""); +RDebugUtils.currentLine=46858243; + //BA.debugLineNum = 46858243;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_detalleventa.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_detalleventa.java index af9cfd4..db92d42 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_detalleventa.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_detalleventa.java @@ -10,7 +10,7 @@ public class c_detalleventa extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_detalleventa"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_detalleventa"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_detalleventa extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -72,10 +79,10 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -83,12 +90,37 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 915;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 917;BA.debugLine="End Sub"; +public Object _initialize(reparto_intmex.keymon.lat.c_detalleventa __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=47054848; + //BA.debugLineNum = 47054848;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=47054849; + //BA.debugLineNum = 47054849;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=47054850; + //BA.debugLineNum = 47054850;BA.debugLine="End Sub"; +return null; +} +public String _b_guardar_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=47906816; + //BA.debugLineNum = 47906816;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=47906818; + //BA.debugLineNum = 47906818;BA.debugLine="End Sub"; return ""; } -public String _b_prodmas_click() throws Exception{ +public String _b_prodmas_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_prodmas_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas_click", null));} int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; @@ -98,569 +130,168 @@ String _maxprods = ""; String _minimoadesc = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; - //BA.debugLineNum = 650;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 651;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 653;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("812386307","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)"; +RDebugUtils.currentLine=47775744; + //BA.debugLineNum = 47775744;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=47775745; + //BA.debugLineNum = 47775745;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=47775747; + //BA.debugLineNum = 47775747;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("247775747","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=47775748; + //BA.debugLineNum = 47775748;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=47775749; + //BA.debugLineNum = 47775749;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; _pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 656;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=47775750; + //BA.debugLineNum = 47775750;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 657;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +RDebugUtils.currentLine=47775751; + //BA.debugLineNum = 47775751;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; _lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 661;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +RDebugUtils.currentLine=47775755; + //BA.debugLineNum = 47775755;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 662;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("812386316","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"; +RDebugUtils.currentLine=47775756; + //BA.debugLineNum = 47775756;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +__c.LogImpl("247775756","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=47775757; + //BA.debugLineNum = 47775757;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"; +RDebugUtils.currentLine=47775759; + //BA.debugLineNum = 47775759;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("812386321",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 670;BA.debugLine="Private minimoadesc As String"; +RDebugUtils.currentLine=47775761; + //BA.debugLineNum = 47775761;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("247775761",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=47775764; + //BA.debugLineNum = 47775764;BA.debugLine="Private minimoadesc As String"; _minimoadesc = ""; - //BA.debugLineNum = 671;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +RDebugUtils.currentLine=47775765; + //BA.debugLineNum = 47775765;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; _minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 672;BA.debugLine="If minimos.RowCount > 0 Then"; +RDebugUtils.currentLine=47775766; + //BA.debugLineNum = 47775766;BA.debugLine="If minimos.RowCount > 0 Then"; if (_minimos.getRowCount()>0) { - //BA.debugLineNum = 673;BA.debugLine="minimos.Position = 0"; +RDebugUtils.currentLine=47775767; + //BA.debugLineNum = 47775767;BA.debugLine="minimos.Position = 0"; _minimos.setPosition((int) (0)); - //BA.debugLineNum = 674;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +RDebugUtils.currentLine=47775768; + //BA.debugLineNum = 47775768;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; _minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); }else { - //BA.debugLineNum = 676;BA.debugLine="minimoadesc = \"1\""; +RDebugUtils.currentLine=47775770; + //BA.debugLineNum = 47775770;BA.debugLine="minimoadesc = \"1\""; _minimoadesc = "1"; }; - //BA.debugLineNum = 678;BA.debugLine="minimos.Close"; +RDebugUtils.currentLine=47775772; + //BA.debugLineNum = 47775772;BA.debugLine="minimos.Close"; _minimos.Close(); - //BA.debugLineNum = 680;BA.debugLine="minimoadesc = \"1\""; +RDebugUtils.currentLine=47775774; + //BA.debugLineNum = 47775774;BA.debugLine="minimoadesc = \"1\""; _minimoadesc = "1"; - //BA.debugLineNum = 681;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; +RDebugUtils.currentLine=47775775; + //BA.debugLineNum = 47775775;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; if ((_estetag.Get((int) (7))).equals((Object)("1")) == false) { - //BA.debugLineNum = 684;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +RDebugUtils.currentLine=47775778; + //BA.debugLineNum = 47775778;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { - //BA.debugLineNum = 686;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +RDebugUtils.currentLine=47775780; + //BA.debugLineNum = 47775780;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("812386341",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); - //BA.debugLineNum = 688;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; +RDebugUtils.currentLine=47775781; + //BA.debugLineNum = 47775781;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +__c.LogImpl("247775781",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +RDebugUtils.currentLine=47775782; + //BA.debugLineNum = 47775782;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"; +RDebugUtils.currentLine=47775783; + //BA.debugLineNum = 47775783;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - //BA.debugLineNum = 692;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +RDebugUtils.currentLine=47775786; + //BA.debugLineNum = 47775786;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - //BA.debugLineNum = 694;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +RDebugUtils.currentLine=47775788; + //BA.debugLineNum = 47775788;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; _subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 699;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=47775793; + //BA.debugLineNum = 47775793;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 703;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +RDebugUtils.currentLine=47775797; + //BA.debugLineNum = 47775797;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("812386358",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); - //BA.debugLineNum = 705;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; +RDebugUtils.currentLine=47775798; + //BA.debugLineNum = 47775798;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +__c.LogImpl("247775798",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +RDebugUtils.currentLine=47775799; + //BA.debugLineNum = 47775799;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"; +RDebugUtils.currentLine=47775800; + //BA.debugLineNum = 47775800;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2)))})); - //BA.debugLineNum = 707;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PED"; -_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) (8)))}))); - //BA.debugLineNum = 708;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 709;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=47775801; + //BA.debugLineNum = 47775801;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PED"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=47775802; + //BA.debugLineNum = 47775802;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=47775803; + //BA.debugLineNum = 47775803;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 710;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=47775804; + //BA.debugLineNum = 47775804;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 711;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=47775805; + //BA.debugLineNum = 47775805;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 713;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +RDebugUtils.currentLine=47775807; + //BA.debugLineNum = 47775807;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); }; }else { - //BA.debugLineNum = 716;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=47775810; + //BA.debugLineNum = 47775810;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 717;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=47775811; + //BA.debugLineNum = 47775811;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 718;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=47775812; + //BA.debugLineNum = 47775812;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 720;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +RDebugUtils.currentLine=47775814; + //BA.debugLineNum = 47775814;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO) VALUES (?,?,?,?,?,?,?,0,0,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("CAT_GP_NOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_c2.GetString("CAT_GP_PRECIO"),_c2.GetString("CAT_GP_PRECIO"),BA.ObjectToString(_estetag.Get((int) (8)))})); }; }; - //BA.debugLineNum = 725;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +RDebugUtils.currentLine=47775819; + //BA.debugLineNum = 47775819;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; _subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 730;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=47775824; + //BA.debugLineNum = 47775824;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }; }; - //BA.debugLineNum = 749;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47775843; + //BA.debugLineNum = 47775843;BA.debugLine="End Sub"; return ""; } -public String _b_prodmasc_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _maxprods = ""; - //BA.debugLineNum = 928;BA.debugLine="Private Sub b_prodMasC_Click"; - //BA.debugLineNum = 929;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 931;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("812713987","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)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 934;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 935;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; -_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 939;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 = 940;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; -__c.LogImpl("812713996","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("812714000",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); - //BA.debugLineNum = 945;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; -__c.LogImpl("812714001",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); - //BA.debugLineNum = 946;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("812714002",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 948;BA.debugLine="Log(maxProds)"; -__c.LogImpl("812714004",_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("812714011",("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("812714014",_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"; -_b4xpage_appear(); - }; - }; - //BA.debugLineNum = 970;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenos_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _minimoadesc = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -float _preciou = 0f; - //BA.debugLineNum = 506;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 507;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 508;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("812320770","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 509;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("812320771","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)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 512;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 513;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 515;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 516;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("812320778","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(\""; -_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 519;BA.debugLine="If minimos.RowCount > 0 Then"; -if (_minimos.getRowCount()>0) { - //BA.debugLineNum = 520;BA.debugLine="minimos.Position = 0"; -_minimos.setPosition((int) (0)); - //BA.debugLineNum = 521;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; -_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); - }else { - //BA.debugLineNum = 523;BA.debugLine="minimoadesc = \"1\""; -_minimoadesc = "1"; - }; - //BA.debugLineNum = 525;BA.debugLine="minimos.Close"; -_minimos.Close(); - //BA.debugLineNum = 527;BA.debugLine="minimoadesc = \"1\""; -_minimoadesc = "1"; - //BA.debugLineNum = 528;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; -if ((_estetag.Get((int) (7))).equals((Object)("1"))) { - //BA.debugLineNum = 529;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 530;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 = 531;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 532;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)))}))); - //BA.debugLineNum = 533;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 534;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 535;BA.debugLine="If c3.GetString(\"PE_CANT\") > minimoadesc Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>(double)(Double.parseDouble(_minimoadesc))) { - //BA.debugLineNum = 536;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 537;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 538;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 540;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) and CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }else if((_c3.GetString("PE_CANT")).equals(_minimoadesc)) { - //BA.debugLineNum = 543;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 544;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 545;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 548;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }; - }; - //BA.debugLineNum = 555;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else { - //BA.debugLineNum = 558;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; -if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { - //BA.debugLineNum = 559;BA.debugLine="If laCant.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacant.getText()))>0) { - //BA.debugLineNum = 560;BA.debugLine="If esteTag.Get(3) <> Subs.traeAlmacen Then 'Si"; -if ((_estetag.Get((int) (3))).equals((Object)(_subs._traealmacen /*String*/ (ba))) == false) { - //BA.debugLineNum = 561;BA.debugLine="Private c2 As Cursor =Starter.skmt.ExecQuery("; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' AND HVD_CLIENTE IN (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")))); - //BA.debugLineNum = 562;BA.debugLine="c2.Position = 0"; -_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("812320828","ES PROMO",0); - //BA.debugLineNum = 567;BA.debugLine="Log(esteTag.Get(3))"; -__c.LogImpl("812320829",BA.ObjectToString(_estetag.Get((int) (3))),0); - //BA.debugLineNum = 568;BA.debugLine="result = Msgbox2(\"Si se modifica una promoc"; -_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 'Qu"; -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("812320836",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue); - //BA.debugLineNum = 577;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 578;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 581;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 582;BA.debugLine="LogColor(prodsMap, Colors.red)"; -__c.LogImpl("812320844",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)"; -_promoaborrar = BA.ObjectToString(_estetag.Get((int) (3))); - //BA.debugLineNum = 585;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }else { - //BA.debugLineNum = 588;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 589;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 = 590;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 591;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("812320853","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_gunap"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - //BA.debugLineNum = 594;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }else { - //BA.debugLineNum = 597;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 598;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 = 599;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 600;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("812320862","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_gunapr"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - //BA.debugLineNum = 603;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - }else { - //BA.debugLineNum = 608;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 609;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 = 610;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 611;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("812320873","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)))}))); - //BA.debugLineNum = 617;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 618;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 619;BA.debugLine="If c3.GetString(\"PE_CANT\") > 1 Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>1) { - //BA.debugLineNum = 620;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 621;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 622;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 623;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }else if((_c3.GetString("PE_CANT")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 626;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 627;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 628;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 629;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }; - }; - //BA.debugLineNum = 633;BA.debugLine="B4XPage_Appear"; -_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("812320899","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 648;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenosc_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -float _preciou = 0f; - //BA.debugLineNum = 972;BA.debugLine="Private Sub b_prodMenosC_Click"; - //BA.debugLineNum = 973;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 974;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("812779522","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 975;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("812779523","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)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 978;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 979;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; -_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 981;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 = 982;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; -__c.LogImpl("812779530","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("812779531",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("812779535",BA.NumberToString(_c3.getRowCount()),0); - //BA.debugLineNum = 988;BA.debugLine="Log(esteTag.Get(8))"; -__c.LogImpl("812779536",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("812779538","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"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { - //BA.debugLineNum = 993;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c3.GetString("CONSECUTIVO")))+"'")); - }else if((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 995;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c3.GetString("CONSECUTIVO")))+"'")); - }; - }; - //BA.debugLineNum = 998;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("812779546","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));}; - //BA.debugLineNum = 1000;BA.debugLine="laCantc.Text = laCantc.Text - 1"; -_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); - //BA.debugLineNum = 1001;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; -if ((double)(Double.parseDouble(_lacantc.getText()))<0) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1002;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else { - //BA.debugLineNum = 1007;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; -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("812779558","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));}; - //BA.debugLineNum = 1012;BA.debugLine="laCantc.Text = laCantc.Text - 1"; -_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); - //BA.debugLineNum = 1013;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; -if ((double)(Double.parseDouble(_lacantc.getText()))<0) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1014;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 = 1015;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = (cat_gp_almacen + (1 * ?)) where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2)),(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))))})); - //BA.debugLineNum = 1016;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_lacantc.getText()).equals(BA.NumberToString(0))) { - }; - }else { - //BA.debugLineNum = 1023;BA.debugLine="If laCantc.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacantc.getText()))>0) { - //BA.debugLineNum = 1026;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); - //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("812779576","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"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { - //BA.debugLineNum = 1031;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }else if((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1033;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }; - //BA.debugLineNum = 1036;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("812779584","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));}; - //BA.debugLineNum = 1038;BA.debugLine="laCantc.Text = laCantc.Text - 1"; -_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); - //BA.debugLineNum = 1039;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; -if ((double)(Double.parseDouble(_lacantc.getText()))<0) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1040;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_lacantc.getText()).equals(BA.NumberToString(0))) { - }; - }; - }; - //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("812779597","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 1050;BA.debugLine="End Sub"; -return ""; -} -public String _b_regresar_click() throws Exception{ - //BA.debugLineNum = 317;BA.debugLine="Sub b_regresar_Click"; - //BA.debugLineNum = 318;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 319;BA.debugLine="End Sub"; -return ""; -} -public String _b_revversar_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; - //BA.debugLineNum = 1056;BA.debugLine="Private Sub b_revversar_Click"; - //BA.debugLineNum = 1057;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery(\"SE"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1058;BA.debugLine="If c3.RowCount = 0 Then"; -if (_c3.getRowCount()==0) { - //BA.debugLineNum = 1059;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS s"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 1060;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else { - //BA.debugLineNum = 1062;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendieron,"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 1066;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; int _cantres = 0; @@ -685,310 +316,436 @@ String _arti2 = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; String _cuenta3 = ""; String _arti3 = ""; - //BA.debugLineNum = 68;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 69;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 73;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 74;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 75;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; -_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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); - //BA.debugLineNum = 76;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 77;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 78;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 80;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select hvd_num_registro,CONSECUTIVO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO, BCAJAS, CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_rechazo <> 2 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 81;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 82;BA.debugLine="clv_pedido.Clear"; -_clv_pedido._clear(); - //BA.debugLineNum = 83;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 84;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; -_clv_pedido._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (_root.getWidth()-50),(int) (_root.getHeight()*0.62)); - //BA.debugLineNum = 85;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; -_clv_pedido._base_resize(_clv_pedido._getbase().getWidth(),_clv_pedido._getbase().getHeight()); - //BA.debugLineNum = 87;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 90;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=47185920; + //BA.debugLineNum = 47185920;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=47185921; + //BA.debugLineNum = 47185921;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=47185925; + //BA.debugLineNum = 47185925;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=47185926; + //BA.debugLineNum = 47185926;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=47185927; + //BA.debugLineNum = 47185927;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); +RDebugUtils.currentLine=47185928; + //BA.debugLineNum = 47185928;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=47185929; + //BA.debugLineNum = 47185929;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=47185930; + //BA.debugLineNum = 47185930;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=47185932; + //BA.debugLineNum = 47185932;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select hvd_num_registro,CONSECUTIVO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO, BCAJAS, CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_rechazo <> 2 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=47185933; + //BA.debugLineNum = 47185933;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=47185934; + //BA.debugLineNum = 47185934;BA.debugLine="clv_pedido.Clear"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=47185935; + //BA.debugLineNum = 47185935;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=47185936; + //BA.debugLineNum = 47185936;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-50),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.62)); +RDebugUtils.currentLine=47185937; + //BA.debugLineNum = 47185937;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getHeight()); +RDebugUtils.currentLine=47185939; + //BA.debugLineNum = 47185939;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=47185942; + //BA.debugLineNum = 47185942;BA.debugLine="For i=0 To c.RowCount -1"; { final int step15 = 1; -final int limit15 = (int) (_c.getRowCount()-1); +final int limit15 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 91;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 93;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=47185943; + //BA.debugLineNum = 47185943;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=47185945; + //BA.debugLineNum = 47185945;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 94;BA.debugLine="If c4.RowCount > 0 Then"; +_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=47185946; + //BA.debugLineNum = 47185946;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 95;BA.debugLine="c4.Position = 0"; +RDebugUtils.currentLine=47185947; + //BA.debugLineNum = 47185947;BA.debugLine="c4.Position = 0"; _c4.setPosition((int) (0)); - //BA.debugLineNum = 96;BA.debugLine="Private cantres As Int = c4.GetString(\"PE_CANT"; +RDebugUtils.currentLine=47185948; + //BA.debugLineNum = 47185948;BA.debugLine="Private cantres As Int = c4.GetString(\"PE_CANT"; _cantres = (int)(Double.parseDouble(_c4.GetString("PE_CANT"))); }else { - //BA.debugLineNum = 98;BA.debugLine="cantres = 0"; +RDebugUtils.currentLine=47185950; + //BA.debugLineNum = 47185950;BA.debugLine="cantres = 0"; _cantres = (int) (0); }; - //BA.debugLineNum = 101;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; -if ((_c.GetString("BCAJAS")).equals("0")) { - //BA.debugLineNum = 102;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; -if ((_c.GetString("HVD_CANT")).equals(_c.GetString("HVD_RECHAZOCANT")) == false) { - //BA.debugLineNum = 104;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=47185953; + //BA.debugLineNum = 47185953;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BCAJAS")).equals("0")) { +RDebugUtils.currentLine=47185954; + //BA.debugLineNum = 47185954;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")).equals(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")) == false) { +RDebugUtils.currentLine=47185956; + //BA.debugLineNum = 47185956;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; _oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'")))); - //BA.debugLineNum = 105;BA.debugLine="Private cant2 As Int = 0"; +_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+"'")))); +RDebugUtils.currentLine=47185957; + //BA.debugLineNum = 47185957;BA.debugLine="Private cant2 As Int = 0"; _cant2 = (int) (0); - //BA.debugLineNum = 106;BA.debugLine="If oc.RowCount > 0 Then"; +RDebugUtils.currentLine=47185958; + //BA.debugLineNum = 47185958;BA.debugLine="If oc.RowCount > 0 Then"; if (_oc.getRowCount()>0) { - //BA.debugLineNum = 107;BA.debugLine="oc.Position = 0"; +RDebugUtils.currentLine=47185959; + //BA.debugLineNum = 47185959;BA.debugLine="oc.Position = 0"; _oc.setPosition((int) (0)); - //BA.debugLineNum = 108;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=47185960; + //BA.debugLineNum = 47185960;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; _cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); }; - //BA.debugLineNum = 110;BA.debugLine="oc.Close"; +RDebugUtils.currentLine=47185962; + //BA.debugLineNum = 47185962;BA.debugLine="oc.Close"; _oc.Close(); - //BA.debugLineNum = 111;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=47185963; + //BA.debugLineNum = 47185963;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 112;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 113;BA.debugLine="label1.TextSize = 12"; +RDebugUtils.currentLine=47185964; + //BA.debugLineNum = 47185964;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=47185965; + //BA.debugLineNum = 47185965;BA.debugLine="label1.TextSize = 12"; _label1.setTextSize((float) (12)); - //BA.debugLineNum = 114;BA.debugLine="label1.TextColor = Colors.black"; +RDebugUtils.currentLine=47185966; + //BA.debugLineNum = 47185966;BA.debugLine="label1.TextColor = Colors.black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 115;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=47185967; + //BA.debugLineNum = 47185967;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 116;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 117;BA.debugLine="label2.TextSize = 12"; +RDebugUtils.currentLine=47185968; + //BA.debugLineNum = 47185968;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=47185969; + //BA.debugLineNum = 47185969;BA.debugLine="label2.TextSize = 12"; _label2.setTextSize((float) (12)); - //BA.debugLineNum = 118;BA.debugLine="label2.TextColor = Colors.black"; +RDebugUtils.currentLine=47185970; + //BA.debugLineNum = 47185970;BA.debugLine="label2.TextColor = Colors.black"; _label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 119;BA.debugLine="Private bgColor, textColor As Int"; +RDebugUtils.currentLine=47185971; + //BA.debugLineNum = 47185971;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; _textcolor = 0; - //BA.debugLineNum = 120;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +RDebugUtils.currentLine=47185972; + //BA.debugLineNum = 47185972;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; _bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 121;BA.debugLine="textColor = Colors.black"; +RDebugUtils.currentLine=47185973; + //BA.debugLineNum = 47185973;BA.debugLine="textColor = Colors.black"; _textcolor = __c.Colors.Black; - //BA.debugLineNum = 122;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { - //BA.debugLineNum = 124;BA.debugLine="bgColor = Colors.White"; +RDebugUtils.currentLine=47185974; + //BA.debugLineNum = 47185974;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=47185976; + //BA.debugLineNum = 47185976;BA.debugLine="bgColor = Colors.White"; _bgcolor = __c.Colors.White; }; - //BA.debugLineNum = 128;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; -_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)(Double.parseDouble(_c.GetString("HVD_CANT")))-(double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT"))))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-_cantres),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba),_subs._traecliente /*String*/ (ba),BA.NumberToString(0),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); +RDebugUtils.currentLine=47185980; + //BA.debugLineNum = 47185980;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")),(int) (((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-_cantres),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba),_subs._traecliente /*String*/ (ba),BA.NumberToString(0),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; - }else if((_c.GetString("BCAJAS")).equals("1")) { - //BA.debugLineNum = 132;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; -if ((_c.GetString("HVD_CANT")).equals(_c.GetString("HVD_RECHAZOCANT")) == false) { - //BA.debugLineNum = 134;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; + }else +{RDebugUtils.currentLine=47185983; + //BA.debugLineNum = 47185983;BA.debugLine="Else If c.GetString(\"BCAJAS\") = \"1\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BCAJAS")).equals("1")) { +RDebugUtils.currentLine=47185984; + //BA.debugLineNum = 47185984;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")).equals(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")) == false) { +RDebugUtils.currentLine=47185986; + //BA.debugLineNum = 47185986;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; _oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'")))); - //BA.debugLineNum = 135;BA.debugLine="Private cant2 As Int = 0"; +_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+"'")))); +RDebugUtils.currentLine=47185987; + //BA.debugLineNum = 47185987;BA.debugLine="Private cant2 As Int = 0"; _cant2 = (int) (0); - //BA.debugLineNum = 136;BA.debugLine="If oc.RowCount > 0 Then"; +RDebugUtils.currentLine=47185988; + //BA.debugLineNum = 47185988;BA.debugLine="If oc.RowCount > 0 Then"; if (_oc.getRowCount()>0) { - //BA.debugLineNum = 137;BA.debugLine="oc.Position = 0"; +RDebugUtils.currentLine=47185989; + //BA.debugLineNum = 47185989;BA.debugLine="oc.Position = 0"; _oc.setPosition((int) (0)); - //BA.debugLineNum = 138;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=47185990; + //BA.debugLineNum = 47185990;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; _cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); }; - //BA.debugLineNum = 140;BA.debugLine="oc.Close"; +RDebugUtils.currentLine=47185992; + //BA.debugLineNum = 47185992;BA.debugLine="oc.Close"; _oc.Close(); - //BA.debugLineNum = 141;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=47185993; + //BA.debugLineNum = 47185993;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 142;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 143;BA.debugLine="label1.TextSize = 12"; +RDebugUtils.currentLine=47185994; + //BA.debugLineNum = 47185994;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=47185995; + //BA.debugLineNum = 47185995;BA.debugLine="label1.TextSize = 12"; _label1.setTextSize((float) (12)); - //BA.debugLineNum = 144;BA.debugLine="label1.TextColor = Colors.black"; +RDebugUtils.currentLine=47185996; + //BA.debugLineNum = 47185996;BA.debugLine="label1.TextColor = Colors.black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 145;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=47185997; + //BA.debugLineNum = 47185997;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 146;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 147;BA.debugLine="label2.TextSize = 12"; +RDebugUtils.currentLine=47185998; + //BA.debugLineNum = 47185998;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=47185999; + //BA.debugLineNum = 47185999;BA.debugLine="label2.TextSize = 12"; _label2.setTextSize((float) (12)); - //BA.debugLineNum = 148;BA.debugLine="label2.TextColor = Colors.black"; +RDebugUtils.currentLine=47186000; + //BA.debugLineNum = 47186000;BA.debugLine="label2.TextColor = Colors.black"; _label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 149;BA.debugLine="Private bgColor, textColor As Int"; +RDebugUtils.currentLine=47186001; + //BA.debugLineNum = 47186001;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; _textcolor = 0; - //BA.debugLineNum = 150;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +RDebugUtils.currentLine=47186002; + //BA.debugLineNum = 47186002;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; _bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 151;BA.debugLine="textColor = Colors.black"; +RDebugUtils.currentLine=47186003; + //BA.debugLineNum = 47186003;BA.debugLine="textColor = Colors.black"; _textcolor = __c.Colors.Black; - //BA.debugLineNum = 152;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { - //BA.debugLineNum = 154;BA.debugLine="bgColor = Colors.White"; +RDebugUtils.currentLine=47186004; + //BA.debugLineNum = 47186004;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=47186006; + //BA.debugLineNum = 47186006;BA.debugLine="bgColor = Colors.White"; _bgcolor = __c.Colors.White; }; - //BA.debugLineNum = 158;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),BA.NumberToString(((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC"))))),(int) ((((double)(Double.parseDouble(_c.GetString("HVD_CANT")))-(double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))))),(int)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT"))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba),_subs._traecliente /*String*/ (ba),BA.NumberToString(0),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }; +RDebugUtils.currentLine=47186010; + //BA.debugLineNum = 47186010;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),BA.NumberToString(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTC"))))),(int) ((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba),_subs._traecliente /*String*/ (ba),BA.NumberToString(0),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; + }} +; } }; }; - //BA.debugLineNum = 166;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(\"Sele"; +RDebugUtils.currentLine=47186018; + //BA.debugLineNum = 47186018;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(\"Sele"; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 167;BA.debugLine="If c3.RowCount>0 Then"; +RDebugUtils.currentLine=47186019; + //BA.debugLineNum = 47186019;BA.debugLine="If c3.RowCount>0 Then"; if (_c3.getRowCount()>0) { - //BA.debugLineNum = 168;BA.debugLine="For i= 0 To c3.RowCount -1"; +RDebugUtils.currentLine=47186020; + //BA.debugLineNum = 47186020;BA.debugLine="For i= 0 To c3.RowCount -1"; { final int step79 = 1; final int limit79 = (int) (_c3.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit79 ;_i = _i + step79 ) { - //BA.debugLineNum = 169;BA.debugLine="c3.Position = i"; +RDebugUtils.currentLine=47186021; + //BA.debugLineNum = 47186021;BA.debugLine="c3.Position = i"; _c3.setPosition(_i); - //BA.debugLineNum = 170;BA.debugLine="If c3.GetString(\"PE_BCAJAS\") = \"1\" Then"; +RDebugUtils.currentLine=47186022; + //BA.debugLineNum = 47186022;BA.debugLine="If c3.GetString(\"PE_BCAJAS\") = \"1\" Then"; if ((_c3.GetString("PE_BCAJAS")).equals("1")) { - //BA.debugLineNum = 171;BA.debugLine="Private bgColor, textColor As Int"; +RDebugUtils.currentLine=47186023; + //BA.debugLineNum = 47186023;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; _textcolor = 0; - //BA.debugLineNum = 172;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; +RDebugUtils.currentLine=47186024; + //BA.debugLineNum = 47186024;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; _bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132)); - //BA.debugLineNum = 173;BA.debugLine="textColor = Colors.black"; +RDebugUtils.currentLine=47186025; + //BA.debugLineNum = 47186025;BA.debugLine="textColor = Colors.black"; _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("811796587","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); +RDebugUtils.currentLine=47186026; + //BA.debugLineNum = 47186026;BA.debugLine="clv_pedido.Add(CreateListItem2(c3.GetString(\"P"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); +RDebugUtils.currentLine=47186027; + //BA.debugLineNum = 47186027;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; +__c.LogImpl("247186027","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); }else { - //BA.debugLineNum = 177;BA.debugLine="Private bgColor, textColor As Int"; +RDebugUtils.currentLine=47186029; + //BA.debugLineNum = 47186029;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; _textcolor = 0; - //BA.debugLineNum = 178;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; +RDebugUtils.currentLine=47186030; + //BA.debugLineNum = 47186030;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; _bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132)); - //BA.debugLineNum = 179;BA.debugLine="textColor = Colors.black"; +RDebugUtils.currentLine=47186031; + //BA.debugLineNum = 47186031;BA.debugLine="textColor = Colors.black"; _textcolor = __c.Colors.Black; - //BA.debugLineNum = 180;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; -__c.LogImpl("811796592","#####################"+_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)); +RDebugUtils.currentLine=47186032; + //BA.debugLineNum = 47186032;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; +__c.LogImpl("247186032","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); +RDebugUtils.currentLine=47186033; + //BA.debugLineNum = 47186033;BA.debugLine="clv_pedido.Add(CreateListItem(c3.GetString(\"PE"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; } }; }; - //BA.debugLineNum = 187;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=47186039; + //BA.debugLineNum = 47186039;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT,HVD_COSTO_TOT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE in (select cuenta from cuentaa)")))); - //BA.debugLineNum = 189;BA.debugLine="Private Cuenta As String = 0"; +RDebugUtils.currentLine=47186041; + //BA.debugLineNum = 47186041;BA.debugLine="Private Cuenta As String = 0"; _cuenta = BA.NumberToString(0); - //BA.debugLineNum = 190;BA.debugLine="Private arti As String = 0"; +RDebugUtils.currentLine=47186042; + //BA.debugLineNum = 47186042;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 191;BA.debugLine="If vc.RowCount > 0 Then"; +RDebugUtils.currentLine=47186043; + //BA.debugLineNum = 47186043;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 192;BA.debugLine="For i = 0 To vc.RowCount - 1"; +RDebugUtils.currentLine=47186044; + //BA.debugLineNum = 47186044;BA.debugLine="For i = 0 To vc.RowCount - 1"; { final int step100 = 1; final int limit100 = (int) (_vc.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit100 ;_i = _i + step100 ) { - //BA.debugLineNum = 193;BA.debugLine="vc.Position = i"; +RDebugUtils.currentLine=47186045; + //BA.debugLineNum = 47186045;BA.debugLine="vc.Position = i"; _vc.setPosition(_i); - //BA.debugLineNum = 194;BA.debugLine="Private cantres As Int = 0"; +RDebugUtils.currentLine=47186046; + //BA.debugLineNum = 47186046;BA.debugLine="Private cantres As Int = 0"; _cantres = (int) (0); - //BA.debugLineNum = 195;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=47186047; + //BA.debugLineNum = 47186047;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("HVD_PROID")))+"' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 196;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=47186048; + //BA.debugLineNum = 47186048;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 197;BA.debugLine="c4.Position = 0"; +RDebugUtils.currentLine=47186049; + //BA.debugLineNum = 47186049;BA.debugLine="c4.Position = 0"; _c4.setPosition((int) (0)); - //BA.debugLineNum = 198;BA.debugLine="cantres = c4.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=47186050; + //BA.debugLineNum = 47186050;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("811796611",_c4.GetString("PE_CANT"),0); +RDebugUtils.currentLine=47186051; + //BA.debugLineNum = 47186051;BA.debugLine="Log(c4.GetString(\"PE_CANT\"))"; +__c.LogImpl("247186051",_c4.GetString("PE_CANT"),0); }else { - //BA.debugLineNum = 201;BA.debugLine="cantres = 0"; +RDebugUtils.currentLine=47186053; + //BA.debugLineNum = 47186053;BA.debugLine="cantres = 0"; _cantres = (int) (0); }; - //BA.debugLineNum = 206;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; +RDebugUtils.currentLine=47186058; + //BA.debugLineNum = 47186058;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; _arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 207;BA.debugLine="Cuenta = Cuenta + ((vc.GetString(\"HVD_CANT\") -"; +RDebugUtils.currentLine=47186059; + //BA.debugLineNum = 47186059;BA.debugLine="Cuenta = Cuenta + ((vc.GetString(\"HVD_CANT\") -"; _cuenta = BA.NumberToString((double)(Double.parseDouble(_cuenta))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); } }; }; - //BA.debugLineNum = 214;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; +RDebugUtils.currentLine=47186066; + //BA.debugLineNum = 47186066;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; _vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))); - //BA.debugLineNum = 215;BA.debugLine="Private Cuenta1 As String = 0"; +RDebugUtils.currentLine=47186067; + //BA.debugLineNum = 47186067;BA.debugLine="Private Cuenta1 As String = 0"; _cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 216;BA.debugLine="Private arti1 As String = 0"; +RDebugUtils.currentLine=47186068; + //BA.debugLineNum = 47186068;BA.debugLine="Private arti1 As String = 0"; _arti1 = BA.NumberToString(0); - //BA.debugLineNum = 217;BA.debugLine="If vc2.RowCount > 0 Then"; +RDebugUtils.currentLine=47186069; + //BA.debugLineNum = 47186069;BA.debugLine="If vc2.RowCount > 0 Then"; if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 218;BA.debugLine="For i = 0 To vc2.RowCount - 1"; +RDebugUtils.currentLine=47186070; + //BA.debugLineNum = 47186070;BA.debugLine="For i = 0 To vc2.RowCount - 1"; { final int step119 = 1; final int limit119 = (int) (_vc2.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit119 ;_i = _i + step119 ) { - //BA.debugLineNum = 219;BA.debugLine="vc2.Position = i"; +RDebugUtils.currentLine=47186071; + //BA.debugLineNum = 47186071;BA.debugLine="vc2.Position = i"; _vc2.setPosition(_i); - //BA.debugLineNum = 220;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; +RDebugUtils.currentLine=47186072; + //BA.debugLineNum = 47186072;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; _preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 221;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=47186073; + //BA.debugLineNum = 47186073;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; _vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 222;BA.debugLine="If vc3.RowCount > 0 Then"; +RDebugUtils.currentLine=47186074; + //BA.debugLineNum = 47186074;BA.debugLine="If vc3.RowCount > 0 Then"; if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 223;BA.debugLine="vc3.Position = 0"; +RDebugUtils.currentLine=47186075; + //BA.debugLineNum = 47186075;BA.debugLine="vc3.Position = 0"; _vc3.setPosition((int) (0)); - //BA.debugLineNum = 224;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; +RDebugUtils.currentLine=47186076; + //BA.debugLineNum = 47186076;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; _cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); - //BA.debugLineNum = 225;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; +RDebugUtils.currentLine=47186077; + //BA.debugLineNum = 47186077;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; _arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); }; } }; }; - //BA.debugLineNum = 231;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=47186083; + //BA.debugLineNum = 47186083;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; _vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 232;BA.debugLine="Private Cuenta2 As String = 0"; +RDebugUtils.currentLine=47186084; + //BA.debugLineNum = 47186084;BA.debugLine="Private Cuenta2 As String = 0"; _cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 233;BA.debugLine="Private arti2 As String = 0"; +RDebugUtils.currentLine=47186085; + //BA.debugLineNum = 47186085;BA.debugLine="Private arti2 As String = 0"; _arti2 = BA.NumberToString(0); - //BA.debugLineNum = 234;BA.debugLine="If vc4.RowCount > 0 Then"; +RDebugUtils.currentLine=47186086; + //BA.debugLineNum = 47186086;BA.debugLine="If vc4.RowCount > 0 Then"; if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 236;BA.debugLine="For i = 0 To vc4.RowCount - 1"; +RDebugUtils.currentLine=47186088; + //BA.debugLineNum = 47186088;BA.debugLine="For i = 0 To vc4.RowCount - 1"; { final int step134 = 1; final int limit134 = (int) (_vc4.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit134 ;_i = _i + step134 ) { - //BA.debugLineNum = 237;BA.debugLine="vc4.Position = i"; +RDebugUtils.currentLine=47186089; + //BA.debugLineNum = 47186089;BA.debugLine="vc4.Position = i"; _vc4.setPosition(_i); - //BA.debugLineNum = 238;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; +RDebugUtils.currentLine=47186090; + //BA.debugLineNum = 47186090;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 239;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +RDebugUtils.currentLine=47186091; + //BA.debugLineNum = 47186091;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 240;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; +RDebugUtils.currentLine=47186092; + //BA.debugLineNum = 47186092;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 241;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=47186093; + //BA.debugLineNum = 47186093;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); }else { - //BA.debugLineNum = 243;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=47186095; + //BA.debugLineNum = 47186095;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; _vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 244;BA.debugLine="If vc5.RowCount > 0 Then"; +RDebugUtils.currentLine=47186096; + //BA.debugLineNum = 47186096;BA.debugLine="If vc5.RowCount > 0 Then"; if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 245;BA.debugLine="vc5.Position= 0"; +RDebugUtils.currentLine=47186097; + //BA.debugLineNum = 47186097;BA.debugLine="vc5.Position= 0"; _vc5.setPosition((int) (0)); - //BA.debugLineNum = 247;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; +RDebugUtils.currentLine=47186099; + //BA.debugLineNum = 47186099;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); - //BA.debugLineNum = 248;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; +RDebugUtils.currentLine=47186100; + //BA.debugLineNum = 47186100;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); }; }; @@ -996,106 +753,969 @@ _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double } }; }; - //BA.debugLineNum = 259;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; +RDebugUtils.currentLine=47186111; + //BA.debugLineNum = 47186111;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 260;BA.debugLine="Private Cuenta3 As String = 0"; +RDebugUtils.currentLine=47186112; + //BA.debugLineNum = 47186112;BA.debugLine="Private Cuenta3 As String = 0"; _cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 261;BA.debugLine="Private arti3 As String = 0"; +RDebugUtils.currentLine=47186113; + //BA.debugLineNum = 47186113;BA.debugLine="Private arti3 As String = 0"; _arti3 = BA.NumberToString(0); - //BA.debugLineNum = 262;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=47186114; + //BA.debugLineNum = 47186114;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 263;BA.debugLine="For i = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=47186115; + //BA.debugLineNum = 47186115;BA.debugLine="For i = 0 To c4.RowCount -1"; { final int step155 = 1; final int limit155 = (int) (_c4.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit155 ;_i = _i + step155 ) { - //BA.debugLineNum = 264;BA.debugLine="c4.Position = i"; +RDebugUtils.currentLine=47186116; + //BA.debugLineNum = 47186116;BA.debugLine="c4.Position = i"; _c4.setPosition(_i); - //BA.debugLineNum = 265;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=47186117; + //BA.debugLineNum = 47186117;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; _arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 266;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; +RDebugUtils.currentLine=47186118; + //BA.debugLineNum = 47186118;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); } }; }; - //BA.debugLineNum = 270;BA.debugLine="If Cuenta < 0 Then"; +RDebugUtils.currentLine=47186122; + //BA.debugLineNum = 47186122;BA.debugLine="If Cuenta < 0 Then"; if ((double)(Double.parseDouble(_cuenta))<0) { - //BA.debugLineNum = 271;BA.debugLine="Cuenta = 0"; +RDebugUtils.currentLine=47186123; + //BA.debugLineNum = 47186123;BA.debugLine="Cuenta = 0"; _cuenta = BA.NumberToString(0); }; - //BA.debugLineNum = 273;BA.debugLine="If Cuenta1 < 0 Then"; +RDebugUtils.currentLine=47186125; + //BA.debugLineNum = 47186125;BA.debugLine="If Cuenta1 < 0 Then"; if ((double)(Double.parseDouble(_cuenta1))<0) { - //BA.debugLineNum = 274;BA.debugLine="Cuenta = 0"; +RDebugUtils.currentLine=47186126; + //BA.debugLineNum = 47186126;BA.debugLine="Cuenta = 0"; _cuenta = BA.NumberToString(0); }; - //BA.debugLineNum = 276;BA.debugLine="If Cuenta2 < 0 Then"; +RDebugUtils.currentLine=47186128; + //BA.debugLineNum = 47186128;BA.debugLine="If Cuenta2 < 0 Then"; if ((double)(Double.parseDouble(_cuenta2))<0) { - //BA.debugLineNum = 277;BA.debugLine="Cuenta = 0"; +RDebugUtils.currentLine=47186129; + //BA.debugLineNum = 47186129;BA.debugLine="Cuenta = 0"; _cuenta = BA.NumberToString(0); }; - //BA.debugLineNum = 279;BA.debugLine="If Cuenta3 < 0 Then"; +RDebugUtils.currentLine=47186131; + //BA.debugLineNum = 47186131;BA.debugLine="If Cuenta3 < 0 Then"; if ((double)(Double.parseDouble(_cuenta3))<0) { - //BA.debugLineNum = 280;BA.debugLine="Cuenta = 0"; +RDebugUtils.currentLine=47186132; + //BA.debugLineNum = 47186132;BA.debugLine="Cuenta = 0"; _cuenta = BA.NumberToString(0); }; - //BA.debugLineNum = 283;BA.debugLine="If arti < 0 Then"; +RDebugUtils.currentLine=47186135; + //BA.debugLineNum = 47186135;BA.debugLine="If arti < 0 Then"; if ((double)(Double.parseDouble(_arti))<0) { - //BA.debugLineNum = 284;BA.debugLine="arti = 0"; +RDebugUtils.currentLine=47186136; + //BA.debugLineNum = 47186136;BA.debugLine="arti = 0"; _arti = BA.NumberToString(0); }; - //BA.debugLineNum = 286;BA.debugLine="If arti1 < 0 Then"; +RDebugUtils.currentLine=47186138; + //BA.debugLineNum = 47186138;BA.debugLine="If arti1 < 0 Then"; if ((double)(Double.parseDouble(_arti1))<0) { - //BA.debugLineNum = 287;BA.debugLine="arti = 0"; +RDebugUtils.currentLine=47186139; + //BA.debugLineNum = 47186139;BA.debugLine="arti = 0"; _arti = BA.NumberToString(0); }; - //BA.debugLineNum = 289;BA.debugLine="If arti2 < 0 Then"; +RDebugUtils.currentLine=47186141; + //BA.debugLineNum = 47186141;BA.debugLine="If arti2 < 0 Then"; if ((double)(Double.parseDouble(_arti2))<0) { - //BA.debugLineNum = 290;BA.debugLine="arti = 0"; +RDebugUtils.currentLine=47186142; + //BA.debugLineNum = 47186142;BA.debugLine="arti = 0"; _arti = BA.NumberToString(0); }; - //BA.debugLineNum = 292;BA.debugLine="If arti3 < 0 Then"; +RDebugUtils.currentLine=47186144; + //BA.debugLineNum = 47186144;BA.debugLine="If arti3 < 0 Then"; if ((double)(Double.parseDouble(_arti3))<0) { - //BA.debugLineNum = 293;BA.debugLine="arti = 0"; +RDebugUtils.currentLine=47186145; + //BA.debugLineNum = 47186145;BA.debugLine="arti = 0"; _arti = BA.NumberToString(0); }; - //BA.debugLineNum = 296;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)"; -__c.LogImpl("811796708",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0); - //BA.debugLineNum = 297;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)"; -__c.LogImpl("811796709",_arti+","+_arti1+","+_arti2+","+_arti3,0); - //BA.debugLineNum = 298;BA.debugLine="If Cuenta + Cuenta1 + Cuenta2 + Cuenta3 < 0 Then"; +RDebugUtils.currentLine=47186148; + //BA.debugLineNum = 47186148;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)"; +__c.LogImpl("247186148",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0); +RDebugUtils.currentLine=47186149; + //BA.debugLineNum = 47186149;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)"; +__c.LogImpl("247186149",_arti+","+_arti1+","+_arti2+","+_arti3,0); +RDebugUtils.currentLine=47186150; + //BA.debugLineNum = 47186150;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"; -_l_total.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=47186151; + //BA.debugLineNum = 47186151;BA.debugLine="L_TOTAL.Text = 0"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 301;BA.debugLine="L_TOTAL.Text = NumberFormat2((Cuenta + Cuenta1 +"; -_l_total.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True))); +RDebugUtils.currentLine=47186153; + //BA.debugLineNum = 47186153;BA.debugLine="L_TOTAL.Text = NumberFormat2((Cuenta + Cuenta1 +"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True))); }; - //BA.debugLineNum = 303;BA.debugLine="If arti + arti1 +arti2 + arti3 < 0 Then"; +RDebugUtils.currentLine=47186155; + //BA.debugLineNum = 47186155;BA.debugLine="If arti + arti1 +arti2 + arti3 < 0 Then"; if ((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))<0) { - //BA.debugLineNum = 304;BA.debugLine="L_CANT.Text = 0"; -_l_cant.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=47186156; + //BA.debugLineNum = 47186156;BA.debugLine="L_CANT.Text = 0"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 306;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; -_l_cant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); +RDebugUtils.currentLine=47186158; + //BA.debugLineNum = 47186158;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); }; - //BA.debugLineNum = 310;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47186162; + //BA.debugLineNum = 47186162;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _b_prodmasc_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_prodmasc_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmasc_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _maxprods = ""; +RDebugUtils.currentLine=48103424; + //BA.debugLineNum = 48103424;BA.debugLine="Private Sub b_prodMasC_Click"; +RDebugUtils.currentLine=48103425; + //BA.debugLineNum = 48103425;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=48103427; + //BA.debugLineNum = 48103427;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("248103427","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=48103428; + //BA.debugLineNum = 48103428;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=48103429; + //BA.debugLineNum = 48103429;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=48103430; + //BA.debugLineNum = 48103430;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=48103431; + //BA.debugLineNum = 48103431;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=48103435; + //BA.debugLineNum = 48103435;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); +RDebugUtils.currentLine=48103436; + //BA.debugLineNum = 48103436;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; +__c.LogImpl("248103436","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=48103437; + //BA.debugLineNum = 48103437;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=48103439; + //BA.debugLineNum = 48103439;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; +_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))))); +RDebugUtils.currentLine=48103440; + //BA.debugLineNum = 48103440;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; +__c.LogImpl("248103440",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); +RDebugUtils.currentLine=48103441; + //BA.debugLineNum = 48103441;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; +__c.LogImpl("248103441",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); +RDebugUtils.currentLine=48103442; + //BA.debugLineNum = 48103442;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("248103442",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=48103444; + //BA.debugLineNum = 48103444;BA.debugLine="Log(maxProds)"; +__c.LogImpl("248103444",_maxprods,0); +RDebugUtils.currentLine=48103447; + //BA.debugLineNum = 48103447;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; +if ((_estetag.Get((int) (7))).equals((Object)("1")) == false) { +RDebugUtils.currentLine=48103450; + //BA.debugLineNum = 48103450;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { +RDebugUtils.currentLine=48103451; + //BA.debugLineNum = 48103451;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; +__c.LogImpl("248103451",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); +RDebugUtils.currentLine=48103452; + //BA.debugLineNum = 48103452;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; +_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""))); +RDebugUtils.currentLine=48103454; + //BA.debugLineNum = 48103454;BA.debugLine="Log(laCantc.Text)"; +__c.LogImpl("248103454",_lacantc.getText(),0); +RDebugUtils.currentLine=48103455; + //BA.debugLineNum = 48103455;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+") WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=48103463; + //BA.debugLineNum = 48103463;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; +RDebugUtils.currentLine=48103466; + //BA.debugLineNum = 48103466;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenos_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_prodmenos_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _minimoadesc = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +float _preciou = 0f; +RDebugUtils.currentLine=47710208; + //BA.debugLineNum = 47710208;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=47710209; + //BA.debugLineNum = 47710209;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=47710210; + //BA.debugLineNum = 47710210;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("247710210","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=47710211; + //BA.debugLineNum = 47710211;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("247710211","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=47710212; + //BA.debugLineNum = 47710212;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=47710213; + //BA.debugLineNum = 47710213;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=47710214; + //BA.debugLineNum = 47710214;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=47710215; + //BA.debugLineNum = 47710215;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=47710217; + //BA.debugLineNum = 47710217;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=47710218; + //BA.debugLineNum = 47710218;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +__c.LogImpl("247710218","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=47710219; + //BA.debugLineNum = 47710219;BA.debugLine="Private minimoadesc As String"; +_minimoadesc = ""; +RDebugUtils.currentLine=47710220; + //BA.debugLineNum = 47710220;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=47710221; + //BA.debugLineNum = 47710221;BA.debugLine="If minimos.RowCount > 0 Then"; +if (_minimos.getRowCount()>0) { +RDebugUtils.currentLine=47710222; + //BA.debugLineNum = 47710222;BA.debugLine="minimos.Position = 0"; +_minimos.setPosition((int) (0)); +RDebugUtils.currentLine=47710223; + //BA.debugLineNum = 47710223;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); + }else { +RDebugUtils.currentLine=47710225; + //BA.debugLineNum = 47710225;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; + }; +RDebugUtils.currentLine=47710227; + //BA.debugLineNum = 47710227;BA.debugLine="minimos.Close"; +_minimos.Close(); +RDebugUtils.currentLine=47710229; + //BA.debugLineNum = 47710229;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; +RDebugUtils.currentLine=47710230; + //BA.debugLineNum = 47710230;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; +if ((_estetag.Get((int) (7))).equals((Object)("1"))) { +RDebugUtils.currentLine=47710231; + //BA.debugLineNum = 47710231;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=47710232; + //BA.debugLineNum = 47710232;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); +RDebugUtils.currentLine=47710233; + //BA.debugLineNum = 47710233;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=47710234; + //BA.debugLineNum = 47710234;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=47710235; + //BA.debugLineNum = 47710235;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=47710236; + //BA.debugLineNum = 47710236;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=47710237; + //BA.debugLineNum = 47710237;BA.debugLine="If c3.GetString(\"PE_CANT\") > minimoadesc Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>(double)(Double.parseDouble(_minimoadesc))) { +RDebugUtils.currentLine=47710238; + //BA.debugLineNum = 47710238;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=47710239; + //BA.debugLineNum = 47710239;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=47710240; + //BA.debugLineNum = 47710240;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=47710242; + //BA.debugLineNum = 47710242;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) and CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }else +{RDebugUtils.currentLine=47710244; + //BA.debugLineNum = 47710244;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = minimoadesc T"; +if ((_c3.GetString("PE_CANT")).equals(_minimoadesc)) { +RDebugUtils.currentLine=47710245; + //BA.debugLineNum = 47710245;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=47710246; + //BA.debugLineNum = 47710246;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=47710247; + //BA.debugLineNum = 47710247;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=47710250; + //BA.debugLineNum = 47710250;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }} +; + }; +RDebugUtils.currentLine=47710257; + //BA.debugLineNum = 47710257;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else { +RDebugUtils.currentLine=47710260; + //BA.debugLineNum = 47710260;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { +RDebugUtils.currentLine=47710261; + //BA.debugLineNum = 47710261;BA.debugLine="If laCant.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant.getText()))>0) { +RDebugUtils.currentLine=47710262; + //BA.debugLineNum = 47710262;BA.debugLine="If esteTag.Get(3) <> Subs.traeAlmacen Then 'Si"; +if ((_estetag.Get((int) (3))).equals((Object)(_subs._traealmacen /*String*/ (ba))) == false) { +RDebugUtils.currentLine=47710263; + //BA.debugLineNum = 47710263;BA.debugLine="Private c2 As Cursor =Starter.skmt.ExecQuery("; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' AND HVD_CLIENTE IN (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")))); +RDebugUtils.currentLine=47710264; + //BA.debugLineNum = 47710264;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=47710265; + //BA.debugLineNum = 47710265;BA.debugLine="If c2.GetString(\"HVD_RECHAZO\") = \"0\" Then"; +if ((_c2.GetString("HVD_RECHAZO")).equals("0")) { +RDebugUtils.currentLine=47710268; + //BA.debugLineNum = 47710268;BA.debugLine="Log(\"ES PROMO\")"; +__c.LogImpl("247710268","ES PROMO",0); +RDebugUtils.currentLine=47710269; + //BA.debugLineNum = 47710269;BA.debugLine="Log(esteTag.Get(3))"; +__c.LogImpl("247710269",BA.ObjectToString(_estetag.Get((int) (3))),0); +RDebugUtils.currentLine=47710270; + //BA.debugLineNum = 47710270;BA.debugLine="result = Msgbox2(\"Si se modifica una promoc"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=47710271; + //BA.debugLineNum = 47710271;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Qu"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=47710272; + //BA.debugLineNum = 47710272;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove(_estetag.Get((int) (3))); +RDebugUtils.currentLine=47710276; + //BA.debugLineNum = 47710276;BA.debugLine="LogColor(esteTag.Get(3),Colors.Blue)"; +__c.LogImpl("247710276",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue); +RDebugUtils.currentLine=47710279; + //BA.debugLineNum = 47710279;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=47710280; + //BA.debugLineNum = 47710280;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=47710283; + //BA.debugLineNum = 47710283;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=47710284; + //BA.debugLineNum = 47710284;BA.debugLine="LogColor(prodsMap, Colors.red)"; +__c.LogImpl("247710284",BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Red); +RDebugUtils.currentLine=47710285; + //BA.debugLineNum = 47710285;BA.debugLine="reconstruirPedido = True"; +__ref._reconstruirpedido /*boolean*/ = __c.True; +RDebugUtils.currentLine=47710286; + //BA.debugLineNum = 47710286;BA.debugLine="promoABorrar = esteTag.Get(3)"; +__ref._promoaborrar /*String*/ = BA.ObjectToString(_estetag.Get((int) (3))); +RDebugUtils.currentLine=47710287; + //BA.debugLineNum = 47710287;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=47710290; + //BA.debugLineNum = 47710290;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=47710291; + //BA.debugLineNum = 47710291;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); +RDebugUtils.currentLine=47710292; + //BA.debugLineNum = 47710292;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=47710293; + //BA.debugLineNum = 47710293;BA.debugLine="Log(\"NO ES promo\")"; +__c.LogImpl("247710293","NO ES promo",0); +RDebugUtils.currentLine=47710294; + //BA.debugLineNum = 47710294;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=47710295; + //BA.debugLineNum = 47710295;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunap"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); +RDebugUtils.currentLine=47710296; + //BA.debugLineNum = 47710296;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=47710299; + //BA.debugLineNum = 47710299;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=47710300; + //BA.debugLineNum = 47710300;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); +RDebugUtils.currentLine=47710301; + //BA.debugLineNum = 47710301;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=47710302; + //BA.debugLineNum = 47710302;BA.debugLine="Log(\"NO ES promo\")"; +__c.LogImpl("247710302","NO ES promo",0); +RDebugUtils.currentLine=47710303; + //BA.debugLineNum = 47710303;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), BCAJAS = 0, CANTC = 0 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=47710304; + //BA.debugLineNum = 47710304;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); +RDebugUtils.currentLine=47710305; + //BA.debugLineNum = 47710305;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; + }else { +RDebugUtils.currentLine=47710310; + //BA.debugLineNum = 47710310;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=47710311; + //BA.debugLineNum = 47710311;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); +RDebugUtils.currentLine=47710312; + //BA.debugLineNum = 47710312;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=47710313; + //BA.debugLineNum = 47710313;BA.debugLine="Log(\"NO ES promo\")"; +__c.LogImpl("247710313","NO ES promo",0); +RDebugUtils.currentLine=47710318; + //BA.debugLineNum = 47710318;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2("; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=47710319; + //BA.debugLineNum = 47710319;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=47710320; + //BA.debugLineNum = 47710320;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=47710321; + //BA.debugLineNum = 47710321;BA.debugLine="If c3.GetString(\"PE_CANT\") > 1 Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>1) { +RDebugUtils.currentLine=47710322; + //BA.debugLineNum = 47710322;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=47710323; + //BA.debugLineNum = 47710323;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=47710324; + //BA.debugLineNum = 47710324;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=47710325; + //BA.debugLineNum = 47710325;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }else +{RDebugUtils.currentLine=47710327; + //BA.debugLineNum = 47710327;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = 1 Then"; +if ((_c3.GetString("PE_CANT")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=47710328; + //BA.debugLineNum = 47710328;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=47710329; + //BA.debugLineNum = 47710329;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=47710330; + //BA.debugLineNum = 47710330;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=47710331; + //BA.debugLineNum = 47710331;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }} +; + }; +RDebugUtils.currentLine=47710335; + //BA.debugLineNum = 47710335;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; +RDebugUtils.currentLine=47710338; + //BA.debugLineNum = 47710338;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=47710339; + //BA.debugLineNum = 47710339;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("247710339","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=47710350; + //BA.debugLineNum = 47710350;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenosc_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_prodmenosc_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenosc_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +float _preciou = 0f; +RDebugUtils.currentLine=48168960; + //BA.debugLineNum = 48168960;BA.debugLine="Private Sub b_prodMenosC_Click"; +RDebugUtils.currentLine=48168961; + //BA.debugLineNum = 48168961;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=48168962; + //BA.debugLineNum = 48168962;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("248168962","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=48168963; + //BA.debugLineNum = 48168963;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("248168963","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=48168964; + //BA.debugLineNum = 48168964;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=48168965; + //BA.debugLineNum = 48168965;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=48168966; + //BA.debugLineNum = 48168966;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=48168967; + //BA.debugLineNum = 48168967;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=48168969; + //BA.debugLineNum = 48168969;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); +RDebugUtils.currentLine=48168970; + //BA.debugLineNum = 48168970;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; +__c.LogImpl("248168970","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=48168971; + //BA.debugLineNum = 48168971;BA.debugLine="Log(esteTag)"; +__c.LogImpl("248168971",BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=48168973; + //BA.debugLineNum = 48168973;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; +if ((_estetag.Get((int) (7))).equals((Object)("1"))) { +RDebugUtils.currentLine=48168974; + //BA.debugLineNum = 48168974;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS, CONSECUTIVO FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=48168975; + //BA.debugLineNum = 48168975;BA.debugLine="Log(c3.RowCount)"; +__c.LogImpl("248168975",BA.NumberToString(_c3.getRowCount()),0); +RDebugUtils.currentLine=48168976; + //BA.debugLineNum = 48168976;BA.debugLine="Log(esteTag.Get(8))"; +__c.LogImpl("248168976",BA.ObjectToString(_estetag.Get((int) (8))),0); +RDebugUtils.currentLine=48168977; + //BA.debugLineNum = 48168977;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=48168978; + //BA.debugLineNum = 48168978;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; +__c.LogImpl("248168978","AQUI VEMOS SI ACTUALIZAMOS",0); +RDebugUtils.currentLine=48168979; + //BA.debugLineNum = 48168979;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=48168980; + //BA.debugLineNum = 48168980;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { +RDebugUtils.currentLine=48168981; + //BA.debugLineNum = 48168981;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c3.GetString("CONSECUTIVO")))+"'")); + }else +{RDebugUtils.currentLine=48168982; + //BA.debugLineNum = 48168982;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +if ((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=48168983; + //BA.debugLineNum = 48168983;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c3.GetString("CONSECUTIVO")))+"'")); + }} +; + }; +RDebugUtils.currentLine=48168986; + //BA.debugLineNum = 48168986;BA.debugLine="Log(\"entre al if o algo asi \")"; +__c.LogImpl("248168986","entre al if o algo asi ",0); +RDebugUtils.currentLine=48168987; + //BA.debugLineNum = 48168987;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=48168988; + //BA.debugLineNum = 48168988;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); +RDebugUtils.currentLine=48168989; + //BA.debugLineNum = 48168989;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +if ((double)(Double.parseDouble(_lacantc.getText()))<0) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=48168990; + //BA.debugLineNum = 48168990;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else { +RDebugUtils.currentLine=48168995; + //BA.debugLineNum = 48168995;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { +RDebugUtils.currentLine=48168997; + //BA.debugLineNum = 48168997;BA.debugLine="If laCantc.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))>0) { +RDebugUtils.currentLine=48168998; + //BA.debugLineNum = 48168998;BA.debugLine="Log(\"entre al if o algo asi \")"; +__c.LogImpl("248168998","entre al if o algo asi ",0); +RDebugUtils.currentLine=48168999; + //BA.debugLineNum = 48168999;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=48169000; + //BA.debugLineNum = 48169000;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); +RDebugUtils.currentLine=48169001; + //BA.debugLineNum = 48169001;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +if ((double)(Double.parseDouble(_lacantc.getText()))<0) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=48169002; + //BA.debugLineNum = 48169002;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = (IFNULL(HVD_RECHAZOCANT,0) +(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+")) WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=48169003; + //BA.debugLineNum = 48169003;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = (cat_gp_almacen + (1 * ?)) where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2)),(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))))})); +RDebugUtils.currentLine=48169004; + //BA.debugLineNum = 48169004;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else +{RDebugUtils.currentLine=48169005; + //BA.debugLineNum = 48169005;BA.debugLine="Else If laCantc.Text = 0 Then"; +if ((_lacantc.getText()).equals(BA.NumberToString(0))) { + }} +; + }else { +RDebugUtils.currentLine=48169011; + //BA.debugLineNum = 48169011;BA.debugLine="If laCantc.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))>0) { +RDebugUtils.currentLine=48169014; + //BA.debugLineNum = 48169014;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2"; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=48169015; + //BA.debugLineNum = 48169015;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=48169016; + //BA.debugLineNum = 48169016;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; +__c.LogImpl("248169016","AQUI VEMOS SI ACTUALIZAMOS",0); +RDebugUtils.currentLine=48169017; + //BA.debugLineNum = 48169017;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=48169018; + //BA.debugLineNum = 48169018;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { +RDebugUtils.currentLine=48169019; + //BA.debugLineNum = 48169019;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }else +{RDebugUtils.currentLine=48169020; + //BA.debugLineNum = 48169020;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +if ((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=48169021; + //BA.debugLineNum = 48169021;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }} +; + }; +RDebugUtils.currentLine=48169024; + //BA.debugLineNum = 48169024;BA.debugLine="Log(\"entre al if o algo asi \")"; +__c.LogImpl("248169024","entre al if o algo asi ",0); +RDebugUtils.currentLine=48169025; + //BA.debugLineNum = 48169025;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=48169026; + //BA.debugLineNum = 48169026;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); +RDebugUtils.currentLine=48169027; + //BA.debugLineNum = 48169027;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +if ((double)(Double.parseDouble(_lacantc.getText()))<0) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=48169028; + //BA.debugLineNum = 48169028;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else +{RDebugUtils.currentLine=48169030; + //BA.debugLineNum = 48169030;BA.debugLine="Else If laCantc.Text = 0 Then"; +if ((_lacantc.getText()).equals(BA.NumberToString(0))) { + }} +; + }; + }; +RDebugUtils.currentLine=48169036; + //BA.debugLineNum = 48169036;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=48169037; + //BA.debugLineNum = 48169037;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("248169037","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=48169038; + //BA.debugLineNum = 48169038;BA.debugLine="End Sub"; +return ""; +} +public String _b_regresar_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_regresar_click", false)) + {return ((String) Debug.delegate(ba, "b_regresar_click", null));} +RDebugUtils.currentLine=47316992; + //BA.debugLineNum = 47316992;BA.debugLine="Sub b_regresar_Click"; +RDebugUtils.currentLine=47316993; + //BA.debugLineNum = 47316993;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=47316994; + //BA.debugLineNum = 47316994;BA.debugLine="End Sub"; +return ""; +} +public String _b_revversar_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_revversar_click", false)) + {return ((String) Debug.delegate(ba, "b_revversar_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +RDebugUtils.currentLine=48300032; + //BA.debugLineNum = 48300032;BA.debugLine="Private Sub b_revversar_Click"; +RDebugUtils.currentLine=48300033; + //BA.debugLineNum = 48300033;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery(\"SE"; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=48300034; + //BA.debugLineNum = 48300034;BA.debugLine="If c3.RowCount = 0 Then"; +if (_c3.getRowCount()==0) { +RDebugUtils.currentLine=48300035; + //BA.debugLineNum = 48300035;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=48300036; + //BA.debugLineNum = 48300036;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else { +RDebugUtils.currentLine=48300038; + //BA.debugLineNum = 48300038;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendieron,"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta"),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=48300042; + //BA.debugLineNum = 48300042;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_intmex.keymon.lat.c_detalleventa __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,String _clienterecha,String _bandera,int _consecutivo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original,_clienterecha,_bandera,_consecutivo}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=47579136; + //BA.debugLineNum = 47579136;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=47579137; + //BA.debugLineNum = 47579137;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=47579138; + //BA.debugLineNum = 47579138;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=47579139; + //BA.debugLineNum = 47579139;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=47579140; + //BA.debugLineNum = 47579140;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=47579141; + //BA.debugLineNum = 47579141;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=47579142; + //BA.debugLineNum = 47579142;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=47579143; + //BA.debugLineNum = 47579143;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=47579144; + //BA.debugLineNum = 47579144;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=47579145; + //BA.debugLineNum = 47579145;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=47579146; + //BA.debugLineNum = 47579146;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=47579147; + //BA.debugLineNum = 47579147;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=47579149; + //BA.debugLineNum = 47579149;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=47579152; + //BA.debugLineNum = 47579152;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=47579153; + //BA.debugLineNum = 47579153;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=47579154; + //BA.debugLineNum = 47579154;BA.debugLine="p_prods.Tag = l_pCant.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=47579156; + //BA.debugLineNum = 47579156;BA.debugLine="l_pCant.Text = inv"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_inv)); +RDebugUtils.currentLine=47579160; + //BA.debugLineNum = 47579160;BA.debugLine="l_pCant.BringToFront"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=47579161; + //BA.debugLineNum = 47579161;BA.debugLine="et_pCant.SendToBack"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=47579162; + //BA.debugLineNum = 47579162;BA.debugLine="p_botMasMenC.Visible = False"; +__ref._p_botmasmenc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=47579163; + //BA.debugLineNum = 47579163;BA.debugLine="l_cajas.Visible = False"; +__ref._l_cajas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=47579165; + //BA.debugLineNum = 47579165;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=47579166; + //BA.debugLineNum = 47579166;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(reparto_intmex.keymon.lat.c_detalleventa __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,String _clienterecha,String _bandera,int _consecutivo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original,_clienterecha,_bandera,_consecutivo}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=47644672; + //BA.debugLineNum = 47644672;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +RDebugUtils.currentLine=47644673; + //BA.debugLineNum = 47644673;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=47644674; + //BA.debugLineNum = 47644674;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=47644675; + //BA.debugLineNum = 47644675;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=47644676; + //BA.debugLineNum = 47644676;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=47644677; + //BA.debugLineNum = 47644677;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=47644678; + //BA.debugLineNum = 47644678;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=47644679; + //BA.debugLineNum = 47644679;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=47644680; + //BA.debugLineNum = 47644680;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=47644681; + //BA.debugLineNum = 47644681;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=47644683; + //BA.debugLineNum = 47644683;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=47644684; + //BA.debugLineNum = 47644684;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=47644686; + //BA.debugLineNum = 47644686;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=47644688; + //BA.debugLineNum = 47644688;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=47644689; + //BA.debugLineNum = 47644689;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=47644690; + //BA.debugLineNum = 47644690;BA.debugLine="p_prods.Tag = l_pCantC.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=47644692; + //BA.debugLineNum = 47644692;BA.debugLine="l_pCantC.Text = NumberFormat2(inv/Subs.traeConver"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_inv/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_prodid))),(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=47644696; + //BA.debugLineNum = 47644696;BA.debugLine="l_pCantC.BringToFront"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=47644697; + //BA.debugLineNum = 47644697;BA.debugLine="et_pCantC.SendToBack"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=47644698; + //BA.debugLineNum = 47644698;BA.debugLine="p_botMasMen.Visible = False"; +__ref._p_botmasmen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=47644699; + //BA.debugLineNum = 47644699;BA.debugLine="l_piezas.Visible = False"; +__ref._l_piezas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=47644701; + //BA.debugLineNum = 47644701;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=47644702; + //BA.debugLineNum = 47644702;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_detalleventa parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_detalleventa parent,reparto_intmex.keymon.lat.c_detalleventa __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_detalleventa __ref; reparto_intmex.keymon.lat.c_detalleventa parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_detalleventa"; while (true) { switch (state) { @@ -1105,282 +1725,270 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 324;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=47382531; + //BA.debugLineNum = 47382531;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 326;BA.debugLine="Return False"; +RDebugUtils.currentLine=47382533; + //BA.debugLineNum = 47382533;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 327;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47382534; + //BA.debugLineNum = 47382534;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 57;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 58;BA.debugLine="B4XPages.SetTitle(Me, \"Detalle de venta\")"; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_detalleventa __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=47120384; + //BA.debugLineNum = 47120384;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=47120385; + //BA.debugLineNum = 47120385;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=47120386; + //BA.debugLineNum = 47120386;BA.debugLine="B4XPages.SetTitle(Me, \"Detalle de venta\")"; _b4xpages._settitle /*String*/ (ba,this,(Object)("Detalle de venta")); - //BA.debugLineNum = 60;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 61;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; -_root.LoadLayout("detalleVenta",ba); - //BA.debugLineNum = 62;BA.debugLine="b_borra.Visible = False"; -_b_borra.setVisible(__c.False); - //BA.debugLineNum = 63;BA.debugLine="Titulo.Text = \"Pedido\""; -_titulo.setText(BA.ObjectToCharSequence("Pedido")); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47120388; + //BA.debugLineNum = 47120388;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=47120389; + //BA.debugLineNum = 47120389;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("detalleVenta",ba); +RDebugUtils.currentLine=47120390; + //BA.debugLineNum = 47120390;BA.debugLine="b_borra.Visible = False"; +__ref._b_borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=47120391; + //BA.debugLineNum = 47120391;BA.debugLine="Titulo.Text = \"Pedido\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Pedido")); +RDebugUtils.currentLine=47120392; + //BA.debugLineNum = 47120392;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +RDebugUtils.currentLine=46989312; + //BA.debugLineNum = 46989312;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=46989313; + //BA.debugLineNum = 46989313;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=46989314; + //BA.debugLineNum = 46989314;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=46989315; + //BA.debugLineNum = 46989315;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=46989316; + //BA.debugLineNum = 46989316;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=46989317; + //BA.debugLineNum = 46989317;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=46989318; + //BA.debugLineNum = 46989318;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=46989319; + //BA.debugLineNum = 46989319;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim b_regresar As Button"; +RDebugUtils.currentLine=46989321; + //BA.debugLineNum = 46989321;BA.debugLine="Dim b_regresar As Button"; _b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=46989322; + //BA.debugLineNum = 46989322;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim L_CANT As Label"; +RDebugUtils.currentLine=46989323; + //BA.debugLineNum = 46989323;BA.debugLine="Dim L_CANT As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim L_TOTAL As Label"; +RDebugUtils.currentLine=46989324; + //BA.debugLineNum = 46989324;BA.debugLine="Dim L_TOTAL As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim b_borra As Button"; +RDebugUtils.currentLine=46989325; + //BA.debugLineNum = 46989325;BA.debugLine="Dim b_borra As Button"; _b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; +RDebugUtils.currentLine=46989326; + //BA.debugLineNum = 46989326;BA.debugLine="Dim Existe As String"; _existe = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; +RDebugUtils.currentLine=46989327; + //BA.debugLineNum = 46989327;BA.debugLine="Dim result As String"; _result = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; +RDebugUtils.currentLine=46989329; + //BA.debugLineNum = 46989329;BA.debugLine="Dim cuantos As String"; _cuantos = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; +RDebugUtils.currentLine=46989330; + //BA.debugLineNum = 46989330;BA.debugLine="Dim nombre_prod As String"; _nombre_prod = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; +RDebugUtils.currentLine=46989331; + //BA.debugLineNum = 46989331;BA.debugLine="Dim cuantos_pedido As String"; _cuantos_pedido = ""; - //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; +RDebugUtils.currentLine=46989332; + //BA.debugLineNum = 46989332;BA.debugLine="Private Titulo As Label"; _titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; +RDebugUtils.currentLine=46989333; + //BA.debugLineNum = 46989333;BA.debugLine="Private P1 As Panel"; _p1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; +RDebugUtils.currentLine=46989334; + //BA.debugLineNum = 46989334;BA.debugLine="Private lv2 As ListView"; _lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=46989335; + //BA.debugLineNum = 46989335;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; +RDebugUtils.currentLine=46989336; + //BA.debugLineNum = 46989336;BA.debugLine="Dim clv_pedido As CustomListView"; _clv_pedido = new b4a.example3.customlistview(); - //BA.debugLineNum = 26;BA.debugLine="Private p_prods As Panel"; +RDebugUtils.currentLine=46989337; + //BA.debugLineNum = 46989337;BA.debugLine="Private p_prods As Panel"; _p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private l_prodX As Label"; +RDebugUtils.currentLine=46989338; + //BA.debugLineNum = 46989338;BA.debugLine="Private l_prodX As Label"; _l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private l_pCant As Label"; +RDebugUtils.currentLine=46989339; + //BA.debugLineNum = 46989339;BA.debugLine="Private l_pCant As Label"; _l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private et_pCant As EditText"; +RDebugUtils.currentLine=46989340; + //BA.debugLineNum = 46989340;BA.debugLine="Private et_pCant As EditText"; _et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim bmp As Bitmap"; +RDebugUtils.currentLine=46989341; + //BA.debugLineNum = 46989341;BA.debugLine="Dim bmp As Bitmap"; _bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +RDebugUtils.currentLine=46989342; + //BA.debugLineNum = 46989342;BA.debugLine="Dim etCantHasFocus As Boolean = False"; _etcanthasfocus = __c.False; - //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; +RDebugUtils.currentLine=46989343; + //BA.debugLineNum = 46989343;BA.debugLine="Dim totalProds As Int = 0"; _totalprods = (int) (0); - //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; +RDebugUtils.currentLine=46989344; + //BA.debugLineNum = 46989344;BA.debugLine="Dim totalCompra As Int = 0"; _totalcompra = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; +RDebugUtils.currentLine=46989345; + //BA.debugLineNum = 46989345;BA.debugLine="Dim prodsMap As Map"; _prodsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +RDebugUtils.currentLine=46989346; + //BA.debugLineNum = 46989346;BA.debugLine="Dim reconstruirPedido As Boolean = False"; _reconstruirpedido = __c.False; - //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; +RDebugUtils.currentLine=46989347; + //BA.debugLineNum = 46989347;BA.debugLine="Dim promoABorrar As String"; _promoaborrar = ""; - //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; +RDebugUtils.currentLine=46989348; + //BA.debugLineNum = 46989348;BA.debugLine="Private b_guardar As Button"; _b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_prodMas As Button"; +RDebugUtils.currentLine=46989349; + //BA.debugLineNum = 46989349;BA.debugLine="Private b_prodMas As Button"; _b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private b_prodMenos As Button"; +RDebugUtils.currentLine=46989350; + //BA.debugLineNum = 46989350;BA.debugLine="Private b_prodMenos As Button"; _b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Private b_prodMenosC As Button"; +RDebugUtils.currentLine=46989351; + //BA.debugLineNum = 46989351;BA.debugLine="Private b_prodMenosC As Button"; _b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private l_pCantC As Label"; +RDebugUtils.currentLine=46989352; + //BA.debugLineNum = 46989352;BA.debugLine="Private l_pCantC As Label"; _l_pcantc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Private et_pCantC As EditText"; +RDebugUtils.currentLine=46989353; + //BA.debugLineNum = 46989353;BA.debugLine="Private et_pCantC As EditText"; _et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Private b_prodMasC As Button"; +RDebugUtils.currentLine=46989354; + //BA.debugLineNum = 46989354;BA.debugLine="Private b_prodMasC As Button"; _b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Private p_botMasMenC As Panel"; +RDebugUtils.currentLine=46989355; + //BA.debugLineNum = 46989355;BA.debugLine="Private p_botMasMenC As Panel"; _p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Private p_botMasMen As Panel"; +RDebugUtils.currentLine=46989356; + //BA.debugLineNum = 46989356;BA.debugLine="Private p_botMasMen As Panel"; _p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Private l_cajas As Label"; +RDebugUtils.currentLine=46989357; + //BA.debugLineNum = 46989357;BA.debugLine="Private l_cajas As Label"; _l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Private l_piezas As Label"; +RDebugUtils.currentLine=46989358; + //BA.debugLineNum = 46989358;BA.debugLine="Private l_piezas As Label"; _l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46989359; + //BA.debugLineNum = 46989359;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,String _clienterecha,String _bandera,int _consecutivo) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 442;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 443;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 444;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 445;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 446;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 447;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 448;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 449;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 450;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 451;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 452;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 453;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_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 = 455;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 = 458;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; -_l_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 459;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; -_et_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 460;BA.debugLine="p_prods.Tag = l_pCant.tag"; -_p_prods.setTag(_l_pcant.getTag()); - //BA.debugLineNum = 462;BA.debugLine="l_pCant.Text = inv"; -_l_pcant.setText(BA.ObjectToCharSequence(_inv)); - //BA.debugLineNum = 466;BA.debugLine="l_pCant.BringToFront"; -_l_pcant.BringToFront(); - //BA.debugLineNum = 467;BA.debugLine="et_pCant.SendToBack"; -_et_pcant.SendToBack(); - //BA.debugLineNum = 468;BA.debugLine="p_botMasMenC.Visible = False"; -_p_botmasmenc.setVisible(__c.False); - //BA.debugLineNum = 469;BA.debugLine="l_cajas.Visible = False"; -_l_cajas.setVisible(__c.False); - //BA.debugLineNum = 471;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 472;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,String _clienterecha,String _bandera,int _consecutivo) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 474;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; - //BA.debugLineNum = 475;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 476;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 477;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 478;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 479;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 480;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 481;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 482;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 483;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 485;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 486;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_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 = 488;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 = 490;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; -_l_pcantc.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 491;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; -_et_pcantc.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 492;BA.debugLine="p_prods.Tag = l_pCantC.tag"; -_p_prods.setTag(_l_pcantc.getTag()); - //BA.debugLineNum = 494;BA.debugLine="l_pCantC.Text = NumberFormat2(inv/Subs.traeConver"; -_l_pcantc.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_inv/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_prodid))),(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 498;BA.debugLine="l_pCantC.BringToFront"; -_l_pcantc.BringToFront(); - //BA.debugLineNum = 499;BA.debugLine="et_pCantC.SendToBack"; -_et_pcantc.SendToBack(); - //BA.debugLineNum = 500;BA.debugLine="p_botMasMen.Visible = False"; -_p_botmasmen.setVisible(__c.False); - //BA.debugLineNum = 501;BA.debugLine="l_piezas.Visible = False"; -_l_piezas.setVisible(__c.False); - //BA.debugLineNum = 503;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 504;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods(String _accion) throws Exception{ - //BA.debugLineNum = 751;BA.debugLine="Sub cuentaProds(accion As String)"; - //BA.debugLineNum = 913;BA.debugLine="End Sub"; +public String _cuentaprods(reparto_intmex.keymon.lat.c_detalleventa __ref,String _accion) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", new Object[] {_accion}));} +RDebugUtils.currentLine=47841280; + //BA.debugLineNum = 47841280;BA.debugLine="Sub cuentaProds(accion As String)"; +RDebugUtils.currentLine=47841442; + //BA.debugLineNum = 47841442;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 312;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 315;BA.debugLine="End Sub"; +public String _gps_locationchanged(reparto_intmex.keymon.lat.c_detalleventa __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=47251456; + //BA.debugLineNum = 47251456;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=47251459; + //BA.debugLineNum = 47251459;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 51;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 52;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return null; -} -public String _l_pcant_click() throws Exception{ - //BA.debugLineNum = 920;BA.debugLine="Private Sub l_pCant_Click"; - //BA.debugLineNum = 922;BA.debugLine="End Sub"; +public String _l_pcant_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "l_pcant_click", false)) + {return ((String) Debug.delegate(ba, "l_pcant_click", null));} +RDebugUtils.currentLine=47972352; + //BA.debugLineNum = 47972352;BA.debugLine="Private Sub l_pCant_Click"; +RDebugUtils.currentLine=47972354; + //BA.debugLineNum = 47972354;BA.debugLine="End Sub"; return ""; } -public String _l_pcantc_click() throws Exception{ - //BA.debugLineNum = 1052;BA.debugLine="Private Sub l_pCantC_Click"; - //BA.debugLineNum = 1054;BA.debugLine="End Sub"; +public String _l_pcantc_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "l_pcantc_click", false)) + {return ((String) Debug.delegate(ba, "l_pcantc_click", null));} +RDebugUtils.currentLine=48234496; + //BA.debugLineNum = 48234496;BA.debugLine="Private Sub l_pCantC_Click"; +RDebugUtils.currentLine=48234498; + //BA.debugLineNum = 48234498;BA.debugLine="End Sub"; return ""; } -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 329;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 373;BA.debugLine="End Sub"; +public String _listview1_itemlongclick(reparto_intmex.keymon.lat.c_detalleventa __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=47448064; + //BA.debugLineNum = 47448064;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=47448108; + //BA.debugLineNum = 47448108;BA.debugLine="End Sub"; return ""; } -public String _lv2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 375;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; - //BA.debugLineNum = 436;BA.debugLine="End Sub"; +public String _lv2_itemclick(reparto_intmex.keymon.lat.c_detalleventa __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "lv2_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=47513600; + //BA.debugLineNum = 47513600;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +RDebugUtils.currentLine=47513661; + //BA.debugLineNum = 47513661;BA.debugLine="End Sub"; 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("812648449",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"; +public String _p_prods_click(reparto_intmex.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "p_prods_click", false)) + {return ((String) Debug.delegate(ba, "p_prods_click", null));} +RDebugUtils.currentLine=48037888; + //BA.debugLineNum = 48037888;BA.debugLine="Sub p_prods_Click"; +RDebugUtils.currentLine=48037889; + //BA.debugLineNum = 48037889;BA.debugLine="Log(Sender.As(Panel).tag)"; +__c.LogImpl("248037889",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +RDebugUtils.currentLine=48037890; + //BA.debugLineNum = 48037890;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_foto.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_foto.java index bc9d699..1ee7485 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_foto.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_foto.java @@ -10,7 +10,7 @@ public class c_foto extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_foto"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_foto"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_foto extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public boolean _frontcamera = false; @@ -39,10 +46,10 @@ public String _motivo = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -50,31 +57,66 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 43;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 45;BA.debugLine="End Sub"; +public String _activity_pause(reparto_intmex.keymon.lat.c_foto __ref,boolean _userclosed) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +RDebugUtils.currentLine=48693248; + //BA.debugLineNum = 48693248;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=48693250; + //BA.debugLineNum = 48693250;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 35;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +RDebugUtils.currentLine=48562176; + //BA.debugLineNum = 48562176;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=48562177; + //BA.debugLineNum = 48562177;BA.debugLine="InitializeCamera"; +__ref._initializecamera /*String*/ (null); +RDebugUtils.currentLine=48562178; + //BA.debugLineNum = 48562178;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _initializecamera(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "initializecamera", false)) + {return ((String) Debug.delegate(ba, "initializecamera", null));} +RDebugUtils.currentLine=48627712; + //BA.debugLineNum = 48627712;BA.debugLine="Private Sub InitializeCamera"; +RDebugUtils.currentLine=48627713; + //BA.debugLineNum = 48627713;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._initialize /*String*/ (null,ba,__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._frontcamera /*boolean*/ ,this,"Camera1"); +RDebugUtils.currentLine=48627714; + //BA.debugLineNum = 48627714;BA.debugLine="frontCamera = camEx.Front"; +__ref._frontcamera /*boolean*/ = __ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._front /*boolean*/ ; +RDebugUtils.currentLine=48627715; + //BA.debugLineNum = 48627715;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_foto parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_foto parent,reparto_intmex.keymon.lat.c_foto __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_foto __ref; reparto_intmex.keymon.lat.c_foto parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_foto"; while (true) { switch (state) { @@ -84,304 +126,447 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 157;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=49348611; + //BA.debugLineNum = 49348611;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 159;BA.debugLine="Return False"; +RDebugUtils.currentLine=49348613; + //BA.debugLineNum = 49348613;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 160;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49348614; + //BA.debugLineNum = 49348614;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 23;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 25;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 26;BA.debugLine="Root.LoadLayout(\"foto\")"; -_root.LoadLayout("foto",ba); - //BA.debugLineNum = 27;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; -_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 cuenta from cuentaa"))); - //BA.debugLineNum = 28;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 29;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 30;BA.debugLine="End Sub"; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_foto __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=48496640; + //BA.debugLineNum = 48496640;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=48496641; + //BA.debugLineNum = 48496641;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=48496643; + //BA.debugLineNum = 48496643;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=48496644; + //BA.debugLineNum = 48496644;BA.debugLine="Root.LoadLayout(\"foto\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("foto",ba); +RDebugUtils.currentLine=48496645; + //BA.debugLineNum = 48496645;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select cuenta from cuentaa"))); +RDebugUtils.currentLine=48496646; + //BA.debugLineNum = 48496646;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=48496647; + //BA.debugLineNum = 48496647;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=48496648; + //BA.debugLineNum = 48496648;BA.debugLine="End Sub"; return ""; } -public String _btneffect_click() throws Exception{ +public String _btneffect_click(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btneffect_click", false)) + {return ((String) Debug.delegate(ba, "btneffect_click", null));} anywheresoftware.b4a.objects.collections.List _effects = null; String _effect = ""; - //BA.debugLineNum = 116;BA.debugLine="Sub btnEffect_Click"; - //BA.debugLineNum = 117;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; +RDebugUtils.currentLine=49152000; + //BA.debugLineNum = 49152000;BA.debugLine="Sub btnEffect_Click"; +RDebugUtils.currentLine=49152001; + //BA.debugLineNum = 49152001;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; _effects = new anywheresoftware.b4a.objects.collections.List(); -_effects = _camex._getsupportedcoloreffects /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 118;BA.debugLine="If effects.IsInitialized = False Then"; +_effects = __ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getsupportedcoloreffects /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=49152002; + //BA.debugLineNum = 49152002;BA.debugLine="If effects.IsInitialized = False Then"; if (_effects.IsInitialized()==__c.False) { - //BA.debugLineNum = 119;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; +RDebugUtils.currentLine=49152003; + //BA.debugLineNum = 49152003;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; __c.ToastMessageShow(BA.ObjectToCharSequence("Effects not supported."),__c.False); - //BA.debugLineNum = 120;BA.debugLine="Return"; +RDebugUtils.currentLine=49152004; + //BA.debugLineNum = 49152004;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 122;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; -_effect = BA.ObjectToString(_effects.Get((int) ((_effects.IndexOf((Object)(_camex._getcoloreffect /*String*/ ()))+1)%_effects.getSize()))); - //BA.debugLineNum = 123;BA.debugLine="camEx.SetColorEffect(effect)"; -_camex._setcoloreffect /*String*/ (_effect); - //BA.debugLineNum = 124;BA.debugLine="ToastMessageShow(effect, False)"; +RDebugUtils.currentLine=49152006; + //BA.debugLineNum = 49152006;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; +_effect = BA.ObjectToString(_effects.Get((int) ((_effects.IndexOf((Object)(__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getcoloreffect /*String*/ (null)))+1)%_effects.getSize()))); +RDebugUtils.currentLine=49152007; + //BA.debugLineNum = 49152007;BA.debugLine="camEx.SetColorEffect(effect)"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._setcoloreffect /*String*/ (null,_effect); +RDebugUtils.currentLine=49152008; + //BA.debugLineNum = 49152008;BA.debugLine="ToastMessageShow(effect, False)"; __c.ToastMessageShow(BA.ObjectToCharSequence(_effect),__c.False); - //BA.debugLineNum = 125;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 126;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49152009; + //BA.debugLineNum = 49152009;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=49152010; + //BA.debugLineNum = 49152010;BA.debugLine="End Sub"; return ""; } -public String _btnflash_click() throws Exception{ +public String _btnflash_click(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btnflash_click", false)) + {return ((String) Debug.delegate(ba, "btnflash_click", null));} float[] _f = null; anywheresoftware.b4a.objects.collections.List _flashmodes = null; String _flash = ""; - //BA.debugLineNum = 128;BA.debugLine="Sub btnFlash_Click"; - //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("813828098",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"; +RDebugUtils.currentLine=49217536; + //BA.debugLineNum = 49217536;BA.debugLine="Sub btnFlash_Click"; +RDebugUtils.currentLine=49217537; + //BA.debugLineNum = 49217537;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; +_f = __ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getfocusdistances /*float[]*/ (null); +RDebugUtils.currentLine=49217538; + //BA.debugLineNum = 49217538;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; +__c.LogImpl("249217538",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); +RDebugUtils.currentLine=49217539; + //BA.debugLineNum = 49217539;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; _flashmodes = new anywheresoftware.b4a.objects.collections.List(); -_flashmodes = _camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 132;BA.debugLine="If flashModes.IsInitialized = False Then"; +_flashmodes = __ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=49217540; + //BA.debugLineNum = 49217540;BA.debugLine="If flashModes.IsInitialized = False Then"; if (_flashmodes.IsInitialized()==__c.False) { - //BA.debugLineNum = 133;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; +RDebugUtils.currentLine=49217541; + //BA.debugLineNum = 49217541;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Flash not supported."),__c.False); - //BA.debugLineNum = 134;BA.debugLine="Return"; +RDebugUtils.currentLine=49217542; + //BA.debugLineNum = 49217542;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 136;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; -_flash = BA.ObjectToString(_flashmodes.Get((int) ((_flashmodes.IndexOf((Object)(_camex._getflashmode /*String*/ ()))+1)%_flashmodes.getSize()))); - //BA.debugLineNum = 137;BA.debugLine="camEx.SetFlashMode(flash)"; -_camex._setflashmode /*String*/ (_flash); - //BA.debugLineNum = 138;BA.debugLine="ToastMessageShow(flash, False)"; +RDebugUtils.currentLine=49217544; + //BA.debugLineNum = 49217544;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; +_flash = BA.ObjectToString(_flashmodes.Get((int) ((_flashmodes.IndexOf((Object)(__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getflashmode /*String*/ (null)))+1)%_flashmodes.getSize()))); +RDebugUtils.currentLine=49217545; + //BA.debugLineNum = 49217545;BA.debugLine="camEx.SetFlashMode(flash)"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._setflashmode /*String*/ (null,_flash); +RDebugUtils.currentLine=49217546; + //BA.debugLineNum = 49217546;BA.debugLine="ToastMessageShow(flash, False)"; __c.ToastMessageShow(BA.ObjectToCharSequence(_flash),__c.False); - //BA.debugLineNum = 139;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 140;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49217547; + //BA.debugLineNum = 49217547;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=49217548; + //BA.debugLineNum = 49217548;BA.debugLine="End Sub"; return ""; } -public String _btnfocus_click() throws Exception{ - //BA.debugLineNum = 72;BA.debugLine="Sub btnFocus_Click"; - //BA.debugLineNum = 73;BA.debugLine="camEx.FocusAndTakePicture"; -_camex._focusandtakepicture /*String*/ (); - //BA.debugLineNum = 74;BA.debugLine="End Sub"; +public String _btnfocus_click(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btnfocus_click", false)) + {return ((String) Debug.delegate(ba, "btnfocus_click", null));} +RDebugUtils.currentLine=48955392; + //BA.debugLineNum = 48955392;BA.debugLine="Sub btnFocus_Click"; +RDebugUtils.currentLine=48955393; + //BA.debugLineNum = 48955393;BA.debugLine="camEx.FocusAndTakePicture"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._focusandtakepicture /*String*/ (null); +RDebugUtils.currentLine=48955394; + //BA.debugLineNum = 48955394;BA.debugLine="End Sub"; return ""; } -public String _btnpicturesize_click() throws Exception{ +public String _btnpicturesize_click(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btnpicturesize_click", false)) + {return ((String) Debug.delegate(ba, "btnpicturesize_click", null));} reparto_intmex.keymon.lat.cameraexclass._camerasize[] _picturesizes = null; reparto_intmex.keymon.lat.cameraexclass._camerasize _current = null; int _i = 0; reparto_intmex.keymon.lat.cameraexclass._camerasize _ps = null; - //BA.debugLineNum = 142;BA.debugLine="Sub btnPictureSize_Click"; - //BA.debugLineNum = 143;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; -_picturesizes = _camex._getsupportedpicturessizes /*reparto_intmex.keymon.lat.cameraexclass._camerasize[]*/ (); - //BA.debugLineNum = 144;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; -_current = _camex._getpicturesize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ (); - //BA.debugLineNum = 145;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; +RDebugUtils.currentLine=49283072; + //BA.debugLineNum = 49283072;BA.debugLine="Sub btnPictureSize_Click"; +RDebugUtils.currentLine=49283073; + //BA.debugLineNum = 49283073;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; +_picturesizes = __ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getsupportedpicturessizes /*reparto_intmex.keymon.lat.cameraexclass._camerasize[]*/ (null); +RDebugUtils.currentLine=49283074; + //BA.debugLineNum = 49283074;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; +_current = __ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getpicturesize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ (null); +RDebugUtils.currentLine=49283075; + //BA.debugLineNum = 49283075;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; { final int step3 = 1; final int limit3 = (int) (_picturesizes.length /*int*/ -1); _i = (int) (0) ; for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 146;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; +RDebugUtils.currentLine=49283076; + //BA.debugLineNum = 49283076;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; if (_picturesizes[_i].Width /*int*/ ==_current.Width /*int*/ && _picturesizes[_i].Height /*int*/ ==_current.Height /*int*/ ) { if (true) break;}; } }; - //BA.debugLineNum = 148;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; +RDebugUtils.currentLine=49283078; + //BA.debugLineNum = 49283078;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; _ps = _picturesizes[(int) ((_i+1)%_picturesizes.length /*int*/ )]; - //BA.debugLineNum = 149;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; -_camex._setpicturesize /*String*/ (_ps.Width /*int*/ ,_ps.Height /*int*/ ); - //BA.debugLineNum = 150;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; +RDebugUtils.currentLine=49283079; + //BA.debugLineNum = 49283079;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._setpicturesize /*String*/ (null,_ps.Width /*int*/ ,_ps.Height /*int*/ ); +RDebugUtils.currentLine=49283080; + //BA.debugLineNum = 49283080;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; __c.ToastMessageShow(BA.ObjectToCharSequence(BA.NumberToString(_ps.Width /*int*/ )+"x"+BA.NumberToString(_ps.Height /*int*/ )+BA.NumberToString(_i)),__c.False); - //BA.debugLineNum = 151;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 152;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49283081; + //BA.debugLineNum = 49283081;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=49283082; + //BA.debugLineNum = 49283082;BA.debugLine="End Sub"; return ""; } -public String _btntakepicture_click() throws Exception{ +public String _btntakepicture_click(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btntakepicture_click", false)) + {return ((String) Debug.delegate(ba, "btntakepicture_click", null));} reparto_intmex.keymon.lat.cameraexclass._camerasize _ps = null; - //BA.debugLineNum = 62;BA.debugLine="Sub btnTakePicture_Click"; - //BA.debugLineNum = 63;BA.debugLine="Dim ps As CameraSize"; +RDebugUtils.currentLine=48889856; + //BA.debugLineNum = 48889856;BA.debugLine="Sub btnTakePicture_Click"; +RDebugUtils.currentLine=48889857; + //BA.debugLineNum = 48889857;BA.debugLine="Dim ps As CameraSize"; _ps = new reparto_intmex.keymon.lat.cameraexclass._camerasize(); - //BA.debugLineNum = 64;BA.debugLine="ps.Width =640"; +RDebugUtils.currentLine=48889858; + //BA.debugLineNum = 48889858;BA.debugLine="ps.Width =640"; _ps.Width /*int*/ = (int) (640); - //BA.debugLineNum = 65;BA.debugLine="ps.Height =480"; +RDebugUtils.currentLine=48889859; + //BA.debugLineNum = 48889859;BA.debugLine="ps.Height =480"; _ps.Height /*int*/ = (int) (480); - //BA.debugLineNum = 66;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; -_camex._setpicturesize /*String*/ (_ps.Width /*int*/ ,_ps.Height /*int*/ ); - //BA.debugLineNum = 68;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 69;BA.debugLine="camEx.TakePicture"; -_camex._takepicture /*String*/ (); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48889860; + //BA.debugLineNum = 48889860;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._setpicturesize /*String*/ (null,_ps.Width /*int*/ ,_ps.Height /*int*/ ); +RDebugUtils.currentLine=48889862; + //BA.debugLineNum = 48889862;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=48889863; + //BA.debugLineNum = 48889863;BA.debugLine="camEx.TakePicture"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._takepicture /*String*/ (null); +RDebugUtils.currentLine=48889864; + //BA.debugLineNum = 48889864;BA.debugLine="End Sub"; return ""; } -public String _camera1_picturetaken(byte[] _data) throws Exception{ +public String _camera1_picturetaken(reparto_intmex.keymon.lat.c_foto __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "camera1_picturetaken", false)) + {return ((String) Debug.delegate(ba, "camera1_picturetaken", new Object[] {_data}));} String _filename = ""; String _dir = ""; String _sdate = ""; String _stime = ""; int _i = 0; - //BA.debugLineNum = 76;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 77;BA.debugLine="Dim filename As String = \"1.jpg\""; +RDebugUtils.currentLine=49020928; + //BA.debugLineNum = 49020928;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; +RDebugUtils.currentLine=49020929; + //BA.debugLineNum = 49020929;BA.debugLine="Dim filename As String = \"1.jpg\""; _filename = "1.jpg"; - //BA.debugLineNum = 78;BA.debugLine="Dim dir As String = File.DirInternal"; +RDebugUtils.currentLine=49020930; + //BA.debugLineNum = 49020930;BA.debugLine="Dim dir As String = File.DirInternal"; _dir = __c.File.getDirInternal(); - //BA.debugLineNum = 80;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; -_camex._savepicturetofile /*String*/ (_data,_dir,_filename); - //BA.debugLineNum = 81;BA.debugLine="camEx.StartPreview 'restart preview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 83;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=49020932; + //BA.debugLineNum = 49020932;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._savepicturetofile /*String*/ (null,_data,_dir,_filename); +RDebugUtils.currentLine=49020933; + //BA.debugLineNum = 49020933;BA.debugLine="camEx.StartPreview 'restart preview"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=49020935; + //BA.debugLineNum = 49020935;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 84;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=49020936; + //BA.debugLineNum = 49020936;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 85;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +RDebugUtils.currentLine=49020937; + //BA.debugLineNum = 49020937;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 86;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +RDebugUtils.currentLine=49020938; + //BA.debugLineNum = 49020938;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 87;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 88;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 89;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 90;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 91;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 92;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 93;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 94;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +RDebugUtils.currentLine=49020939; + //BA.debugLineNum = 49020939;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=49020940; + //BA.debugLineNum = 49020940;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=49020941; + //BA.debugLineNum = 49020941;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=49020942; + //BA.debugLineNum = 49020942;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=49020943; + //BA.debugLineNum = 49020943;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=49020944; + //BA.debugLineNum = 49020944;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=49020945; + //BA.debugLineNum = 49020945;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=49020946; + //BA.debugLineNum = 49020946;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); - //BA.debugLineNum = 95;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 96;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 97;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=49020947; + //BA.debugLineNum = 49020947;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=49020948; + //BA.debugLineNum = 49020948;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=49020949; + //BA.debugLineNum = 49020949;BA.debugLine="For i=0 To c.RowCount -1"; { final int step19 = 1; -final int limit19 = (int) (_c.getRowCount()-1); +final int limit19 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit19 ;_i = _i + step19 ) { - //BA.debugLineNum = 98;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 99;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("HVD_PRONOMBRE")})); - //BA.debugLineNum = 100;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("HVD_CANT")),(Object)(_c.GetString("HVD_PRONOMBRE"))})); +RDebugUtils.currentLine=49020950; + //BA.debugLineNum = 49020950;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=49020951; + //BA.debugLineNum = 49020951;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")})); +RDebugUtils.currentLine=49020952; + //BA.debugLineNum = 49020952;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"))})); } }; }; - //BA.debugLineNum = 104;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+_stime),(Object)(_usuario),(Object)("CERRADO"),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._noventa /*reparto_intmex.keymon.lat.c_noventa*/ ._comentario /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_data)})); - //BA.debugLineNum = 105;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +RDebugUtils.currentLine=49020956; + //BA.debugLineNum = 49020956;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cuenta /*String*/ ),(Object)(_sdate+_stime),(Object)(__ref._usuario /*String*/ ),(Object)("CERRADO"),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._noventa /*reparto_intmex.keymon.lat.c_noventa*/ ._comentario /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_data)})); +RDebugUtils.currentLine=49020957; + //BA.debugLineNum = 49020957;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+__c.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); - //BA.debugLineNum = 106;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +RDebugUtils.currentLine=49020958; + //BA.debugLineNum = 49020958;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 107;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=49020959; + //BA.debugLineNum = 49020959;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 108;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49020960; + //BA.debugLineNum = 49020960;BA.debugLine="End Sub"; return ""; } -public String _camera1_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; - //BA.debugLineNum = 52;BA.debugLine="If Success Then"; +public String _camera1_ready(reparto_intmex.keymon.lat.c_foto __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "camera1_ready", false)) + {return ((String) Debug.delegate(ba, "camera1_ready", new Object[] {_success}));} +RDebugUtils.currentLine=48824320; + //BA.debugLineNum = 48824320;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +RDebugUtils.currentLine=48824321; + //BA.debugLineNum = 48824321;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 53;BA.debugLine="camEx.SetJpegQuality(90)"; -_camex._setjpegquality /*String*/ ((int) (90)); - //BA.debugLineNum = 54;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 55;BA.debugLine="camEx.StartPreview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 56;BA.debugLine="Log(camEx.GetPreviewSize)"; -__c.LogImpl("813434885",BA.ObjectToString(_camex._getpreviewsize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ ()),0); +RDebugUtils.currentLine=48824322; + //BA.debugLineNum = 48824322;BA.debugLine="camEx.SetJpegQuality(90)"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._setjpegquality /*String*/ (null,(int) (90)); +RDebugUtils.currentLine=48824323; + //BA.debugLineNum = 48824323;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=48824324; + //BA.debugLineNum = 48824324;BA.debugLine="camEx.StartPreview"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=48824325; + //BA.debugLineNum = 48824325;BA.debugLine="Log(camEx.GetPreviewSize)"; +__c.LogImpl("248824325",BA.ObjectToString(__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._getpreviewsize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ (null)),0); }else { - //BA.debugLineNum = 58;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +RDebugUtils.currentLine=48824327; + //BA.debugLineNum = 48824327;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); }; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48824329; + //BA.debugLineNum = 48824329;BA.debugLine="End Sub"; return ""; } -public String _changecamera_click() throws Exception{ - //BA.debugLineNum = 110;BA.debugLine="Sub ChangeCamera_Click"; - //BA.debugLineNum = 111;BA.debugLine="camEx.Release"; -_camex._release /*String*/ (); - //BA.debugLineNum = 112;BA.debugLine="frontCamera = Not(frontCamera)"; -_frontcamera = __c.Not(_frontcamera); - //BA.debugLineNum = 113;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 114;BA.debugLine="End Sub"; +public String _changecamera_click(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "changecamera_click", false)) + {return ((String) Debug.delegate(ba, "changecamera_click", null));} +RDebugUtils.currentLine=49086464; + //BA.debugLineNum = 49086464;BA.debugLine="Sub ChangeCamera_Click"; +RDebugUtils.currentLine=49086465; + //BA.debugLineNum = 49086465;BA.debugLine="camEx.Release"; +__ref._camex /*reparto_intmex.keymon.lat.cameraexclass*/ ._release /*String*/ (null); +RDebugUtils.currentLine=49086466; + //BA.debugLineNum = 49086466;BA.debugLine="frontCamera = Not(frontCamera)"; +__ref._frontcamera /*boolean*/ = __c.Not(__ref._frontcamera /*boolean*/ ); +RDebugUtils.currentLine=49086467; + //BA.debugLineNum = 49086467;BA.debugLine="InitializeCamera"; +__ref._initializecamera /*String*/ (null); +RDebugUtils.currentLine=49086468; + //BA.debugLineNum = 49086468;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +RDebugUtils.currentLine=48365568; + //BA.debugLineNum = 48365568;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=48365569; + //BA.debugLineNum = 48365569;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=48365570; + //BA.debugLineNum = 48365570;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private frontCamera As Boolean = False"; +RDebugUtils.currentLine=48365571; + //BA.debugLineNum = 48365571;BA.debugLine="Private frontCamera As Boolean = False"; _frontcamera = __c.False; - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=48365572; + //BA.debugLineNum = 48365572;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Private p_camara As Panel"; +RDebugUtils.currentLine=48365573; + //BA.debugLineNum = 48365573;BA.debugLine="Private p_camara As Panel"; _p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private camEx As CameraExClass"; +RDebugUtils.currentLine=48365574; + //BA.debugLineNum = 48365574;BA.debugLine="Private camEx As CameraExClass"; _camex = new reparto_intmex.keymon.lat.cameraexclass(); - //BA.debugLineNum = 8;BA.debugLine="Dim btnTakePicture As Button"; +RDebugUtils.currentLine=48365575; + //BA.debugLineNum = 48365575;BA.debugLine="Dim btnTakePicture As Button"; _btntakepicture = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=48365576; + //BA.debugLineNum = 48365576;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim cuenta As String"; +RDebugUtils.currentLine=48365577; + //BA.debugLineNum = 48365577;BA.debugLine="Dim cuenta As String"; _cuenta = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim lat_gps As String"; +RDebugUtils.currentLine=48365578; + //BA.debugLineNum = 48365578;BA.debugLine="Dim lat_gps As String"; _lat_gps = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim USUARIO As String"; +RDebugUtils.currentLine=48365579; + //BA.debugLineNum = 48365579;BA.debugLine="Dim USUARIO As String"; _usuario = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim MOTIVO As String"; +RDebugUtils.currentLine=48365580; + //BA.debugLineNum = 48365580;BA.debugLine="Dim MOTIVO As String"; _motivo = ""; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48365581; + //BA.debugLineNum = 48365581;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 47;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 49;BA.debugLine="End Sub"; +public String _gps_locationchanged(reparto_intmex.keymon.lat.c_foto __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=48758784; + //BA.debugLineNum = 48758784;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=48758786; + //BA.debugLineNum = 48758786;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_foto __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 18;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=48431104; + //BA.debugLineNum = 48431104;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=48431105; + //BA.debugLineNum = 48431105;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 19;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48431106; + //BA.debugLineNum = 48431106;BA.debugLine="End Sub"; return null; } -public String _initializecamera() throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Private Sub InitializeCamera"; - //BA.debugLineNum = 39;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; -_camex._initialize /*String*/ (ba,_p_camara,_frontcamera,this,"Camera1"); - //BA.debugLineNum = 40;BA.debugLine="frontCamera = camEx.Front"; -_frontcamera = _camex._front /*boolean*/ ; - //BA.debugLineNum = 41;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_historico.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_historico.java index cc9f4d1..c88a693 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_historico.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_historico.java @@ -10,7 +10,7 @@ public class c_historico extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_historico"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_historico"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_historico extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -64,10 +71,10 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -75,12 +82,22 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 592;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 594;BA.debugLine="End Sub"; +public String _b_guardar_click(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=50266112; + //BA.debugLineNum = 50266112;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=50266114; + //BA.debugLineNum = 50266114;BA.debugLine="End Sub"; return ""; } -public String _b_prodmas_click() throws Exception{ +public String _b_prodmas_click(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b_prodmas_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas_click", null));} int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; @@ -88,56 +105,81 @@ anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; anywheresoftware.b4a.objects.collections.List _estetag = null; String _maxprods = ""; anywheresoftware.b4a.objects.collections.Map _cym = null; - //BA.debugLineNum = 383;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 384;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 386;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("817367043","b_prodMas_Click",__c.Colors.Magenta); - //BA.debugLineNum = 387;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 = 388;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +RDebugUtils.currentLine=50135040; + //BA.debugLineNum = 50135040;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=50135041; + //BA.debugLineNum = 50135041;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=50135043; + //BA.debugLineNum = 50135043;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("250135043","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=50135044; + //BA.debugLineNum = 50135044;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=50135045; + //BA.debugLineNum = 50135045;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; _pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 389;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=50135046; + //BA.debugLineNum = 50135046;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 390;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +RDebugUtils.currentLine=50135047; + //BA.debugLineNum = 50135047;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; _lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 394;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +RDebugUtils.currentLine=50135051; + //BA.debugLineNum = 50135051;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 395;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("817367052","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 396;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +RDebugUtils.currentLine=50135052; + //BA.debugLineNum = 50135052;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +__c.LogImpl("250135052","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=50135053; + //BA.debugLineNum = 50135053;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 398;BA.debugLine="Private maxProds as string = esteTag.Get(1) + est"; +RDebugUtils.currentLine=50135055; + //BA.debugLineNum = 50135055;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 = 400;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("817367057",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 402;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +RDebugUtils.currentLine=50135057; + //BA.debugLineNum = 50135057;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("250135057",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=50135059; + //BA.debugLineNum = 50135059;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { - //BA.debugLineNum = 403;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("817367060",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); - //BA.debugLineNum = 404;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; +RDebugUtils.currentLine=50135060; + //BA.debugLineNum = 50135060;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +__c.LogImpl("250135060",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +RDebugUtils.currentLine=50135061; + //BA.debugLineNum = 50135061;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 = 405;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +RDebugUtils.currentLine=50135062; + //BA.debugLineNum = 50135062;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - //BA.debugLineNum = 406;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +RDebugUtils.currentLine=50135063; + //BA.debugLineNum = 50135063;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; _subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 407;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_"; +RDebugUtils.currentLine=50135064; + //BA.debugLineNum = 50135064;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_"; _cym = new anywheresoftware.b4a.objects.collections.Map(); -_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_clv_pedido); - //BA.debugLineNum = 408;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; -_l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 409;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); +_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._clv_pedido /*b4a.example3.customlistview*/ ); +RDebugUtils.currentLine=50135065; + //BA.debugLineNum = 50135065;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); +RDebugUtils.currentLine=50135066; + //BA.debugLineNum = 50135066;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); }; - //BA.debugLineNum = 426;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50135083; + //BA.debugLineNum = 50135083;BA.debugLine="End Sub"; return ""; } -public String _b_prodmenos_click() throws Exception{ +public String _b_prodmenos_click(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b_prodmenos_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos_click", null));} int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; @@ -145,88 +187,117 @@ anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; anywheresoftware.b4a.objects.collections.List _estetag = null; float _preciou = 0f; anywheresoftware.b4a.objects.collections.Map _cym = null; - //BA.debugLineNum = 340;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 341;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 342;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("817301506","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 343;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("817301507","b_prodMenos_Click",__c.Colors.Magenta); - //BA.debugLineNum = 344;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 = 345;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +RDebugUtils.currentLine=50069504; + //BA.debugLineNum = 50069504;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=50069505; + //BA.debugLineNum = 50069505;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=50069506; + //BA.debugLineNum = 50069506;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("250069506","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=50069507; + //BA.debugLineNum = 50069507;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("250069507","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=50069508; + //BA.debugLineNum = 50069508;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=50069509; + //BA.debugLineNum = 50069509;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; _pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 346;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=50069510; + //BA.debugLineNum = 50069510;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 347;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +RDebugUtils.currentLine=50069511; + //BA.debugLineNum = 50069511;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; _lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 349;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +RDebugUtils.currentLine=50069513; + //BA.debugLineNum = 50069513;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 350;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("817301514","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 351;BA.debugLine="If esteTag.Get(3) <> \"1\" Then 'Si es PROMO entonc"; +RDebugUtils.currentLine=50069514; + //BA.debugLineNum = 50069514;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +__c.LogImpl("250069514","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=50069515; + //BA.debugLineNum = 50069515;BA.debugLine="If esteTag.Get(3) <> \"1\" Then 'Si es PROMO entonc"; if ((_estetag.Get((int) (3))).equals((Object)("1")) == false) { - //BA.debugLineNum = 352;BA.debugLine="Log(\"ES PROMO\")"; -__c.LogImpl("817301516","ES PROMO",0); - //BA.debugLineNum = 353;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 = 354;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Quitam"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 355;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; -_prodsmap.Remove(_estetag.Get((int) (3))); - //BA.debugLineNum = 356;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +RDebugUtils.currentLine=50069516; + //BA.debugLineNum = 50069516;BA.debugLine="Log(\"ES PROMO\")"; +__c.LogImpl("250069516","ES PROMO",0); +RDebugUtils.currentLine=50069517; + //BA.debugLineNum = 50069517;BA.debugLine="result = Msgbox2(\"Si se modifica una promoción,"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=50069518; + //BA.debugLineNum = 50069518;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Quitam"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=50069519; + //BA.debugLineNum = 50069519;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove(_estetag.Get((int) (3))); +RDebugUtils.currentLine=50069520; + //BA.debugLineNum = 50069520;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_cliente in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 357;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +RDebugUtils.currentLine=50069521; + //BA.debugLineNum = 50069521;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 = 358;BA.debugLine="LogColor(prodsMap, Colors.red)"; -__c.LogImpl("817301522",BA.ObjectToString(_prodsmap),__c.Colors.Red); - //BA.debugLineNum = 359;BA.debugLine="reconstruirPedido = True"; -_reconstruirpedido = __c.True; - //BA.debugLineNum = 360;BA.debugLine="promoABorrar = esteTag.Get(3)"; -_promoaborrar = BA.ObjectToString(_estetag.Get((int) (3))); - //BA.debugLineNum = 361;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=50069522; + //BA.debugLineNum = 50069522;BA.debugLine="LogColor(prodsMap, Colors.red)"; +__c.LogImpl("250069522",BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Red); +RDebugUtils.currentLine=50069523; + //BA.debugLineNum = 50069523;BA.debugLine="reconstruirPedido = True"; +__ref._reconstruirpedido /*boolean*/ = __c.True; +RDebugUtils.currentLine=50069524; + //BA.debugLineNum = 50069524;BA.debugLine="promoABorrar = esteTag.Get(3)"; +__ref._promoaborrar /*String*/ = BA.ObjectToString(_estetag.Get((int) (3))); +RDebugUtils.currentLine=50069525; + //BA.debugLineNum = 50069525;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 364;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +RDebugUtils.currentLine=50069528; + //BA.debugLineNum = 50069528;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 365;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +RDebugUtils.currentLine=50069529; + //BA.debugLineNum = 50069529;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 = 366;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +RDebugUtils.currentLine=50069530; + //BA.debugLineNum = 50069530;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; if ((double)(Double.parseDouble(_lacant.getText()))<0) { _lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 367;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +RDebugUtils.currentLine=50069531; + //BA.debugLineNum = 50069531;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); }; - //BA.debugLineNum = 369;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +RDebugUtils.currentLine=50069533; + //BA.debugLineNum = 50069533;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 = 370;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("817301534","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 376;BA.debugLine="Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2))"; +RDebugUtils.currentLine=50069534; + //BA.debugLineNum = 50069534;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("250069534","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=50069540; + //BA.debugLineNum = 50069540;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 = 377;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; +RDebugUtils.currentLine=50069541; + //BA.debugLineNum = 50069541;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; _cym = new anywheresoftware.b4a.objects.collections.Map(); -_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_clv_pedido); - //BA.debugLineNum = 378;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; -_l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 379;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); - //BA.debugLineNum = 381;BA.debugLine="End Sub"; +_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._clv_pedido /*b4a.example3.customlistview*/ ); +RDebugUtils.currentLine=50069542; + //BA.debugLineNum = 50069542;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); +RDebugUtils.currentLine=50069543; + //BA.debugLineNum = 50069543;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); +RDebugUtils.currentLine=50069545; + //BA.debugLineNum = 50069545;BA.debugLine="End Sub"; return ""; } -public String _b_regresar_click() throws Exception{ - //BA.debugLineNum = 185;BA.debugLine="Sub b_regresar_Click"; - //BA.debugLineNum = 186;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 187;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _oc = null; int _cant2 = 0; @@ -238,185 +309,349 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; int _cantco = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _cco = null; anywheresoftware.b4a.objects.collections.Map _cym = null; - //BA.debugLineNum = 59;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 60;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 64;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 65;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 66;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; -_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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); - //BA.debugLineNum = 67;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 68;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 69;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 71;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select hvd_num_registro, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 72;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 73;BA.debugLine="clv_pedido.Clear"; -_clv_pedido._clear(); - //BA.debugLineNum = 74;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 75;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; -_clv_pedido._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (_root.getWidth()-50),(int) (_root.getHeight()*0.62)); - //BA.debugLineNum = 76;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; -_clv_pedido._base_resize(_clv_pedido._getbase().getWidth(),_clv_pedido._getbase().getHeight()); - //BA.debugLineNum = 78;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 80;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=49610752; + //BA.debugLineNum = 49610752;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=49610753; + //BA.debugLineNum = 49610753;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=49610757; + //BA.debugLineNum = 49610757;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=49610758; + //BA.debugLineNum = 49610758;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=49610759; + //BA.debugLineNum = 49610759;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); +RDebugUtils.currentLine=49610760; + //BA.debugLineNum = 49610760;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=49610761; + //BA.debugLineNum = 49610761;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=49610762; + //BA.debugLineNum = 49610762;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=49610764; + //BA.debugLineNum = 49610764;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select hvd_num_registro, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=49610765; + //BA.debugLineNum = 49610765;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=49610766; + //BA.debugLineNum = 49610766;BA.debugLine="clv_pedido.Clear"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=49610767; + //BA.debugLineNum = 49610767;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=49610768; + //BA.debugLineNum = 49610768;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-50),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.62)); +RDebugUtils.currentLine=49610769; + //BA.debugLineNum = 49610769;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getHeight()); +RDebugUtils.currentLine=49610771; + //BA.debugLineNum = 49610771;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=49610773; + //BA.debugLineNum = 49610773;BA.debugLine="For i=0 To c.RowCount -1"; { final int step15 = 1; -final int limit15 = (int) (_c.getRowCount()-1); +final int limit15 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 81;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 83;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=49610774; + //BA.debugLineNum = 49610774;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=49610776; + //BA.debugLineNum = 49610776;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery($"; _oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'")))); - //BA.debugLineNum = 84;BA.debugLine="Private cant2 As Int = 0"; +_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+"'")))); +RDebugUtils.currentLine=49610777; + //BA.debugLineNum = 49610777;BA.debugLine="Private cant2 As Int = 0"; _cant2 = (int) (0); - //BA.debugLineNum = 85;BA.debugLine="If oc.RowCount > 0 Then"; +RDebugUtils.currentLine=49610778; + //BA.debugLineNum = 49610778;BA.debugLine="If oc.RowCount > 0 Then"; if (_oc.getRowCount()>0) { - //BA.debugLineNum = 86;BA.debugLine="oc.Position = 0"; +RDebugUtils.currentLine=49610779; + //BA.debugLineNum = 49610779;BA.debugLine="oc.Position = 0"; _oc.setPosition((int) (0)); - //BA.debugLineNum = 87;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=49610780; + //BA.debugLineNum = 49610780;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; _cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); }; - //BA.debugLineNum = 89;BA.debugLine="oc.Close"; +RDebugUtils.currentLine=49610782; + //BA.debugLineNum = 49610782;BA.debugLine="oc.Close"; _oc.Close(); - //BA.debugLineNum = 90;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=49610783; + //BA.debugLineNum = 49610783;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 91;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 92;BA.debugLine="label1.TextSize = 12"; +RDebugUtils.currentLine=49610784; + //BA.debugLineNum = 49610784;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=49610785; + //BA.debugLineNum = 49610785;BA.debugLine="label1.TextSize = 12"; _label1.setTextSize((float) (12)); - //BA.debugLineNum = 93;BA.debugLine="label1.TextColor = Colors.black"; +RDebugUtils.currentLine=49610786; + //BA.debugLineNum = 49610786;BA.debugLine="label1.TextColor = Colors.black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 94;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=49610787; + //BA.debugLineNum = 49610787;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 95;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 96;BA.debugLine="label2.TextSize = 12"; +RDebugUtils.currentLine=49610788; + //BA.debugLineNum = 49610788;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=49610789; + //BA.debugLineNum = 49610789;BA.debugLine="label2.TextSize = 12"; _label2.setTextSize((float) (12)); - //BA.debugLineNum = 97;BA.debugLine="label2.TextColor = Colors.black"; +RDebugUtils.currentLine=49610790; + //BA.debugLineNum = 49610790;BA.debugLine="label2.TextColor = Colors.black"; _label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 98;BA.debugLine="Private bgColor, textColor As Int"; +RDebugUtils.currentLine=49610791; + //BA.debugLineNum = 49610791;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; _textcolor = 0; - //BA.debugLineNum = 99;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +RDebugUtils.currentLine=49610792; + //BA.debugLineNum = 49610792;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; _bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 100;BA.debugLine="textColor = Colors.black"; +RDebugUtils.currentLine=49610793; + //BA.debugLineNum = 49610793;BA.debugLine="textColor = Colors.black"; _textcolor = __c.Colors.Black; - //BA.debugLineNum = 101;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> \"1\" Then"; -if ((_c.GetString("HVD_CODPROMO")).equals("1") == false) { - //BA.debugLineNum = 103;BA.debugLine="bgColor = Colors.White"; +RDebugUtils.currentLine=49610794; + //BA.debugLineNum = 49610794;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> \"1\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals("1") == false) { +RDebugUtils.currentLine=49610796; + //BA.debugLineNum = 49610796;BA.debugLine="bgColor = Colors.White"; _bgcolor = __c.Colors.White; }; - //BA.debugLineNum = 107;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HVD_"; -_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._traeprecio /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO")),(int)(Double.parseDouble(_c.GetString("HVD_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (50)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba)).getObject())),(Object)(_c.GetString("HVD_PRONOMBRE"))); +RDebugUtils.currentLine=49610800; + //BA.debugLineNum = 49610800;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HVD_"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_subs._traeprecio /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"))),(int) (0),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba)).getObject())),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"))); } }; }; - //BA.debugLineNum = 112;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery(\"se"; +RDebugUtils.currentLine=49610805; + //BA.debugLineNum = 49610805;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery(\"se"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))); - //BA.debugLineNum = 113;BA.debugLine="Log($\"VENTA: ${vc.RowCount}\"$)"; -__c.LogImpl("816842806",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0); - //BA.debugLineNum = 114;BA.debugLine="If vc.RowCount > 0 Then"; +RDebugUtils.currentLine=49610806; + //BA.debugLineNum = 49610806;BA.debugLine="Log($\"VENTA: ${vc.RowCount}\"$)"; +__c.LogImpl("249610806",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0); +RDebugUtils.currentLine=49610807; + //BA.debugLineNum = 49610807;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 117;BA.debugLine="textColor = Colors.RGB(0,87,142)"; +RDebugUtils.currentLine=49610810; + //BA.debugLineNum = 49610810;BA.debugLine="textColor = Colors.RGB(0,87,142)"; _textcolor = __c.Colors.RGB((int) (0),(int) (87),(int) (142)); - //BA.debugLineNum = 118;BA.debugLine="For i=0 To vc.RowCount -1"; +RDebugUtils.currentLine=49610811; + //BA.debugLineNum = 49610811;BA.debugLine="For i=0 To vc.RowCount -1"; { final int step45 = 1; final int limit45 = (int) (_vc.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit45 ;_i = _i + step45 ) { - //BA.debugLineNum = 119;BA.debugLine="vc.Position = i"; +RDebugUtils.currentLine=49610812; + //BA.debugLineNum = 49610812;BA.debugLine="vc.Position = i"; _vc.setPosition(_i); - //BA.debugLineNum = 120;BA.debugLine="Private cantCO As Int = 0"; +RDebugUtils.currentLine=49610813; + //BA.debugLineNum = 49610813;BA.debugLine="Private cantCO As Int = 0"; _cantco = (int) (0); - //BA.debugLineNum = 122;BA.debugLine="Private cco As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=49610815; + //BA.debugLineNum = 49610815;BA.debugLine="Private cco As Cursor = Starter.skmt.ExecQuery("; _cco = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cco = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID='"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '1' and REP_CANT > 0")))); - //BA.debugLineNum = 124;BA.debugLine="If cco.RowCount > 0 Then"; +RDebugUtils.currentLine=49610817; + //BA.debugLineNum = 49610817;BA.debugLine="If cco.RowCount > 0 Then"; if (_cco.getRowCount()>0) { - //BA.debugLineNum = 125;BA.debugLine="cco.Position = 0"; +RDebugUtils.currentLine=49610818; + //BA.debugLineNum = 49610818;BA.debugLine="cco.Position = 0"; _cco.setPosition((int) (0)); - //BA.debugLineNum = 126;BA.debugLine="cantCO = cco.GetString(\"REP_CANT\") + vc.GetStr"; +RDebugUtils.currentLine=49610819; + //BA.debugLineNum = 49610819;BA.debugLine="cantCO = cco.GetString(\"REP_CANT\") + vc.GetStr"; _cantco = (int) ((double)(Double.parseDouble(_cco.GetString("REP_CANT")))+(double)(Double.parseDouble(_vc.GetString("REP_CANT")))); }; - //BA.debugLineNum = 128;BA.debugLine="cantCO = Subs.traeCantidadRechazada(vc.GetStrin"; +RDebugUtils.currentLine=49610821; + //BA.debugLineNum = 49610821;BA.debugLine="cantCO = Subs.traeCantidadRechazada(vc.GetStrin"; _cantco = _subs._traecantidadrechazada /*int*/ (ba,_vc.GetString("REP_CLI_ORIG"),_vc.GetString("REP_PRODID")); - //BA.debugLineNum = 131;BA.debugLine="clv_pedido.Add(CreateListItem(vc.GetString(\"REP"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_vc.GetString("REP_PRONOMBRE"),_subs._traeprecio /*String*/ (ba,_vc.GetString("REP_PRODID"),_subs._traealmacen /*String*/ (ba)),(int)(Double.parseDouble(_vc.GetString("REP_CANT"))),_cantco,_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (50)),_bmp,_vc.GetString("REP_PRODID"),_bgcolor,_textcolor,BA.NumberToString(1),_vc.GetString("REP_CLI_ORIG")).getObject())),(Object)(_vc.GetString("REP_PRONOMBRE"))); +RDebugUtils.currentLine=49610824; + //BA.debugLineNum = 49610824;BA.debugLine="clv_pedido.Add(CreateListItem(vc.GetString(\"REP"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,_vc.GetString("REP_PRONOMBRE"),_subs._traeprecio /*String*/ (ba,_vc.GetString("REP_PRODID"),_subs._traealmacen /*String*/ (ba)),(int)(Double.parseDouble(_vc.GetString("REP_CANT"))),_cantco,__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,_vc.GetString("REP_PRODID"),_bgcolor,_textcolor,BA.NumberToString(1),_vc.GetString("REP_CLI_ORIG")).getObject())),(Object)(_vc.GetString("REP_PRONOMBRE"))); } }; - //BA.debugLineNum = 133;BA.debugLine="cco.Close"; +RDebugUtils.currentLine=49610826; + //BA.debugLineNum = 49610826;BA.debugLine="cco.Close"; _cco.Close(); - //BA.debugLineNum = 134;BA.debugLine="vc.Close"; +RDebugUtils.currentLine=49610827; + //BA.debugLineNum = 49610827;BA.debugLine="vc.Close"; _vc.Close(); }; - //BA.debugLineNum = 137;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 138;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 PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); - //BA.debugLineNum = 139;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 140;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 141;BA.debugLine="L_TOTAL.Text = Round2(c.GetString(\"PC_MONTO\"), 2"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_c.GetString("PC_MONTO"))),(int) (2)))); +RDebugUtils.currentLine=49610830; + //BA.debugLineNum = 49610830;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=49610831; + //BA.debugLineNum = 49610831;BA.debugLine="c = Starter.skmt.ExecQuery(\"select SUM(HVD_CANT)"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); +RDebugUtils.currentLine=49610832; + //BA.debugLineNum = 49610832;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=49610833; + //BA.debugLineNum = 49610833;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=49610834; + //BA.debugLineNum = 49610834;BA.debugLine="L_TOTAL.Text = Round2(c.GetString(\"PC_MONTO\"), 2"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))),(int) (2)))); }; - //BA.debugLineNum = 143;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; -_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 count(*) as EXISTE from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 144;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 145;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 146;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 149;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 167;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 168;BA.debugLine="c=Starter.skmt.ExecQuery(\"select SUM(PE_CANT) 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(PE_CANT) AS PE_CANT, SUM(PE_COSTO_TOT) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 169;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 170;BA.debugLine="L_CANT.Text = L_CANT.Text + c.GetString(\"PE_CANT"; -_l_cant.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_l_cant.getText()))+(double)(Double.parseDouble(_c.GetString("PE_CANT"))))); - //BA.debugLineNum = 171;BA.debugLine="L_TOTAL.Text = Round2(L_TOTAL.Text + c.GetStrin"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_total.getText()))+(double)(Double.parseDouble(_c.GetString("PE_COSTO_TOT"))),(int) (2)))); +RDebugUtils.currentLine=49610836; + //BA.debugLineNum = 49610836;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=49610837; + //BA.debugLineNum = 49610837;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=49610838; + //BA.debugLineNum = 49610838;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=49610839; + //BA.debugLineNum = 49610839;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=49610842; + //BA.debugLineNum = 49610842;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=49610860; + //BA.debugLineNum = 49610860;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=49610861; + //BA.debugLineNum = 49610861;BA.debugLine="c=Starter.skmt.ExecQuery(\"select SUM(PE_CANT) AS"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_CANT) AS PE_CANT, SUM(PE_COSTO_TOT) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=49610862; + //BA.debugLineNum = 49610862;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=49610863; + //BA.debugLineNum = 49610863;BA.debugLine="L_CANT.Text = L_CANT.Text + c.GetString(\"PE_CANT"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((double)(Double.parseDouble(__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))))); +RDebugUtils.currentLine=49610864; + //BA.debugLineNum = 49610864;BA.debugLine="L_TOTAL.Text = Round2(L_TOTAL.Text + c.GetStrin"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"))),(int) (2)))); }; - //BA.debugLineNum = 175;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; +RDebugUtils.currentLine=49610868; + //BA.debugLineNum = 49610868;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; _cym = new anywheresoftware.b4a.objects.collections.Map(); -_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_clv_pedido); - //BA.debugLineNum = 176;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; -_l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 177;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); - //BA.debugLineNum = 178;BA.debugLine="End Sub"; +_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._clv_pedido /*b4a.example3.customlistview*/ ); +RDebugUtils.currentLine=49610869; + //BA.debugLineNum = 49610869;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); +RDebugUtils.currentLine=49610870; + //BA.debugLineNum = 49610870;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); +RDebugUtils.currentLine=49610871; + //BA.debugLineNum = 49610871;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _b_regresar_click(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b_regresar_click", false)) + {return ((String) Debug.delegate(ba, "b_regresar_click", null));} +RDebugUtils.currentLine=49741824; + //BA.debugLineNum = 49741824;BA.debugLine="Sub b_regresar_Click"; +RDebugUtils.currentLine=49741825; + //BA.debugLineNum = 49741825;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=49741826; + //BA.debugLineNum = 49741826;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_intmex.keymon.lat.c_historico __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=50003968; + //BA.debugLineNum = 50003968;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=50003969; + //BA.debugLineNum = 50003969;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=50003970; + //BA.debugLineNum = 50003970;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=50003971; + //BA.debugLineNum = 50003971;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=50003972; + //BA.debugLineNum = 50003972;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=50003973; + //BA.debugLineNum = 50003973;BA.debugLine="p.LoadLayout(\"prodItem\")"; +_p.LoadLayout("prodItem",ba); +RDebugUtils.currentLine=50003974; + //BA.debugLineNum = 50003974;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=50003975; + //BA.debugLineNum = 50003975;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=50003976; + //BA.debugLineNum = 50003976;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=50003977; + //BA.debugLineNum = 50003977;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=50003978; + //BA.debugLineNum = 50003978;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=50003979; + //BA.debugLineNum = 50003979;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=50003981; + //BA.debugLineNum = 50003981;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=50003983; + //BA.debugLineNum = 50003983;BA.debugLine="l_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prodI"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou)),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original)); +RDebugUtils.currentLine=50003984; + //BA.debugLineNum = 50003984;BA.debugLine="et_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prod"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou)),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original)); +RDebugUtils.currentLine=50003985; + //BA.debugLineNum = 50003985;BA.debugLine="p_prods.Tag = l_pCant.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=50003987; + //BA.debugLineNum = 50003987;BA.debugLine="l_pCant.Text = inv"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_inv)); +RDebugUtils.currentLine=50003991; + //BA.debugLineNum = 50003991;BA.debugLine="l_pCant.BringToFront"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=50003992; + //BA.debugLineNum = 50003992;BA.debugLine="et_pCant.SendToBack"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=50003995; + //BA.debugLineNum = 50003995;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=50003996; + //BA.debugLineNum = 50003996;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_historico parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_historico parent,reparto_intmex.keymon.lat.c_historico __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_historico __ref; reparto_intmex.keymon.lat.c_historico parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_historico"; while (true) { switch (state) { @@ -426,159 +661,170 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 192;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=49807363; + //BA.debugLineNum = 49807363;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 194;BA.debugLine="Return False"; +RDebugUtils.currentLine=49807365; + //BA.debugLineNum = 49807365;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 195;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49807366; + //BA.debugLineNum = 49807366;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 48;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 49;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 51;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 52;BA.debugLine="Root.LoadLayout(\"historico\")"; -_root.LoadLayout("historico",ba); - //BA.debugLineNum = 53;BA.debugLine="b_borra.Visible = False"; -_b_borra.setVisible(__c.False); - //BA.debugLineNum = 54;BA.debugLine="Titulo.Text = \"Pedido\""; -_titulo.setText(BA.ObjectToCharSequence("Pedido")); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_historico __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=49545216; + //BA.debugLineNum = 49545216;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=49545217; + //BA.debugLineNum = 49545217;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=49545219; + //BA.debugLineNum = 49545219;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=49545220; + //BA.debugLineNum = 49545220;BA.debugLine="Root.LoadLayout(\"historico\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("historico",ba); +RDebugUtils.currentLine=49545221; + //BA.debugLineNum = 49545221;BA.debugLine="b_borra.Visible = False"; +__ref._b_borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=49545222; + //BA.debugLineNum = 49545222;BA.debugLine="Titulo.Text = \"Pedido\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Pedido")); +RDebugUtils.currentLine=49545223; + //BA.debugLineNum = 49545223;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +RDebugUtils.currentLine=49414144; + //BA.debugLineNum = 49414144;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=49414145; + //BA.debugLineNum = 49414145;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=49414146; + //BA.debugLineNum = 49414146;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=49414147; + //BA.debugLineNum = 49414147;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=49414148; + //BA.debugLineNum = 49414148;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=49414149; + //BA.debugLineNum = 49414149;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=49414150; + //BA.debugLineNum = 49414150;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=49414151; + //BA.debugLineNum = 49414151;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim b_regresar As Button"; +RDebugUtils.currentLine=49414153; + //BA.debugLineNum = 49414153;BA.debugLine="Dim b_regresar As Button"; _b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=49414154; + //BA.debugLineNum = 49414154;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim L_CANT As Label"; +RDebugUtils.currentLine=49414155; + //BA.debugLineNum = 49414155;BA.debugLine="Dim L_CANT As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim L_TOTAL As Label"; +RDebugUtils.currentLine=49414156; + //BA.debugLineNum = 49414156;BA.debugLine="Dim L_TOTAL As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim b_borra As Button"; +RDebugUtils.currentLine=49414157; + //BA.debugLineNum = 49414157;BA.debugLine="Dim b_borra As Button"; _b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; +RDebugUtils.currentLine=49414158; + //BA.debugLineNum = 49414158;BA.debugLine="Dim Existe As String"; _existe = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; +RDebugUtils.currentLine=49414159; + //BA.debugLineNum = 49414159;BA.debugLine="Dim result As String"; _result = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; +RDebugUtils.currentLine=49414161; + //BA.debugLineNum = 49414161;BA.debugLine="Dim cuantos As String"; _cuantos = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; +RDebugUtils.currentLine=49414162; + //BA.debugLineNum = 49414162;BA.debugLine="Dim nombre_prod As String"; _nombre_prod = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; +RDebugUtils.currentLine=49414163; + //BA.debugLineNum = 49414163;BA.debugLine="Dim cuantos_pedido As String"; _cuantos_pedido = ""; - //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; +RDebugUtils.currentLine=49414164; + //BA.debugLineNum = 49414164;BA.debugLine="Private Titulo As Label"; _titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; +RDebugUtils.currentLine=49414165; + //BA.debugLineNum = 49414165;BA.debugLine="Private P1 As Panel"; _p1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; +RDebugUtils.currentLine=49414166; + //BA.debugLineNum = 49414166;BA.debugLine="Private lv2 As ListView"; _lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=49414167; + //BA.debugLineNum = 49414167;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; +RDebugUtils.currentLine=49414168; + //BA.debugLineNum = 49414168;BA.debugLine="Dim clv_pedido As CustomListView"; _clv_pedido = new b4a.example3.customlistview(); - //BA.debugLineNum = 26;BA.debugLine="Private p_prods As Panel"; +RDebugUtils.currentLine=49414169; + //BA.debugLineNum = 49414169;BA.debugLine="Private p_prods As Panel"; _p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private l_prodX As Label"; +RDebugUtils.currentLine=49414170; + //BA.debugLineNum = 49414170;BA.debugLine="Private l_prodX As Label"; _l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private l_pCant As Label"; +RDebugUtils.currentLine=49414171; + //BA.debugLineNum = 49414171;BA.debugLine="Private l_pCant As Label"; _l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private et_pCant As EditText"; +RDebugUtils.currentLine=49414172; + //BA.debugLineNum = 49414172;BA.debugLine="Private et_pCant As EditText"; _et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim bmp As Bitmap"; +RDebugUtils.currentLine=49414173; + //BA.debugLineNum = 49414173;BA.debugLine="Dim bmp As Bitmap"; _bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +RDebugUtils.currentLine=49414174; + //BA.debugLineNum = 49414174;BA.debugLine="Dim etCantHasFocus As Boolean = False"; _etcanthasfocus = __c.False; - //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; +RDebugUtils.currentLine=49414175; + //BA.debugLineNum = 49414175;BA.debugLine="Dim totalProds As Int = 0"; _totalprods = (int) (0); - //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; +RDebugUtils.currentLine=49414176; + //BA.debugLineNum = 49414176;BA.debugLine="Dim totalCompra As Int = 0"; _totalcompra = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; +RDebugUtils.currentLine=49414177; + //BA.debugLineNum = 49414177;BA.debugLine="Dim prodsMap As Map"; _prodsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +RDebugUtils.currentLine=49414178; + //BA.debugLineNum = 49414178;BA.debugLine="Dim reconstruirPedido As Boolean = False"; _reconstruirpedido = __c.False; - //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; +RDebugUtils.currentLine=49414179; + //BA.debugLineNum = 49414179;BA.debugLine="Dim promoABorrar As String"; _promoaborrar = ""; - //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; +RDebugUtils.currentLine=49414180; + //BA.debugLineNum = 49414180;BA.debugLine="Private b_guardar As Button"; _b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_prodMas As Button"; +RDebugUtils.currentLine=49414181; + //BA.debugLineNum = 49414181;BA.debugLine="Private b_prodMas As Button"; _b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private b_prodMenos As Button"; +RDebugUtils.currentLine=49414182; + //BA.debugLineNum = 49414182;BA.debugLine="Private b_prodMenos As Button"; _b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49414183; + //BA.debugLineNum = 49414183;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 310;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 311;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 312;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 313;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 314;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 315;BA.debugLine="p.LoadLayout(\"prodItem\")"; -_p.LoadLayout("prodItem",ba); - //BA.debugLineNum = 316;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 317;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 318;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 319;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 320;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 321;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_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 = 323;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 = 325;BA.debugLine="l_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prodI"; -_l_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou)),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original)); - //BA.debugLineNum = 326;BA.debugLine="et_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prod"; -_et_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou)),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original)); - //BA.debugLineNum = 327;BA.debugLine="p_prods.Tag = l_pCant.tag"; -_p_prods.setTag(_l_pcant.getTag()); - //BA.debugLineNum = 329;BA.debugLine="l_pCant.Text = inv"; -_l_pcant.setText(BA.ObjectToCharSequence(_inv)); - //BA.debugLineNum = 333;BA.debugLine="l_pCant.BringToFront"; -_l_pcant.BringToFront(); - //BA.debugLineNum = 334;BA.debugLine="et_pCant.SendToBack"; -_et_pcant.SendToBack(); - //BA.debugLineNum = 337;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 338;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods(String _accion) throws Exception{ +public String _cuentaprods(reparto_intmex.keymon.lat.c_historico __ref,String _accion) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", new Object[] {_accion}));} int _cantrechazada = 0; int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; @@ -610,307 +856,446 @@ String _preciou = ""; String _costototalhist = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _z = null; String _cantidad2 = ""; - //BA.debugLineNum = 428;BA.debugLine="Sub cuentaProds(accion As String)"; - //BA.debugLineNum = 430;BA.debugLine="Log(\"*********************************************"; -__c.LogImpl("817432578","*******************************************************",0); - //BA.debugLineNum = 431;BA.debugLine="Private cantRechazada As Int = 0"; +RDebugUtils.currentLine=50200576; + //BA.debugLineNum = 50200576;BA.debugLine="Sub cuentaProds(accion As String)"; +RDebugUtils.currentLine=50200578; + //BA.debugLineNum = 50200578;BA.debugLine="Log(\"*********************************************"; +__c.LogImpl("250200578","*******************************************************",0); +RDebugUtils.currentLine=50200579; + //BA.debugLineNum = 50200579;BA.debugLine="Private cantRechazada As Int = 0"; _cantrechazada = (int) (0); - //BA.debugLineNum = 432;BA.debugLine="If Not(reconstruirPedido) Then"; -if (__c.Not(_reconstruirpedido)) { - //BA.debugLineNum = 433;BA.debugLine="Log(\"*********** CUENTAPRODS - NO RECONSTRUIR\")"; -__c.LogImpl("817432581","*********** CUENTAPRODS - NO RECONSTRUIR",0); - //BA.debugLineNum = 434;BA.debugLine="prodsMap.Initialize"; -_prodsmap.Initialize(); - //BA.debugLineNum = 435;BA.debugLine="For i = 0 To clv_pedido.GetSize - 1"; +RDebugUtils.currentLine=50200580; + //BA.debugLineNum = 50200580;BA.debugLine="If Not(reconstruirPedido) Then"; +if (__c.Not(__ref._reconstruirpedido /*boolean*/ )) { +RDebugUtils.currentLine=50200581; + //BA.debugLineNum = 50200581;BA.debugLine="Log(\"*********** CUENTAPRODS - NO RECONSTRUIR\")"; +__c.LogImpl("250200581","*********** CUENTAPRODS - NO RECONSTRUIR",0); +RDebugUtils.currentLine=50200582; + //BA.debugLineNum = 50200582;BA.debugLine="prodsMap.Initialize"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=50200583; + //BA.debugLineNum = 50200583;BA.debugLine="For i = 0 To clv_pedido.GetSize - 1"; { final int step6 = 1; -final int limit6 = (int) (_clv_pedido._getsize()-1); +final int limit6 = (int) (__ref._clv_pedido /*b4a.example3.customlistview*/ ._getsize()-1); _i = (int) (0) ; for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 436;BA.debugLine="Private p0 As B4XView = clv_pedido.GetPanel(i)"; +RDebugUtils.currentLine=50200584; + //BA.debugLineNum = 50200584;BA.debugLine="Private p0 As B4XView = clv_pedido.GetPanel(i)"; _p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_pedido._getpanel(_i); - //BA.debugLineNum = 437;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=50200585; + //BA.debugLineNum = 50200585;BA.debugLine="Private p As B4XView = p0.GetView(0)"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p = _p0.GetView((int) (0)); - //BA.debugLineNum = 438;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView"; +RDebugUtils.currentLine=50200586; + //BA.debugLineNum = 50200586;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView"; _cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _cant1 = _p.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 439;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +RDebugUtils.currentLine=50200587; + //BA.debugLineNum = 50200587;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; if ((_cant1.getText()).equals("")) { _cant1.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 441;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +RDebugUtils.currentLine=50200589; + //BA.debugLineNum = 50200589;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); - //BA.debugLineNum = 442;BA.debugLine="Log(\"-------------------------------------\")"; -__c.LogImpl("817432590","-------------------------------------",0); - //BA.debugLineNum = 443;BA.debugLine="Log($\"ET: ${esteTag}\"$)"; -__c.LogImpl("817432591",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0); - //BA.debugLineNum = 444;BA.debugLine="Private esteProd As String = esteTag.Get(2)"; +RDebugUtils.currentLine=50200590; + //BA.debugLineNum = 50200590;BA.debugLine="Log(\"-------------------------------------\")"; +__c.LogImpl("250200590","-------------------------------------",0); +RDebugUtils.currentLine=50200591; + //BA.debugLineNum = 50200591;BA.debugLine="Log($\"ET: ${esteTag}\"$)"; +__c.LogImpl("250200591",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0); +RDebugUtils.currentLine=50200592; + //BA.debugLineNum = 50200592;BA.debugLine="Private esteProd As String = esteTag.Get(2)"; _esteprod = BA.ObjectToString(_estetag.Get((int) (2))); - //BA.debugLineNum = 445;BA.debugLine="Private estaCant As Int = cant1.Text"; +RDebugUtils.currentLine=50200593; + //BA.debugLineNum = 50200593;BA.debugLine="Private estaCant As Int = cant1.Text"; _estacant = (int)(Double.parseDouble(_cant1.getText())); - //BA.debugLineNum = 446;BA.debugLine="Private estaCantOriginal As Int = esteTag.Get(1"; +RDebugUtils.currentLine=50200594; + //BA.debugLineNum = 50200594;BA.debugLine="Private estaCantOriginal As Int = esteTag.Get(1"; _estacantoriginal = (int)(BA.ObjectToNumber(_estetag.Get((int) (1)))); - //BA.debugLineNum = 447;BA.debugLine="Private esteCliente = Subs.traeCliente"; +RDebugUtils.currentLine=50200595; + //BA.debugLineNum = 50200595;BA.debugLine="Private esteCliente = Subs.traeCliente"; _estecliente = _subs._traecliente /*String*/ (ba); - //BA.debugLineNum = 448;BA.debugLine="Private esteProdNombre = Subs.traeNombre(estePr"; +RDebugUtils.currentLine=50200596; + //BA.debugLineNum = 50200596;BA.debugLine="Private esteProdNombre = Subs.traeNombre(estePr"; _esteprodnombre = _subs._traenombre /*String*/ (ba,_esteprod); - //BA.debugLineNum = 449;BA.debugLine="Private esteClienteOriginal As Int = esteTag.Ge"; +RDebugUtils.currentLine=50200597; + //BA.debugLineNum = 50200597;BA.debugLine="Private esteClienteOriginal As Int = esteTag.Ge"; _esteclienteoriginal = (int)(BA.ObjectToNumber(_estetag.Get((int) (5)))); - //BA.debugLineNum = 450;BA.debugLine="Private fechaReparto As String = Subs.traeFecha"; +RDebugUtils.currentLine=50200598; + //BA.debugLineNum = 50200598;BA.debugLine="Private fechaReparto As String = Subs.traeFecha"; _fechareparto = _subs._traefechareparto /*String*/ (ba); - //BA.debugLineNum = 451;BA.debugLine="Private maxProds = Subs.traeMaxCantidad(esteTag"; +RDebugUtils.currentLine=50200599; + //BA.debugLineNum = 50200599;BA.debugLine="Private maxProds = Subs.traeMaxCantidad(esteTag"; _maxprods = BA.NumberToString(_subs._traemaxcantidad /*int*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2))))); - //BA.debugLineNum = 453;BA.debugLine="If cant1.Text > maxProds Then cant1.Text = maxP"; +RDebugUtils.currentLine=50200601; + //BA.debugLineNum = 50200601;BA.debugLine="If cant1.Text > maxProds Then cant1.Text = maxP"; if ((double)(Double.parseDouble(_cant1.getText()))>(double)(Double.parseDouble(_maxprods))) { _cant1.setText(BA.ObjectToCharSequence(_maxprods));}; - //BA.debugLineNum = 455;BA.debugLine="cantRechazada = esteTag.Get(4) - cant1.Text"; +RDebugUtils.currentLine=50200603; + //BA.debugLineNum = 50200603;BA.debugLine="cantRechazada = esteTag.Get(4) - cant1.Text"; _cantrechazada = (int) ((double)(BA.ObjectToNumber(_estetag.Get((int) (4))))-(double)(Double.parseDouble(_cant1.getText()))); - //BA.debugLineNum = 458;BA.debugLine="Log($\"${Subs.traeCantidadRechazada(esteClienteO"; -__c.LogImpl("817432606",(""+__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 = 461;BA.debugLine="LogColor($\"cantRechazada = ${cantRechazada}\"$,"; -__c.LogImpl("817432609",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta); - //BA.debugLineNum = 462;BA.debugLine="Private estePrecio As String = 0"; +RDebugUtils.currentLine=50200606; + //BA.debugLineNum = 50200606;BA.debugLine="Log($\"${Subs.traeCantidadRechazada(esteClienteO"; +__c.LogImpl("250200606",(""+__c.SmartStringFormatter("",(Object)(_subs._traecantidadrechazada /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traecantidadvendida /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+""),0); +RDebugUtils.currentLine=50200609; + //BA.debugLineNum = 50200609;BA.debugLine="LogColor($\"cantRechazada = ${cantRechazada}\"$,"; +__c.LogImpl("250200609",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta); +RDebugUtils.currentLine=50200610; + //BA.debugLineNum = 50200610;BA.debugLine="Private estePrecio As String = 0"; _esteprecio = BA.NumberToString(0); - //BA.debugLineNum = 463;BA.debugLine="If Subs.traePrecio(esteProd, 1) <> Null Then es"; +RDebugUtils.currentLine=50200611; + //BA.debugLineNum = 50200611;BA.debugLine="If Subs.traePrecio(esteProd, 1) <> Null Then es"; if (_subs._traeprecio /*String*/ (ba,_esteprod,BA.NumberToString(1))!= null) { _esteprecio = BA.NumberToString((double)(Double.parseDouble(_subs._traeprecio /*String*/ (ba,_esteprod,_subs._traealmacen /*String*/ (ba))))*_cantrechazada);}; - //BA.debugLineNum = 468;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS"; +RDebugUtils.currentLine=50200616; + //BA.debugLineNum = 50200616;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = ? WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cant1.getText(),_esteprod})); - //BA.debugLineNum = 469;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=50200617; + //BA.debugLineNum = 50200617;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($"; _rr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _rr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '"+__c.SmartStringFormatter("",(Object)(_esteprod))+"' and REP_CLIENTE in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 470;BA.debugLine="rr.Position = 0"; +RDebugUtils.currentLine=50200618; + //BA.debugLineNum = 50200618;BA.debugLine="rr.Position = 0"; _rr.setPosition((int) (0)); - //BA.debugLineNum = 472;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; +RDebugUtils.currentLine=50200620; + //BA.debugLineNum = 50200620;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 473;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; -__c.LogImpl("817432621","INSERTAMOS EN REPARTO",0); - //BA.debugLineNum = 474;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +RDebugUtils.currentLine=50200621; + //BA.debugLineNum = 50200621;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; +__c.LogImpl("250200621","INSERTAMOS EN REPARTO",0); +RDebugUtils.currentLine=50200622; + //BA.debugLineNum = 50200622;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 = 475;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +RDebugUtils.currentLine=50200623; + //BA.debugLineNum = 50200623;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_estecliente,_esteprodnombre,BA.NumberToString(_cantrechazada),BA.NumberToString(0),_fechareparto,_esteprod,_esteprecio,_estecliente})); - }else if(_esteclienteoriginal==(double)(Double.parseDouble("0"))) { + }else +{RDebugUtils.currentLine=50200624; + //BA.debugLineNum = 50200624;BA.debugLine="Else if esteClienteOriginal = \"0\" Then 'Actuali"; +if (_esteclienteoriginal==(double)(Double.parseDouble("0"))) { }else { - //BA.debugLineNum = 480;BA.debugLine="Log($\"Actualizamos REP_CANT RECHAZO = ${cantRe"; -__c.LogImpl("817432628",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0); - }; - //BA.debugLineNum = 485;BA.debugLine="If cant1.Text > 0 Then"; +RDebugUtils.currentLine=50200628; + //BA.debugLineNum = 50200628;BA.debugLine="Log($\"Actualizamos REP_CANT RECHAZO = ${cantRe"; +__c.LogImpl("250200628",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0); + }} +; +RDebugUtils.currentLine=50200633; + //BA.debugLineNum = 50200633;BA.debugLine="If cant1.Text > 0 Then"; if ((double)(Double.parseDouble(_cant1.getText()))>0) { - //BA.debugLineNum = 488;BA.debugLine="Private m As Map"; +RDebugUtils.currentLine=50200636; + //BA.debugLineNum = 50200636;BA.debugLine="Private m As Map"; _m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 489;BA.debugLine="m=CreateMap(\"cant\":cant1.Text, \"cant2\":esteTag"; +RDebugUtils.currentLine=50200637; + //BA.debugLineNum = 50200637;BA.debugLine="m=CreateMap(\"cant\":cant1.Text, \"cant2\":esteTag"; _m = __c.createMap(new Object[] {(Object)("cant"),(Object)(_cant1.getText()),(Object)("cant2"),_estetag.Get((int) (4)),(Object)("precio"),_estetag.Get((int) (0)),(Object)("promo"),_estetag.Get((int) (3)),(Object)("nombre"),(Object)(_subs._traenombre /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))),(Object)("cli_orig"),_estetag.Get((int) (5))}); - //BA.debugLineNum = 491;BA.debugLine="prodsMap.Put(esteTag.Get(2), m)"; -_prodsmap.Put(_estetag.Get((int) (2)),(Object)(_m.getObject())); +RDebugUtils.currentLine=50200639; + //BA.debugLineNum = 50200639;BA.debugLine="prodsMap.Put(esteTag.Get(2), m)"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_estetag.Get((int) (2)),(Object)(_m.getObject())); }; - //BA.debugLineNum = 493;BA.debugLine="Log(\"-------------------------------------\")"; -__c.LogImpl("817432641","-------------------------------------",0); +RDebugUtils.currentLine=50200641; + //BA.debugLineNum = 50200641;BA.debugLine="Log(\"-------------------------------------\")"; +__c.LogImpl("250200641","-------------------------------------",0); } }; }; - //BA.debugLineNum = 496;BA.debugLine="Private bgColor, textColor As Int"; +RDebugUtils.currentLine=50200644; + //BA.debugLineNum = 50200644;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; _textcolor = 0; - //BA.debugLineNum = 498;BA.debugLine="If reconstruirPedido Then"; -if (_reconstruirpedido) { - //BA.debugLineNum = 499;BA.debugLine="Log(\"*********** CUENTAPRODS - SI RECONSTRUIR\")"; -__c.LogImpl("817432647","*********** CUENTAPRODS - SI RECONSTRUIR",0); - //BA.debugLineNum = 500;BA.debugLine="Private newPromo, newPrecio As String"; +RDebugUtils.currentLine=50200646; + //BA.debugLineNum = 50200646;BA.debugLine="If reconstruirPedido Then"; +if (__ref._reconstruirpedido /*boolean*/ ) { +RDebugUtils.currentLine=50200647; + //BA.debugLineNum = 50200647;BA.debugLine="Log(\"*********** CUENTAPRODS - SI RECONSTRUIR\")"; +__c.LogImpl("250200647","*********** CUENTAPRODS - SI RECONSTRUIR",0); +RDebugUtils.currentLine=50200648; + //BA.debugLineNum = 50200648;BA.debugLine="Private newPromo, newPrecio As String"; _newpromo = ""; _newprecio = ""; - //BA.debugLineNum = 501;BA.debugLine="clv_pedido.Clear"; -_clv_pedido._clear(); - //BA.debugLineNum = 502;BA.debugLine="Log(\"Usamos PRODSMAP\")"; -__c.LogImpl("817432650","Usamos PRODSMAP",0); - //BA.debugLineNum = 503;BA.debugLine="For Each pr As String In prodsMap.Keys"; +RDebugUtils.currentLine=50200649; + //BA.debugLineNum = 50200649;BA.debugLine="clv_pedido.Clear"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=50200650; + //BA.debugLineNum = 50200650;BA.debugLine="Log(\"Usamos PRODSMAP\")"; +__c.LogImpl("250200650","Usamos PRODSMAP",0); +RDebugUtils.currentLine=50200651; + //BA.debugLineNum = 50200651;BA.debugLine="For Each pr As String In prodsMap.Keys"; { -final anywheresoftware.b4a.BA.IterableList group53 = _prodsmap.Keys(); +final anywheresoftware.b4a.BA.IterableList group53 = __ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen53 = group53.getSize() ;int index53 = 0; ; for (; index53 < groupLen53;index53++){ _pr = BA.ObjectToString(group53.Get(index53)); - //BA.debugLineNum = 504;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; +RDebugUtils.currentLine=50200652; + //BA.debugLineNum = 50200652;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; _pr1 = new anywheresoftware.b4a.objects.collections.Map(); -_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_pr)))); - //BA.debugLineNum = 505;BA.debugLine="Log(\"PPP: \" & pr & \"|PromoABorrar=\" & promoABor"; -__c.LogImpl("817432653","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0); - //BA.debugLineNum = 506;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_pr)))); +RDebugUtils.currentLine=50200653; + //BA.debugLineNum = 50200653;BA.debugLine="Log(\"PPP: \" & pr & \"|PromoABorrar=\" & promoABor"; +__c.LogImpl("250200653","PPP: "+_pr+"|PromoABorrar="+__ref._promoaborrar /*String*/ +"|"+BA.ObjectToString(_pr1),0); +RDebugUtils.currentLine=50200654; + //BA.debugLineNum = 50200654;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; _bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 507;BA.debugLine="textColor = Colors.black"; +RDebugUtils.currentLine=50200655; + //BA.debugLineNum = 50200655;BA.debugLine="textColor = Colors.black"; _textcolor = __c.Colors.Black; - //BA.debugLineNum = 508;BA.debugLine="newPromo = pr1.Get(\"promo\")"; +RDebugUtils.currentLine=50200656; + //BA.debugLineNum = 50200656;BA.debugLine="newPromo = pr1.Get(\"promo\")"; _newpromo = BA.ObjectToString(_pr1.Get((Object)("promo"))); - //BA.debugLineNum = 509;BA.debugLine="newPrecio = pr1.Get(\"precio\")"; +RDebugUtils.currentLine=50200657; + //BA.debugLineNum = 50200657;BA.debugLine="newPrecio = pr1.Get(\"precio\")"; _newprecio = BA.ObjectToString(_pr1.Get((Object)("precio"))); - //BA.debugLineNum = 510;BA.debugLine="Log(\"AAA: \" & newPromo & \"|\" & promoABorrar)"; -__c.LogImpl("817432658","AAA: "+_newpromo+"|"+_promoaborrar,0); - //BA.debugLineNum = 511;BA.debugLine="If newPromo = promoABorrar Then"; -if ((_newpromo).equals(_promoaborrar)) { - //BA.debugLineNum = 512;BA.debugLine="newPromo = 1"; +RDebugUtils.currentLine=50200658; + //BA.debugLineNum = 50200658;BA.debugLine="Log(\"AAA: \" & newPromo & \"|\" & promoABorrar)"; +__c.LogImpl("250200658","AAA: "+_newpromo+"|"+__ref._promoaborrar /*String*/ ,0); +RDebugUtils.currentLine=50200659; + //BA.debugLineNum = 50200659;BA.debugLine="If newPromo = promoABorrar Then"; +if ((_newpromo).equals(__ref._promoaborrar /*String*/ )) { +RDebugUtils.currentLine=50200660; + //BA.debugLineNum = 50200660;BA.debugLine="newPromo = 1"; _newpromo = BA.NumberToString(1); - //BA.debugLineNum = 513;BA.debugLine="newPrecio = Subs.traePrecio(pr, False) * pr1.G"; +RDebugUtils.currentLine=50200661; + //BA.debugLineNum = 50200661;BA.debugLine="newPrecio = Subs.traePrecio(pr, False) * pr1.G"; _newprecio = BA.NumberToString((double)(Double.parseDouble(_subs._traeprecio /*String*/ (ba,_pr,BA.ObjectToString(__c.False))))*(double)(BA.ObjectToNumber(_pr1.Get((Object)("cant"))))); - //BA.debugLineNum = 515;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +RDebugUtils.currentLine=50200663; + //BA.debugLineNum = 50200663;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 = 516;BA.debugLine="LogColor(\"CAMBIAMOS PROMO: \" & newPromo, Color"; -__c.LogImpl("817432664","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta); +RDebugUtils.currentLine=50200664; + //BA.debugLineNum = 50200664;BA.debugLine="LogColor(\"CAMBIAMOS PROMO: \" & newPromo, Color"; +__c.LogImpl("250200664","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta); }; - //BA.debugLineNum = 518;BA.debugLine="If newPromo <> \"1\" Then"; +RDebugUtils.currentLine=50200666; + //BA.debugLineNum = 50200666;BA.debugLine="If newPromo <> \"1\" Then"; if ((_newpromo).equals("1") == false) { - //BA.debugLineNum = 520;BA.debugLine="bgColor = Colors.White"; +RDebugUtils.currentLine=50200668; + //BA.debugLineNum = 50200668;BA.debugLine="bgColor = Colors.White"; _bgcolor = __c.Colors.White; }; - //BA.debugLineNum = 522;BA.debugLine="Log($\"CLI: ${pr1.Get(\"nombre\")}, ${newPrecio},"; -__c.LogImpl("817432670",("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 = 523;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 = 524;BA.debugLine="reconstruirPedido = False"; -_reconstruirpedido = __c.False; +RDebugUtils.currentLine=50200670; + //BA.debugLineNum = 50200670;BA.debugLine="Log($\"CLI: ${pr1.Get(\"nombre\")}, ${newPrecio},"; +__c.LogImpl("250200670",("CLI: "+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+", "+__c.SmartStringFormatter("",(Object)(_newprecio))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant")))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant2")))+""),0); +RDebugUtils.currentLine=50200671; + //BA.debugLineNum = 50200671;BA.debugLine="clv_pedido.Add(CreateListItem(pr1.Get(\"nombre\")"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,BA.ObjectToString(_pr1.Get((Object)("nombre"))),_newprecio,(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant")))),(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant2")))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,_pr,_bgcolor,_textcolor,_newpromo,BA.ObjectToString(_pr1.Get((Object)("cli_orig")))).getObject())),_pr1.Get((Object)("nombre"))); +RDebugUtils.currentLine=50200672; + //BA.debugLineNum = 50200672;BA.debugLine="reconstruirPedido = False"; +__ref._reconstruirpedido /*boolean*/ = __c.False; } }; - //BA.debugLineNum = 526;BA.debugLine="promoABorrar = \"\""; -_promoaborrar = ""; +RDebugUtils.currentLine=50200674; + //BA.debugLineNum = 50200674;BA.debugLine="promoABorrar = \"\""; +__ref._promoaborrar /*String*/ = ""; }; - //BA.debugLineNum = 528;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; -__c.LogImpl("817432676",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0); - //BA.debugLineNum = 529;BA.debugLine="LogColor(\"prodsMap=\" & prodsMap, Colors.Green)"; -__c.LogImpl("817432677","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green); - //BA.debugLineNum = 532;BA.debugLine="LogColor(prodsMap, Colors.Blue)"; -__c.LogImpl("817432680",BA.ObjectToString(_prodsmap),__c.Colors.Blue); - //BA.debugLineNum = 533;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 = 534;BA.debugLine="Dim cantidad1 As String = 0"; +RDebugUtils.currentLine=50200676; + //BA.debugLineNum = 50200676;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +__c.LogImpl("250200676",("Total Prods: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*int*/ ))+""),0); +RDebugUtils.currentLine=50200677; + //BA.debugLineNum = 50200677;BA.debugLine="LogColor(\"prodsMap=\" & prodsMap, Colors.Green)"; +__c.LogImpl("250200677","prodsMap="+BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Green); +RDebugUtils.currentLine=50200680; + //BA.debugLineNum = 50200680;BA.debugLine="LogColor(prodsMap, Colors.Blue)"; +__c.LogImpl("250200680",BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=50200681; + //BA.debugLineNum = 50200681;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT sum(HVD_CANT)"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); +RDebugUtils.currentLine=50200682; + //BA.debugLineNum = 50200682;BA.debugLine="Dim cantidad1 As String = 0"; _cantidad1 = BA.NumberToString(0); - //BA.debugLineNum = 535;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 536;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 537;BA.debugLine="cantidad1 = c.GetString(\"CANTIDAD\")"; -_cantidad1 = _c.GetString("CANTIDAD"); - //BA.debugLineNum = 538;BA.debugLine="L_CANT.Text = Round(cantidad1)"; -_l_cant.setText(BA.ObjectToCharSequence(__c.Round((double)(Double.parseDouble(_cantidad1))))); +RDebugUtils.currentLine=50200683; + //BA.debugLineNum = 50200683;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50200684; + //BA.debugLineNum = 50200684;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50200685; + //BA.debugLineNum = 50200685;BA.debugLine="cantidad1 = c.GetString(\"CANTIDAD\")"; +_cantidad1 = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTIDAD"); +RDebugUtils.currentLine=50200686; + //BA.debugLineNum = 50200686;BA.debugLine="L_CANT.Text = Round(cantidad1)"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round((double)(Double.parseDouble(_cantidad1))))); }; - //BA.debugLineNum = 540;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 542;BA.debugLine="Dim totalfinal As String = 0"; +RDebugUtils.currentLine=50200688; + //BA.debugLineNum = 50200688;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50200690; + //BA.debugLineNum = 50200690;BA.debugLine="Dim totalfinal As String = 0"; _totalfinal = BA.NumberToString(0); - //BA.debugLineNum = 543;BA.debugLine="For Each pr As String In prodsMap.Keys"; +RDebugUtils.currentLine=50200691; + //BA.debugLineNum = 50200691;BA.debugLine="For Each pr As String In prodsMap.Keys"; { -final anywheresoftware.b4a.BA.IterableList group88 = _prodsmap.Keys(); +final anywheresoftware.b4a.BA.IterableList group88 = __ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen88 = group88.getSize() ;int index88 = 0; ; for (; index88 < groupLen88;index88++){ _pr = BA.ObjectToString(group88.Get(index88)); - //BA.debugLineNum = 544;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; +RDebugUtils.currentLine=50200692; + //BA.debugLineNum = 50200692;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; _pr1 = new anywheresoftware.b4a.objects.collections.Map(); -_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_pr)))); - //BA.debugLineNum = 546;BA.debugLine="Dim x As Cursor = Starter.skmt.ExecQuery($\"SELEC"; +_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_pr)))); +RDebugUtils.currentLine=50200694; + //BA.debugLineNum = 50200694;BA.debugLine="Dim x As Cursor = Starter.skmt.ExecQuery($\"SELEC"; _x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_pr))+"'")))); - //BA.debugLineNum = 547;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT HVD_CANT FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT HVD_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID ='"+__c.SmartStringFormatter("",(Object)(_pr))+"' ")))); - //BA.debugLineNum = 548;BA.debugLine="Dim cantidady As String = 0"; +RDebugUtils.currentLine=50200695; + //BA.debugLineNum = 50200695;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT HVD_CANT FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT HVD_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID ='"+__c.SmartStringFormatter("",(Object)(_pr))+"' ")))); +RDebugUtils.currentLine=50200696; + //BA.debugLineNum = 50200696;BA.debugLine="Dim cantidady As String = 0"; _cantidady = BA.NumberToString(0); - //BA.debugLineNum = 549;BA.debugLine="If c.RowCount >0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 550;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 551;BA.debugLine="cantidady = c.GetString(\"HVD_CANT\")"; -_cantidady = _c.GetString("HVD_CANT"); +RDebugUtils.currentLine=50200697; + //BA.debugLineNum = 50200697;BA.debugLine="If c.RowCount >0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50200698; + //BA.debugLineNum = 50200698;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50200699; + //BA.debugLineNum = 50200699;BA.debugLine="cantidady = c.GetString(\"HVD_CANT\")"; +_cantidady = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"); }; - //BA.debugLineNum = 554;BA.debugLine="If x.RowCount > 0 Then"; +RDebugUtils.currentLine=50200702; + //BA.debugLineNum = 50200702;BA.debugLine="If x.RowCount > 0 Then"; if (_x.getRowCount()>0) { - //BA.debugLineNum = 555;BA.debugLine="x.Position = 0"; +RDebugUtils.currentLine=50200703; + //BA.debugLineNum = 50200703;BA.debugLine="x.Position = 0"; _x.setPosition((int) (0)); - //BA.debugLineNum = 557;BA.debugLine="Dim preciou As String = x.GetString(\"CAT_GP_PRE"; +RDebugUtils.currentLine=50200705; + //BA.debugLineNum = 50200705;BA.debugLine="Dim preciou As String = x.GetString(\"CAT_GP_PRE"; _preciou = _x.GetString("CAT_GP_PRECIO"); - //BA.debugLineNum = 558;BA.debugLine="Dim costototalhist As String = preciou * canti"; +RDebugUtils.currentLine=50200706; + //BA.debugLineNum = 50200706;BA.debugLine="Dim costototalhist As String = preciou * canti"; _costototalhist = BA.NumberToString((double)(Double.parseDouble(_preciou))*(double)(Double.parseDouble(_cantidady))); }; - //BA.debugLineNum = 561;BA.debugLine="totalfinal = totalfinal + costototalhist"; +RDebugUtils.currentLine=50200709; + //BA.debugLineNum = 50200709;BA.debugLine="totalfinal = totalfinal + costototalhist"; _totalfinal = BA.NumberToString((double)(Double.parseDouble(_totalfinal))+(double)(Double.parseDouble(_costototalhist))); - //BA.debugLineNum = 562;BA.debugLine="x.Close"; +RDebugUtils.currentLine=50200710; + //BA.debugLineNum = 50200710;BA.debugLine="x.Close"; _x.Close(); } }; - //BA.debugLineNum = 564;BA.debugLine="L_TOTAL.Text = Round2(totalfinal, 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_totalfinal)),(int) (2)))); - //BA.debugLineNum = 565;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 567;BA.debugLine="c = Starter.skmt.ExecQuery(\"select COUNT(*) AS CU"; -_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 COUNT(*) AS CUANTOS from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))); - //BA.debugLineNum = 568;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 569;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 570;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 572;BA.debugLine="Dim z As Cursor = Starter.skmt.ExecQuery($\"sele"; +RDebugUtils.currentLine=50200712; + //BA.debugLineNum = 50200712;BA.debugLine="L_TOTAL.Text = Round2(totalfinal, 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_totalfinal)),(int) (2)))); +RDebugUtils.currentLine=50200713; + //BA.debugLineNum = 50200713;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50200715; + //BA.debugLineNum = 50200715;BA.debugLine="c = Starter.skmt.ExecQuery(\"select COUNT(*) AS CU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))); +RDebugUtils.currentLine=50200716; + //BA.debugLineNum = 50200716;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50200717; + //BA.debugLineNum = 50200717;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50200718; + //BA.debugLineNum = 50200718;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=50200720; + //BA.debugLineNum = 50200720;BA.debugLine="Dim z As Cursor = Starter.skmt.ExecQuery($\"sele"; _z = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _z = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select SUM(REP_CANT) AS CANTIDAD , SUM(REP_PRECIO) AS PRECIO from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE")))); - //BA.debugLineNum = 573;BA.debugLine="Dim cantidad2 As String = 0"; +RDebugUtils.currentLine=50200721; + //BA.debugLineNum = 50200721;BA.debugLine="Dim cantidad2 As String = 0"; _cantidad2 = BA.NumberToString(0); - //BA.debugLineNum = 575;BA.debugLine="If z.RowCount > 0 Then"; +RDebugUtils.currentLine=50200723; + //BA.debugLineNum = 50200723;BA.debugLine="If z.RowCount > 0 Then"; if (_z.getRowCount()>0) { - //BA.debugLineNum = 576;BA.debugLine="z.Position = 0"; +RDebugUtils.currentLine=50200724; + //BA.debugLineNum = 50200724;BA.debugLine="z.Position = 0"; _z.setPosition((int) (0)); - //BA.debugLineNum = 577;BA.debugLine="cantidad2= z.GetString(\"CANTIDAD\")"; +RDebugUtils.currentLine=50200725; + //BA.debugLineNum = 50200725;BA.debugLine="cantidad2= z.GetString(\"CANTIDAD\")"; _cantidad2 = _z.GetString("CANTIDAD"); - //BA.debugLineNum = 580;BA.debugLine="L_CANT.Text = Round((cantidad1 + cantidad2))"; -_l_cant.setText(BA.ObjectToCharSequence(__c.Round(((double)(Double.parseDouble(_cantidad1))+(double)(Double.parseDouble(_cantidad2)))))); +RDebugUtils.currentLine=50200728; + //BA.debugLineNum = 50200728;BA.debugLine="L_CANT.Text = Round((cantidad1 + cantidad2))"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round(((double)(Double.parseDouble(_cantidad1))+(double)(Double.parseDouble(_cantidad2)))))); }; - //BA.debugLineNum = 582;BA.debugLine="z.Close"; +RDebugUtils.currentLine=50200730; + //BA.debugLineNum = 50200730;BA.debugLine="z.Close"; _z.Close(); }; }; - //BA.debugLineNum = 590;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50200738; + //BA.debugLineNum = 50200738;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 180;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 183;BA.debugLine="End Sub"; +public String _gps_locationchanged(reparto_intmex.keymon.lat.c_historico __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=49676288; + //BA.debugLineNum = 49676288;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=49676291; + //BA.debugLineNum = 49676291;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_historico __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 43;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 44;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=49479680; + //BA.debugLineNum = 49479680;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=49479681; + //BA.debugLineNum = 49479681;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 45;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49479682; + //BA.debugLineNum = 49479682;BA.debugLine="End Sub"; return null; } -public String _l_pcant_click() throws Exception{ - //BA.debugLineNum = 597;BA.debugLine="Private Sub l_pCant_Click"; - //BA.debugLineNum = 599;BA.debugLine="End Sub"; +public String _l_pcant_click(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "l_pcant_click", false)) + {return ((String) Debug.delegate(ba, "l_pcant_click", null));} +RDebugUtils.currentLine=50331648; + //BA.debugLineNum = 50331648;BA.debugLine="Private Sub l_pCant_Click"; +RDebugUtils.currentLine=50331650; + //BA.debugLineNum = 50331650;BA.debugLine="End Sub"; return ""; } -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 197;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 241;BA.debugLine="End Sub"; +public String _listview1_itemlongclick(reparto_intmex.keymon.lat.c_historico __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=49872896; + //BA.debugLineNum = 49872896;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=49872940; + //BA.debugLineNum = 49872940;BA.debugLine="End Sub"; return ""; } -public String _lv2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 243;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; - //BA.debugLineNum = 304;BA.debugLine="End Sub"; +public String _lv2_itemclick(reparto_intmex.keymon.lat.c_historico __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "lv2_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=49938432; + //BA.debugLineNum = 49938432;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +RDebugUtils.currentLine=49938493; + //BA.debugLineNum = 49938493;BA.debugLine="End Sub"; return ""; } -public String _p_prods_click() throws Exception{ - //BA.debugLineNum = 601;BA.debugLine="Sub p_prods_Click"; - //BA.debugLineNum = 602;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("817629185",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 = 603;BA.debugLine="End Sub"; +public String _p_prods_click(reparto_intmex.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "p_prods_click", false)) + {return ((String) Debug.delegate(ba, "p_prods_click", null));} +RDebugUtils.currentLine=50397184; + //BA.debugLineNum = 50397184;BA.debugLine="Sub p_prods_Click"; +RDebugUtils.currentLine=50397185; + //BA.debugLineNum = 50397185;BA.debugLine="Log(Sender.As(Panel).tag)"; +__c.LogImpl("250397185",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +RDebugUtils.currentLine=50397186; + //BA.debugLineNum = 50397186;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_mapas.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_mapas.java index 21a3a83..0c61151 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_mapas.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_mapas.java @@ -10,7 +10,7 @@ public class c_mapas extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_mapas"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_mapas"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,16 +23,23 @@ public class c_mapas extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -40,34 +47,48 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_mapas __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_mapas"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=50528256; + //BA.debugLineNum = 50528256;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=50528257; + //BA.debugLineNum = 50528257;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50528258; + //BA.debugLineNum = 50528258;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_mapas __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_mapas"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=50593792; + //BA.debugLineNum = 50593792;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=50593793; + //BA.debugLineNum = 50593793;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=50593796; + //BA.debugLineNum = 50593796;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(reparto_intmex.keymon.lat.c_mapas __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_mapas"; +RDebugUtils.currentLine=50462720; + //BA.debugLineNum = 50462720;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=50462721; + //BA.debugLineNum = 50462721;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=50462722; + //BA.debugLineNum = 50462722;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=50462723; + //BA.debugLineNum = 50462723;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_noventa.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_noventa.java index 00eab29..a6fb167 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_noventa.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_noventa.java @@ -10,7 +10,7 @@ public class c_noventa extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_noventa"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_noventa"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_noventa extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -49,10 +56,10 @@ public int _reprogramar = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -60,110 +67,198 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 41;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 42;BA.debugLine="e_comm.Text=\"\""; -_e_comm.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 43;BA.debugLine="r_1.Checked = False"; -_r_1.setChecked(__c.False); - //BA.debugLineNum = 44;BA.debugLine="r_2.Checked = False"; -_r_2.setChecked(__c.False); - //BA.debugLineNum = 45;BA.debugLine="r_3.Checked = False"; -_r_3.setChecked(__c.False); - //BA.debugLineNum = 46;BA.debugLine="r_4.Checked = False"; -_r_4.setChecked(__c.False); - //BA.debugLineNum = 47;BA.debugLine="cb_reprogramar.Checked = False"; -_cb_reprogramar.setChecked(__c.False); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +public Object _initialize(reparto_intmex.keymon.lat.c_noventa __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=50724864; + //BA.debugLineNum = 50724864;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=50724865; + //BA.debugLineNum = 50724865;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=50724866; + //BA.debugLineNum = 50724866;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +RDebugUtils.currentLine=50855936; + //BA.debugLineNum = 50855936;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=50855937; + //BA.debugLineNum = 50855937;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=50855938; + //BA.debugLineNum = 50855938;BA.debugLine="e_comm.Text=\"\""; +__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=50855939; + //BA.debugLineNum = 50855939;BA.debugLine="r_1.Checked = False"; +__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=50855940; + //BA.debugLineNum = 50855940;BA.debugLine="r_2.Checked = False"; +__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=50855941; + //BA.debugLineNum = 50855941;BA.debugLine="r_3.Checked = False"; +__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=50855942; + //BA.debugLineNum = 50855942;BA.debugLine="r_4.Checked = False"; +__ref._r_4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=50855943; + //BA.debugLineNum = 50855943;BA.debugLine="cb_reprogramar.Checked = False"; +__ref._cb_reprogramar /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=50855944; + //BA.debugLineNum = 50855944;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 31;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 32;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 34;BA.debugLine="Root.LoadLayout(\"no_venta\")"; -_root.LoadLayout("no_venta",ba); - //BA.debugLineNum = 35;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_noventa __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=50790400; + //BA.debugLineNum = 50790400;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=50790401; + //BA.debugLineNum = 50790401;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=50790403; + //BA.debugLineNum = 50790403;BA.debugLine="Root.LoadLayout(\"no_venta\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("no_venta",ba); +RDebugUtils.currentLine=50790404; + //BA.debugLineNum = 50790404;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=50790405; + //BA.debugLineNum = 50790405;BA.debugLine="End Sub"; return ""; } -public String _cancela_click() throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Sub CANCELA_Click"; - //BA.debugLineNum = 56;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +public String _cancela_click(reparto_intmex.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "cancela_click", false)) + {return ((String) Debug.delegate(ba, "cancela_click", null));} +RDebugUtils.currentLine=50987008; + //BA.debugLineNum = 50987008;BA.debugLine="Sub CANCELA_Click"; +RDebugUtils.currentLine=50987009; + //BA.debugLineNum = 50987009;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50987010; + //BA.debugLineNum = 50987010;BA.debugLine="End Sub"; return ""; } -public String _cb_reprogramar_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 199;BA.debugLine="Private Sub cb_reprogramar_CheckedChange(Checked A"; - //BA.debugLineNum = 200;BA.debugLine="If Checked Then"; +public String _cb_reprogramar_checkedchange(reparto_intmex.keymon.lat.c_noventa __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "cb_reprogramar_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb_reprogramar_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=51249152; + //BA.debugLineNum = 51249152;BA.debugLine="Private Sub cb_reprogramar_CheckedChange(Checked A"; +RDebugUtils.currentLine=51249153; + //BA.debugLineNum = 51249153;BA.debugLine="If Checked Then"; if (_checked) { - //BA.debugLineNum = 201;BA.debugLine="reprogramar = 1"; -_reprogramar = (int) (1); +RDebugUtils.currentLine=51249154; + //BA.debugLineNum = 51249154;BA.debugLine="reprogramar = 1"; +__ref._reprogramar /*int*/ = (int) (1); }else { - //BA.debugLineNum = 203;BA.debugLine="reprogramar = 0"; -_reprogramar = (int) (0); +RDebugUtils.currentLine=51249156; + //BA.debugLineNum = 51249156;BA.debugLine="reprogramar = 0"; +__ref._reprogramar /*int*/ = (int) (0); }; - //BA.debugLineNum = 205;BA.debugLine="End Sub"; +RDebugUtils.currentLine=51249158; + //BA.debugLineNum = 51249158;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +RDebugUtils.currentLine=50659328; + //BA.debugLineNum = 50659328;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=50659329; + //BA.debugLineNum = 50659329;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=50659330; + //BA.debugLineNum = 50659330;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=50659331; + //BA.debugLineNum = 50659331;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=50659332; + //BA.debugLineNum = 50659332;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim COMENTARIO As String"; +RDebugUtils.currentLine=50659333; + //BA.debugLineNum = 50659333;BA.debugLine="Dim COMENTARIO As String"; _comentario = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim CANCELA As Button"; +RDebugUtils.currentLine=50659334; + //BA.debugLineNum = 50659334;BA.debugLine="Dim CANCELA As Button"; _cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim GUARDA As Button"; +RDebugUtils.currentLine=50659335; + //BA.debugLineNum = 50659335;BA.debugLine="Dim GUARDA As Button"; _guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim r_1 As RadioButton"; +RDebugUtils.currentLine=50659336; + //BA.debugLineNum = 50659336;BA.debugLine="Dim r_1 As RadioButton"; _r_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim r_2 As RadioButton"; +RDebugUtils.currentLine=50659337; + //BA.debugLineNum = 50659337;BA.debugLine="Dim r_2 As RadioButton"; _r_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim r_3 As RadioButton"; +RDebugUtils.currentLine=50659338; + //BA.debugLineNum = 50659338;BA.debugLine="Dim r_3 As RadioButton"; _r_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim e_comm As EditText"; +RDebugUtils.currentLine=50659339; + //BA.debugLineNum = 50659339;BA.debugLine="Dim e_comm As EditText"; _e_comm = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim motivo As String"; +RDebugUtils.currentLine=50659340; + //BA.debugLineNum = 50659340;BA.debugLine="Dim motivo As String"; _motivo = ""; - //BA.debugLineNum = 14;BA.debugLine="Dim cuenta As String"; +RDebugUtils.currentLine=50659341; + //BA.debugLineNum = 50659341;BA.debugLine="Dim cuenta As String"; _cuenta = ""; - //BA.debugLineNum = 15;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=50659342; + //BA.debugLineNum = 50659342;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=50659343; + //BA.debugLineNum = 50659343;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 17;BA.debugLine="Dim r_4 As RadioButton"; +RDebugUtils.currentLine=50659344; + //BA.debugLineNum = 50659344;BA.debugLine="Dim r_4 As RadioButton"; _r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=50659345; + //BA.debugLineNum = 50659345;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim d As Cursor"; +RDebugUtils.currentLine=50659346; + //BA.debugLineNum = 50659346;BA.debugLine="Dim d As Cursor"; _d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim reqManager As DBRequestManager"; +RDebugUtils.currentLine=50659347; + //BA.debugLineNum = 50659347;BA.debugLine="Dim reqManager As DBRequestManager"; _reqmanager = new reparto_intmex.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 21;BA.debugLine="Private cb_reprogramar As CheckBox"; +RDebugUtils.currentLine=50659348; + //BA.debugLineNum = 50659348;BA.debugLine="Private cb_reprogramar As CheckBox"; _cb_reprogramar = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim reprogramar As Int = 0"; +RDebugUtils.currentLine=50659349; + //BA.debugLineNum = 50659349;BA.debugLine="Dim reprogramar As Int = 0"; _reprogramar = (int) (0); - //BA.debugLineNum = 23;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50659350; + //BA.debugLineNum = 50659350;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 53;BA.debugLine="End Sub"; +public String _gps_locationchanged(reparto_intmex.keymon.lat.c_noventa __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=50921472; + //BA.debugLineNum = 50921472;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=50921475; + //BA.debugLineNum = 50921475;BA.debugLine="End Sub"; return ""; } -public String _guarda_click() throws Exception{ +public String _guarda_click(reparto_intmex.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "guarda_click", false)) + {return ((String) Debug.delegate(ba, "guarda_click", null));} String _rutaactualizar = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; String _estecliente = ""; @@ -173,197 +268,277 @@ int _i = 0; String _ruta = ""; String _rutapre = ""; String _fechaprev = ""; - //BA.debugLineNum = 59;BA.debugLine="Sub GUARDA_Click"; - //BA.debugLineNum = 60;BA.debugLine="If r_1.Checked = False And r_2.Checked = False An"; -if (_r_1.getChecked()==__c.False && _r_2.getChecked()==__c.False && _r_3.getChecked()==__c.False && _r_4.getChecked()==__c.False) { - //BA.debugLineNum = 61;BA.debugLine="MsgboxAsync(\"Selecciona un motivo de rechazo\",\"A"; +RDebugUtils.currentLine=51052544; + //BA.debugLineNum = 51052544;BA.debugLine="Sub GUARDA_Click"; +RDebugUtils.currentLine=51052545; + //BA.debugLineNum = 51052545;BA.debugLine="If r_1.Checked = False And r_2.Checked = False An"; +if (__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._r_4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=51052546; + //BA.debugLineNum = 51052546;BA.debugLine="MsgboxAsync(\"Selecciona un motivo de rechazo\",\"A"; __c.MsgboxAsync(BA.ObjectToCharSequence("Selecciona un motivo de rechazo"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 64;BA.debugLine="If r_1.Checked Then"; -if (_r_1.getChecked()) { - //BA.debugLineNum = 65;BA.debugLine="motivo = \"CERRADO\""; -_motivo = "CERRADO"; - }else if(_r_2.getChecked()) { - //BA.debugLineNum = 67;BA.debugLine="motivo = \"NO PIDIO\""; -_motivo = "NO PIDIO"; - }else if(_r_3.getChecked()) { - //BA.debugLineNum = 69;BA.debugLine="motivo = \"CANCELA\""; -_motivo = "CANCELA"; +RDebugUtils.currentLine=51052549; + //BA.debugLineNum = 51052549;BA.debugLine="If r_1.Checked Then"; +if (__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=51052550; + //BA.debugLineNum = 51052550;BA.debugLine="motivo = \"CERRADO\""; +__ref._motivo /*String*/ = "CERRADO"; + }else +{RDebugUtils.currentLine=51052551; + //BA.debugLineNum = 51052551;BA.debugLine="Else If r_2.Checked Then"; +if (__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=51052552; + //BA.debugLineNum = 51052552;BA.debugLine="motivo = \"NO PIDIO\""; +__ref._motivo /*String*/ = "NO PIDIO"; + }else +{RDebugUtils.currentLine=51052553; + //BA.debugLineNum = 51052553;BA.debugLine="Else If r_3.Checked Then"; +if (__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=51052554; + //BA.debugLineNum = 51052554;BA.debugLine="motivo = \"CANCELA\""; +__ref._motivo /*String*/ = "CANCELA"; }else { - //BA.debugLineNum = 71;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; -_motivo = "NO ESTA EL ENCARGADO"; - }; - //BA.debugLineNum = 74;BA.debugLine="If motivo <> \"CERRADO\" Or motivo = \"CERRADO\" Th"; -if ((_motivo).equals("CERRADO") == false || (_motivo).equals("CERRADO")) { - //BA.debugLineNum = 75;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=51052556; + //BA.debugLineNum = 51052556;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +__ref._motivo /*String*/ = "NO ESTA EL ENCARGADO"; + }}} +; +RDebugUtils.currentLine=51052559; + //BA.debugLineNum = 51052559;BA.debugLine="If motivo <> \"CERRADO\" Or motivo = \"CERRADO\" Th"; +if ((__ref._motivo /*String*/ ).equals("CERRADO") == false || (__ref._motivo /*String*/ ).equals("CERRADO")) { +RDebugUtils.currentLine=51052560; + //BA.debugLineNum = 51052560;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 76;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +RDebugUtils.currentLine=51052561; + //BA.debugLineNum = 51052561;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; __c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 77;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 78;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 79;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cu"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 80;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 81;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 82;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from u"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 83;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 84;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 85;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 86;BA.debugLine="Dim rutaactualizar As String"; +RDebugUtils.currentLine=51052562; + //BA.debugLineNum = 51052562;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=51052563; + //BA.debugLineNum = 51052563;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=51052564; + //BA.debugLineNum = 51052564;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cu"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=51052565; + //BA.debugLineNum = 51052565;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51052566; + //BA.debugLineNum = 51052566;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=51052567; + //BA.debugLineNum = 51052567;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from u"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=51052568; + //BA.debugLineNum = 51052568;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51052569; + //BA.debugLineNum = 51052569;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=51052570; + //BA.debugLineNum = 51052570;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51052571; + //BA.debugLineNum = 51052571;BA.debugLine="Dim rutaactualizar As String"; _rutaactualizar = ""; - //BA.debugLineNum = 87;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SEL"; +RDebugUtils.currentLine=51052572; + //BA.debugLineNum = 51052572;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SEL"; _rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _rut = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 88;BA.debugLine="If rut.RowCount > 0 Then"; +RDebugUtils.currentLine=51052573; + //BA.debugLineNum = 51052573;BA.debugLine="If rut.RowCount > 0 Then"; if (_rut.getRowCount()>0) { - //BA.debugLineNum = 89;BA.debugLine="rut.Position = 0"; +RDebugUtils.currentLine=51052574; + //BA.debugLineNum = 51052574;BA.debugLine="rut.Position = 0"; _rut.setPosition((int) (0)); - //BA.debugLineNum = 90;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +RDebugUtils.currentLine=51052575; + //BA.debugLineNum = 51052575;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; _rutaactualizar = _rut.GetString("CAT_CL_RUTA"); }; - //BA.debugLineNum = 92;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA"; +RDebugUtils.currentLine=51052577; + //BA.debugLineNum = 51052577;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) ")); - //BA.debugLineNum = 94;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_NUM_REGIST"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_NUM_REGISTRO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_PROID, CAT_GP_PRECIO from HIST_VENTAS2 join CAT_GUNAPROD on CAT_GP_ID = HVD_PROID WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 95;BA.debugLine="If c.RowCount > 0 Then 'Si hay pedido en HIST_"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 98;BA.debugLine="Private esteCliente As String = Subs.traeClien"; +RDebugUtils.currentLine=51052579; + //BA.debugLineNum = 51052579;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_NUM_REGIST"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_NUM_REGISTRO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_PROID, CAT_GP_PRECIO from HIST_VENTAS2 join CAT_GUNAPROD on CAT_GP_ID = HVD_PROID WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=51052580; + //BA.debugLineNum = 51052580;BA.debugLine="If c.RowCount > 0 Then 'Si hay pedido en HIST_"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=51052583; + //BA.debugLineNum = 51052583;BA.debugLine="Private esteCliente As String = Subs.traeClien"; _estecliente = _subs._traecliente /*String*/ (ba); - //BA.debugLineNum = 99;BA.debugLine="Private rv As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=51052584; + //BA.debugLineNum = 51052584;BA.debugLine="Private rv As Cursor = Starter.skmt.ExecQuery("; _rv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _rv = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_CLI_ORIG <> '"+__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_RECHAZO = 0")))); - //BA.debugLineNum = 100;BA.debugLine="If rv.RowCount > 0 Then 'Si tenemos venta en e"; +RDebugUtils.currentLine=51052585; + //BA.debugLineNum = 51052585;BA.debugLine="If rv.RowCount > 0 Then 'Si tenemos venta en e"; if (_rv.getRowCount()>0) { - //BA.debugLineNum = 101;BA.debugLine="For i2=0 To rv.RowCount - 1"; +RDebugUtils.currentLine=51052586; + //BA.debugLineNum = 51052586;BA.debugLine="For i2=0 To rv.RowCount - 1"; { final int step37 = 1; final int limit37 = (int) (_rv.getRowCount()-1); _i2 = (int) (0) ; for (;_i2 <= limit37 ;_i2 = _i2 + step37 ) { - //BA.debugLineNum = 102;BA.debugLine="rv.Position = i2"; +RDebugUtils.currentLine=51052587; + //BA.debugLineNum = 51052587;BA.debugLine="rv.Position = i2"; _rv.setPosition(_i2); - //BA.debugLineNum = 103;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Ge"; -__c.LogImpl("818284588",("Actualizamos REPARTO - cliente="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0); - //BA.debugLineNum = 104;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO s"; +RDebugUtils.currentLine=51052588; + //BA.debugLineNum = 51052588;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Ge"; +__c.LogImpl("251052588",("Actualizamos REPARTO - cliente="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0); +RDebugUtils.currentLine=51052589; + //BA.debugLineNum = 51052589;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO s"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update REPARTO set REP_CANT = REP_CANT + "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+" where REP_RECHAZO = '1' and REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"'")); } }; }; - //BA.debugLineNum = 108;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from reparto"; +RDebugUtils.currentLine=51052593; + //BA.debugLineNum = 51052593;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from reparto"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from reparto where REP_CLIENTE IN (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 109;BA.debugLine="For i=0 To c.RowCount - 1 'Insertamos los prod"; +RDebugUtils.currentLine=51052594; + //BA.debugLineNum = 51052594;BA.debugLine="For i=0 To c.RowCount - 1 'Insertamos los prod"; { final int step44 = 1; -final int limit44 = (int) (_c.getRowCount()-1); +final int limit44 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit44 ;_i = _i + step44 ) { - //BA.debugLineNum = 110;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 111;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGIST"; -__c.LogImpl("818284596",("REGISTRO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+""),0); - //BA.debugLineNum = 112;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar"; -_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[]{_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PRONOMBRE"),_c.GetString("HVD_CANT"),_c.GetString("HVD_COSTO_TOT"),_c.GetString("HVD_FECHA"),_c.GetString("HVD_PROID"),_c.GetString("CAT_GP_PRECIO"),_c.GetString("HVD_NUM_REGISTRO"),_c.GetString("HVD_CLIENTE")})); - //BA.debugLineNum = 113;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PRONOMBRE"),BA.NumberToString(0),_c.GetString("HVD_COSTO_TOT"),_c.GetString("HVD_FECHA"),_c.GetString("HVD_PROID"),_c.GetString("CAT_GP_PRECIO"),_c.GetString("HVD_NUM_REGISTRO"),_c.GetString("HVD_CLIENTE")})); - //BA.debugLineNum = 114;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("HVD_CANT")),(Object)(_c.GetString("HVD_PRONOMBRE"))})); +RDebugUtils.currentLine=51052595; + //BA.debugLineNum = 51052595;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=51052596; + //BA.debugLineNum = 51052596;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGIST"; +__c.LogImpl("251052596",("REGISTRO= "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+""),0); +RDebugUtils.currentLine=51052597; + //BA.debugLineNum = 51052597;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")})); +RDebugUtils.currentLine=51052598; + //BA.debugLineNum = 51052598;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),BA.NumberToString(0),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")})); +RDebugUtils.currentLine=51052599; + //BA.debugLineNum = 51052599;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"))})); } }; }; - //BA.debugLineNum = 118;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_motivo),(Object)(_e_comm.getText()),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar),(Object)(_reprogramar)})); - //BA.debugLineNum = 119;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+__c.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); - //BA.debugLineNum = 120;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS S"; +RDebugUtils.currentLine=51052603; + //BA.debugLineNum = 51052603;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cuenta /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._motivo /*String*/ ),(Object)(__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar),(Object)(__ref._reprogramar /*int*/ )})); +RDebugUtils.currentLine=51052604; + //BA.debugLineNum = 51052604;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); +RDebugUtils.currentLine=51052605; + //BA.debugLineNum = 51052605;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS S"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 121;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +RDebugUtils.currentLine=51052606; + //BA.debugLineNum = 51052606;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 122;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDIDO W"; +RDebugUtils.currentLine=51052607; + //BA.debugLineNum = 51052607;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDIDO W"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 123;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM R"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); - //BA.debugLineNum = 124;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 125;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; -_ruta = _d.GetString("RUTAA"); - //BA.debugLineNum = 126;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 127;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 128;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 129;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUT"; -_rutapre = _d.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 130;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 131;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FR"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 132;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 133;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_FECH"; -_fechaprev = _d.GetString("HVD_FECHA"); - //BA.debugLineNum = 134;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 135;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); - //BA.debugLineNum = 136;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 137;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cuenta,_usuario,_sdate+" "+_stime,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,_motivo,_e_comm.getText(),"NO ENTREGADO"})); - //BA.debugLineNum = 143;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=51052608; + //BA.debugLineNum = 51052608;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM R"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=51052609; + //BA.debugLineNum = 51052609;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51052610; + //BA.debugLineNum = 51052610;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +_ruta = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=51052611; + //BA.debugLineNum = 51052611;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51052612; + //BA.debugLineNum = 51052612;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=51052613; + //BA.debugLineNum = 51052613;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51052614; + //BA.debugLineNum = 51052614;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUT"; +_rutapre = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=51052615; + //BA.debugLineNum = 51052615;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51052616; + //BA.debugLineNum = 51052616;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FR"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=51052617; + //BA.debugLineNum = 51052617;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51052618; + //BA.debugLineNum = 51052618;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_FECH"; +_fechaprev = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"); +RDebugUtils.currentLine=51052619; + //BA.debugLineNum = 51052619;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51052620; + //BA.debugLineNum = 51052620;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=51052621; + //BA.debugLineNum = 51052621;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51052622; + //BA.debugLineNum = 51052622;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._cuenta /*String*/ ,__ref._usuario /*String*/ ,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,__ref._motivo /*String*/ ,__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),"NO ENTREGADO"})); +RDebugUtils.currentLine=51052628; + //BA.debugLineNum = 51052628;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }else { - //BA.debugLineNum = 146;BA.debugLine="COMENTARIO = e_comm.Text"; -_comentario = _e_comm.getText(); +RDebugUtils.currentLine=51052631; + //BA.debugLineNum = 51052631;BA.debugLine="COMENTARIO = e_comm.Text"; +__ref._comentario /*String*/ = __ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); }; }; - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +RDebugUtils.currentLine=51052636; + //BA.debugLineNum = 51052636;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 26;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 27;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 28;BA.debugLine="End Sub"; -return null; -} -public String _jobdone(reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +public String _jobdone(reparto_intmex.keymon.lat.c_noventa __ref,reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} reparto_intmex.keymon.lat.dbrequestmanager._dbresult _resultado = null; String _cliente = ""; Object[] _records = null; String _k = ""; - //BA.debugLineNum = 174;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 175;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("818415617",BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 176;BA.debugLine="If Job.Success = False Then"; +RDebugUtils.currentLine=51183616; + //BA.debugLineNum = 51183616;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=51183617; + //BA.debugLineNum = 51183617;BA.debugLine="Log(Job.Success)"; +__c.LogImpl("251183617",BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=51183618; + //BA.debugLineNum = 51183618;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { }else { - //BA.debugLineNum = 179;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("818415621","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 180;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=51183621; + //BA.debugLineNum = 51183621;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("251183621","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=51183622; + //BA.debugLineNum = 51183622;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 181;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 182;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; +RDebugUtils.currentLine=51183623; + //BA.debugLineNum = 51183623;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=51183624; + //BA.debugLineNum = 51183624;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_REPARTOPendientes_head_")>-1) { - //BA.debugLineNum = 183;BA.debugLine="Private cliente As String= resultado.Tag"; +RDebugUtils.currentLine=51183625; + //BA.debugLineNum = 51183625;BA.debugLine="Private cliente As String= resultado.Tag"; _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 184;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +RDebugUtils.currentLine=51183626; + //BA.debugLineNum = 51183626;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; _cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 185;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("818415627",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 186;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; +RDebugUtils.currentLine=51183627; + //BA.debugLineNum = 51183627;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("251183627",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=51183628; + //BA.debugLineNum = 51183628;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 = 187;BA.debugLine="For Each records() As Object In resultado.Rows"; +RDebugUtils.currentLine=51183629; + //BA.debugLineNum = 51183629;BA.debugLine="For Each records() As Object In resultado.Rows"; { final anywheresoftware.b4a.BA.IterableList group12 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen12 = group12.getSize() @@ -371,7 +546,8 @@ final int groupLen12 = group12.getSize() ; for (; index12 < groupLen12;index12++){ _records = (Object[])(group12.Get(index12)); - //BA.debugLineNum = 188;BA.debugLine="For Each k As String In resultado.Columns.Key"; +RDebugUtils.currentLine=51183630; + //BA.debugLineNum = 51183630;BA.debugLine="For Each k As String In resultado.Columns.Key"; { final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen13 = group13.getSize() @@ -379,33 +555,32 @@ final int groupLen13 = group13.getSize() ; for (; index13 < groupLen13;index13++){ _k = BA.ObjectToString(group13.Get(index13)); - //BA.debugLineNum = 189;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("818415631",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +RDebugUtils.currentLine=51183631; + //BA.debugLineNum = 51183631;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("251183631",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 194;BA.debugLine="Job.Release"; -_job._release /*String*/ (); +RDebugUtils.currentLine=51183636; + //BA.debugLineNum = 51183636;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); }; - //BA.debugLineNum = 197;BA.debugLine="End Sub"; +RDebugUtils.currentLine=51183639; + //BA.debugLineNum = 51183639;BA.debugLine="End Sub"; return ""; } -public String _mandapendientesreparto() throws Exception{ - //BA.debugLineNum = 154;BA.debugLine="Sub mandaPendientesreparto"; - //BA.debugLineNum = 170;BA.debugLine="End Sub"; +public String _mandapendientesreparto(reparto_intmex.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "mandapendientesreparto", false)) + {return ((String) Debug.delegate(ba, "mandapendientesreparto", null));} +RDebugUtils.currentLine=51118080; + //BA.debugLineNum = 51118080;BA.debugLine="Sub mandaPendientesreparto"; +RDebugUtils.currentLine=51118096; + //BA.debugLineNum = 51118096;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((reparto_intmex.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_nuevocliente.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_nuevocliente.java index c41a5ef..ee0f06b 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_nuevocliente.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_nuevocliente.java @@ -10,7 +10,7 @@ public class c_nuevocliente extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_nuevocliente"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_nuevocliente"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,16 +23,23 @@ public class c_nuevocliente extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -40,34 +47,48 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_nuevocliente __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=51380224; + //BA.debugLineNum = 51380224;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=51380225; + //BA.debugLineNum = 51380225;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +RDebugUtils.currentLine=51380226; + //BA.debugLineNum = 51380226;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_nuevocliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=51445760; + //BA.debugLineNum = 51445760;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=51445761; + //BA.debugLineNum = 51445761;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=51445764; + //BA.debugLineNum = 51445764;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(reparto_intmex.keymon.lat.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +RDebugUtils.currentLine=51314688; + //BA.debugLineNum = 51314688;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=51314689; + //BA.debugLineNum = 51314689;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=51314690; + //BA.debugLineNum = 51314690;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=51314691; + //BA.debugLineNum = 51314691;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_pedidos.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_pedidos.java index c30cef3..6a5e6b1 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_pedidos.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_pedidos.java @@ -10,7 +10,7 @@ public class c_pedidos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_pedidos"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_pedidos"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,16 +23,23 @@ public class c_pedidos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -40,34 +47,48 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_pedidos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=51576832; + //BA.debugLineNum = 51576832;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=51576833; + //BA.debugLineNum = 51576833;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +RDebugUtils.currentLine=51576834; + //BA.debugLineNum = 51576834;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_pedidos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=51642368; + //BA.debugLineNum = 51642368;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=51642369; + //BA.debugLineNum = 51642369;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=51642372; + //BA.debugLineNum = 51642372;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(reparto_intmex.keymon.lat.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +RDebugUtils.currentLine=51511296; + //BA.debugLineNum = 51511296;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=51511297; + //BA.debugLineNum = 51511297;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=51511298; + //BA.debugLineNum = 51511298;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=51511299; + //BA.debugLineNum = 51511299;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_principal.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_principal.java index 7d35bdf..fdf5162 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_principal.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_principal.java @@ -10,7 +10,7 @@ public class c_principal extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_principal"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_principal"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_principal extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public reparto_intmex.keymon.lat.dbrequestmanager _reqmanager = null; @@ -112,10 +119,10 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_venta_emp = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -123,14 +130,79 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_check_click() throws Exception{ - //BA.debugLineNum = 2218;BA.debugLine="Private Sub b_check_Click"; - //BA.debugLineNum = 2220;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; -_b4xpages._showpage /*String*/ (ba,"checklist"); - //BA.debugLineNum = 2222;BA.debugLine="End Sub"; +public Object _initialize(reparto_intmex.keymon.lat.c_principal __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=51773440; + //BA.debugLineNum = 51773440;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=51773441; + //BA.debugLineNum = 51773441;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=51773442; + //BA.debugLineNum = 51773442;BA.debugLine="End Sub"; +return null; +} +public String _checachek(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "checachek", false)) + {return ((String) Debug.delegate(ba, "checachek", null));} +RDebugUtils.currentLine=51970048; + //BA.debugLineNum = 51970048;BA.debugLine="Sub checachek"; +RDebugUtils.currentLine=51970049; + //BA.debugLineNum = 51970049;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CHECADO FROM CHECADO_CHECK"))); +RDebugUtils.currentLine=51970050; + //BA.debugLineNum = 51970050;BA.debugLine="If b.RowCount > 0 Then"; +if (__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=51970051; + //BA.debugLineNum = 51970051;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51970052; + //BA.debugLineNum = 51970052;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; +if ((__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CHECADO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=51970053; + //BA.debugLineNum = 51970053;BA.debugLine="b_check.Visible = True"; +__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=51970054; + //BA.debugLineNum = 51970054;BA.debugLine="Else If b.GetString(\"CHECADO\") = 1 Then"; +if ((__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CHECADO")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=51970055; + //BA.debugLineNum = 51970055;BA.debugLine="b_check.Visible =False"; +__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; +RDebugUtils.currentLine=51970057; + //BA.debugLineNum = 51970057;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=51970059; + //BA.debugLineNum = 51970059;BA.debugLine="End Sub"; return ""; } -public String _b_clieprod_click() throws Exception{ +public String _b_check_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_check_click", false)) + {return ((String) Debug.delegate(ba, "b_check_click", null));} +RDebugUtils.currentLine=53280768; + //BA.debugLineNum = 53280768;BA.debugLine="Private Sub b_check_Click"; +RDebugUtils.currentLine=53280770; + //BA.debugLineNum = 53280770;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; +_b4xpages._showpage /*String*/ (ba,"checklist"); +RDebugUtils.currentLine=53280772; + //BA.debugLineNum = 53280772;BA.debugLine="End Sub"; +return ""; +} +public String _b_clieprod_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_clieprod_click", false)) + {return ((String) Debug.delegate(ba, "b_clieprod_click", null));} anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; int _i = 0; @@ -155,169 +227,239 @@ String _arti3 = ""; int _x = 0; String _totalmonto = ""; String _totalcantidad = ""; - //BA.debugLineNum = 1962;BA.debugLine="Sub B_CLIEPROD_Click"; - //BA.debugLineNum = 1963;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 1964;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +RDebugUtils.currentLine=53018624; + //BA.debugLineNum = 53018624;BA.debugLine="Sub B_CLIEPROD_Click"; +RDebugUtils.currentLine=53018625; + //BA.debugLineNum = 53018625;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=53018626; + //BA.debugLineNum = 53018626;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 1966;BA.debugLine="BUSCA.Visible = False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 1967;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 1968;BA.debugLine="trabajar.Visible = False"; -_trabajar.setVisible(__c.False); - //BA.debugLineNum = 1969;BA.debugLine="B_CLIEPROD.Visible = False"; -_b_clieprod.setVisible(__c.False); - //BA.debugLineNum = 1970;BA.debugLine="Panel1.Visible = True"; -_panel1.setVisible(__c.True); - //BA.debugLineNum = 1971;BA.debugLine="Panel1.BringToFront"; -_panel1.BringToFront(); - //BA.debugLineNum = 1972;BA.debugLine="Btn_Ubicar_Ru.Visible=False"; -_btn_ubicar_ru.setVisible(__c.False); - //BA.debugLineNum = 1973;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from kmt_info"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from kmt_info WHERE gestion <> 0 order by HORAENT"))); - //BA.debugLineNum = 1974;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 1975;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 1976;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=53018628; + //BA.debugLineNum = 53018628;BA.debugLine="BUSCA.Visible = False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53018629; + //BA.debugLineNum = 53018629;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53018630; + //BA.debugLineNum = 53018630;BA.debugLine="trabajar.Visible = False"; +__ref._trabajar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53018631; + //BA.debugLineNum = 53018631;BA.debugLine="B_CLIEPROD.Visible = False"; +__ref._b_clieprod /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53018632; + //BA.debugLineNum = 53018632;BA.debugLine="Panel1.Visible = True"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=53018633; + //BA.debugLineNum = 53018633;BA.debugLine="Panel1.BringToFront"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=53018634; + //BA.debugLineNum = 53018634;BA.debugLine="Btn_Ubicar_Ru.Visible=False"; +__ref._btn_ubicar_ru /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53018635; + //BA.debugLineNum = 53018635;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from kmt_info"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from kmt_info WHERE gestion <> 0 order by HORAENT"))); +RDebugUtils.currentLine=53018636; + //BA.debugLineNum = 53018636;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=53018637; + //BA.debugLineNum = 53018637;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=53018638; + //BA.debugLineNum = 53018638;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1977;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 1978;BA.debugLine="label1.TextSize = 10"; +RDebugUtils.currentLine=53018639; + //BA.debugLineNum = 53018639;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=53018640; + //BA.debugLineNum = 53018640;BA.debugLine="label1.TextSize = 10"; _label1.setTextSize((float) (10)); - //BA.debugLineNum = 1979;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=53018641; + //BA.debugLineNum = 53018641;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 1980;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=53018642; + //BA.debugLineNum = 53018642;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1981;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 1982;BA.debugLine="label2.TextSize = 10"; +RDebugUtils.currentLine=53018643; + //BA.debugLineNum = 53018643;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=53018644; + //BA.debugLineNum = 53018644;BA.debugLine="label2.TextSize = 10"; _label2.setTextSize((float) (10)); - //BA.debugLineNum = 1983;BA.debugLine="label2.TextColor = Colors.Black"; +RDebugUtils.currentLine=53018645; + //BA.debugLineNum = 53018645;BA.debugLine="label2.TextColor = Colors.Black"; _label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 1985;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1986;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=53018647; + //BA.debugLineNum = 53018647;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=53018648; + //BA.debugLineNum = 53018648;BA.debugLine="For i=0 To c.RowCount -1"; { final int step23 = 1; -final int limit23 = (int) (_c.getRowCount()-1); +final int limit23 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit23 ;_i = _i + step23 ) { - //BA.debugLineNum = 1987;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 1988;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; -if ((_c.GetString("gestion")).equals("2")) { - //BA.debugLineNum = 1989;BA.debugLine="ESTATUS = \"ENTREGADO\""; -_estatus = "ENTREGADO"; - //BA.debugLineNum = 1990;BA.debugLine="Log(\"entrega\")"; -__c.LogImpl("815990812","entrega",0); - }else if((_c.GetString("gestion")).equals("3")) { - //BA.debugLineNum = 1992;BA.debugLine="Log(\"no entrega\")"; -__c.LogImpl("815990814","no entrega",0); - //BA.debugLineNum = 1993;BA.debugLine="ESTATUS = \"RECHAZADO\""; -_estatus = "RECHAZADO"; +RDebugUtils.currentLine=53018649; + //BA.debugLineNum = 53018649;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53018650; + //BA.debugLineNum = 53018650;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("gestion")).equals("2")) { +RDebugUtils.currentLine=53018651; + //BA.debugLineNum = 53018651;BA.debugLine="ESTATUS = \"ENTREGADO\""; +__ref._estatus /*String*/ = "ENTREGADO"; +RDebugUtils.currentLine=53018652; + //BA.debugLineNum = 53018652;BA.debugLine="Log(\"entrega\")"; +__c.LogImpl("253018652","entrega",0); + }else +{RDebugUtils.currentLine=53018653; + //BA.debugLineNum = 53018653;BA.debugLine="ELSE IF c.GetString(\"gestion\") = \"3\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("gestion")).equals("3")) { +RDebugUtils.currentLine=53018654; + //BA.debugLineNum = 53018654;BA.debugLine="Log(\"no entrega\")"; +__c.LogImpl("253018654","no entrega",0); +RDebugUtils.currentLine=53018655; + //BA.debugLineNum = 53018655;BA.debugLine="ESTATUS = \"RECHAZADO\""; +__ref._estatus /*String*/ = "RECHAZADO"; }else { - //BA.debugLineNum = 1995;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; -_estatus = "SIN ESTATUS"; - }; - //BA.debugLineNum = 2000;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; -if ((_estatus).equals("ENTREGADO")) { - //BA.debugLineNum = 2001;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=53018657; + //BA.debugLineNum = 53018657;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; +__ref._estatus /*String*/ = "SIN ESTATUS"; + }} +; +RDebugUtils.currentLine=53018662; + //BA.debugLineNum = 53018662;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; +if ((__ref._estatus /*String*/ ).equals("ENTREGADO")) { +RDebugUtils.currentLine=53018663; + //BA.debugLineNum = 53018663;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 2003;BA.debugLine="Private cuenta0 As String = 0"; +_vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=53018665; + //BA.debugLineNum = 53018665;BA.debugLine="Private cuenta0 As String = 0"; _cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 2004;BA.debugLine="Private arti As String = 0"; +RDebugUtils.currentLine=53018666; + //BA.debugLineNum = 53018666;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 2005;BA.debugLine="If vc.RowCount > 0 Then"; +RDebugUtils.currentLine=53018667; + //BA.debugLineNum = 53018667;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 2006;BA.debugLine="For a = 0 To vc.RowCount - 1"; +RDebugUtils.currentLine=53018668; + //BA.debugLineNum = 53018668;BA.debugLine="For a = 0 To vc.RowCount - 1"; { final int step39 = 1; final int limit39 = (int) (_vc.getRowCount()-1); _a = (int) (0) ; for (;_a <= limit39 ;_a = _a + step39 ) { - //BA.debugLineNum = 2007;BA.debugLine="vc.Position = a"; +RDebugUtils.currentLine=53018669; + //BA.debugLineNum = 53018669;BA.debugLine="vc.Position = a"; _vc.setPosition(_a); - //BA.debugLineNum = 2009;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v"; +RDebugUtils.currentLine=53018671; + //BA.debugLineNum = 53018671;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v"; _arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 2010;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN"; +RDebugUtils.currentLine=53018672; + //BA.debugLineNum = 53018672;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN"; _cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); } }; }; - //BA.debugLineNum = 2015;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=53018677; + //BA.debugLineNum = 53018677;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; _vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); - //BA.debugLineNum = 2016;BA.debugLine="Private Cuenta1 As String = 0"; +_vc2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); +RDebugUtils.currentLine=53018678; + //BA.debugLineNum = 53018678;BA.debugLine="Private Cuenta1 As String = 0"; _cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 2017;BA.debugLine="Private arti1 As String = 0"; +RDebugUtils.currentLine=53018679; + //BA.debugLineNum = 53018679;BA.debugLine="Private arti1 As String = 0"; _arti1 = BA.NumberToString(0); - //BA.debugLineNum = 2018;BA.debugLine="If vc2.RowCount > 0 Then"; +RDebugUtils.currentLine=53018680; + //BA.debugLineNum = 53018680;BA.debugLine="If vc2.RowCount > 0 Then"; if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 2019;BA.debugLine="For h = 0 To vc2.RowCount - 1"; +RDebugUtils.currentLine=53018681; + //BA.debugLineNum = 53018681;BA.debugLine="For h = 0 To vc2.RowCount - 1"; { final int step49 = 1; final int limit49 = (int) (_vc2.getRowCount()-1); _h = (int) (0) ; for (;_h <= limit49 ;_h = _h + step49 ) { - //BA.debugLineNum = 2020;BA.debugLine="vc2.Position = h"; +RDebugUtils.currentLine=53018682; + //BA.debugLineNum = 53018682;BA.debugLine="vc2.Position = h"; _vc2.setPosition(_h); - //BA.debugLineNum = 2021;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; +RDebugUtils.currentLine=53018683; + //BA.debugLineNum = 53018683;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; _preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 2022;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; +RDebugUtils.currentLine=53018684; + //BA.debugLineNum = 53018684;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; _vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2023;BA.debugLine="If vc3.RowCount > 0 Then"; +RDebugUtils.currentLine=53018685; + //BA.debugLineNum = 53018685;BA.debugLine="If vc3.RowCount > 0 Then"; if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 2024;BA.debugLine="vc3.Position = 0"; +RDebugUtils.currentLine=53018686; + //BA.debugLineNum = 53018686;BA.debugLine="vc3.Position = 0"; _vc3.setPosition((int) (0)); - //BA.debugLineNum = 2025;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC"; +RDebugUtils.currentLine=53018687; + //BA.debugLineNum = 53018687;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC"; _cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); - //BA.debugLineNum = 2026;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=53018688; + //BA.debugLineNum = 53018688;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")"; _arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); }; } }; }; - //BA.debugLineNum = 2032;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=53018694; + //BA.debugLineNum = 53018694;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; _vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 2033;BA.debugLine="Private Cuenta2 As String = 0"; +_vc4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); +RDebugUtils.currentLine=53018695; + //BA.debugLineNum = 53018695;BA.debugLine="Private Cuenta2 As String = 0"; _cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 2034;BA.debugLine="Private arti2 As String = 0"; +RDebugUtils.currentLine=53018696; + //BA.debugLineNum = 53018696;BA.debugLine="Private arti2 As String = 0"; _arti2 = BA.NumberToString(0); - //BA.debugLineNum = 2035;BA.debugLine="If vc4.RowCount > 0 Then"; +RDebugUtils.currentLine=53018697; + //BA.debugLineNum = 53018697;BA.debugLine="If vc4.RowCount > 0 Then"; if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 2037;BA.debugLine="For k = 0 To vc4.RowCount - 1"; +RDebugUtils.currentLine=53018699; + //BA.debugLineNum = 53018699;BA.debugLine="For k = 0 To vc4.RowCount - 1"; { final int step64 = 1; final int limit64 = (int) (_vc4.getRowCount()-1); _k = (int) (0) ; for (;_k <= limit64 ;_k = _k + step64 ) { - //BA.debugLineNum = 2038;BA.debugLine="vc4.Position = k"; +RDebugUtils.currentLine=53018700; + //BA.debugLineNum = 53018700;BA.debugLine="vc4.Position = k"; _vc4.setPosition(_k); - //BA.debugLineNum = 2039;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; +RDebugUtils.currentLine=53018701; + //BA.debugLineNum = 53018701;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 2040;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +RDebugUtils.currentLine=53018702; + //BA.debugLineNum = 53018702;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 2041;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; +RDebugUtils.currentLine=53018703; + //BA.debugLineNum = 53018703;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 2042;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=53018704; + //BA.debugLineNum = 53018704;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); }else { - //BA.debugLineNum = 2044;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; +RDebugUtils.currentLine=53018706; + //BA.debugLineNum = 53018706;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; _vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2045;BA.debugLine="If vc5.RowCount > 0 Then"; +RDebugUtils.currentLine=53018707; + //BA.debugLineNum = 53018707;BA.debugLine="If vc5.RowCount > 0 Then"; if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 2046;BA.debugLine="vc5.Position= 0"; +RDebugUtils.currentLine=53018708; + //BA.debugLineNum = 53018708;BA.debugLine="vc5.Position= 0"; _vc5.setPosition((int) (0)); - //BA.debugLineNum = 2048;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_"; +RDebugUtils.currentLine=53018710; + //BA.debugLineNum = 53018710;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); - //BA.debugLineNum = 2049;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\""; +RDebugUtils.currentLine=53018711; + //BA.debugLineNum = 53018711;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\""; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); }; }; @@ -325,135 +467,186 @@ _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double } }; }; - //BA.debugLineNum = 2058;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=53018720; + //BA.debugLineNum = 53018720;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 2059;BA.debugLine="Private Cuenta3 As String = 0"; +_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=53018721; + //BA.debugLineNum = 53018721;BA.debugLine="Private Cuenta3 As String = 0"; _cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 2060;BA.debugLine="Private arti3 As String = 0"; +RDebugUtils.currentLine=53018722; + //BA.debugLineNum = 53018722;BA.debugLine="Private arti3 As String = 0"; _arti3 = BA.NumberToString(0); - //BA.debugLineNum = 2061;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=53018723; + //BA.debugLineNum = 53018723;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 2062;BA.debugLine="For x = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=53018724; + //BA.debugLineNum = 53018724;BA.debugLine="For x = 0 To c4.RowCount -1"; { final int step85 = 1; final int limit85 = (int) (_c4.getRowCount()-1); _x = (int) (0) ; for (;_x <= limit85 ;_x = _x + step85 ) { - //BA.debugLineNum = 2063;BA.debugLine="c4.Position = x"; +RDebugUtils.currentLine=53018725; + //BA.debugLineNum = 53018725;BA.debugLine="c4.Position = x"; _c4.setPosition(_x); - //BA.debugLineNum = 2064;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=53018726; + //BA.debugLineNum = 53018726;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; _arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 2065;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; +RDebugUtils.currentLine=53018727; + //BA.debugLineNum = 53018727;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); } }; }; - //BA.debugLineNum = 2070;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; +RDebugUtils.currentLine=53018732; + //BA.debugLineNum = 53018732;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; _totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); - //BA.debugLineNum = 2071;BA.debugLine="Private TOTALcantidad As String = arti + arti"; +RDebugUtils.currentLine=53018733; + //BA.debugLineNum = 53018733;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 = 2073;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 = 2074;BA.debugLine="Log(\"si entre2\")"; -__c.LogImpl("815990896","si entre2",0); - }else if((_estatus).equals("RECHAZADO")) { - //BA.debugLineNum = 2078;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=53018735; + //BA.debugLineNum = 53018735;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")+" - "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+__ref._estatus /*String*/ )); +RDebugUtils.currentLine=53018736; + //BA.debugLineNum = 53018736;BA.debugLine="Log(\"si entre2\")"; +__c.LogImpl("253018736","si entre2",0); + }else +{RDebugUtils.currentLine=53018738; + //BA.debugLineNum = 53018738;BA.debugLine="Else If ESTATUS = \"RECHAZADO\" Then"; +if ((__ref._estatus /*String*/ ).equals("RECHAZADO")) { +RDebugUtils.currentLine=53018740; + //BA.debugLineNum = 53018740;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO, HVD_COSTO_TOT from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 2080;BA.debugLine="Private cuenta0 As String = 0"; +_vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO, HVD_COSTO_TOT from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=53018742; + //BA.debugLineNum = 53018742;BA.debugLine="Private cuenta0 As String = 0"; _cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 2081;BA.debugLine="Private arti As String = 0"; +RDebugUtils.currentLine=53018743; + //BA.debugLineNum = 53018743;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 2082;BA.debugLine="If vc.RowCount > 0 Then"; +RDebugUtils.currentLine=53018744; + //BA.debugLineNum = 53018744;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 2083;BA.debugLine="For a = 0 To vc.RowCount - 1"; +RDebugUtils.currentLine=53018745; + //BA.debugLineNum = 53018745;BA.debugLine="For a = 0 To vc.RowCount - 1"; { final int step100 = 1; final int limit100 = (int) (_vc.getRowCount()-1); _a = (int) (0) ; for (;_a <= limit100 ;_a = _a + step100 ) { - //BA.debugLineNum = 2084;BA.debugLine="vc.Position = a"; +RDebugUtils.currentLine=53018746; + //BA.debugLineNum = 53018746;BA.debugLine="vc.Position = a"; _vc.setPosition(_a); - //BA.debugLineNum = 2085;BA.debugLine="Dim preu As Float = NumberFormat2(vc.GetStr"; +RDebugUtils.currentLine=53018747; + //BA.debugLineNum = 53018747;BA.debugLine="Dim preu As Float = NumberFormat2(vc.GetStr"; _preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 2087;BA.debugLine="arti = arti + (vc.GetString(\"HVD_RECHAZOCAN"; +RDebugUtils.currentLine=53018749; + //BA.debugLineNum = 53018749;BA.debugLine="arti = arti + (vc.GetString(\"HVD_RECHAZOCAN"; _arti = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble((_vc.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 2088;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_REC"; +RDebugUtils.currentLine=53018750; + //BA.debugLineNum = 53018750;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_REC"; _cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+((double)(Double.parseDouble((_vc.GetString("HVD_RECHAZOCANT"))))*_preu)); } }; }; - //BA.debugLineNum = 2093;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=53018755; + //BA.debugLineNum = 53018755;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; _vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); - //BA.debugLineNum = 2094;BA.debugLine="Private Cuenta1 As String = 0"; +_vc2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); +RDebugUtils.currentLine=53018756; + //BA.debugLineNum = 53018756;BA.debugLine="Private Cuenta1 As String = 0"; _cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 2095;BA.debugLine="Private arti1 As String = 0"; +RDebugUtils.currentLine=53018757; + //BA.debugLineNum = 53018757;BA.debugLine="Private arti1 As String = 0"; _arti1 = BA.NumberToString(0); - //BA.debugLineNum = 2096;BA.debugLine="If vc2.RowCount > 0 Then"; +RDebugUtils.currentLine=53018758; + //BA.debugLineNum = 53018758;BA.debugLine="If vc2.RowCount > 0 Then"; if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 2097;BA.debugLine="For h = 0 To vc2.RowCount - 1"; +RDebugUtils.currentLine=53018759; + //BA.debugLineNum = 53018759;BA.debugLine="For h = 0 To vc2.RowCount - 1"; { final int step111 = 1; final int limit111 = (int) (_vc2.getRowCount()-1); _h = (int) (0) ; for (;_h <= limit111 ;_h = _h + step111 ) { - //BA.debugLineNum = 2098;BA.debugLine="vc2.Position = h"; +RDebugUtils.currentLine=53018760; + //BA.debugLineNum = 53018760;BA.debugLine="vc2.Position = h"; _vc2.setPosition(_h); - //BA.debugLineNum = 2099;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; +RDebugUtils.currentLine=53018761; + //BA.debugLineNum = 53018761;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; _preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 2100;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; +RDebugUtils.currentLine=53018762; + //BA.debugLineNum = 53018762;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; _vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2101;BA.debugLine="If vc3.RowCount > 0 Then"; +RDebugUtils.currentLine=53018763; + //BA.debugLineNum = 53018763;BA.debugLine="If vc3.RowCount > 0 Then"; if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 2102;BA.debugLine="vc3.Position = 0"; +RDebugUtils.currentLine=53018764; + //BA.debugLineNum = 53018764;BA.debugLine="vc3.Position = 0"; _vc3.setPosition((int) (0)); - //BA.debugLineNum = 2103;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"HVD_R"; +RDebugUtils.currentLine=53018765; + //BA.debugLineNum = 53018765;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"HVD_R"; _cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION"))))*_preu)); - //BA.debugLineNum = 2104;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_RECHAZ"; +RDebugUtils.currentLine=53018766; + //BA.debugLineNum = 53018766;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_RECHAZ"; _arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble((_vc2.GetString("HVD_RECHAZOCANT"))))); }; } }; }; - //BA.debugLineNum = 2110;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=53018772; + //BA.debugLineNum = 53018772;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; _vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 2111;BA.debugLine="Private Cuenta2 As String = 0"; +_vc4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); +RDebugUtils.currentLine=53018773; + //BA.debugLineNum = 53018773;BA.debugLine="Private Cuenta2 As String = 0"; _cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 2112;BA.debugLine="Private arti2 As String = 0"; +RDebugUtils.currentLine=53018774; + //BA.debugLineNum = 53018774;BA.debugLine="Private arti2 As String = 0"; _arti2 = BA.NumberToString(0); - //BA.debugLineNum = 2113;BA.debugLine="If vc4.RowCount > 0 Then"; +RDebugUtils.currentLine=53018775; + //BA.debugLineNum = 53018775;BA.debugLine="If vc4.RowCount > 0 Then"; if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 2115;BA.debugLine="For k = 0 To vc4.RowCount - 1"; +RDebugUtils.currentLine=53018777; + //BA.debugLineNum = 53018777;BA.debugLine="For k = 0 To vc4.RowCount - 1"; { final int step126 = 1; final int limit126 = (int) (_vc4.getRowCount()-1); _k = (int) (0) ; for (;_k <= limit126 ;_k = _k + step126 ) { - //BA.debugLineNum = 2116;BA.debugLine="vc4.Position = k"; +RDebugUtils.currentLine=53018778; + //BA.debugLineNum = 53018778;BA.debugLine="vc4.Position = k"; _vc4.setPosition(_k); - //BA.debugLineNum = 2117;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; +RDebugUtils.currentLine=53018779; + //BA.debugLineNum = 53018779;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 2118;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +RDebugUtils.currentLine=53018780; + //BA.debugLineNum = 53018780;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 2119;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; +RDebugUtils.currentLine=53018781; + //BA.debugLineNum = 53018781;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 2120;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_RECHAZ"; +RDebugUtils.currentLine=53018782; + //BA.debugLineNum = 53018782;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_RECHAZ"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT")))); }else { - //BA.debugLineNum = 2122;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; +RDebugUtils.currentLine=53018784; + //BA.debugLineNum = 53018784;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; _vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2123;BA.debugLine="If vc5.RowCount > 0 Then"; +RDebugUtils.currentLine=53018785; + //BA.debugLineNum = 53018785;BA.debugLine="If vc5.RowCount > 0 Then"; if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 2124;BA.debugLine="vc5.Position= 0"; +RDebugUtils.currentLine=53018786; + //BA.debugLineNum = 53018786;BA.debugLine="vc5.Position= 0"; _vc5.setPosition((int) (0)); - //BA.debugLineNum = 2126;BA.debugLine="Cuenta2 = Cuenta2 +(( vc4.GetString(\"HVD"; +RDebugUtils.currentLine=53018788; + //BA.debugLineNum = 53018788;BA.debugLine="Cuenta2 = Cuenta2 +(( vc4.GetString(\"HVD"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+((double)(Double.parseDouble((_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); - //BA.debugLineNum = 2127;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_RECHA"; +RDebugUtils.currentLine=53018789; + //BA.debugLineNum = 53018789;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_RECHA"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble((_vc4.GetString("HVD_RECHAZOCANT"))))); }; }; @@ -461,182 +654,278 @@ _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double. } }; }; - //BA.debugLineNum = 2136;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=53018798; + //BA.debugLineNum = 53018798;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 2137;BA.debugLine="Private Cuenta3 As String = 0"; +_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=53018799; + //BA.debugLineNum = 53018799;BA.debugLine="Private Cuenta3 As String = 0"; _cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 2138;BA.debugLine="Private arti3 As String = 0"; +RDebugUtils.currentLine=53018800; + //BA.debugLineNum = 53018800;BA.debugLine="Private arti3 As String = 0"; _arti3 = BA.NumberToString(0); - //BA.debugLineNum = 2139;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=53018801; + //BA.debugLineNum = 53018801;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 2140;BA.debugLine="For x = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=53018802; + //BA.debugLineNum = 53018802;BA.debugLine="For x = 0 To c4.RowCount -1"; { final int step147 = 1; final int limit147 = (int) (_c4.getRowCount()-1); _x = (int) (0) ; for (;_x <= limit147 ;_x = _x + step147 ) { - //BA.debugLineNum = 2141;BA.debugLine="c4.Position = x"; +RDebugUtils.currentLine=53018803; + //BA.debugLineNum = 53018803;BA.debugLine="c4.Position = x"; _c4.setPosition(_x); - //BA.debugLineNum = 2142;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=53018804; + //BA.debugLineNum = 53018804;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; _arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 2143;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; +RDebugUtils.currentLine=53018805; + //BA.debugLineNum = 53018805;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); } }; }; - //BA.debugLineNum = 2148;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; +RDebugUtils.currentLine=53018810; + //BA.debugLineNum = 53018810;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; _totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); - //BA.debugLineNum = 2149;BA.debugLine="Private TOTALcantidad As String = arti + arti"; +RDebugUtils.currentLine=53018811; + //BA.debugLineNum = 53018811;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 = 2151;BA.debugLine="Log(\"si entre\")"; -__c.LogImpl("815990973","si entre",0); - //BA.debugLineNum = 2152;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)); - }; +RDebugUtils.currentLine=53018813; + //BA.debugLineNum = 53018813;BA.debugLine="Log(\"si entre\")"; +__c.LogImpl("253018813","si entre",0); +RDebugUtils.currentLine=53018814; + //BA.debugLineNum = 53018814;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")+" - "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+__ref._estatus /*String*/ )); + }} +; } }; }; }; - //BA.debugLineNum = 2187;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53018849; + //BA.debugLineNum = 53018849;BA.debugLine="End Sub"; return ""; } -public String _b_mapa_click() throws Exception{ - //BA.debugLineNum = 1902;BA.debugLine="Sub b_mapa_Click"; - //BA.debugLineNum = 1904;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; +public String _b_mapa_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_mapa_click", false)) + {return ((String) Debug.delegate(ba, "b_mapa_click", null));} +RDebugUtils.currentLine=52756480; + //BA.debugLineNum = 52756480;BA.debugLine="Sub b_mapa_Click"; +RDebugUtils.currentLine=52756482; + //BA.debugLineNum = 52756482;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; _b4xpages._showpage /*String*/ (ba,"mapas"); - //BA.debugLineNum = 1905;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52756483; + //BA.debugLineNum = 52756483;BA.debugLine="End Sub"; return ""; } -public String _b_rechazos_click() throws Exception{ +public String _b_rechazos_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_rechazos_click", false)) + {return ((String) Debug.delegate(ba, "b_rechazos_click", null));} anywheresoftware.b4a.objects.LabelWrapper _label1 = null; int _i = 0; String _itemtext = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; String _resta = ""; - //BA.debugLineNum = 2235;BA.debugLine="Private Sub b_rechazos_Click"; - //BA.debugLineNum = 2236;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=53411840; + //BA.debugLineNum = 53411840;BA.debugLine="Private Sub b_rechazos_Click"; +RDebugUtils.currentLine=53411841; + //BA.debugLineNum = 53411841;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 2237;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; -_label1 = _lv_prod_prin.getSingleLineLayout().Label; - //BA.debugLineNum = 2238;BA.debugLine="label1.TextSize = 14"; +RDebugUtils.currentLine=53411842; + //BA.debugLineNum = 53411842;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; +_label1 = __ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=53411843; + //BA.debugLineNum = 53411843;BA.debugLine="label1.TextSize = 14"; _label1.setTextSize((float) (14)); - //BA.debugLineNum = 2239;BA.debugLine="p_prod.Width = Root.Width"; -_p_prod.setWidth(_root.getWidth()); - //BA.debugLineNum = 2240;BA.debugLine="p_prod.Height = Root.Height"; -_p_prod.setHeight(_root.getHeight()); - //BA.debugLineNum = 2241;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)"; -_b_regreso.setLeft((int) ((_p_prod.getWidth()-_b_regreso.getWidth())/(double)2)); - //BA.debugLineNum = 2242;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; -_b_regreso.setTop((int) (_p_prod.getHeight()-_b_regreso.getHeight())); - //BA.debugLineNum = 2244;BA.debugLine="p_prod.Visible = True"; -_p_prod.setVisible(__c.True); - //BA.debugLineNum = 2245;BA.debugLine="p_prod.BringToFront"; -_p_prod.BringToFront(); - //BA.debugLineNum = 2250;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +RDebugUtils.currentLine=53411844; + //BA.debugLineNum = 53411844;BA.debugLine="p_prod.Width = Root.Width"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=53411845; + //BA.debugLineNum = 53411845;BA.debugLine="p_prod.Height = Root.Height"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=53411846; + //BA.debugLineNum = 53411846;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)"; +__ref._b_regreso /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()-__ref._b_regreso /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth())/(double)2)); +RDebugUtils.currentLine=53411847; + //BA.debugLineNum = 53411847;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; +__ref._b_regreso /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTop((int) (__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-__ref._b_regreso /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getHeight())); +RDebugUtils.currentLine=53411849; + //BA.debugLineNum = 53411849;BA.debugLine="p_prod.Visible = True"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=53411850; + //BA.debugLineNum = 53411850;BA.debugLine="p_prod.BringToFront"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=53411855; + //BA.debugLineNum = 53411855;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 2252;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; -_lv_prod_prin.getSingleLineLayout().Label.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 2253;BA.debugLine="lv_prod_Prin.Clear"; -_lv_prod_prin.Clear(); - //BA.debugLineNum = 2254;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2255;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=53411857; + //BA.debugLineNum = 53411857;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=53411858; + //BA.debugLineNum = 53411858;BA.debugLine="lv_prod_Prin.Clear"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=53411859; + //BA.debugLineNum = 53411859;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=53411860; + //BA.debugLineNum = 53411860;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step14 = 1; -final int limit14 = (int) (_c.getRowCount()-1); +final int limit14 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit14 ;_i = _i + step14 ) { - //BA.debugLineNum = 2256;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 2257;BA.debugLine="Dim itemText As String"; +RDebugUtils.currentLine=53411861; + //BA.debugLineNum = 53411861;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53411862; + //BA.debugLineNum = 53411862;BA.debugLine="Dim itemText As String"; _itemtext = ""; - //BA.debugLineNum = 2259;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=53411864; + //BA.debugLineNum = 53411864;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2260;BA.debugLine="Private resta As String = 0"; +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=53411865; + //BA.debugLineNum = 53411865;BA.debugLine="Private resta As String = 0"; _resta = BA.NumberToString(0); - //BA.debugLineNum = 2262;BA.debugLine="If c3.RowCount > 0 Then"; +RDebugUtils.currentLine=53411867; + //BA.debugLineNum = 53411867;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { - //BA.debugLineNum = 2263;BA.debugLine="c3.Position = 0"; +RDebugUtils.currentLine=53411868; + //BA.debugLineNum = 53411868;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 2264;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=53411869; + //BA.debugLineNum = 53411869;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { - //BA.debugLineNum = 2266;BA.debugLine="resta = 0"; +RDebugUtils.currentLine=53411871; + //BA.debugLineNum = 53411871;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; - //BA.debugLineNum = 2268;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; -if ((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { +RDebugUtils.currentLine=53411873; + //BA.debugLineNum = 53411873;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { }else { - //BA.debugLineNum = 2271;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $"; -_itemtext = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PRONOMBRE")))+" "+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inventario: "+__c.SmartStringFormatter("",(Object)((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))))+""); - //BA.debugLineNum = 2272;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; -_lv_prod_prin.AddSingleLine(BA.ObjectToCharSequence(_itemtext)); +RDebugUtils.currentLine=53411876; + //BA.debugLineNum = 53411876;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $"; +_itemtext = (""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")))+" "+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inventario: "+__c.SmartStringFormatter("",(Object)((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))))+""); +RDebugUtils.currentLine=53411877; + //BA.debugLineNum = 53411877;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_itemtext)); }; } }; }else { - //BA.debugLineNum = 2278;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; -_lv_prod_prin.AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); +RDebugUtils.currentLine=53411883; + //BA.debugLineNum = 53411883;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); }; - //BA.debugLineNum = 2280;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2283;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53411885; + //BA.debugLineNum = 53411885;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53411888; + //BA.debugLineNum = 53411888;BA.debugLine="End Sub"; return ""; } -public String _b_regresa_click() throws Exception{ - //BA.debugLineNum = 2189;BA.debugLine="Sub B_REGRESA_Click"; - //BA.debugLineNum = 2190;BA.debugLine="Log(\"B_REGRESA_Click\")"; -__c.LogImpl("816056321","B_REGRESA_Click",0); - //BA.debugLineNum = 2191;BA.debugLine="BUSCA.Visible = False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 2192;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2193;BA.debugLine="trabajar.Visible = True"; -_trabajar.setVisible(__c.True); - //BA.debugLineNum = 2194;BA.debugLine="B_CLIEPROD.Visible = True"; -_b_clieprod.setVisible(__c.True); - //BA.debugLineNum = 2195;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 2196;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; -_btn_ubicar_ru.setVisible(__c.True); - //BA.debugLineNum = 2197;BA.debugLine="End Sub"; +public String _b_regresa_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_regresa_click", false)) + {return ((String) Debug.delegate(ba, "b_regresa_click", null));} +RDebugUtils.currentLine=53084160; + //BA.debugLineNum = 53084160;BA.debugLine="Sub B_REGRESA_Click"; +RDebugUtils.currentLine=53084161; + //BA.debugLineNum = 53084161;BA.debugLine="Log(\"B_REGRESA_Click\")"; +__c.LogImpl("253084161","B_REGRESA_Click",0); +RDebugUtils.currentLine=53084162; + //BA.debugLineNum = 53084162;BA.debugLine="BUSCA.Visible = False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53084163; + //BA.debugLineNum = 53084163;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=53084164; + //BA.debugLineNum = 53084164;BA.debugLine="trabajar.Visible = True"; +__ref._trabajar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=53084165; + //BA.debugLineNum = 53084165;BA.debugLine="B_CLIEPROD.Visible = True"; +__ref._b_clieprod /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=53084166; + //BA.debugLineNum = 53084166;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53084167; + //BA.debugLineNum = 53084167;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; +__ref._btn_ubicar_ru /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=53084168; + //BA.debugLineNum = 53084168;BA.debugLine="End Sub"; return ""; } -public String _b_regreso_click() throws Exception{ - //BA.debugLineNum = 2285;BA.debugLine="Private Sub b_regreso_Click"; - //BA.debugLineNum = 2286;BA.debugLine="p_prod.Visible = False"; -_p_prod.setVisible(__c.False); - //BA.debugLineNum = 2287;BA.debugLine="End Sub"; +public String _b_regreso_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_regreso_click", false)) + {return ((String) Debug.delegate(ba, "b_regreso_click", null));} +RDebugUtils.currentLine=53477376; + //BA.debugLineNum = 53477376;BA.debugLine="Private Sub b_regreso_Click"; +RDebugUtils.currentLine=53477377; + //BA.debugLineNum = 53477377;BA.debugLine="p_prod.Visible = False"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53477378; + //BA.debugLineNum = 53477378;BA.debugLine="End Sub"; return ""; } -public String _b_tabulador_click() throws Exception{ - //BA.debugLineNum = 2210;BA.debugLine="Private Sub b_tabulador_Click"; - //BA.debugLineNum = 2211;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 2212;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +public String _b_tabulador_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_tabulador_click", false)) + {return ((String) Debug.delegate(ba, "b_tabulador_click", null));} +RDebugUtils.currentLine=53215232; + //BA.debugLineNum = 53215232;BA.debugLine="Private Sub b_tabulador_Click"; +RDebugUtils.currentLine=53215233; + //BA.debugLineNum = 53215233;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=53215234; + //BA.debugLineNum = 53215234;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 2214;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; +RDebugUtils.currentLine=53215236; + //BA.debugLineNum = 53215236;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; _b4xpages._showpage /*String*/ (ba,"tabulador"); }; - //BA.debugLineNum = 2216;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53215238; + //BA.debugLineNum = 53215238;BA.debugLine="End Sub"; return ""; } -public String _b_venta_emp_click() throws Exception{ - //BA.debugLineNum = 2293;BA.debugLine="Private Sub b_venta_emp_Click"; - //BA.debugLineNum = 2294;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +public String _b_venta_emp_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_venta_emp_click", false)) + {return ((String) Debug.delegate(ba, "b_venta_emp_click", null));} +RDebugUtils.currentLine=53608448; + //BA.debugLineNum = 53608448;BA.debugLine="Private Sub b_venta_emp_Click"; +RDebugUtils.currentLine=53608449; + //BA.debugLineNum = 53608449;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 2295;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +RDebugUtils.currentLine=53608450; + //BA.debugLineNum = 53608450;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("63403")})); - //BA.debugLineNum = 2296;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=53608451; + //BA.debugLineNum = 53608451;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 2297;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53608452; + //BA.debugLineNum = 53608452;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; String _monto_rec_dia = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; @@ -668,683 +957,988 @@ double _rescant4 = 0; double _rescant5 = 0; double _rescant6 = 0; double _rescant7 = 0; - //BA.debugLineNum = 162;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 164;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +RDebugUtils.currentLine=51904512; + //BA.debugLineNum = 51904512;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=51904514; + //BA.debugLineNum = 51904514;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA"))); - //BA.debugLineNum = 165;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 166;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; +RDebugUtils.currentLine=51904515; + //BA.debugLineNum = 51904515;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=51904516; + //BA.debugLineNum = 51904516;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA')"); }; - //BA.debugLineNum = 168;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +RDebugUtils.currentLine=51904518; + //BA.debugLineNum = 51904518;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA"))); - //BA.debugLineNum = 169;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 170;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; +RDebugUtils.currentLine=51904519; + //BA.debugLineNum = 51904519;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=51904520; + //BA.debugLineNum = 51904520;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO <> 'ENTREGA')"); }; - //BA.debugLineNum = 173;BA.debugLine="b_check.visible = False"; -_b_check.setVisible(__c.False); - //BA.debugLineNum = 174;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 187;BA.debugLine="If EJECUTANDO = 0 Then"; -if ((_ejecutando).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 188;BA.debugLine="Listo1 = 0"; -_listo1 = BA.NumberToString(0); - //BA.debugLineNum = 189;BA.debugLine="Listo2 = 0"; -_listo2 = BA.NumberToString(0); - //BA.debugLineNum = 190;BA.debugLine="Listo3 = 0"; -_listo3 = BA.NumberToString(0); - //BA.debugLineNum = 191;BA.debugLine="Listo4 = 0"; -_listo4 = BA.NumberToString(0); - //BA.debugLineNum = 192;BA.debugLine="Listo5 = 0"; -_listo5 = BA.NumberToString(0); - //BA.debugLineNum = 193;BA.debugLine="inve = 0"; -_inve = BA.NumberToString(0); - //BA.debugLineNum = 194;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); +RDebugUtils.currentLine=51904523; + //BA.debugLineNum = 51904523;BA.debugLine="b_check.visible = False"; +__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51904524; + //BA.debugLineNum = 51904524;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=51904537; + //BA.debugLineNum = 51904537;BA.debugLine="If EJECUTANDO = 0 Then"; +if ((__ref._ejecutando /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=51904538; + //BA.debugLineNum = 51904538;BA.debugLine="Listo1 = 0"; +__ref._listo1 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51904539; + //BA.debugLineNum = 51904539;BA.debugLine="Listo2 = 0"; +__ref._listo2 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51904540; + //BA.debugLineNum = 51904540;BA.debugLine="Listo3 = 0"; +__ref._listo3 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51904541; + //BA.debugLineNum = 51904541;BA.debugLine="Listo4 = 0"; +__ref._listo4 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51904542; + //BA.debugLineNum = 51904542;BA.debugLine="Listo5 = 0"; +__ref._listo5 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51904543; + //BA.debugLineNum = 51904543;BA.debugLine="inve = 0"; +__ref._inve /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51904544; + //BA.debugLineNum = 51904544;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); }; - //BA.debugLineNum = 196;BA.debugLine="l_ruta.Text = 0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 197;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select rutaa from rutaa"))); - //BA.debugLineNum = 198;BA.debugLine="If f.RowCount > 0 Then"; -if (_f.getRowCount()>0) { - //BA.debugLineNum = 199;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 200;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("RUTAA"))); +RDebugUtils.currentLine=51904546; + //BA.debugLineNum = 51904546;BA.debugLine="l_ruta.Text = 0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904547; + //BA.debugLineNum = 51904547;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select rutaa from rutaa"))); +RDebugUtils.currentLine=51904548; + //BA.debugLineNum = 51904548;BA.debugLine="If f.RowCount > 0 Then"; +if (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=51904549; + //BA.debugLineNum = 51904549;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904550; + //BA.debugLineNum = 51904550;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"))); }; - //BA.debugLineNum = 202;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 203;BA.debugLine="If l_ruta.Text = 0 Then"; -if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 204;BA.debugLine="l_ruta.Text = 0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 205;BA.debugLine="l_rutasP.Text = 0"; -_l_rutasp.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904552; + //BA.debugLineNum = 51904552;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51904553; + //BA.debugLineNum = 51904553;BA.debugLine="If l_ruta.Text = 0 Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=51904554; + //BA.debugLineNum = 51904554;BA.debugLine="l_ruta.Text = 0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904555; + //BA.debugLineNum = 51904555;BA.debugLine="l_rutasP.Text = 0"; +__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 207;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info WHERE CAT_CL_RUTA <> 1000 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 209;BA.debugLine="l_rutasP.Text = \"\""; -_l_rutasp.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 210;BA.debugLine="For i = 0 To f.RowCount - 1"; +RDebugUtils.currentLine=51904557; + //BA.debugLineNum = 51904557;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info WHERE CAT_CL_RUTA <> 1000 order by CAT_CL_RUTA"))); +RDebugUtils.currentLine=51904559; + //BA.debugLineNum = 51904559;BA.debugLine="l_rutasP.Text = \"\""; +__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=51904560; + //BA.debugLineNum = 51904560;BA.debugLine="For i = 0 To f.RowCount - 1"; { final int step33 = 1; -final int limit33 = (int) (_f.getRowCount()-1); +final int limit33 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit33 ;_i = _i + step33 ) { - //BA.debugLineNum = 211;BA.debugLine="f.Position = i"; -_f.setPosition(_i); - //BA.debugLineNum = 212;BA.debugLine="If i = 0 Then"; +RDebugUtils.currentLine=51904561; + //BA.debugLineNum = 51904561;BA.debugLine="f.Position = i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=51904562; + //BA.debugLineNum = 51904562;BA.debugLine="If i = 0 Then"; if (_i==0) { - //BA.debugLineNum = 213;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_rutasp.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=51904563; + //BA.debugLineNum = 51904563;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); }else { - //BA.debugLineNum = 215;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt"; -_l_rutasp.setText(BA.ObjectToCharSequence(_l_rutasp.getText()+", "+_f.GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=51904565; + //BA.debugLineNum = 51904565;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt"; +__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+", "+__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); }; } }; - //BA.debugLineNum = 218;BA.debugLine="f.Close"; -_f.Close(); +RDebugUtils.currentLine=51904568; + //BA.debugLineNum = 51904568;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 220;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=51904570; + //BA.debugLineNum = 51904570;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 221;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; -_fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 222;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from kmt_info"))); - //BA.debugLineNum = 223;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 224;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; -if (_b.getRowCount()>0) { -_cuantos = _b.GetString("CUANTOS");}; - //BA.debugLineNum = 225;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 226;BA.debugLine="D.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 227;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 228;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 229;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 240;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 241;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 242;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 244;BA.debugLine="If Cuantos = 0 Then"; -if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 245;BA.debugLine="l_aLiquidar.Text = 0"; -_l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 246;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 247;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 248;BA.debugLine="drop = 0"; -_drop = 0; - //BA.debugLineNum = 249;BA.debugLine="l_montoSalida.Text = 0"; -_l_montosalida.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 250;BA.debugLine="efectiva = 0"; -_efectiva = 0; - //BA.debugLineNum = 253;BA.debugLine="L_MONTOE.Text = 0"; -_l_montoe.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 254;BA.debugLine="l_ctast.Text = 0"; -_l_ctast.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 255;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; -if (_d.getRowCount()>0) { -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR")));}; - //BA.debugLineNum = 256;BA.debugLine="l_porvisitar.Text = 0"; -_l_porvisitar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 257;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; -if (_e.getRowCount()>0) { -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR")));}; - //BA.debugLineNum = 258;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 259;BA.debugLine="e.Close"; -_e.Close(); +RDebugUtils.currentLine=51904571; + //BA.debugLineNum = 51904571;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +__ref._fecha /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=51904572; + //BA.debugLineNum = 51904572;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from kmt_info"))); +RDebugUtils.currentLine=51904573; + //BA.debugLineNum = 51904573;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904574; + //BA.debugLineNum = 51904574;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; +if (__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._cuantos /*String*/ = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");}; +RDebugUtils.currentLine=51904575; + //BA.debugLineNum = 51904575;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); +RDebugUtils.currentLine=51904576; + //BA.debugLineNum = 51904576;BA.debugLine="D.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904577; + //BA.debugLineNum = 51904577;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51904578; + //BA.debugLineNum = 51904578;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); +RDebugUtils.currentLine=51904579; + //BA.debugLineNum = 51904579;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904590; + //BA.debugLineNum = 51904590;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51904591; + //BA.debugLineNum = 51904591;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51904592; + //BA.debugLineNum = 51904592;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=51904594; + //BA.debugLineNum = 51904594;BA.debugLine="If Cuantos = 0 Then"; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=51904595; + //BA.debugLineNum = 51904595;BA.debugLine="l_aLiquidar.Text = 0"; +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904596; + //BA.debugLineNum = 51904596;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904597; + //BA.debugLineNum = 51904597;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904598; + //BA.debugLineNum = 51904598;BA.debugLine="drop = 0"; +__ref._drop /*double*/ = 0; +RDebugUtils.currentLine=51904599; + //BA.debugLineNum = 51904599;BA.debugLine="l_montoSalida.Text = 0"; +__ref._l_montosalida /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904600; + //BA.debugLineNum = 51904600;BA.debugLine="efectiva = 0"; +__ref._efectiva /*double*/ = 0; +RDebugUtils.currentLine=51904603; + //BA.debugLineNum = 51904603;BA.debugLine="L_MONTOE.Text = 0"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904604; + //BA.debugLineNum = 51904604;BA.debugLine="l_ctast.Text = 0"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904605; + //BA.debugLineNum = 51904605;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR")));}; +RDebugUtils.currentLine=51904606; + //BA.debugLineNum = 51904606;BA.debugLine="l_porvisitar.Text = 0"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904607; + //BA.debugLineNum = 51904607;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; +if (__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR")));}; +RDebugUtils.currentLine=51904608; + //BA.debugLineNum = 51904608;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51904609; + //BA.debugLineNum = 51904609;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 261;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_t"; -_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_costo_tot) as MONTO_DIA from hist_ventas where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_ESTATUS = 1 "))); - //BA.debugLineNum = 262;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_"; -_f1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0"))); - //BA.debugLineNum = 263;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_"; -_f2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)"))); - //BA.debugLineNum = 265;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403"))); - //BA.debugLineNum = 267;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT"; -_l = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403"))); - //BA.debugLineNum = 268;BA.debugLine="f2.Position=0"; -_f2.setPosition((int) (0)); - //BA.debugLineNum = 271;BA.debugLine="Private MONTO_REC_DIA = 0"; +RDebugUtils.currentLine=51904611; + //BA.debugLineNum = 51904611;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_t"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(hvd_costo_tot) as MONTO_DIA from hist_ventas where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_ESTATUS = 1 "))); +RDebugUtils.currentLine=51904612; + //BA.debugLineNum = 51904612;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_"; +__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0"))); +RDebugUtils.currentLine=51904613; + //BA.debugLineNum = 51904613;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_"; +__ref._f2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)"))); +RDebugUtils.currentLine=51904615; + //BA.debugLineNum = 51904615;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403"))); +RDebugUtils.currentLine=51904617; + //BA.debugLineNum = 51904617;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT"; +__ref._l /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403"))); +RDebugUtils.currentLine=51904618; + //BA.debugLineNum = 51904618;BA.debugLine="f2.Position=0"; +__ref._f2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904621; + //BA.debugLineNum = 51904621;BA.debugLine="Private MONTO_REC_DIA = 0"; _monto_rec_dia = BA.NumberToString(0); - //BA.debugLineNum = 272;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO"; -if (_f2.GetString("MONTO_REC_DIA")!= null) { -_monto_rec_dia = _f2.GetString("MONTO_REC_DIA");}; - //BA.debugLineNum = 283;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 284;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 285;BA.debugLine="L.Position = 0"; -_l.setPosition((int) (0)); - //BA.debugLineNum = 286;BA.debugLine="f1.Position = 0"; -_f1.setPosition((int) (0)); - //BA.debugLineNum = 287;BA.debugLine="l_aLiquidar.Text = 0"; -_l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 288;BA.debugLine="If f1.RowCount > 0 Then l_aLiquidar.Text = to_nu"; -if (_f1.getRowCount()>0) { -_l_aliquidar.setText(BA.ObjectToCharSequence(_to_number_vb((Object)(_f1.GetString("MONTO_TOTAL_DIA")))));}; - //BA.debugLineNum = 289;BA.debugLine="L_MONTOE.Text = 0"; -_l_montoe.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 291;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 292;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt"; -if (_l.getRowCount()>0) { -_l_cuantosc.setText(BA.ObjectToCharSequence(_l.GetString("CLIENTES_DIA")));}; - //BA.debugLineNum = 293;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 294;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt"; -if (_b.getRowCount()>0) { -_l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS")));}; - //BA.debugLineNum = 296;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then"; -if (_f1.GetString("MONTO_TOTAL_DIA")!= null) { -_l_montosalida.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_f1.GetString("MONTO_TOTAL_DIA"))),(int) (2))));}; - //BA.debugLineNum = 298;BA.debugLine="l_ctast.Text = 0"; -_l_ctast.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 299;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; -if (_d.getRowCount()>0) { -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR")));}; - //BA.debugLineNum = 300;BA.debugLine="l_porvisitar.Text = 0"; -_l_porvisitar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 301;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; -if (_e.getRowCount()>0) { -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR")));}; - //BA.debugLineNum = 302;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 303;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 314;BA.debugLine="c.Close"; -_c.Close(); +RDebugUtils.currentLine=51904622; + //BA.debugLineNum = 51904622;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO"; +if (__ref._f2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_REC_DIA")!= null) { +_monto_rec_dia = __ref._f2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_REC_DIA");}; +RDebugUtils.currentLine=51904633; + //BA.debugLineNum = 51904633;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904634; + //BA.debugLineNum = 51904634;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904635; + //BA.debugLineNum = 51904635;BA.debugLine="L.Position = 0"; +__ref._l /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904636; + //BA.debugLineNum = 51904636;BA.debugLine="f1.Position = 0"; +__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904637; + //BA.debugLineNum = 51904637;BA.debugLine="l_aLiquidar.Text = 0"; +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904638; + //BA.debugLineNum = 51904638;BA.debugLine="If f1.RowCount > 0 Then l_aLiquidar.Text = to_nu"; +if (__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._to_number_vb /*String*/ (null,(Object)(__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_TOTAL_DIA")))));}; +RDebugUtils.currentLine=51904639; + //BA.debugLineNum = 51904639;BA.debugLine="L_MONTOE.Text = 0"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904641; + //BA.debugLineNum = 51904641;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904642; + //BA.debugLineNum = 51904642;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt"; +if (__ref._l /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA")));}; +RDebugUtils.currentLine=51904643; + //BA.debugLineNum = 51904643;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904644; + //BA.debugLineNum = 51904644;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt"; +if (__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")));}; +RDebugUtils.currentLine=51904646; + //BA.debugLineNum = 51904646;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then"; +if (__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_TOTAL_DIA")!= null) { +__ref._l_montosalida /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_TOTAL_DIA"))),(int) (2))));}; +RDebugUtils.currentLine=51904648; + //BA.debugLineNum = 51904648;BA.debugLine="l_ctast.Text = 0"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904649; + //BA.debugLineNum = 51904649;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR")));}; +RDebugUtils.currentLine=51904650; + //BA.debugLineNum = 51904650;BA.debugLine="l_porvisitar.Text = 0"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51904651; + //BA.debugLineNum = 51904651;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; +if (__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR")));}; +RDebugUtils.currentLine=51904652; + //BA.debugLineNum = 51904652;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51904653; + //BA.debugLineNum = 51904653;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51904664; + //BA.debugLineNum = 51904664;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 316;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 317;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 318;BA.debugLine="ALMACEN = 0"; -_almacen = BA.NumberToString(0); - //BA.debugLineNum = 319;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; -if (_c.getRowCount()>0) { -_almacen = _c.GetString("ID_ALMACEN");}; - //BA.debugLineNum = 320;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ = _almacen; - //BA.debugLineNum = 321;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 322;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, H"; -_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 HGDATE, HGLAT, HGLON from HIST_GPS"))); - //BA.debugLineNum = 324;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 325;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=51904666; + //BA.debugLineNum = 51904666;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=51904667; + //BA.debugLineNum = 51904667;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904668; + //BA.debugLineNum = 51904668;BA.debugLine="ALMACEN = 0"; +__ref._almacen /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51904669; + //BA.debugLineNum = 51904669;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN");}; +RDebugUtils.currentLine=51904670; + //BA.debugLineNum = 51904670;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ = __ref._almacen /*String*/ ; +RDebugUtils.currentLine=51904671; + //BA.debugLineNum = 51904671;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51904672; + //BA.debugLineNum = 51904672;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, H"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS"))); +RDebugUtils.currentLine=51904674; + //BA.debugLineNum = 51904674;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=51904675; + //BA.debugLineNum = 51904675;BA.debugLine="For i=0 To c.RowCount -1"; { final int step107 = 1; -final int limit107 = (int) (_c.getRowCount()-1); +final int limit107 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit107 ;_i = _i + step107 ) { - //BA.debugLineNum = 326;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 327;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=51904676; + //BA.debugLineNum = 51904676;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=51904677; + //BA.debugLineNum = 51904677;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 328;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 329;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; -_cmd.Name /*String*/ = "insert_gps_actual_REP"; - //BA.debugLineNum = 330;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("hgdate")),(Object)(_c.GetString("hglat")),(Object)(_c.GetString("hglon")),(Object)(_usuario)}; +RDebugUtils.currentLine=51904678; + //BA.debugLineNum = 51904678;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=51904679; + //BA.debugLineNum = 51904679;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_gps_actual_REP"; +RDebugUtils.currentLine=51904680; + //BA.debugLineNum = 51904680;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hgdate")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hglat")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hglon")),(Object)(__ref._usuario /*String*/ )}; } }; }; - //BA.debugLineNum = 334;BA.debugLine="bu.Initialize"; -_bu._initialize /*String*/ (ba); - //BA.debugLineNum = 335;BA.debugLine="batterystatus = bu.BatteryInformation"; -_batterystatus = _bu._getbatteryinformation /*int[]*/ (); - //BA.debugLineNum = 337;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._batt /*int*/ = _batterystatus[(int) (0)]; - //BA.debugLineNum = 338;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 339;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 340;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 341;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 342;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 343;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 344;BA.debugLine="RUTA_T = 0"; -_ruta_t = BA.NumberToString(0); - //BA.debugLineNum = 345;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; -if (_c.getRowCount()>0) { -_ruta_t = _c.GetString("RUTAA");}; - //BA.debugLineNum = 346;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _ruta_t; - //BA.debugLineNum = 347;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 348;BA.debugLine="reqs.Initialize"; -_reqs.Initialize(); - //BA.debugLineNum = 350;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=51904684; + //BA.debugLineNum = 51904684;BA.debugLine="bu.Initialize"; +__ref._bu /*reparto_intmex.keymon.lat.batteryutilities*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=51904685; + //BA.debugLineNum = 51904685;BA.debugLine="batterystatus = bu.BatteryInformation"; +__ref._batterystatus /*int[]*/ = __ref._bu /*reparto_intmex.keymon.lat.batteryutilities*/ ._getbatteryinformation /*int[]*/ (null); +RDebugUtils.currentLine=51904687; + //BA.debugLineNum = 51904687;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._batt /*int*/ = __ref._batterystatus /*int[]*/ [(int) (0)]; +RDebugUtils.currentLine=51904688; + //BA.debugLineNum = 51904688;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=51904689; + //BA.debugLineNum = 51904689;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904690; + //BA.debugLineNum = 51904690;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=51904691; + //BA.debugLineNum = 51904691;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51904692; + //BA.debugLineNum = 51904692;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=51904693; + //BA.debugLineNum = 51904693;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51904694; + //BA.debugLineNum = 51904694;BA.debugLine="RUTA_T = 0"; +__ref._ruta_t /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51904695; + //BA.debugLineNum = 51904695;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._ruta_t /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA");}; +RDebugUtils.currentLine=51904696; + //BA.debugLineNum = 51904696;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = __ref._ruta_t /*String*/ ; +RDebugUtils.currentLine=51904697; + //BA.debugLineNum = 51904697;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51904698; + //BA.debugLineNum = 51904698;BA.debugLine="reqs.Initialize"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=51904700; + //BA.debugLineNum = 51904700;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; _rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _rc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from REPARTO where REP_RECHAZO = \"1\" and REP_CANT > 0")))); - //BA.debugLineNum = 352;BA.debugLine="If rc.RowCount > 0 Then"; +RDebugUtils.currentLine=51904702; + //BA.debugLineNum = 51904702;BA.debugLine="If rc.RowCount > 0 Then"; if (_rc.getRowCount()>0) { - //BA.debugLineNum = 353;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; +RDebugUtils.currentLine=51904703; + //BA.debugLineNum = 51904703;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from RECHAZOS")); - //BA.debugLineNum = 354;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; +RDebugUtils.currentLine=51904704; + //BA.debugLineNum = 51904704;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; { final int step132 = 1; final int limit132 = (int) (_rc.getRowCount()-1); _i3 = (int) (0) ; for (;_i3 <= limit132 ;_i3 = _i3 + step132 ) { - //BA.debugLineNum = 355;BA.debugLine="rc.Position = i3"; +RDebugUtils.currentLine=51904705; + //BA.debugLineNum = 51904705;BA.debugLine="rc.Position = i3"; _rc.setPosition(_i3); - //BA.debugLineNum = 358;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO"; +RDebugUtils.currentLine=51904708; + //BA.debugLineNum = 51904708;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into RECHAZOS(R_FECHA, R_CLIENTE, R_CLI_ORIG, R_PRODID, R_CANT, R_RECHAZO, R_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_CLIENTE")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '1' and REP_CANT > 0")); } }; }; - //BA.debugLineNum = 361;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=51904711; + //BA.debugLineNum = 51904711;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from REPARTO where REP_RECHAZO = \"0\" and REP_CANT > 0")))); - //BA.debugLineNum = 363;BA.debugLine="If vc.RowCount > 0 Then"; +RDebugUtils.currentLine=51904713; + //BA.debugLineNum = 51904713;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 364;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; +RDebugUtils.currentLine=51904714; + //BA.debugLineNum = 51904714;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from VENTAS")); - //BA.debugLineNum = 365;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; +RDebugUtils.currentLine=51904715; + //BA.debugLineNum = 51904715;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; { final int step140 = 1; final int limit140 = (int) (_vc.getRowCount()-1); _i4 = (int) (0) ; for (;_i4 <= limit140 ;_i4 = _i4 + step140 ) { - //BA.debugLineNum = 366;BA.debugLine="vc.Position = i4"; +RDebugUtils.currentLine=51904716; + //BA.debugLineNum = 51904716;BA.debugLine="vc.Position = i4"; _vc.setPosition(_i4); - //BA.debugLineNum = 369;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS("; +RDebugUtils.currentLine=51904719; + //BA.debugLineNum = 51904719;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS("; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into VENTAS(V_FECHA, V_CLIENTE, V_CLI_ORIG, V_PRODID, V_CANT, V_RECHAZO, V_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLIENTE")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '0' and REP_CANT > 0")); } }; }; - //BA.debugLineNum = 372;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; +RDebugUtils.currentLine=51904722; + //BA.debugLineNum = 51904722;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; _starter._envia_ultima_gps /*String*/ (); - //BA.debugLineNum = 377;BA.debugLine="Dim entMap As Map = Subs.traeEntregados"; +RDebugUtils.currentLine=51904727; + //BA.debugLineNum = 51904727;BA.debugLine="Dim entMap As Map = Subs.traeEntregados"; _entmap = new anywheresoftware.b4a.objects.collections.Map(); _entmap = _subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 378;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados"; +RDebugUtils.currentLine=51904728; + //BA.debugLineNum = 51904728;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados"; _rechmap = new anywheresoftware.b4a.objects.collections.Map(); _rechmap = _subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 379;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos"; +RDebugUtils.currentLine=51904729; + //BA.debugLineNum = 51904729;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos"; _vendmap = new anywheresoftware.b4a.objects.collections.Map(); _vendmap = _subs._traevendidos /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 380;BA.debugLine="l_aLiquidar.Text = entMap.Get(\"monto\") + vendMap."; -_l_aliquidar.setText(BA.ObjectToCharSequence((double)(BA.ObjectToNumber(_entmap.Get((Object)("monto"))))+(double)(BA.ObjectToNumber(_vendmap.Get((Object)("monto")))))); - //BA.debugLineNum = 382;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=51904730; + //BA.debugLineNum = 51904730;BA.debugLine="l_aLiquidar.Text = entMap.Get(\"monto\") + vendMap."; +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((double)(BA.ObjectToNumber(_entmap.Get((Object)("monto"))))+(double)(BA.ObjectToNumber(_vendmap.Get((Object)("monto")))))); +RDebugUtils.currentLine=51904732; + //BA.debugLineNum = 51904732;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer"; _cancelrecha = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cancelrecha = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull(HVD_RECHAZOCANT,0), HVD_RECHAZO, CONSECUTIVO FROM HIST_VENTAS"))); - //BA.debugLineNum = 383;BA.debugLine="If cancelrecha.RowCount > 0 Then"; +RDebugUtils.currentLine=51904733; + //BA.debugLineNum = 51904733;BA.debugLine="If cancelrecha.RowCount > 0 Then"; if (_cancelrecha.getRowCount()>0) { - //BA.debugLineNum = 384;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; +RDebugUtils.currentLine=51904734; + //BA.debugLineNum = 51904734;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; { final int step152 = 1; final int limit152 = (int) (_cancelrecha.getRowCount()-1); _h54 = (int) (0) ; for (;_h54 <= limit152 ;_h54 = _h54 + step152 ) { - //BA.debugLineNum = 385;BA.debugLine="cancelrecha.Position = h54"; +RDebugUtils.currentLine=51904735; + //BA.debugLineNum = 51904735;BA.debugLine="cancelrecha.Position = h54"; _cancelrecha.setPosition(_h54); - //BA.debugLineNum = 386;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS"; +RDebugUtils.currentLine=51904736; + //BA.debugLineNum = 51904736;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update HIST_VENTAS set HVD_RECHAZO = '0' WHERE CONSECUTIVO = ? and (HVD_RECHAZOCANT = 0 OR HVD_RECHAZOCANT IS NULL)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cancelrecha.GetString("CONSECUTIVO")})); } }; }; - //BA.debugLineNum = 389;BA.debugLine="cancelrecha.Close"; +RDebugUtils.currentLine=51904739; + //BA.debugLineNum = 51904739;BA.debugLine="cancelrecha.Close"; _cancelrecha.Close(); - //BA.debugLineNum = 393;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=51904743; + //BA.debugLineNum = 51904743;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ORDER BY HVD_PROID ")))); - //BA.debugLineNum = 395;BA.debugLine="Private rescant As String = 0"; +RDebugUtils.currentLine=51904745; + //BA.debugLineNum = 51904745;BA.debugLine="Private rescant As String = 0"; _rescant = BA.NumberToString(0); - //BA.debugLineNum = 396;BA.debugLine="If r5.RowCount > 0 Then"; +RDebugUtils.currentLine=51904746; + //BA.debugLineNum = 51904746;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 397;BA.debugLine="For j4 = 0 To r5.RowCount -1"; +RDebugUtils.currentLine=51904747; + //BA.debugLineNum = 51904747;BA.debugLine="For j4 = 0 To r5.RowCount -1"; { final int step161 = 1; final int limit161 = (int) (_r5.getRowCount()-1); _j4 = (int) (0) ; for (;_j4 <= limit161 ;_j4 = _j4 + step161 ) { - //BA.debugLineNum = 398;BA.debugLine="r5.Position = j4"; +RDebugUtils.currentLine=51904748; + //BA.debugLineNum = 51904748;BA.debugLine="r5.Position = j4"; _r5.setPosition(_j4); - //BA.debugLineNum = 399;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=51904749; + //BA.debugLineNum = 51904749;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' ")))); - //BA.debugLineNum = 400;BA.debugLine="Dim totalcantped As String"; +RDebugUtils.currentLine=51904750; + //BA.debugLineNum = 51904750;BA.debugLine="Dim totalcantped As String"; _totalcantped = ""; - //BA.debugLineNum = 401;BA.debugLine="If r6.RowCount > 0 Then"; +RDebugUtils.currentLine=51904751; + //BA.debugLineNum = 51904751;BA.debugLine="If r6.RowCount > 0 Then"; if (_r6.getRowCount()>0) { - //BA.debugLineNum = 402;BA.debugLine="r6.Position = 0"; +RDebugUtils.currentLine=51904752; + //BA.debugLineNum = 51904752;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 403;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=51904753; + //BA.debugLineNum = 51904753;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; _totalcantped = _r6.GetString("PE_CANT"); }else { - //BA.debugLineNum = 406;BA.debugLine="totalcantped = 0"; +RDebugUtils.currentLine=51904756; + //BA.debugLineNum = 51904756;BA.debugLine="totalcantped = 0"; _totalcantped = BA.NumberToString(0); }; - //BA.debugLineNum = 409;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot"; -__c.LogImpl("814876919",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0); - //BA.debugLineNum = 410;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T"; +RDebugUtils.currentLine=51904759; + //BA.debugLineNum = 51904759;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot"; +__c.LogImpl("251904759",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0); +RDebugUtils.currentLine=51904760; + //BA.debugLineNum = 51904760;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 = 412;BA.debugLine="r6.Close"; +RDebugUtils.currentLine=51904762; + //BA.debugLineNum = 51904762;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 415;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; +RDebugUtils.currentLine=51904765; + //BA.debugLineNum = 51904765;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; if ((_rescant).equals("NaN")) { _rescant = BA.NumberToString(0);}; - //BA.debugLineNum = 416;BA.debugLine="LogColor(rescant,Colors.Red)"; -__c.LogImpl("814876926",_rescant,__c.Colors.Red); - //BA.debugLineNum = 417;BA.debugLine="r5.Close"; +RDebugUtils.currentLine=51904766; + //BA.debugLineNum = 51904766;BA.debugLine="LogColor(rescant,Colors.Red)"; +__c.LogImpl("251904766",_rescant,__c.Colors.Red); +RDebugUtils.currentLine=51904767; + //BA.debugLineNum = 51904767;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 421;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=51904771; + //BA.debugLineNum = 51904771;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); - //BA.debugLineNum = 425;BA.debugLine="Private rescant2 As Double = 0"; +RDebugUtils.currentLine=51904775; + //BA.debugLineNum = 51904775;BA.debugLine="Private rescant2 As Double = 0"; _rescant2 = 0; - //BA.debugLineNum = 426;BA.debugLine="If r5.RowCount > 0 Then"; +RDebugUtils.currentLine=51904776; + //BA.debugLineNum = 51904776;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 427;BA.debugLine="For j5 = 0 To r5.RowCount -1"; +RDebugUtils.currentLine=51904777; + //BA.debugLineNum = 51904777;BA.debugLine="For j5 = 0 To r5.RowCount -1"; { final int step182 = 1; final int limit182 = (int) (_r5.getRowCount()-1); _j5 = (int) (0) ; for (;_j5 <= limit182 ;_j5 = _j5 + step182 ) { - //BA.debugLineNum = 428;BA.debugLine="r5.Position = j5"; +RDebugUtils.currentLine=51904778; + //BA.debugLineNum = 51904778;BA.debugLine="r5.Position = j5"; _r5.setPosition(_j5); - //BA.debugLineNum = 429;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=51904779; + //BA.debugLineNum = 51904779;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 430;BA.debugLine="r6.Position = 0"; +RDebugUtils.currentLine=51904780; + //BA.debugLineNum = 51904780;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 432;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO"; +RDebugUtils.currentLine=51904782; + //BA.debugLineNum = 51904782;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO"; _rescant2 = _rescant2+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("CANTC")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_r6.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5.GetString("HVD_PROID")))))); - //BA.debugLineNum = 433;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal"; +RDebugUtils.currentLine=51904783; + //BA.debugLineNum = 51904783;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal"; _rescant2 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant2,(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 434;BA.debugLine="r6.Close"; +RDebugUtils.currentLine=51904784; + //BA.debugLineNum = 51904784;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 437;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; +RDebugUtils.currentLine=51904787; + //BA.debugLineNum = 51904787;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; if (_rescant2==(double)(Double.parseDouble("NaN"))) { _rescant2 = 0;}; - //BA.debugLineNum = 438;BA.debugLine="Log(rescant2)"; -__c.LogImpl("814876948",BA.NumberToString(_rescant2),0); - //BA.debugLineNum = 439;BA.debugLine="r5.Close"; +RDebugUtils.currentLine=51904788; + //BA.debugLineNum = 51904788;BA.debugLine="Log(rescant2)"; +__c.LogImpl("251904788",BA.NumberToString(_rescant2),0); +RDebugUtils.currentLine=51904789; + //BA.debugLineNum = 51904789;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 444;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=51904794; + //BA.debugLineNum = 51904794;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; _r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))); - //BA.debugLineNum = 446;BA.debugLine="Private rescantr As String = 0"; +RDebugUtils.currentLine=51904796; + //BA.debugLineNum = 51904796;BA.debugLine="Private rescantr As String = 0"; _rescantr = BA.NumberToString(0); - //BA.debugLineNum = 447;BA.debugLine="If r5r.RowCount > 0 Then"; +RDebugUtils.currentLine=51904797; + //BA.debugLineNum = 51904797;BA.debugLine="If r5r.RowCount > 0 Then"; if (_r5r.getRowCount()>0) { - //BA.debugLineNum = 448;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; +RDebugUtils.currentLine=51904798; + //BA.debugLineNum = 51904798;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; { final int step197 = 1; final int limit197 = (int) (_r5r.getRowCount()-1); _j4r = (int) (0) ; for (;_j4r <= limit197 ;_j4r = _j4r + step197 ) { - //BA.debugLineNum = 449;BA.debugLine="r5r.Position = j4r"; +RDebugUtils.currentLine=51904799; + //BA.debugLineNum = 51904799;BA.debugLine="r5r.Position = j4r"; _r5r.setPosition(_j4r); - //BA.debugLineNum = 450;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=51904800; + //BA.debugLineNum = 51904800;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; _r6r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("CONSECUTIVO")))+"' ")))); - //BA.debugLineNum = 451;BA.debugLine="r6r.Position = 0"; +RDebugUtils.currentLine=51904801; + //BA.debugLineNum = 51904801;BA.debugLine="r6r.Position = 0"; _r6r.setPosition((int) (0)); - //BA.debugLineNum = 454;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST"; +RDebugUtils.currentLine=51904804; + //BA.debugLineNum = 51904804;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST"; _rescantr = BA.NumberToString((double)(Double.parseDouble(_rescantr))+(((double)(Double.parseDouble(_r5r.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5r.GetString("HVD_CANT")))))*(double)(Double.parseDouble((_r5r.GetString("HVD_RECHAZOCANT")))))); - //BA.debugLineNum = 455;BA.debugLine="r6r.Close"; +RDebugUtils.currentLine=51904805; + //BA.debugLineNum = 51904805;BA.debugLine="r6r.Close"; _r6r.Close(); } }; }; - //BA.debugLineNum = 458;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; +RDebugUtils.currentLine=51904808; + //BA.debugLineNum = 51904808;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; if ((_rescantr).equals("NaN")) { _rescantr = BA.NumberToString(0);}; - //BA.debugLineNum = 460;BA.debugLine="r5r.Close"; +RDebugUtils.currentLine=51904810; + //BA.debugLineNum = 51904810;BA.debugLine="r5r.Close"; _r5r.Close(); - //BA.debugLineNum = 462;BA.debugLine="Log(rescantr)"; -__c.LogImpl("814876972",_rescantr,0); - //BA.debugLineNum = 464;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=51904812; + //BA.debugLineNum = 51904812;BA.debugLine="Log(rescantr)"; +__c.LogImpl("251904812",_rescantr,0); +RDebugUtils.currentLine=51904814; + //BA.debugLineNum = 51904814;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' ")))); - //BA.debugLineNum = 468;BA.debugLine="Private rescant2r As String = 0"; +RDebugUtils.currentLine=51904818; + //BA.debugLineNum = 51904818;BA.debugLine="Private rescant2r As String = 0"; _rescant2r = BA.NumberToString(0); - //BA.debugLineNum = 469;BA.debugLine="If r5r.RowCount > 0 Then"; +RDebugUtils.currentLine=51904819; + //BA.debugLineNum = 51904819;BA.debugLine="If r5r.RowCount > 0 Then"; if (_r5r.getRowCount()>0) { - //BA.debugLineNum = 470;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; +RDebugUtils.currentLine=51904820; + //BA.debugLineNum = 51904820;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; { final int step211 = 1; final int limit211 = (int) (_r5r.getRowCount()-1); _j5r = (int) (0) ; for (;_j5r <= limit211 ;_j5r = _j5r + step211 ) { - //BA.debugLineNum = 471;BA.debugLine="r5r.Position = j5r"; +RDebugUtils.currentLine=51904821; + //BA.debugLineNum = 51904821;BA.debugLine="r5r.Position = j5r"; _r5r.setPosition(_j5r); - //BA.debugLineNum = 472;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=51904822; + //BA.debugLineNum = 51904822;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; _r6r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 473;BA.debugLine="r6r.Position = 0"; +RDebugUtils.currentLine=51904823; + //BA.debugLineNum = 51904823;BA.debugLine="r6r.Position = 0"; _r6r.setPosition((int) (0)); - //BA.debugLineNum = 475;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO"; +RDebugUtils.currentLine=51904825; + //BA.debugLineNum = 51904825;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO"; _rescant2r = BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(((double)(Double.parseDouble(_r5r.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5r.GetString("CANTC")))))*((double)(Double.parseDouble((_r5r.GetString("HVD_RECHAZOCANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5r.GetString("HVD_PROID"))))))); - //BA.debugLineNum = 476;BA.debugLine="r6r.Close"; +RDebugUtils.currentLine=51904826; + //BA.debugLineNum = 51904826;BA.debugLine="r6r.Close"; _r6r.Close(); } }; }; - //BA.debugLineNum = 479;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; +RDebugUtils.currentLine=51904829; + //BA.debugLineNum = 51904829;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; if ((_rescant2r).equals("NaN")) { _rescant2r = BA.NumberToString(0);}; - //BA.debugLineNum = 481;BA.debugLine="r5r.Close"; +RDebugUtils.currentLine=51904831; + //BA.debugLineNum = 51904831;BA.debugLine="r5r.Close"; _r5r.Close(); - //BA.debugLineNum = 482;BA.debugLine="Log(rescant2r)"; -__c.LogImpl("814876992",_rescant2r,0); - //BA.debugLineNum = 483;BA.debugLine="Log(rescant2r+rescantr)"; -__c.LogImpl("814876993",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0); - //BA.debugLineNum = 499;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=51904832; + //BA.debugLineNum = 51904832;BA.debugLine="Log(rescant2r)"; +__c.LogImpl("251904832",_rescant2r,0); +RDebugUtils.currentLine=51904833; + //BA.debugLineNum = 51904833;BA.debugLine="Log(rescant2r+rescantr)"; +__c.LogImpl("251904833",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0); +RDebugUtils.currentLine=51904849; + //BA.debugLineNum = 51904849;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' ")))); - //BA.debugLineNum = 500;BA.debugLine="Private rescant3 As Double"; +RDebugUtils.currentLine=51904850; + //BA.debugLineNum = 51904850;BA.debugLine="Private rescant3 As Double"; _rescant3 = 0; - //BA.debugLineNum = 501;BA.debugLine="If r55.RowCount > 0 Then"; +RDebugUtils.currentLine=51904851; + //BA.debugLineNum = 51904851;BA.debugLine="If r55.RowCount > 0 Then"; if (_r55.getRowCount()>0) { - //BA.debugLineNum = 502;BA.debugLine="For r75 = 0 To r55.RowCount -1"; +RDebugUtils.currentLine=51904852; + //BA.debugLineNum = 51904852;BA.debugLine="For r75 = 0 To r55.RowCount -1"; { final int step226 = 1; final int limit226 = (int) (_r55.getRowCount()-1); _r75 = (int) (0) ; for (;_r75 <= limit226 ;_r75 = _r75 + step226 ) { - //BA.debugLineNum = 503;BA.debugLine="r55.Position = r75"; +RDebugUtils.currentLine=51904853; + //BA.debugLineNum = 51904853;BA.debugLine="r55.Position = r75"; _r55.setPosition(_r75); - //BA.debugLineNum = 504;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; +RDebugUtils.currentLine=51904854; + //BA.debugLineNum = 51904854;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; _rescant3 = _rescant3+(double)(Double.parseDouble(_r55.GetString("HVD_COSTO_TOT"))); - //BA.debugLineNum = 505;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal"; +RDebugUtils.currentLine=51904855; + //BA.debugLineNum = 51904855;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal"; _rescant3 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant3,(int) (0),(int) (2),(int) (2),__c.False))); } }; }; - //BA.debugLineNum = 509;BA.debugLine="Log(rescant3)"; -__c.LogImpl("814877019",BA.NumberToString(_rescant3),0); - //BA.debugLineNum = 510;BA.debugLine="r55.Close"; +RDebugUtils.currentLine=51904859; + //BA.debugLineNum = 51904859;BA.debugLine="Log(rescant3)"; +__c.LogImpl("251904859",BA.NumberToString(_rescant3),0); +RDebugUtils.currentLine=51904860; + //BA.debugLineNum = 51904860;BA.debugLine="r55.Close"; _r55.Close(); - //BA.debugLineNum = 515;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=51904865; + //BA.debugLineNum = 51904865;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '1' ")))); - //BA.debugLineNum = 516;BA.debugLine="Private rescant4 As Double"; +RDebugUtils.currentLine=51904866; + //BA.debugLineNum = 51904866;BA.debugLine="Private rescant4 As Double"; _rescant4 = 0; - //BA.debugLineNum = 517;BA.debugLine="If r5.RowCount > 0 Then"; +RDebugUtils.currentLine=51904867; + //BA.debugLineNum = 51904867;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 518;BA.debugLine="r5.Position = 0"; +RDebugUtils.currentLine=51904868; + //BA.debugLineNum = 51904868;BA.debugLine="r5.Position = 0"; _r5.setPosition((int) (0)); - //BA.debugLineNum = 519;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; +RDebugUtils.currentLine=51904869; + //BA.debugLineNum = 51904869;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; _rescant4 = (double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT"))); }; - //BA.debugLineNum = 521;BA.debugLine="Log(rescant4)"; -__c.LogImpl("814877031",BA.NumberToString(_rescant4),0); - //BA.debugLineNum = 522;BA.debugLine="r5.Close"; +RDebugUtils.currentLine=51904871; + //BA.debugLineNum = 51904871;BA.debugLine="Log(rescant4)"; +__c.LogImpl("251904871",BA.NumberToString(_rescant4),0); +RDebugUtils.currentLine=51904872; + //BA.debugLineNum = 51904872;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 524;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=51904874; + //BA.debugLineNum = 51904874;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO ")))); - //BA.debugLineNum = 525;BA.debugLine="Private rescant5 As Double"; +RDebugUtils.currentLine=51904875; + //BA.debugLineNum = 51904875;BA.debugLine="Private rescant5 As Double"; _rescant5 = 0; - //BA.debugLineNum = 526;BA.debugLine="If r5.RowCount > 0 Then"; +RDebugUtils.currentLine=51904876; + //BA.debugLineNum = 51904876;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 527;BA.debugLine="r5.Position = 0"; +RDebugUtils.currentLine=51904877; + //BA.debugLineNum = 51904877;BA.debugLine="r5.Position = 0"; _r5.setPosition((int) (0)); - //BA.debugLineNum = 528;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; +RDebugUtils.currentLine=51904878; + //BA.debugLineNum = 51904878;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; _rescant5 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT"))); }; - //BA.debugLineNum = 530;BA.debugLine="Log(rescant5)"; -__c.LogImpl("814877040",BA.NumberToString(_rescant5),0); - //BA.debugLineNum = 531;BA.debugLine="r5.Close"; +RDebugUtils.currentLine=51904880; + //BA.debugLineNum = 51904880;BA.debugLine="Log(rescant5)"; +__c.LogImpl("251904880",BA.NumberToString(_rescant5),0); +RDebugUtils.currentLine=51904881; + //BA.debugLineNum = 51904881;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 536;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=51904886; + //BA.debugLineNum = 51904886;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))); - //BA.debugLineNum = 537;BA.debugLine="Private rescant6 As Double"; +RDebugUtils.currentLine=51904887; + //BA.debugLineNum = 51904887;BA.debugLine="Private rescant6 As Double"; _rescant6 = 0; - //BA.debugLineNum = 538;BA.debugLine="If r5.RowCount > 0 Then"; +RDebugUtils.currentLine=51904888; + //BA.debugLineNum = 51904888;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 539;BA.debugLine="For j4 = 0 To r5.RowCount -1"; +RDebugUtils.currentLine=51904889; + //BA.debugLineNum = 51904889;BA.debugLine="For j4 = 0 To r5.RowCount -1"; { final int step253 = 1; final int limit253 = (int) (_r5.getRowCount()-1); _j4 = (int) (0) ; for (;_j4 <= limit253 ;_j4 = _j4 + step253 ) { - //BA.debugLineNum = 540;BA.debugLine="r5.Position = j4"; +RDebugUtils.currentLine=51904890; + //BA.debugLineNum = 51904890;BA.debugLine="r5.Position = j4"; _r5.setPosition(_j4); - //BA.debugLineNum = 541;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=51904891; + //BA.debugLineNum = 51904891;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' ")))); - //BA.debugLineNum = 542;BA.debugLine="r6.Position = 0"; +RDebugUtils.currentLine=51904892; + //BA.debugLineNum = 51904892;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 545;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO"; +RDebugUtils.currentLine=51904895; + //BA.debugLineNum = 51904895;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO"; _rescant6 = _rescant6+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 547;BA.debugLine="r6.Close"; +RDebugUtils.currentLine=51904897; + //BA.debugLineNum = 51904897;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 550;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; +RDebugUtils.currentLine=51904900; + //BA.debugLineNum = 51904900;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; if (_rescant6==(double)(Double.parseDouble("NaN"))) { _rescant6 = 0;}; - //BA.debugLineNum = 551;BA.debugLine="LogColor(rescant6,Colors.Red)"; -__c.LogImpl("814877061",BA.NumberToString(_rescant6),__c.Colors.Red); - //BA.debugLineNum = 552;BA.debugLine="r5.Close"; +RDebugUtils.currentLine=51904901; + //BA.debugLineNum = 51904901;BA.debugLine="LogColor(rescant6,Colors.Red)"; +__c.LogImpl("251904901",BA.NumberToString(_rescant6),__c.Colors.Red); +RDebugUtils.currentLine=51904902; + //BA.debugLineNum = 51904902;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 554;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=51904904; + //BA.debugLineNum = 51904904;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); - //BA.debugLineNum = 555;BA.debugLine="Private rescant7 As Double"; +RDebugUtils.currentLine=51904905; + //BA.debugLineNum = 51904905;BA.debugLine="Private rescant7 As Double"; _rescant7 = 0; - //BA.debugLineNum = 556;BA.debugLine="If r5.RowCount > 0 Then"; +RDebugUtils.currentLine=51904906; + //BA.debugLineNum = 51904906;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 557;BA.debugLine="For j5 = 0 To r5.RowCount -1"; +RDebugUtils.currentLine=51904907; + //BA.debugLineNum = 51904907;BA.debugLine="For j5 = 0 To r5.RowCount -1"; { final int step267 = 1; final int limit267 = (int) (_r5.getRowCount()-1); _j5 = (int) (0) ; for (;_j5 <= limit267 ;_j5 = _j5 + step267 ) { - //BA.debugLineNum = 558;BA.debugLine="r5.Position = j5"; +RDebugUtils.currentLine=51904908; + //BA.debugLineNum = 51904908;BA.debugLine="r5.Position = j5"; _r5.setPosition(_j5); - //BA.debugLineNum = 559;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=51904909; + //BA.debugLineNum = 51904909;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 560;BA.debugLine="r6.Position = 0"; +RDebugUtils.currentLine=51904910; + //BA.debugLineNum = 51904910;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 562;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO"; +RDebugUtils.currentLine=51904912; + //BA.debugLineNum = 51904912;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO"; _rescant7 = _rescant7+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("CANTC")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5.GetString("HVD_PROID")))))); - //BA.debugLineNum = 563;BA.debugLine="r6.Close"; +RDebugUtils.currentLine=51904913; + //BA.debugLineNum = 51904913;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 566;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; +RDebugUtils.currentLine=51904916; + //BA.debugLineNum = 51904916;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; if (_rescant7==(double)(Double.parseDouble("NaN"))) { _rescant7 = 0;}; - //BA.debugLineNum = 567;BA.debugLine="Log(rescant7)"; -__c.LogImpl("814877077",BA.NumberToString(_rescant7),0); - //BA.debugLineNum = 568;BA.debugLine="r5.Close"; +RDebugUtils.currentLine=51904917; + //BA.debugLineNum = 51904917;BA.debugLine="Log(rescant7)"; +__c.LogImpl("251904917",BA.NumberToString(_rescant7),0); +RDebugUtils.currentLine=51904918; + //BA.debugLineNum = 51904918;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 571;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant"; -_l_rechazo.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_rescant))+_rescant2),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 572;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant"; -_l_montoe.setText(BA.ObjectToCharSequence(__c.NumberFormat2((_rescant3+_rescant4+_rescant5+_rescant6+_rescant7),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 575;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = _l_montoe.getText(); - //BA.debugLineNum = 576;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ = _l_cuantosc.getText(); - //BA.debugLineNum = 577;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ = _l_cuantosn.getText(); - //BA.debugLineNum = 578;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ = _l_porvisitar.getText(); - //BA.debugLineNum = 579;BA.debugLine="B4XPages.MainPage.montoActual = Round2(l_montoSal"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ = BA.NumberToString(__c.Round2((double)(Double.parseDouble(_l_montosalida.getText()))-(double)(BA.ObjectToNumber(_rechmap.Get((Object)("monto")))),(int) (2))); - //BA.debugLineNum = 580;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ = _l_ctast.getText(); - //BA.debugLineNum = 581;BA.debugLine="B4XPages.MainPage.entregas = l_cuantosc.text"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ = _l_cuantosc.getText(); - //BA.debugLineNum = 582;BA.debugLine="B4XPages.MainPage.rechazos = l_cuantosn.text"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ = _l_cuantosn.getText(); - //BA.debugLineNum = 583;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ = _l_montoe.getText(); - //BA.debugLineNum = 584;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ = _l_rechazo.getText(); - //BA.debugLineNum = 586;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 589;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th"; -if ((_l_ctast.getText()).equals(BA.NumberToString(0)) && (_l_porvisitar.getText()).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 590;BA.debugLine="Label9.Visible = True"; -_label9.setVisible(__c.True); - //BA.debugLineNum = 591;BA.debugLine="L_MONTOE.Visible = True"; -_l_montoe.setVisible(__c.True); - //BA.debugLineNum = 600;BA.debugLine="b_venta_emp.Visible = False"; -_b_venta_emp.setVisible(__c.False); +RDebugUtils.currentLine=51904921; + //BA.debugLineNum = 51904921;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant"; +__ref._l_rechazo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_rescant))+_rescant2),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=51904922; + //BA.debugLineNum = 51904922;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((_rescant3+_rescant4+_rescant5+_rescant6+_rescant7),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=51904925; + //BA.debugLineNum = 51904925;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = __ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904926; + //BA.debugLineNum = 51904926;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ = __ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904927; + //BA.debugLineNum = 51904927;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ = __ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904928; + //BA.debugLineNum = 51904928;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ = __ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904929; + //BA.debugLineNum = 51904929;BA.debugLine="B4XPages.MainPage.montoActual = Round2(l_montoSal"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ = BA.NumberToString(__c.Round2((double)(Double.parseDouble(__ref._l_montosalida /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))-(double)(BA.ObjectToNumber(_rechmap.Get((Object)("monto")))),(int) (2))); +RDebugUtils.currentLine=51904930; + //BA.debugLineNum = 51904930;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ = __ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904931; + //BA.debugLineNum = 51904931;BA.debugLine="B4XPages.MainPage.entregas = l_cuantosc.text"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ = __ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904932; + //BA.debugLineNum = 51904932;BA.debugLine="B4XPages.MainPage.rechazos = l_cuantosn.text"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ = __ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904933; + //BA.debugLineNum = 51904933;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ = __ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904934; + //BA.debugLineNum = 51904934;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ = __ref._l_rechazo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=51904936; + //BA.debugLineNum = 51904936;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=51904939; + //BA.debugLineNum = 51904939;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th"; +if ((__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0)) && (__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=51904940; + //BA.debugLineNum = 51904940;BA.debugLine="Label9.Visible = True"; +__ref._label9 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=51904941; + //BA.debugLineNum = 51904941;BA.debugLine="L_MONTOE.Visible = True"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=51904950; + //BA.debugLineNum = 51904950;BA.debugLine="b_venta_emp.Visible = False"; +__ref._b_venta_emp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }else { - //BA.debugLineNum = 602;BA.debugLine="Label9.Visible = False"; -_label9.setVisible(__c.False); - //BA.debugLineNum = 603;BA.debugLine="L_MONTOE.Visible = False"; -_l_montoe.setVisible(__c.False); - //BA.debugLineNum = 604;BA.debugLine="b_venta_emp.Visible = False"; -_b_venta_emp.setVisible(__c.False); +RDebugUtils.currentLine=51904952; + //BA.debugLineNum = 51904952;BA.debugLine="Label9.Visible = False"; +__ref._label9 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51904953; + //BA.debugLineNum = 51904953;BA.debugLine="L_MONTOE.Visible = False"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51904954; + //BA.debugLineNum = 51904954;BA.debugLine="b_venta_emp.Visible = False"; +__ref._b_venta_emp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }; - //BA.debugLineNum = 616;BA.debugLine="End Sub"; +RDebugUtils.currentLine=51904966; + //BA.debugLineNum = 51904966;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _to_number_vb(reparto_intmex.keymon.lat.c_principal __ref,Object _valor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "to_number_vb", false)) + {return ((String) Debug.delegate(ba, "to_number_vb", new Object[] {_valor}));} +int _valstring = 0; +String _valstring2 = ""; +RDebugUtils.currentLine=52101120; + //BA.debugLineNum = 52101120;BA.debugLine="Sub to_number_vb (valor As Object) As String"; +RDebugUtils.currentLine=52101121; + //BA.debugLineNum = 52101121;BA.debugLine="Dim valstring As Int"; +_valstring = 0; +RDebugUtils.currentLine=52101122; + //BA.debugLineNum = 52101122;BA.debugLine="Dim valstring2 As String = valor"; +_valstring2 = BA.ObjectToString(_valor); +RDebugUtils.currentLine=52101123; + //BA.debugLineNum = 52101123;BA.debugLine="valstring2.Replace(\":\",\"\")"; +_valstring2.replace(":",""); +RDebugUtils.currentLine=52101124; + //BA.debugLineNum = 52101124;BA.debugLine="Try"; +try {RDebugUtils.currentLine=52101125; + //BA.debugLineNum = 52101125;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; +_valstring = (int)(Double.parseDouble(_valstring2.replace(":",""))); +RDebugUtils.currentLine=52101126; + //BA.debugLineNum = 52101126;BA.debugLine="Return valstring"; +if (true) return BA.NumberToString(_valstring); + } + catch (Exception e8) { + ba.setLastException(e8);RDebugUtils.currentLine=52101128; + //BA.debugLineNum = 52101128;BA.debugLine="Return 0"; +if (true) return BA.NumberToString(0); + }; +RDebugUtils.currentLine=52101130; + //BA.debugLineNum = 52101130;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_principal parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_principal parent,reparto_intmex.keymon.lat.c_principal __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_principal __ref; reparto_intmex.keymon.lat.c_principal parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_principal"; while (true) { switch (state) { @@ -1354,40 +1948,49 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 1857;BA.debugLine="If Panel1.visible Then"; +RDebugUtils.currentLine=52559874; + //BA.debugLineNum = 52559874;BA.debugLine="If Panel1.visible Then"; if (true) break; case 1: //if this.state = 8; -if (parent._panel1.getVisible()) { +if (__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { this.state = 3; -}else if(parent._p_prod.getVisible()) { +}else +{RDebugUtils.currentLine=52559877; + //BA.debugLineNum = 52559877;BA.debugLine="Else If p_prod.Visible Then"; +if (__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { this.state = 5; }else { this.state = 7; -}if (true) break; +}} +if (true) break; case 3: //C this.state = 8; - //BA.debugLineNum = 1858;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; -parent.__c.LogImpl("815532035","PANEL1 VISIBLE",0); - //BA.debugLineNum = 1859;BA.debugLine="B_REGRESA_Click"; -parent._b_regresa_click(); +RDebugUtils.currentLine=52559875; + //BA.debugLineNum = 52559875;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; +parent.__c.LogImpl("252559875","PANEL1 VISIBLE",0); +RDebugUtils.currentLine=52559876; + //BA.debugLineNum = 52559876;BA.debugLine="B_REGRESA_Click"; +__ref._b_regresa_click /*String*/ (null); if (true) break; case 5: //C this.state = 8; - //BA.debugLineNum = 1861;BA.debugLine="p_prod.Visible = False"; -parent._p_prod.setVisible(parent.__c.False); +RDebugUtils.currentLine=52559878; + //BA.debugLineNum = 52559878;BA.debugLine="p_prod.Visible = False"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); if (true) break; case 7: //C this.state = 8; - //BA.debugLineNum = 1863;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +RDebugUtils.currentLine=52559880; + //BA.debugLineNum = 52559880;BA.debugLine="B4XPages.ShowPage(\"Login\")"; parent._b4xpages._showpage /*String*/ (ba,"Login"); if (true) break; @@ -1395,857 +1998,1290 @@ case 8: //C this.state = -1; ; - //BA.debugLineNum = 1866;BA.debugLine="Return False"; +RDebugUtils.currentLine=52559883; + //BA.debugLineNum = 52559883;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 1867;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52559884; + //BA.debugLineNum = 52559884;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 100;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 101;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 103;BA.debugLine="Root.LoadLayout(\"principal\")"; -_root.LoadLayout("principal",ba); - //BA.debugLineNum = 104;BA.debugLine="EJECUTANDO=1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 105;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 108;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 109;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_principal __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=51838976; + //BA.debugLineNum = 51838976;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=51838977; + //BA.debugLineNum = 51838977;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=51838979; + //BA.debugLineNum = 51838979;BA.debugLine="Root.LoadLayout(\"principal\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("principal",ba); +RDebugUtils.currentLine=51838980; + //BA.debugLineNum = 51838980;BA.debugLine="EJECUTANDO=1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=51838981; + //BA.debugLineNum = 51838981;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=51838984; + //BA.debugLineNum = 51838984;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51838985; + //BA.debugLineNum = 51838985;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 110;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; -_fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 112;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); - //BA.debugLineNum = 113;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 114;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; -_cuantos = _b.GetString("CUANTOS"); - //BA.debugLineNum = 115;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 116;BA.debugLine="D.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 117;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 118;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 119;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 120;BA.debugLine="If Cuantos = 0 Then"; -if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 121;BA.debugLine="l_aLiquidar.Text = 0"; -_l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 122;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 123;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 124;BA.debugLine="drop = 0"; -_drop = 0; - //BA.debugLineNum = 125;BA.debugLine="l_montoSalida.Text = 0"; -_l_montosalida.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 126;BA.debugLine="efectiva = 0"; -_efectiva = 0; - //BA.debugLineNum = 128;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 129;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); +RDebugUtils.currentLine=51838986; + //BA.debugLineNum = 51838986;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +__ref._fecha /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=51838988; + //BA.debugLineNum = 51838988;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); +RDebugUtils.currentLine=51838989; + //BA.debugLineNum = 51838989;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51838990; + //BA.debugLineNum = 51838990;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=51838991; + //BA.debugLineNum = 51838991;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); +RDebugUtils.currentLine=51838992; + //BA.debugLineNum = 51838992;BA.debugLine="D.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51838993; + //BA.debugLineNum = 51838993;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51838994; + //BA.debugLineNum = 51838994;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); +RDebugUtils.currentLine=51838995; + //BA.debugLineNum = 51838995;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51838996; + //BA.debugLineNum = 51838996;BA.debugLine="If Cuantos = 0 Then"; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=51838997; + //BA.debugLineNum = 51838997;BA.debugLine="l_aLiquidar.Text = 0"; +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51838998; + //BA.debugLineNum = 51838998;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51838999; + //BA.debugLineNum = 51838999;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51839000; + //BA.debugLineNum = 51839000;BA.debugLine="drop = 0"; +__ref._drop /*double*/ = 0; +RDebugUtils.currentLine=51839001; + //BA.debugLineNum = 51839001;BA.debugLine="l_montoSalida.Text = 0"; +__ref._l_montosalida /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=51839002; + //BA.debugLineNum = 51839002;BA.debugLine="efectiva = 0"; +__ref._efectiva /*double*/ = 0; +RDebugUtils.currentLine=51839004; + //BA.debugLineNum = 51839004;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR"))); +RDebugUtils.currentLine=51839005; + //BA.debugLineNum = 51839005;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); }else { }; - //BA.debugLineNum = 148;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from"; -_b = (anywheresoftware.b4a.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 = 149;BA.debugLine="If b.RowCount > 0 Then"; -if (_b.getRowCount()>0) { - //BA.debugLineNum = 151;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 153;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=51839024; + //BA.debugLineNum = 51839024;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select id_almacen from CAT_ALMACEN"))); +RDebugUtils.currentLine=51839025; + //BA.debugLineNum = 51839025;BA.debugLine="If b.RowCount > 0 Then"; +if (__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=51839027; + //BA.debugLineNum = 51839027;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51839029; + //BA.debugLineNum = 51839029;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 154;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 155;BA.debugLine="cmd.Name = \"select_coords_almacen_mards\""; -_cmd.Name /*String*/ = "select_coords_almacen_mards"; - //BA.debugLineNum = 156;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_b.GetString("ID_ALMACEN"))}; - //BA.debugLineNum = 157;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("coords_almacen")); +RDebugUtils.currentLine=51839030; + //BA.debugLineNum = 51839030;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=51839031; + //BA.debugLineNum = 51839031;BA.debugLine="cmd.Name = \"select_coords_almacen_mards\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_coords_almacen_mards"; +RDebugUtils.currentLine=51839032; + //BA.debugLineNum = 51839032;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"))}; +RDebugUtils.currentLine=51839033; + //BA.debugLineNum = 51839033;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("coords_almacen")); }; - //BA.debugLineNum = 159;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; +RDebugUtils.currentLine=51839035; + //BA.debugLineNum = 51839035;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; _b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ = _subs._dameusuariodedb /*String*/ (ba); - //BA.debugLineNum = 160;BA.debugLine="End Sub"; +RDebugUtils.currentLine=51839036; + //BA.debugLineNum = 51839036;BA.debugLine="End Sub"; return ""; } -public String _btn_ubicar_ru_click() throws Exception{ - //BA.debugLineNum = 2200;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; - //BA.debugLineNum = 2201;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 2202;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +public String _btn_ubicar_ru_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "btn_ubicar_ru_click", false)) + {return ((String) Debug.delegate(ba, "btn_ubicar_ru_click", null));} +RDebugUtils.currentLine=53149696; + //BA.debugLineNum = 53149696;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; +RDebugUtils.currentLine=53149697; + //BA.debugLineNum = 53149697;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=53149698; + //BA.debugLineNum = 53149698;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 2205;BA.debugLine="StartActivity(MAPA_RUTAS)"; +RDebugUtils.currentLine=53149701; + //BA.debugLineNum = 53149701;BA.debugLine="StartActivity(MAPA_RUTAS)"; __c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); }; - //BA.debugLineNum = 2207;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53149703; + //BA.debugLineNum = 53149703;BA.debugLine="End Sub"; return ""; } -public String _busca_click() throws Exception{ - //BA.debugLineNum = 1893;BA.debugLine="Sub BUSCA_Click"; - //BA.debugLineNum = 1894;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 1895;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +public String _busca_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "busca_click", false)) + {return ((String) Debug.delegate(ba, "busca_click", null));} +RDebugUtils.currentLine=52690944; + //BA.debugLineNum = 52690944;BA.debugLine="Sub BUSCA_Click"; +RDebugUtils.currentLine=52690945; + //BA.debugLineNum = 52690945;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=52690946; + //BA.debugLineNum = 52690946;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 1898;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; +RDebugUtils.currentLine=52690949; + //BA.debugLineNum = 52690949;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; _b4xpages._showpage /*String*/ (ba,"Buscar"); }; - //BA.debugLineNum = 1900;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52690951; + //BA.debugLineNum = 52690951;BA.debugLine="End Sub"; return ""; } -public String _cargar____click() throws Exception{ +public String _cargar____click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "cargar____click", false)) + {return ((String) Debug.delegate(ba, "cargar____click", null));} boolean _pedidodiaanterior = false; String[] _fecha2 = null; String[] _fecha3 = null; String _dia = ""; String _dia2 = ""; - //BA.debugLineNum = 1139;BA.debugLine="Sub cargar____Click"; - //BA.debugLineNum = 1140;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +RDebugUtils.currentLine=52428800; + //BA.debugLineNum = 52428800;BA.debugLine="Sub cargar____Click"; +RDebugUtils.currentLine=52428801; + //BA.debugLineNum = 52428801;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; _pedidodiaanterior = __c.False; - //BA.debugLineNum = 1141;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; +RDebugUtils.currentLine=52428802; + //BA.debugLineNum = 52428802;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; _cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cp = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from NOVENTA"))); - //BA.debugLineNum = 1142;BA.debugLine="If cp.RowCount > 0 Then"; -if (_cp.getRowCount()>0) { - //BA.debugLineNum = 1143;BA.debugLine="cp.Position = 0"; -_cp.setPosition((int) (0)); - //BA.debugLineNum = 1144;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; -_fecha = _cp.GetString("NV_FECHA"); - //BA.debugLineNum = 1145;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; -__c.LogImpl("815400966",_cp.GetString("NV_FECHA"),0); - //BA.debugLineNum = 1146;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; -_fecha2 = __c.Regex.Split(" ",_fecha); - //BA.debugLineNum = 1147;BA.debugLine="Log(fecha2(0))"; -__c.LogImpl("815400968",_fecha2[(int) (0)],0); - //BA.debugLineNum = 1148;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; +RDebugUtils.currentLine=52428803; + //BA.debugLineNum = 52428803;BA.debugLine="If cp.RowCount > 0 Then"; +if (__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=52428804; + //BA.debugLineNum = 52428804;BA.debugLine="cp.Position = 0"; +__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52428805; + //BA.debugLineNum = 52428805;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; +_fecha = __ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA"); +RDebugUtils.currentLine=52428806; + //BA.debugLineNum = 52428806;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +__c.LogImpl("252428806",__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA"),0); +RDebugUtils.currentLine=52428807; + //BA.debugLineNum = 52428807;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; +_fecha2 = __c.Regex.Split(" ",__ref._fecha /*String*/ ); +RDebugUtils.currentLine=52428808; + //BA.debugLineNum = 52428808;BA.debugLine="Log(fecha2(0))"; +__c.LogImpl("252428808",_fecha2[(int) (0)],0); +RDebugUtils.currentLine=52428809; + //BA.debugLineNum = 52428809;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; _fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]); - //BA.debugLineNum = 1149;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +RDebugUtils.currentLine=52428810; + //BA.debugLineNum = 52428810;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; __c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 1150;BA.debugLine="DateTime.TimeFormat = \"\""; +RDebugUtils.currentLine=52428811; + //BA.debugLineNum = 52428811;BA.debugLine="DateTime.TimeFormat = \"\""; __c.DateTime.setTimeFormat(""); - //BA.debugLineNum = 1151;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; +RDebugUtils.currentLine=52428812; + //BA.debugLineNum = 52428812;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; _dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)]; - //BA.debugLineNum = 1152;BA.debugLine="Log(dia)"; -__c.LogImpl("815400973",_dia,0); - //BA.debugLineNum = 1153;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; +RDebugUtils.currentLine=52428813; + //BA.debugLineNum = 52428813;BA.debugLine="Log(dia)"; +__c.LogImpl("252428813",_dia,0); +RDebugUtils.currentLine=52428814; + //BA.debugLineNum = 52428814;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; _dia2 = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1154;BA.debugLine="Log(dia & \" , \" & dia2)"; -__c.LogImpl("815400975",_dia+" , "+_dia2,0); - //BA.debugLineNum = 1155;BA.debugLine="If dia < dia2 Then"; +RDebugUtils.currentLine=52428815; + //BA.debugLineNum = 52428815;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("252428815",_dia+" , "+_dia2,0); +RDebugUtils.currentLine=52428816; + //BA.debugLineNum = 52428816;BA.debugLine="If dia < dia2 Then"; if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { - //BA.debugLineNum = 1156;BA.debugLine="pedidodiaanterior = True"; +RDebugUtils.currentLine=52428817; + //BA.debugLineNum = 52428817;BA.debugLine="pedidodiaanterior = True"; _pedidodiaanterior = __c.True; }; }; - //BA.debugLineNum = 1159;BA.debugLine="If Not (pedidodiaanterior) Then"; +RDebugUtils.currentLine=52428820; + //BA.debugLineNum = 52428820;BA.debugLine="If Not (pedidodiaanterior) Then"; if (__c.Not(_pedidodiaanterior)) { - //BA.debugLineNum = 1160;BA.debugLine="Log(\"CUMPLE\")"; -__c.LogImpl("815400981","CUMPLE",0); - //BA.debugLineNum = 1161;BA.debugLine="EJECUTANDO = 1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 1162;BA.debugLine="reqs.Initialize"; -_reqs.Initialize(); - //BA.debugLineNum = 1163;BA.debugLine="TOPE = 0"; -_tope = (int) (0); - //BA.debugLineNum = 1164;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; -__c.LogImpl("815400985",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 1165;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 1167;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52428821; + //BA.debugLineNum = 52428821;BA.debugLine="Log(\"CUMPLE\")"; +__c.LogImpl("252428821","CUMPLE",0); +RDebugUtils.currentLine=52428822; + //BA.debugLineNum = 52428822;BA.debugLine="EJECUTANDO = 1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=52428823; + //BA.debugLineNum = 52428823;BA.debugLine="reqs.Initialize"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=52428824; + //BA.debugLineNum = 52428824;BA.debugLine="TOPE = 0"; +__ref._tope /*int*/ = (int) (0); +RDebugUtils.currentLine=52428825; + //BA.debugLineNum = 52428825;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +__c.LogImpl("252428825",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=52428826; + //BA.debugLineNum = 52428826;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=52428828; + //BA.debugLineNum = 52428828;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1168;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1169;BA.debugLine="cmd.Name = \"insert_drop_rep_INTMEX2\""; -_cmd.Name /*String*/ = "insert_drop_rep_INTMEX2"; - //BA.debugLineNum = 1170;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_l_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 1171;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1174;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; +RDebugUtils.currentLine=52428829; + //BA.debugLineNum = 52428829;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428830; + //BA.debugLineNum = 52428830;BA.debugLine="cmd.Name = \"insert_drop_rep_INTMEX2\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_rep_INTMEX2"; +RDebugUtils.currentLine=52428831; + //BA.debugLineNum = 52428831;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=52428832; + //BA.debugLineNum = 52428832;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); +RDebugUtils.currentLine=52428835; + //BA.debugLineNum = 52428835;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 1175;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; +RDebugUtils.currentLine=52428836; + //BA.debugLineNum = 52428836;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 1176;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; +RDebugUtils.currentLine=52428837; + //BA.debugLineNum = 52428837;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 1177;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; +RDebugUtils.currentLine=52428838; + //BA.debugLineNum = 52428838;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1178;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; +RDebugUtils.currentLine=52428839; + //BA.debugLineNum = 52428839;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 1180;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; +RDebugUtils.currentLine=52428841; + //BA.debugLineNum = 52428841;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTEO_GPS"); - //BA.debugLineNum = 1181;BA.debugLine="If l_ruta.Text = \"0\" Then '"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1182;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; -__c.LogImpl("815401003","********************* No hay ruta, BORRAMOS TODO",0); - //BA.debugLineNum = 1183;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +RDebugUtils.currentLine=52428842; + //BA.debugLineNum = 52428842;BA.debugLine="If l_ruta.Text = \"0\" Then '"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=52428843; + //BA.debugLineNum = 52428843;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +__c.LogImpl("252428843","********************* No hay ruta, BORRAMOS TODO",0); +RDebugUtils.currentLine=52428844; + //BA.debugLineNum = 52428844;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1184;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +RDebugUtils.currentLine=52428845; + //BA.debugLineNum = 52428845;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 1185;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +RDebugUtils.currentLine=52428846; + //BA.debugLineNum = 52428846;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 1186;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +RDebugUtils.currentLine=52428847; + //BA.debugLineNum = 52428847;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1187;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +RDebugUtils.currentLine=52428848; + //BA.debugLineNum = 52428848;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS2"); - //BA.debugLineNum = 1188;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; +RDebugUtils.currentLine=52428849; + //BA.debugLineNum = 52428849;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA"); }else { - //BA.debugLineNum = 1190;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; -__c.LogImpl("815401011","********************* Hay ruta, NO BORRAMOS TODO",0); +RDebugUtils.currentLine=52428851; + //BA.debugLineNum = 52428851;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +__c.LogImpl("252428851","********************* Hay ruta, NO BORRAMOS TODO",0); }; - //BA.debugLineNum = 1194;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"))); - //BA.debugLineNum = 1195;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1196;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1198;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1199;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; -_cmd.Name /*String*/ = "select_punteo_mards_re_REPG"; - //BA.debugLineNum = 1200;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen)}; - //BA.debugLineNum = 1201;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo")); - //BA.debugLineNum = 1202;BA.debugLine="Log($\"Pedimos Punteo\"$)"; -__c.LogImpl("815401023",("Pedimos Punteo"),0); - //BA.debugLineNum = 1203;BA.debugLine="reqs.Add(\"punteo\")"; -_reqs.Add((Object)("punteo")); - //BA.debugLineNum = 1206;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1207;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; -_cmd.Name /*String*/ = "select_almacen_mards_re_REPG"; - //BA.debugLineNum = 1208;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1209;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 1210;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; -__c.LogImpl("815401031",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); - //BA.debugLineNum = 1211;BA.debugLine="reqs.Add(\"gunaprod\")"; -_reqs.Add((Object)("gunaprod")); - //BA.debugLineNum = 1215;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1216;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; -_cmd.Name /*String*/ = "select_cliente_mards_re_REPG"; - //BA.debugLineNum = 1217;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1218;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1219;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; -__c.LogImpl("815401040",("Pedimos kmt_datos"),0); - //BA.debugLineNum = 1220;BA.debugLine="reqs.Add(\"kmt_datos\")"; -_reqs.Add((Object)("kmt_datos")); - //BA.debugLineNum = 1222;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1223;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; -_cmd.Name /*String*/ = "select_ventad_mards_re_REPG"; - //BA.debugLineNum = 1224;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1225;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1226;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; -__c.LogImpl("815401047",("Pedimos hist_datos"),0); - //BA.debugLineNum = 1227;BA.debugLine="reqs.Add(\"hist_datos\")"; -_reqs.Add((Object)("hist_datos")); - //BA.debugLineNum = 1244;BA.debugLine="If ALMACEN = \"32\" Then"; -if ((_almacen).equals("32")) { - //BA.debugLineNum = 1245;BA.debugLine="ALMACEN = \"33\""; -_almacen = "33"; - //BA.debugLineNum = 1246;BA.debugLine="cargo = 2"; -_cargo = BA.NumberToString(2); - //BA.debugLineNum = 1247;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1248;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; -_cmd.Name /*String*/ = "select_punteo_mards_re_REPG"; - //BA.debugLineNum = 1249;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen)}; - //BA.debugLineNum = 1250;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo")); - //BA.debugLineNum = 1251;BA.debugLine="reqs.Add(\"punteo\")"; -_reqs.Add((Object)("punteo")); - //BA.debugLineNum = 1253;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1254;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; -_cmd.Name /*String*/ = "select_almacen_mards_re_REPG"; - //BA.debugLineNum = 1255;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_rut"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1256;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 1257;BA.debugLine="reqs.Add(\"gunaprod\")"; -_reqs.Add((Object)("gunaprod")); - //BA.debugLineNum = 1259;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1260;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; -_cmd.Name /*String*/ = "select_cliente_mards_re_REPG"; - //BA.debugLineNum = 1261;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1262;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1263;BA.debugLine="reqs.Add(\"kmt_datos\")"; -_reqs.Add((Object)("kmt_datos")); - //BA.debugLineNum = 1265;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1266;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; -_cmd.Name /*String*/ = "select_ventad_mards_re_REPG"; - //BA.debugLineNum = 1267;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1268;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1269;BA.debugLine="reqs.Add(\"hist_datos\")"; -_reqs.Add((Object)("hist_datos")); +RDebugUtils.currentLine=52428855; + //BA.debugLineNum = 52428855;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=52428856; + //BA.debugLineNum = 52428856;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52428857; + //BA.debugLineNum = 52428857;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=52428859; + //BA.debugLineNum = 52428859;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428860; + //BA.debugLineNum = 52428860;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_punteo_mards_re_REPG"; +RDebugUtils.currentLine=52428861; + //BA.debugLineNum = 52428861;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52428862; + //BA.debugLineNum = 52428862;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("punteo")); +RDebugUtils.currentLine=52428863; + //BA.debugLineNum = 52428863;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +__c.LogImpl("252428863",("Pedimos Punteo"),0); +RDebugUtils.currentLine=52428864; + //BA.debugLineNum = 52428864;BA.debugLine="reqs.Add(\"punteo\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("punteo")); +RDebugUtils.currentLine=52428867; + //BA.debugLineNum = 52428867;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428868; + //BA.debugLineNum = 52428868;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_almacen_mards_re_REPG"; +RDebugUtils.currentLine=52428869; + //BA.debugLineNum = 52428869;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52428870; + //BA.debugLineNum = 52428870;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=52428871; + //BA.debugLineNum = 52428871;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; +__c.LogImpl("252428871",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+""),0); +RDebugUtils.currentLine=52428872; + //BA.debugLineNum = 52428872;BA.debugLine="reqs.Add(\"gunaprod\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("gunaprod")); +RDebugUtils.currentLine=52428876; + //BA.debugLineNum = 52428876;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428877; + //BA.debugLineNum = 52428877;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cliente_mards_re_REPG"; +RDebugUtils.currentLine=52428878; + //BA.debugLineNum = 52428878;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52428879; + //BA.debugLineNum = 52428879;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=52428880; + //BA.debugLineNum = 52428880;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +__c.LogImpl("252428880",("Pedimos kmt_datos"),0); +RDebugUtils.currentLine=52428881; + //BA.debugLineNum = 52428881;BA.debugLine="reqs.Add(\"kmt_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("kmt_datos")); +RDebugUtils.currentLine=52428883; + //BA.debugLineNum = 52428883;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428884; + //BA.debugLineNum = 52428884;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ventad_mards_re_REPG"; +RDebugUtils.currentLine=52428885; + //BA.debugLineNum = 52428885;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52428886; + //BA.debugLineNum = 52428886;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=52428887; + //BA.debugLineNum = 52428887;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +__c.LogImpl("252428887",("Pedimos hist_datos"),0); +RDebugUtils.currentLine=52428888; + //BA.debugLineNum = 52428888;BA.debugLine="reqs.Add(\"hist_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("hist_datos")); +RDebugUtils.currentLine=52428905; + //BA.debugLineNum = 52428905;BA.debugLine="If ALMACEN = \"32\" Then"; +if ((__ref._almacen /*String*/ ).equals("32")) { +RDebugUtils.currentLine=52428906; + //BA.debugLineNum = 52428906;BA.debugLine="ALMACEN = \"33\""; +__ref._almacen /*String*/ = "33"; +RDebugUtils.currentLine=52428907; + //BA.debugLineNum = 52428907;BA.debugLine="cargo = 2"; +__ref._cargo /*String*/ = BA.NumberToString(2); +RDebugUtils.currentLine=52428908; + //BA.debugLineNum = 52428908;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428909; + //BA.debugLineNum = 52428909;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_punteo_mards_re_REPG"; +RDebugUtils.currentLine=52428910; + //BA.debugLineNum = 52428910;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52428911; + //BA.debugLineNum = 52428911;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("punteo")); +RDebugUtils.currentLine=52428912; + //BA.debugLineNum = 52428912;BA.debugLine="reqs.Add(\"punteo\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("punteo")); +RDebugUtils.currentLine=52428914; + //BA.debugLineNum = 52428914;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428915; + //BA.debugLineNum = 52428915;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_almacen_mards_re_REPG"; +RDebugUtils.currentLine=52428916; + //BA.debugLineNum = 52428916;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_rut"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52428917; + //BA.debugLineNum = 52428917;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=52428918; + //BA.debugLineNum = 52428918;BA.debugLine="reqs.Add(\"gunaprod\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("gunaprod")); +RDebugUtils.currentLine=52428920; + //BA.debugLineNum = 52428920;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428921; + //BA.debugLineNum = 52428921;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cliente_mards_re_REPG"; +RDebugUtils.currentLine=52428922; + //BA.debugLineNum = 52428922;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52428923; + //BA.debugLineNum = 52428923;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=52428924; + //BA.debugLineNum = 52428924;BA.debugLine="reqs.Add(\"kmt_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("kmt_datos")); +RDebugUtils.currentLine=52428926; + //BA.debugLineNum = 52428926;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52428927; + //BA.debugLineNum = 52428927;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ventad_mards_re_REPG"; +RDebugUtils.currentLine=52428928; + //BA.debugLineNum = 52428928;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52428929; + //BA.debugLineNum = 52428929;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=52428930; + //BA.debugLineNum = 52428930;BA.debugLine="reqs.Add(\"hist_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("hist_datos")); }; - //BA.debugLineNum = 1303;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 1304;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 1305;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; -_cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 1306;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1307;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 1308;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 1309;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 1310;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 1311;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; +RDebugUtils.currentLine=52428964; + //BA.debugLineNum = 52428964;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); +RDebugUtils.currentLine=52428965; + //BA.debugLineNum = 52428965;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52428966; + //BA.debugLineNum = 52428966;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +__ref._cuantos_noventa /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_NOVENTA"); +RDebugUtils.currentLine=52428967; + //BA.debugLineNum = 52428967;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52428968; + //BA.debugLineNum = 52428968;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52428969; + //BA.debugLineNum = 52428969;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52428970; + //BA.debugLineNum = 52428970;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=52428971; + //BA.debugLineNum = 52428971;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52428972; + //BA.debugLineNum = 52428972;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; __c.ToastMessageShow(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 1312;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; +RDebugUtils.currentLine=52428973; + //BA.debugLineNum = 52428973;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; __c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Descargando rutas, espere un momento."),__c.False); - //BA.debugLineNum = 1313;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; -if (__c.Not(_isconnectedtointernet())) { +RDebugUtils.currentLine=52428974; + //BA.debugLineNum = 52428974;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; +if (__c.Not(__ref._isconnectedtointernet /*boolean*/ (null))) { __c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; }else { - //BA.debugLineNum = 1317;BA.debugLine="Log(\"XXXX\")"; -__c.LogImpl("815401138","XXXX",0); - //BA.debugLineNum = 1318;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; +RDebugUtils.currentLine=52428978; + //BA.debugLineNum = 52428978;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("252428978","XXXX",0); +RDebugUtils.currentLine=52428979; + //BA.debugLineNum = 52428979;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 1321;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52428982; + //BA.debugLineNum = 52428982;BA.debugLine="End Sub"; return ""; } -public String _cargar_click() throws Exception{ +public boolean _isconnectedtointernet(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "isconnectedtointernet", false)) + {return ((Boolean) Debug.delegate(ba, "isconnectedtointernet", null));} +anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +RDebugUtils.currentLine=52035584; + //BA.debugLineNum = 52035584;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; +RDebugUtils.currentLine=52035585; + //BA.debugLineNum = 52035585;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=52035586; + //BA.debugLineNum = 52035586;BA.debugLine="r.Target = r.GetContext"; +_r.Target = (Object)(_r.GetContext(ba)); +RDebugUtils.currentLine=52035587; + //BA.debugLineNum = 52035587;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; +_r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); +RDebugUtils.currentLine=52035588; + //BA.debugLineNum = 52035588;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; +_r.Target = _r.RunMethod("getActiveNetworkInfo"); +RDebugUtils.currentLine=52035589; + //BA.debugLineNum = 52035589;BA.debugLine="If r.Target <> Null Then"; +if (_r.Target!= null) { +RDebugUtils.currentLine=52035590; + //BA.debugLineNum = 52035590;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; +if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); + }; +RDebugUtils.currentLine=52035592; + //BA.debugLineNum = 52035592;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=52035593; + //BA.debugLineNum = 52035593;BA.debugLine="End Sub"; +return false; +} +public String _cargar_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "cargar_click", false)) + {return ((String) Debug.delegate(ba, "cargar_click", null));} boolean _pedidodiaanterior = false; String[] _fecha2 = null; String[] _fecha3 = null; String _dia = ""; String _dia2 = ""; - //BA.debugLineNum = 981;BA.debugLine="Sub cargar_Click"; - //BA.debugLineNum = 982;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +RDebugUtils.currentLine=52363264; + //BA.debugLineNum = 52363264;BA.debugLine="Sub cargar_Click"; +RDebugUtils.currentLine=52363265; + //BA.debugLineNum = 52363265;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; _pedidodiaanterior = __c.False; - //BA.debugLineNum = 983;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; +RDebugUtils.currentLine=52363266; + //BA.debugLineNum = 52363266;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; _cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cp = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from NOVENTA"))); - //BA.debugLineNum = 984;BA.debugLine="If cp.RowCount > 0 Then"; -if (_cp.getRowCount()>0) { - //BA.debugLineNum = 985;BA.debugLine="cp.Position = 0"; -_cp.setPosition((int) (0)); - //BA.debugLineNum = 986;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; -_fecha = _cp.GetString("NV_FECHA"); - //BA.debugLineNum = 987;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; -__c.LogImpl("815335430",_cp.GetString("NV_FECHA"),0); - //BA.debugLineNum = 988;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; -_fecha2 = __c.Regex.Split(" ",_fecha); - //BA.debugLineNum = 989;BA.debugLine="Log(fecha2(0))"; -__c.LogImpl("815335432",_fecha2[(int) (0)],0); - //BA.debugLineNum = 990;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; +RDebugUtils.currentLine=52363267; + //BA.debugLineNum = 52363267;BA.debugLine="If cp.RowCount > 0 Then"; +if (__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=52363268; + //BA.debugLineNum = 52363268;BA.debugLine="cp.Position = 0"; +__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52363269; + //BA.debugLineNum = 52363269;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; +_fecha = __ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA"); +RDebugUtils.currentLine=52363270; + //BA.debugLineNum = 52363270;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +__c.LogImpl("252363270",__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA"),0); +RDebugUtils.currentLine=52363271; + //BA.debugLineNum = 52363271;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; +_fecha2 = __c.Regex.Split(" ",__ref._fecha /*String*/ ); +RDebugUtils.currentLine=52363272; + //BA.debugLineNum = 52363272;BA.debugLine="Log(fecha2(0))"; +__c.LogImpl("252363272",_fecha2[(int) (0)],0); +RDebugUtils.currentLine=52363273; + //BA.debugLineNum = 52363273;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; _fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]); - //BA.debugLineNum = 991;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +RDebugUtils.currentLine=52363274; + //BA.debugLineNum = 52363274;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; __c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 992;BA.debugLine="DateTime.TimeFormat = \"\""; +RDebugUtils.currentLine=52363275; + //BA.debugLineNum = 52363275;BA.debugLine="DateTime.TimeFormat = \"\""; __c.DateTime.setTimeFormat(""); - //BA.debugLineNum = 993;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; +RDebugUtils.currentLine=52363276; + //BA.debugLineNum = 52363276;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; _dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)]; - //BA.debugLineNum = 994;BA.debugLine="Log(dia)"; -__c.LogImpl("815335437",_dia,0); - //BA.debugLineNum = 995;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; +RDebugUtils.currentLine=52363277; + //BA.debugLineNum = 52363277;BA.debugLine="Log(dia)"; +__c.LogImpl("252363277",_dia,0); +RDebugUtils.currentLine=52363278; + //BA.debugLineNum = 52363278;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; _dia2 = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 996;BA.debugLine="Log(dia & \" , \" & dia2)"; -__c.LogImpl("815335439",_dia+" , "+_dia2,0); - //BA.debugLineNum = 997;BA.debugLine="If dia < dia2 Then"; +RDebugUtils.currentLine=52363279; + //BA.debugLineNum = 52363279;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("252363279",_dia+" , "+_dia2,0); +RDebugUtils.currentLine=52363280; + //BA.debugLineNum = 52363280;BA.debugLine="If dia < dia2 Then"; if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { - //BA.debugLineNum = 998;BA.debugLine="pedidodiaanterior = True"; +RDebugUtils.currentLine=52363281; + //BA.debugLineNum = 52363281;BA.debugLine="pedidodiaanterior = True"; _pedidodiaanterior = __c.True; }; }; - //BA.debugLineNum = 1001;BA.debugLine="If Not (pedidodiaanterior) Then"; +RDebugUtils.currentLine=52363284; + //BA.debugLineNum = 52363284;BA.debugLine="If Not (pedidodiaanterior) Then"; if (__c.Not(_pedidodiaanterior)) { - //BA.debugLineNum = 1002;BA.debugLine="Log(\"CUMPLE\")"; -__c.LogImpl("815335445","CUMPLE",0); - //BA.debugLineNum = 1003;BA.debugLine="EJECUTANDO = 1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 1004;BA.debugLine="reqs.Initialize"; -_reqs.Initialize(); - //BA.debugLineNum = 1005;BA.debugLine="TOPE = 0"; -_tope = (int) (0); - //BA.debugLineNum = 1006;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; -__c.LogImpl("815335449",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 1007;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 1009;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52363285; + //BA.debugLineNum = 52363285;BA.debugLine="Log(\"CUMPLE\")"; +__c.LogImpl("252363285","CUMPLE",0); +RDebugUtils.currentLine=52363286; + //BA.debugLineNum = 52363286;BA.debugLine="EJECUTANDO = 1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=52363287; + //BA.debugLineNum = 52363287;BA.debugLine="reqs.Initialize"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=52363288; + //BA.debugLineNum = 52363288;BA.debugLine="TOPE = 0"; +__ref._tope /*int*/ = (int) (0); +RDebugUtils.currentLine=52363289; + //BA.debugLineNum = 52363289;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +__c.LogImpl("252363289",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=52363290; + //BA.debugLineNum = 52363290;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=52363292; + //BA.debugLineNum = 52363292;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1010;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1011;BA.debugLine="cmd.Name = \"insert_drop_rep_INTMEX2\""; -_cmd.Name /*String*/ = "insert_drop_rep_INTMEX2"; - //BA.debugLineNum = 1012;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_l_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 1013;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1016;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; +RDebugUtils.currentLine=52363293; + //BA.debugLineNum = 52363293;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52363294; + //BA.debugLineNum = 52363294;BA.debugLine="cmd.Name = \"insert_drop_rep_INTMEX2\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_rep_INTMEX2"; +RDebugUtils.currentLine=52363295; + //BA.debugLineNum = 52363295;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=52363296; + //BA.debugLineNum = 52363296;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); +RDebugUtils.currentLine=52363299; + //BA.debugLineNum = 52363299;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 1017;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; +RDebugUtils.currentLine=52363300; + //BA.debugLineNum = 52363300;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 1018;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; +RDebugUtils.currentLine=52363301; + //BA.debugLineNum = 52363301;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 1019;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; +RDebugUtils.currentLine=52363302; + //BA.debugLineNum = 52363302;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1020;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; +RDebugUtils.currentLine=52363303; + //BA.debugLineNum = 52363303;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 1022;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; +RDebugUtils.currentLine=52363305; + //BA.debugLineNum = 52363305;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTEO_GPS"); - //BA.debugLineNum = 1023;BA.debugLine="If l_ruta.Text = \"0\" Then '"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1024;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; -__c.LogImpl("815335467","********************* No hay ruta, BORRAMOS TODO",0); - //BA.debugLineNum = 1025;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +RDebugUtils.currentLine=52363306; + //BA.debugLineNum = 52363306;BA.debugLine="If l_ruta.Text = \"0\" Then '"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=52363307; + //BA.debugLineNum = 52363307;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +__c.LogImpl("252363307","********************* No hay ruta, BORRAMOS TODO",0); +RDebugUtils.currentLine=52363308; + //BA.debugLineNum = 52363308;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1026;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +RDebugUtils.currentLine=52363309; + //BA.debugLineNum = 52363309;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 1027;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +RDebugUtils.currentLine=52363310; + //BA.debugLineNum = 52363310;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 1028;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +RDebugUtils.currentLine=52363311; + //BA.debugLineNum = 52363311;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1029;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +RDebugUtils.currentLine=52363312; + //BA.debugLineNum = 52363312;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS2"); - //BA.debugLineNum = 1030;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; +RDebugUtils.currentLine=52363313; + //BA.debugLineNum = 52363313;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA"); - //BA.debugLineNum = 1031;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; +RDebugUtils.currentLine=52363314; + //BA.debugLineNum = 52363314;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); }else { - //BA.debugLineNum = 1033;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; -__c.LogImpl("815335476","********************* Hay ruta, NO BORRAMOS TODO",0); +RDebugUtils.currentLine=52363316; + //BA.debugLineNum = 52363316;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +__c.LogImpl("252363316","********************* Hay ruta, NO BORRAMOS TODO",0); }; - //BA.debugLineNum = 1037;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"))); - //BA.debugLineNum = 1038;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1039;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1041;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1042;BA.debugLine="cmd.Name = \"select_punteo_re_REPG_INTMEX\""; -_cmd.Name /*String*/ = "select_punteo_re_REPG_INTMEX"; - //BA.debugLineNum = 1043;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen)}; - //BA.debugLineNum = 1044;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo")); - //BA.debugLineNum = 1045;BA.debugLine="Log($\"Pedimos Punteo\"$)"; -__c.LogImpl("815335488",("Pedimos Punteo"),0); - //BA.debugLineNum = 1046;BA.debugLine="reqs.Add(\"punteo\")"; -_reqs.Add((Object)("punteo")); - //BA.debugLineNum = 1048;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1049;BA.debugLine="cmd.Name = \"select_almacen_INTMEX_re_REPG2\""; -_cmd.Name /*String*/ = "select_almacen_INTMEX_re_REPG2"; - //BA.debugLineNum = 1050;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1051;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 1052;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; -__c.LogImpl("815335495",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); - //BA.debugLineNum = 1053;BA.debugLine="reqs.Add(\"gunaprod\")"; -_reqs.Add((Object)("gunaprod")); - //BA.debugLineNum = 1055;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1056;BA.debugLine="cmd.Name = \"select_abonosp_INTMEXREP\""; -_cmd.Name /*String*/ = "select_abonosp_INTMEXREP"; - //BA.debugLineNum = 1057;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1058;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"select_abonosp"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("select_abonosp")); - //BA.debugLineNum = 1060;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1061;BA.debugLine="cmd.Name = \"select_cliente_INTMEX_re_REPG2\""; -_cmd.Name /*String*/ = "select_cliente_INTMEX_re_REPG2"; - //BA.debugLineNum = 1062;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1063;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1064;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; -__c.LogImpl("815335507",("Pedimos kmt_datos"),0); - //BA.debugLineNum = 1065;BA.debugLine="reqs.Add(\"kmt_datos\")"; -_reqs.Add((Object)("kmt_datos")); - //BA.debugLineNum = 1067;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1068;BA.debugLine="cmd.Name = \"select_ventad2_INTMEX_re_REPG\""; -_cmd.Name /*String*/ = "select_ventad2_INTMEX_re_REPG"; - //BA.debugLineNum = 1069;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1070;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1071;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; -__c.LogImpl("815335514",("Pedimos hist_datos"),0); - //BA.debugLineNum = 1072;BA.debugLine="reqs.Add(\"hist_datos\")"; -_reqs.Add((Object)("hist_datos")); - //BA.debugLineNum = 1074;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1075;BA.debugLine="cmd.Name = \"select_coords_almacen_INTMEX\""; -_cmd.Name /*String*/ = "select_coords_almacen_INTMEX"; - //BA.debugLineNum = 1076;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1077;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("coords_almacen")); - //BA.debugLineNum = 1119;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 1120;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 1121;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; -_cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 1122;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1123;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 1124;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 1125;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 1126;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 1127;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; +RDebugUtils.currentLine=52363320; + //BA.debugLineNum = 52363320;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=52363321; + //BA.debugLineNum = 52363321;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52363322; + //BA.debugLineNum = 52363322;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=52363324; + //BA.debugLineNum = 52363324;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52363325; + //BA.debugLineNum = 52363325;BA.debugLine="cmd.Name = \"select_punteo_re_REPG_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_punteo_re_REPG_INTMEX"; +RDebugUtils.currentLine=52363326; + //BA.debugLineNum = 52363326;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52363327; + //BA.debugLineNum = 52363327;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("punteo")); +RDebugUtils.currentLine=52363328; + //BA.debugLineNum = 52363328;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +__c.LogImpl("252363328",("Pedimos Punteo"),0); +RDebugUtils.currentLine=52363329; + //BA.debugLineNum = 52363329;BA.debugLine="reqs.Add(\"punteo\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("punteo")); +RDebugUtils.currentLine=52363331; + //BA.debugLineNum = 52363331;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52363332; + //BA.debugLineNum = 52363332;BA.debugLine="cmd.Name = \"select_almacen_INTMEX_re_REPG2\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_almacen_INTMEX_re_REPG2"; +RDebugUtils.currentLine=52363333; + //BA.debugLineNum = 52363333;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52363334; + //BA.debugLineNum = 52363334;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=52363335; + //BA.debugLineNum = 52363335;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; +__c.LogImpl("252363335",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+""),0); +RDebugUtils.currentLine=52363336; + //BA.debugLineNum = 52363336;BA.debugLine="reqs.Add(\"gunaprod\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("gunaprod")); +RDebugUtils.currentLine=52363338; + //BA.debugLineNum = 52363338;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52363339; + //BA.debugLineNum = 52363339;BA.debugLine="cmd.Name = \"select_abonosp_INTMEXREP\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_abonosp_INTMEXREP"; +RDebugUtils.currentLine=52363340; + //BA.debugLineNum = 52363340;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52363341; + //BA.debugLineNum = 52363341;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"select_abonosp"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("select_abonosp")); +RDebugUtils.currentLine=52363343; + //BA.debugLineNum = 52363343;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52363344; + //BA.debugLineNum = 52363344;BA.debugLine="cmd.Name = \"select_cliente_INTMEX_re_REPG2\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cliente_INTMEX_re_REPG2"; +RDebugUtils.currentLine=52363345; + //BA.debugLineNum = 52363345;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=52363346; + //BA.debugLineNum = 52363346;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=52363347; + //BA.debugLineNum = 52363347;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +__c.LogImpl("252363347",("Pedimos kmt_datos"),0); +RDebugUtils.currentLine=52363348; + //BA.debugLineNum = 52363348;BA.debugLine="reqs.Add(\"kmt_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("kmt_datos")); +RDebugUtils.currentLine=52363350; + //BA.debugLineNum = 52363350;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52363351; + //BA.debugLineNum = 52363351;BA.debugLine="cmd.Name = \"select_ventad2_INTMEX_re_REPG\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ventad2_INTMEX_re_REPG"; +RDebugUtils.currentLine=52363352; + //BA.debugLineNum = 52363352;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52363353; + //BA.debugLineNum = 52363353;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=52363354; + //BA.debugLineNum = 52363354;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +__c.LogImpl("252363354",("Pedimos hist_datos"),0); +RDebugUtils.currentLine=52363355; + //BA.debugLineNum = 52363355;BA.debugLine="reqs.Add(\"hist_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("hist_datos")); +RDebugUtils.currentLine=52363357; + //BA.debugLineNum = 52363357;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52363358; + //BA.debugLineNum = 52363358;BA.debugLine="cmd.Name = \"select_coords_almacen_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_coords_almacen_INTMEX"; +RDebugUtils.currentLine=52363359; + //BA.debugLineNum = 52363359;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52363360; + //BA.debugLineNum = 52363360;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("coords_almacen")); +RDebugUtils.currentLine=52363402; + //BA.debugLineNum = 52363402;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); +RDebugUtils.currentLine=52363403; + //BA.debugLineNum = 52363403;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52363404; + //BA.debugLineNum = 52363404;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +__ref._cuantos_noventa /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_NOVENTA"); +RDebugUtils.currentLine=52363405; + //BA.debugLineNum = 52363405;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52363406; + //BA.debugLineNum = 52363406;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52363407; + //BA.debugLineNum = 52363407;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52363408; + //BA.debugLineNum = 52363408;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=52363409; + //BA.debugLineNum = 52363409;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52363410; + //BA.debugLineNum = 52363410;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; __c.ToastMessageShow(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 1128;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; +RDebugUtils.currentLine=52363411; + //BA.debugLineNum = 52363411;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; __c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Descargando rutas, espere un momento."),__c.False); - //BA.debugLineNum = 1129;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; -if (__c.Not(_isconnectedtointernet())) { +RDebugUtils.currentLine=52363412; + //BA.debugLineNum = 52363412;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; +if (__c.Not(__ref._isconnectedtointernet /*boolean*/ (null))) { __c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; }else { - //BA.debugLineNum = 1133;BA.debugLine="Log(\"XXXX\")"; -__c.LogImpl("815335576","XXXX",0); - //BA.debugLineNum = 1134;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; +RDebugUtils.currentLine=52363416; + //BA.debugLineNum = 52363416;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("252363416","XXXX",0); +RDebugUtils.currentLine=52363417; + //BA.debugLineNum = 52363417;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 1137;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52363420; + //BA.debugLineNum = 52363420;BA.debugLine="End Sub"; return ""; } -public String _checachek() throws Exception{ - //BA.debugLineNum = 618;BA.debugLine="Sub checachek"; - //BA.debugLineNum = 619;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CHECADO FROM CHECADO_CHECK"))); - //BA.debugLineNum = 620;BA.debugLine="If b.RowCount > 0 Then"; -if (_b.getRowCount()>0) { - //BA.debugLineNum = 621;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 622;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; -if ((_b.GetString("CHECADO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 623;BA.debugLine="b_check.Visible = True"; -_b_check.setVisible(__c.True); - }else if((_b.GetString("CHECADO")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 625;BA.debugLine="b_check.Visible =False"; -_b_check.setVisible(__c.False); - }; - //BA.debugLineNum = 627;BA.debugLine="b.Close"; -_b.Close(); - }; - //BA.debugLineNum = 629;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +RDebugUtils.currentLine=51707904; + //BA.debugLineNum = 51707904;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=51707905; + //BA.debugLineNum = 51707905;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=51707906; + //BA.debugLineNum = 51707906;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim reqManager As DBRequestManager"; +RDebugUtils.currentLine=51707907; + //BA.debugLineNum = 51707907;BA.debugLine="Dim reqManager As DBRequestManager"; _reqmanager = new reparto_intmex.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 5;BA.debugLine="Dim conectado As String"; +RDebugUtils.currentLine=51707908; + //BA.debugLineNum = 51707908;BA.debugLine="Dim conectado As String"; _conectado = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim t1 As Timer"; +RDebugUtils.currentLine=51707909; + //BA.debugLineNum = 51707909;BA.debugLine="Dim t1 As Timer"; _t1 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 7;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=51707910; + //BA.debugLineNum = 51707910;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim PHONE As Phone"; +RDebugUtils.currentLine=51707911; + //BA.debugLineNum = 51707911;BA.debugLine="Dim PHONE As Phone"; _phone = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 9;BA.debugLine="Dim trabajar As Button"; +RDebugUtils.currentLine=51707912; + //BA.debugLineNum = 51707912;BA.debugLine="Dim trabajar As Button"; _trabajar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=51707913; + //BA.debugLineNum = 51707913;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim d As Cursor"; +RDebugUtils.currentLine=51707914; + //BA.debugLineNum = 51707914;BA.debugLine="Dim d As Cursor"; _d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim b As Cursor"; +RDebugUtils.currentLine=51707915; + //BA.debugLineNum = 51707915;BA.debugLine="Dim b As Cursor"; _b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim e As Cursor"; +RDebugUtils.currentLine=51707916; + //BA.debugLineNum = 51707916;BA.debugLine="Dim e As Cursor"; _e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim f As Cursor"; +RDebugUtils.currentLine=51707917; + //BA.debugLineNum = 51707917;BA.debugLine="Dim f As Cursor"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim f1 As Cursor"; +RDebugUtils.currentLine=51707918; + //BA.debugLineNum = 51707918;BA.debugLine="Dim f1 As Cursor"; _f1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim f2 As Cursor"; +RDebugUtils.currentLine=51707919; + //BA.debugLineNum = 51707919;BA.debugLine="Dim f2 As Cursor"; _f2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim f3 As Cursor"; +RDebugUtils.currentLine=51707920; + //BA.debugLineNum = 51707920;BA.debugLine="Dim f3 As Cursor"; _f3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim F4 As Cursor"; +RDebugUtils.currentLine=51707921; + //BA.debugLineNum = 51707921;BA.debugLine="Dim F4 As Cursor"; _f4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim lv As ListView"; +RDebugUtils.currentLine=51707922; + //BA.debugLineNum = 51707922;BA.debugLine="Dim lv As ListView"; _lv = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim cargar As Button"; +RDebugUtils.currentLine=51707923; + //BA.debugLineNum = 51707923;BA.debugLine="Dim cargar As Button"; _cargar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim pendiente As Button"; +RDebugUtils.currentLine=51707924; + //BA.debugLineNum = 51707924;BA.debugLine="Dim pendiente As Button"; _pendiente = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim foto1() As Byte"; +RDebugUtils.currentLine=51707925; + //BA.debugLineNum = 51707925;BA.debugLine="Dim foto1() As Byte"; _foto1 = new byte[(int) (0)]; ; - //BA.debugLineNum = 23;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=51707926; + //BA.debugLineNum = 51707926;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 24;BA.debugLine="Dim connecta As Button"; +RDebugUtils.currentLine=51707927; + //BA.debugLineNum = 51707927;BA.debugLine="Dim connecta As Button"; _connecta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim conn As String"; +RDebugUtils.currentLine=51707928; + //BA.debugLineNum = 51707928;BA.debugLine="Dim conn As String"; _conn = ""; - //BA.debugLineNum = 26;BA.debugLine="Dim Subir As Button"; +RDebugUtils.currentLine=51707929; + //BA.debugLineNum = 51707929;BA.debugLine="Dim Subir As Button"; _subir = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=51707930; + //BA.debugLineNum = 51707930;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 28;BA.debugLine="Dim TOPE As Int"; +RDebugUtils.currentLine=51707931; + //BA.debugLineNum = 51707931;BA.debugLine="Dim TOPE As Int"; _tope = 0; - //BA.debugLineNum = 29;BA.debugLine="Dim COUNT_CLIE As Int"; +RDebugUtils.currentLine=51707932; + //BA.debugLineNum = 51707932;BA.debugLine="Dim COUNT_CLIE As Int"; _count_clie = 0; - //BA.debugLineNum = 30;BA.debugLine="Dim fecha As String"; +RDebugUtils.currentLine=51707933; + //BA.debugLineNum = 51707933;BA.debugLine="Dim fecha As String"; _fecha = ""; - //BA.debugLineNum = 31;BA.debugLine="Dim drop As Double"; +RDebugUtils.currentLine=51707934; + //BA.debugLineNum = 51707934;BA.debugLine="Dim drop As Double"; _drop = 0; - //BA.debugLineNum = 32;BA.debugLine="Dim efectiva As Double"; +RDebugUtils.currentLine=51707935; + //BA.debugLineNum = 51707935;BA.debugLine="Dim efectiva As Double"; _efectiva = 0; - //BA.debugLineNum = 33;BA.debugLine="Dim L As Cursor"; +RDebugUtils.currentLine=51707936; + //BA.debugLineNum = 51707936;BA.debugLine="Dim L As Cursor"; _l = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim l_aLiquidar As Label"; +RDebugUtils.currentLine=51707937; + //BA.debugLineNum = 51707937;BA.debugLine="Dim l_aLiquidar As Label"; _l_aliquidar = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim l_cuantosc As Label"; +RDebugUtils.currentLine=51707938; + //BA.debugLineNum = 51707938;BA.debugLine="Dim l_cuantosc As Label"; _l_cuantosc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Dim l_montoSalida As Label"; +RDebugUtils.currentLine=51707939; + //BA.debugLineNum = 51707939;BA.debugLine="Dim l_montoSalida As Label"; _l_montosalida = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Dim l_ctast As Label"; +RDebugUtils.currentLine=51707941; + //BA.debugLineNum = 51707941;BA.debugLine="Dim l_ctast As Label"; _l_ctast = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim BUSCA As Button"; +RDebugUtils.currentLine=51707942; + //BA.debugLineNum = 51707942;BA.debugLine="Dim BUSCA As Button"; _busca = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim Cuantos As String"; +RDebugUtils.currentLine=51707943; + //BA.debugLineNum = 51707943;BA.debugLine="Dim Cuantos As String"; _cuantos = ""; - //BA.debugLineNum = 41;BA.debugLine="Dim l_cuantosn As Label"; +RDebugUtils.currentLine=51707944; + //BA.debugLineNum = 51707944;BA.debugLine="Dim l_cuantosn As Label"; _l_cuantosn = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim e_ruta As EditText"; +RDebugUtils.currentLine=51707945; + //BA.debugLineNum = 51707945;BA.debugLine="Dim e_ruta As EditText"; _e_ruta = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim l_porvisitar As Label"; +RDebugUtils.currentLine=51707946; + //BA.debugLineNum = 51707946;BA.debugLine="Dim l_porvisitar As Label"; _l_porvisitar = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim b_mapa As Button"; +RDebugUtils.currentLine=51707947; + //BA.debugLineNum = 51707947;BA.debugLine="Dim b_mapa As Button"; _b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim l_ruta As Label"; +RDebugUtils.currentLine=51707948; + //BA.debugLineNum = 51707948;BA.debugLine="Dim l_ruta As Label"; _l_ruta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Dim ALMACEN As String"; +RDebugUtils.currentLine=51707949; + //BA.debugLineNum = 51707949;BA.debugLine="Dim ALMACEN As String"; _almacen = ""; - //BA.debugLineNum = 47;BA.debugLine="Private img2 As ImageView"; +RDebugUtils.currentLine=51707950; + //BA.debugLineNum = 51707950;BA.debugLine="Private img2 As ImageView"; _img2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Dim Listo1 As String"; +RDebugUtils.currentLine=51707951; + //BA.debugLineNum = 51707951;BA.debugLine="Dim Listo1 As String"; _listo1 = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim Listo2 As String"; +RDebugUtils.currentLine=51707952; + //BA.debugLineNum = 51707952;BA.debugLine="Dim Listo2 As String"; _listo2 = ""; - //BA.debugLineNum = 50;BA.debugLine="Dim Listo3 As String"; +RDebugUtils.currentLine=51707953; + //BA.debugLineNum = 51707953;BA.debugLine="Dim Listo3 As String"; _listo3 = ""; - //BA.debugLineNum = 51;BA.debugLine="Dim Listo4 As String"; +RDebugUtils.currentLine=51707954; + //BA.debugLineNum = 51707954;BA.debugLine="Dim Listo4 As String"; _listo4 = ""; - //BA.debugLineNum = 52;BA.debugLine="Dim Listo5 As String"; +RDebugUtils.currentLine=51707955; + //BA.debugLineNum = 51707955;BA.debugLine="Dim Listo5 As String"; _listo5 = ""; - //BA.debugLineNum = 53;BA.debugLine="Dim EJECUTANDO As String"; +RDebugUtils.currentLine=51707956; + //BA.debugLineNum = 51707956;BA.debugLine="Dim EJECUTANDO As String"; _ejecutando = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim RES As String"; +RDebugUtils.currentLine=51707957; + //BA.debugLineNum = 51707957;BA.debugLine="Dim RES As String"; _res = ""; - //BA.debugLineNum = 55;BA.debugLine="Dim inve As String"; +RDebugUtils.currentLine=51707958; + //BA.debugLineNum = 51707958;BA.debugLine="Dim inve As String"; _inve = ""; - //BA.debugLineNum = 56;BA.debugLine="Dim cuantos_pedidosc As String"; +RDebugUtils.currentLine=51707959; + //BA.debugLineNum = 51707959;BA.debugLine="Dim cuantos_pedidosc As String"; _cuantos_pedidosc = ""; - //BA.debugLineNum = 57;BA.debugLine="Dim cuantos_pedido As String"; +RDebugUtils.currentLine=51707960; + //BA.debugLineNum = 51707960;BA.debugLine="Dim cuantos_pedido As String"; _cuantos_pedido = ""; - //BA.debugLineNum = 58;BA.debugLine="Dim cuantos_noventa As String"; +RDebugUtils.currentLine=51707961; + //BA.debugLineNum = 51707961;BA.debugLine="Dim cuantos_noventa As String"; _cuantos_noventa = ""; - //BA.debugLineNum = 59;BA.debugLine="Dim datos_iguales As String"; +RDebugUtils.currentLine=51707962; + //BA.debugLineNum = 51707962;BA.debugLine="Dim datos_iguales As String"; _datos_iguales = ""; - //BA.debugLineNum = 60;BA.debugLine="Dim p As PhoneId"; +RDebugUtils.currentLine=51707963; + //BA.debugLineNum = 51707963;BA.debugLine="Dim p As PhoneId"; _p = new anywheresoftware.b4a.phone.Phone.PhoneId(); - //BA.debugLineNum = 61;BA.debugLine="Dim imei As String"; +RDebugUtils.currentLine=51707964; + //BA.debugLineNum = 51707964;BA.debugLine="Dim imei As String"; _imei = ""; - //BA.debugLineNum = 63;BA.debugLine="Private inv As Button"; +RDebugUtils.currentLine=51707966; + //BA.debugLineNum = 51707966;BA.debugLine="Private inv As Button"; _inv = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Private L_MONTOE As Label"; +RDebugUtils.currentLine=51707968; + //BA.debugLineNum = 51707968;BA.debugLine="Private L_MONTOE As Label"; _l_montoe = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Private B_CLIEPROD As Button"; +RDebugUtils.currentLine=51707969; + //BA.debugLineNum = 51707969;BA.debugLine="Private B_CLIEPROD As Button"; _b_clieprod = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Private ListView1 As ListView"; +RDebugUtils.currentLine=51707970; + //BA.debugLineNum = 51707970;BA.debugLine="Private ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Private B_REGRESA As Button"; +RDebugUtils.currentLine=51707971; + //BA.debugLineNum = 51707971;BA.debugLine="Private B_REGRESA As Button"; _b_regresa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 69;BA.debugLine="Private Panel1 As Panel"; +RDebugUtils.currentLine=51707972; + //BA.debugLineNum = 51707972;BA.debugLine="Private Panel1 As Panel"; _panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 70;BA.debugLine="Dim ESTATUS As String"; +RDebugUtils.currentLine=51707973; + //BA.debugLineNum = 51707973;BA.debugLine="Dim ESTATUS As String"; _estatus = ""; - //BA.debugLineNum = 71;BA.debugLine="Dim batterystatus(11) As Int"; +RDebugUtils.currentLine=51707974; + //BA.debugLineNum = 51707974;BA.debugLine="Dim batterystatus(11) As Int"; _batterystatus = new int[(int) (11)]; ; - //BA.debugLineNum = 72;BA.debugLine="Private bu As BatteryUtilities"; +RDebugUtils.currentLine=51707975; + //BA.debugLineNum = 51707975;BA.debugLine="Private bu As BatteryUtilities"; _bu = new reparto_intmex.keymon.lat.batteryutilities(); - //BA.debugLineNum = 73;BA.debugLine="Dim RUTA_T As String"; +RDebugUtils.currentLine=51707976; + //BA.debugLineNum = 51707976;BA.debugLine="Dim RUTA_T As String"; _ruta_t = ""; - //BA.debugLineNum = 74;BA.debugLine="Dim reqs As List"; +RDebugUtils.currentLine=51707977; + //BA.debugLineNum = 51707977;BA.debugLine="Dim reqs As List"; _reqs = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 76;BA.debugLine="Private Btn_Ubicar_Ru As Button"; +RDebugUtils.currentLine=51707979; + //BA.debugLineNum = 51707979;BA.debugLine="Private Btn_Ubicar_Ru As Button"; _btn_ubicar_ru = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Dim cargo As String"; +RDebugUtils.currentLine=51707980; + //BA.debugLineNum = 51707980;BA.debugLine="Dim cargo As String"; _cargo = ""; - //BA.debugLineNum = 78;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=51707981; + //BA.debugLineNum = 51707981;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Dim ime As IME"; +RDebugUtils.currentLine=51707982; + //BA.debugLineNum = 51707982;BA.debugLine="Dim ime As IME"; _ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 80;BA.debugLine="Private b_tabulador As Button"; +RDebugUtils.currentLine=51707983; + //BA.debugLineNum = 51707983;BA.debugLine="Private b_tabulador As Button"; _b_tabulador = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 82;BA.debugLine="Private l_rutasP As Label"; +RDebugUtils.currentLine=51707985; + //BA.debugLineNum = 51707985;BA.debugLine="Private l_rutasP As Label"; _l_rutasp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 83;BA.debugLine="Private l_rechazo As Label"; +RDebugUtils.currentLine=51707986; + //BA.debugLineNum = 51707986;BA.debugLine="Private l_rechazo As Label"; _l_rechazo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Private Label9 As Label"; +RDebugUtils.currentLine=51707987; + //BA.debugLineNum = 51707987;BA.debugLine="Private Label9 As Label"; _label9 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Dim cp As Cursor"; +RDebugUtils.currentLine=51707988; + //BA.debugLineNum = 51707988;BA.debugLine="Dim cp As Cursor"; _cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 86;BA.debugLine="Private b_check As Button"; +RDebugUtils.currentLine=51707989; + //BA.debugLineNum = 51707989;BA.debugLine="Private b_check As Button"; _b_check = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Private b_rechazos As Button"; +RDebugUtils.currentLine=51707990; + //BA.debugLineNum = 51707990;BA.debugLine="Private b_rechazos As Button"; _b_rechazos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private p_prod As Panel"; +RDebugUtils.currentLine=51707991; + //BA.debugLineNum = 51707991;BA.debugLine="Private p_prod As Panel"; _p_prod = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 89;BA.debugLine="Private b_regreso As Button"; +RDebugUtils.currentLine=51707992; + //BA.debugLineNum = 51707992;BA.debugLine="Private b_regreso As Button"; _b_regreso = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Private lv_prod_Prin As ListView"; +RDebugUtils.currentLine=51707993; + //BA.debugLineNum = 51707993;BA.debugLine="Private lv_prod_Prin As ListView"; _lv_prod_prin = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Private b_venta_emp As Button"; +RDebugUtils.currentLine=51707994; + //BA.debugLineNum = 51707994;BA.debugLine="Private b_venta_emp As Button"; _b_venta_emp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 92;BA.debugLine="End Sub"; +RDebugUtils.currentLine=51707995; + //BA.debugLineNum = 51707995;BA.debugLine="End Sub"; return ""; } -public String _connecta_click() throws Exception{ - //BA.debugLineNum = 1869;BA.debugLine="Sub connecta_Click"; - //BA.debugLineNum = 1870;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("815597569",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 1871;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; -if (__c.Not(_isconnectedtointernet())) { +public String _connecta_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "connecta_click", false)) + {return ((String) Debug.delegate(ba, "connecta_click", null));} +RDebugUtils.currentLine=52625408; + //BA.debugLineNum = 52625408;BA.debugLine="Sub connecta_Click"; +RDebugUtils.currentLine=52625409; + //BA.debugLineNum = 52625409;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("252625409",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=52625410; + //BA.debugLineNum = 52625410;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; +if (__c.Not(__ref._isconnectedtointernet /*boolean*/ (null))) { __c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; - //BA.debugLineNum = 1872;BA.debugLine="If e_ruta.Text <> \"\" Then"; -if ((_e_ruta.getText()).equals("") == false) { - //BA.debugLineNum = 1873;BA.debugLine="imei = \"\" 'p.GetDeviceId"; -_imei = ""; - //BA.debugLineNum = 1874;BA.debugLine="conn = \"1\""; -_conn = "1"; - //BA.debugLineNum = 1875;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 1876;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52625411; + //BA.debugLineNum = 52625411;BA.debugLine="If e_ruta.Text <> \"\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=52625412; + //BA.debugLineNum = 52625412;BA.debugLine="imei = \"\" 'p.GetDeviceId"; +__ref._imei /*String*/ = ""; +RDebugUtils.currentLine=52625413; + //BA.debugLineNum = 52625413;BA.debugLine="conn = \"1\""; +__ref._conn /*String*/ = "1"; +RDebugUtils.currentLine=52625414; + //BA.debugLineNum = 52625414;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=52625415; + //BA.debugLineNum = 52625415;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1877;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1878;BA.debugLine="cmd.Name = \"select_version_INTMEX\""; -_cmd.Name /*String*/ = "select_version_INTMEX"; - //BA.debugLineNum = 1879;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("version")); - //BA.debugLineNum = 1880;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52625416; + //BA.debugLineNum = 52625416;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52625417; + //BA.debugLineNum = 52625417;BA.debugLine="cmd.Name = \"select_version_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_version_INTMEX"; +RDebugUtils.currentLine=52625418; + //BA.debugLineNum = 52625418;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("version")); +RDebugUtils.currentLine=52625419; + //BA.debugLineNum = 52625419;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1881;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1882;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_INTMEX\""; -_cmd.Name /*String*/ = "select_ruta_re_REPG_INTMEX"; - //BA.debugLineNum = 1883;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_imei)}; - //BA.debugLineNum = 1885;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("ruta")); - //BA.debugLineNum = 1886;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; +RDebugUtils.currentLine=52625420; + //BA.debugLineNum = 52625420;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52625421; + //BA.debugLineNum = 52625421;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ruta_re_REPG_INTMEX"; +RDebugUtils.currentLine=52625422; + //BA.debugLineNum = 52625422;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._imei /*String*/ )}; +RDebugUtils.currentLine=52625424; + //BA.debugLineNum = 52625424;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("ruta")); +RDebugUtils.currentLine=52625425; + //BA.debugLineNum = 52625425;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),__c.True); - //BA.debugLineNum = 1887;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; +RDebugUtils.currentLine=52625426; + //BA.debugLineNum = 52625426;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1888;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RU"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_e_ruta.getText())})); - //BA.debugLineNum = 1889;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _e_ruta.getText(); +RDebugUtils.currentLine=52625427; + //BA.debugLineNum = 52625427;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RU"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=52625428; + //BA.debugLineNum = 52625428;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = __ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); }; - //BA.debugLineNum = 1891;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52625430; + //BA.debugLineNum = 52625430;BA.debugLine="End Sub"; return ""; } -public String _e_ruta_enterpressed() throws Exception{ - //BA.debugLineNum = 1907;BA.debugLine="Sub e_ruta_EnterPressed"; - //BA.debugLineNum = 1908;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; -if ((_e_ruta.getText()).equals("FIN DIA")) { - //BA.debugLineNum = 1909;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre"; -_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea hacer el cierre todos los datos se borraran?"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 1910;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; -if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 1911;BA.debugLine="e_ruta.Text = \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1912;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; +public String _e_ruta_enterpressed(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "e_ruta_enterpressed", false)) + {return ((String) Debug.delegate(ba, "e_ruta_enterpressed", null));} +RDebugUtils.currentLine=52822016; + //BA.debugLineNum = 52822016;BA.debugLine="Sub e_ruta_EnterPressed"; +RDebugUtils.currentLine=52822017; + //BA.debugLineNum = 52822017;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("FIN DIA")) { +RDebugUtils.currentLine=52822018; + //BA.debugLineNum = 52822018;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre"; +__ref._res /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea hacer el cierre todos los datos se borraran?"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=52822019; + //BA.debugLineNum = 52822019;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +if ((__ref._res /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=52822020; + //BA.debugLineNum = 52822020;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=52822021; + //BA.debugLineNum = 52822021;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICK_CIEGO"); - //BA.debugLineNum = 1913;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; +RDebugUtils.currentLine=52822022; + //BA.debugLineNum = 52822022;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); - //BA.debugLineNum = 1914;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; +RDebugUtils.currentLine=52822023; + //BA.debugLineNum = 52822023;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PAGARES"); - //BA.debugLineNum = 1915;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; +RDebugUtils.currentLine=52822024; + //BA.debugLineNum = 52822024;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECADO_CHECK"); - //BA.debugLineNum = 1916;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; +RDebugUtils.currentLine=52822025; + //BA.debugLineNum = 52822025;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECKLIST2"); - //BA.debugLineNum = 1917;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; +RDebugUtils.currentLine=52822026; + //BA.debugLineNum = 52822026;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); - //BA.debugLineNum = 1918;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; +RDebugUtils.currentLine=52822027; + //BA.debugLineNum = 52822027;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); - //BA.debugLineNum = 1919;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; +RDebugUtils.currentLine=52822028; + //BA.debugLineNum = 52822028;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); - //BA.debugLineNum = 1920;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; +RDebugUtils.currentLine=52822029; + //BA.debugLineNum = 52822029;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 1921;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +RDebugUtils.currentLine=52822030; + //BA.debugLineNum = 52822030;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1922;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +RDebugUtils.currentLine=52822031; + //BA.debugLineNum = 52822031;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 1923;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; +RDebugUtils.currentLine=52822032; + //BA.debugLineNum = 52822032;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1924;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +RDebugUtils.currentLine=52822033; + //BA.debugLineNum = 52822033;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1925;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +RDebugUtils.currentLine=52822034; + //BA.debugLineNum = 52822034;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 1926;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +RDebugUtils.currentLine=52822035; + //BA.debugLineNum = 52822035;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); - //BA.debugLineNum = 1927;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +RDebugUtils.currentLine=52822036; + //BA.debugLineNum = 52822036;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); - //BA.debugLineNum = 1928;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; +RDebugUtils.currentLine=52822037; + //BA.debugLineNum = 52822037;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1929;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; +RDebugUtils.currentLine=52822038; + //BA.debugLineNum = 52822038;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); - //BA.debugLineNum = 1930;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; +RDebugUtils.currentLine=52822039; + //BA.debugLineNum = 52822039;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOS"); - //BA.debugLineNum = 1931;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; +RDebugUtils.currentLine=52822040; + //BA.debugLineNum = 52822040;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BLOCKENVIO"); - //BA.debugLineNum = 1932;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=52822041; + //BA.debugLineNum = 52822041;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; - //BA.debugLineNum = 1935;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; +RDebugUtils.currentLine=52822044; + //BA.debugLineNum = 52822044;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); }; - //BA.debugLineNum = 1937;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52822046; + //BA.debugLineNum = 52822046;BA.debugLine="End Sub"; return ""; } -public String _envioinfo() throws Exception{ +public String _envioinfo(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "envioinfo", false)) + {return ((String) Debug.delegate(ba, "envioinfo", null));} int _i = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _r = null; int _rx = 0; @@ -2266,418 +3302,550 @@ int _restarechazos = 0; double _costorechazos = 0; String[] _fechatabulador = null; String _fechatabulador3 = ""; - //BA.debugLineNum = 686;BA.debugLine="Sub envioinfo"; - //BA.debugLineNum = 691;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO, NV_REPROGRAMAR FROM NOVENTA"))); - //BA.debugLineNum = 692;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 693;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 694;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=52297728; + //BA.debugLineNum = 52297728;BA.debugLine="Sub envioinfo"; +RDebugUtils.currentLine=52297733; + //BA.debugLineNum = 52297733;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO, NV_REPROGRAMAR FROM NOVENTA"))); +RDebugUtils.currentLine=52297734; + //BA.debugLineNum = 52297734;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); +RDebugUtils.currentLine=52297735; + //BA.debugLineNum = 52297735;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=52297736; + //BA.debugLineNum = 52297736;BA.debugLine="For i=0 To c.RowCount -1"; { final int step4 = 1; -final int limit4 = (int) (_c.getRowCount()-1); +final int limit4 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 695;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 696;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; -_foto1 = _c.GetBlob("NV_FOTO"); - //BA.debugLineNum = 697;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297737; + //BA.debugLineNum = 52297737;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=52297738; + //BA.debugLineNum = 52297738;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; +__ref._foto1 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("NV_FOTO"); +RDebugUtils.currentLine=52297739; + //BA.debugLineNum = 52297739;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 698;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 699;BA.debugLine="cmd.Name = \"insert_reparto_REPG_INTMEX\""; -_cmd.Name /*String*/ = "insert_reparto_REPG_INTMEX"; - //BA.debugLineNum = 700;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("NV_CLIENTE")),(Object)(_c.GetString("NV_FECHA")),(Object)(_c.GetString("NV_USER")),(Object)(_c.GetString("NV_MOTIVO")),(Object)(_c.GetString("NV_COMM")),(Object)(_c.GetString("NV_LAT")),(Object)(_c.GetString("NV_LON")),(Object)(_almacen),(Object)(_l_ruta.getText()),(Object)(_c.GetString("NV_REPROGRAMAR"))}; - //BA.debugLineNum = 701;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa_"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa_")); +RDebugUtils.currentLine=52297740; + //BA.debugLineNum = 52297740;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52297741; + //BA.debugLineNum = 52297741;BA.debugLine="cmd.Name = \"insert_reparto_REPG_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_reparto_REPG_INTMEX"; +RDebugUtils.currentLine=52297742; + //BA.debugLineNum = 52297742;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_MOTIVO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_COMM")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_LAT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_LON")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_REPROGRAMAR"))}; +RDebugUtils.currentLine=52297743; + //BA.debugLineNum = 52297743;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa_"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_noventa_")); } }; - //BA.debugLineNum = 703;BA.debugLine="c.Close"; -_c.Close(); +RDebugUtils.currentLine=52297745; + //BA.debugLineNum = 52297745;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 705;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 706;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; -_cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 707;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 710;BA.debugLine="Dim r As Cursor =Starter.skmt.ExecQuery(\"select *"; +RDebugUtils.currentLine=52297747; + //BA.debugLineNum = 52297747;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52297748; + //BA.debugLineNum = 52297748;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +__ref._cuantos_noventa /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_NOVENTA"); +RDebugUtils.currentLine=52297749; + //BA.debugLineNum = 52297749;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52297752; + //BA.debugLineNum = 52297752;BA.debugLine="Dim r As Cursor =Starter.skmt.ExecQuery(\"select *"; _r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from noventa where nv_reprogramar = 1"))); - //BA.debugLineNum = 711;BA.debugLine="If r.RowCount > 0 Then"; +RDebugUtils.currentLine=52297753; + //BA.debugLineNum = 52297753;BA.debugLine="If r.RowCount > 0 Then"; if (_r.getRowCount()>0) { - //BA.debugLineNum = 712;BA.debugLine="For rx = 0 To r.RowCount - 1"; +RDebugUtils.currentLine=52297754; + //BA.debugLineNum = 52297754;BA.debugLine="For rx = 0 To r.RowCount - 1"; { final int step20 = 1; final int limit20 = (int) (_r.getRowCount()-1); _rx = (int) (0) ; for (;_rx <= limit20 ;_rx = _rx + step20 ) { - //BA.debugLineNum = 713;BA.debugLine="r.Position = rx"; +RDebugUtils.currentLine=52297755; + //BA.debugLineNum = 52297755;BA.debugLine="r.Position = rx"; _r.setPosition(_rx); - //BA.debugLineNum = 714;BA.debugLine="Dim o As Cursor = Starter.skmt.ExecQuery2(\"sele"; +RDebugUtils.currentLine=52297756; + //BA.debugLineNum = 52297756;BA.debugLine="Dim o As Cursor = Starter.skmt.ExecQuery2(\"sele"; _o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select HVD_FECHA, CAT_CL_RUTA FROM HIST_VENTAS INNER JOIN kmt_info on HVD_CLIENTE = cat_cl_codigo WHERE HVD_CLIENTE = ?",new String[]{_r.GetString("NV_CLIENTE")}))); - //BA.debugLineNum = 715;BA.debugLine="If o.RowCount > 0 Then"; +RDebugUtils.currentLine=52297757; + //BA.debugLineNum = 52297757;BA.debugLine="If o.RowCount > 0 Then"; if (_o.getRowCount()>0) { - //BA.debugLineNum = 716;BA.debugLine="o.Position = 0"; +RDebugUtils.currentLine=52297758; + //BA.debugLineNum = 52297758;BA.debugLine="o.Position = 0"; _o.setPosition((int) (0)); - //BA.debugLineNum = 717;BA.debugLine="Log(\"Enviamos reprogramados: \" & r.RowCount)"; -__c.LogImpl("815269919","Enviamos reprogramados: "+BA.NumberToString(_r.getRowCount()),0); - //BA.debugLineNum = 719;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297759; + //BA.debugLineNum = 52297759;BA.debugLine="Log(\"Enviamos reprogramados: \" & r.RowCount)"; +__c.LogImpl("252297759","Enviamos reprogramados: "+BA.NumberToString(_r.getRowCount()),0); +RDebugUtils.currentLine=52297761; + //BA.debugLineNum = 52297761;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 720;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 721;BA.debugLine="cmd.Name = \"insert_reparto_reprogramar3_INTMEX"; -_cmd.Name /*String*/ = "insert_reparto_reprogramar3_INTMEX"; - //BA.debugLineNum = 722;BA.debugLine="cmd.Parameters = Array As Object(r.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_r.GetString("NV_CLIENTE")),(Object)(_r.GetString("NV_REPROGRAMAR")),(Object)(_o.GetString("HVD_FECHA")),(Object)(_o.GetString("CAT_CL_RUTA")),(Object)(_almacen)}; - //BA.debugLineNum = 723;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reprogram"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_reprogramar")); +RDebugUtils.currentLine=52297762; + //BA.debugLineNum = 52297762;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52297763; + //BA.debugLineNum = 52297763;BA.debugLine="cmd.Name = \"insert_reparto_reprogramar3_INTMEX"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_reparto_reprogramar3_INTMEX"; +RDebugUtils.currentLine=52297764; + //BA.debugLineNum = 52297764;BA.debugLine="cmd.Parameters = Array As Object(r.GetString(\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_r.GetString("NV_CLIENTE")),(Object)(_r.GetString("NV_REPROGRAMAR")),(Object)(_o.GetString("HVD_FECHA")),(Object)(_o.GetString("CAT_CL_RUTA")),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=52297765; + //BA.debugLineNum = 52297765;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reprogram"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_reprogramar")); }; } }; }; - //BA.debugLineNum = 727;BA.debugLine="r.Close"; +RDebugUtils.currentLine=52297769; + //BA.debugLineNum = 52297769;BA.debugLine="r.Close"; _r.Close(); - //BA.debugLineNum = 730;BA.debugLine="Dim pa As Cursor =Starter.skmt.ExecQuery(\"select"; +RDebugUtils.currentLine=52297772; + //BA.debugLineNum = 52297772;BA.debugLine="Dim pa As Cursor =Starter.skmt.ExecQuery(\"select"; _pa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pa = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from PAGARES"))); - //BA.debugLineNum = 731;BA.debugLine="If pa.RowCount > 0 Then"; +RDebugUtils.currentLine=52297773; + //BA.debugLineNum = 52297773;BA.debugLine="If pa.RowCount > 0 Then"; if (_pa.getRowCount()>0) { - //BA.debugLineNum = 732;BA.debugLine="For pag = 0 To pa.RowCount - 1"; +RDebugUtils.currentLine=52297774; + //BA.debugLineNum = 52297774;BA.debugLine="For pag = 0 To pa.RowCount - 1"; { final int step37 = 1; final int limit37 = (int) (_pa.getRowCount()-1); _pag = (int) (0) ; for (;_pag <= limit37 ;_pag = _pag + step37 ) { - //BA.debugLineNum = 733;BA.debugLine="pa.Position = pag"; +RDebugUtils.currentLine=52297775; + //BA.debugLineNum = 52297775;BA.debugLine="pa.Position = pag"; _pa.setPosition(_pag); - //BA.debugLineNum = 734;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297776; + //BA.debugLineNum = 52297776;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 735;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 736;BA.debugLine="cmd.Name = \"insert_reparto_PAGARES_INTMEX2\""; -_cmd.Name /*String*/ = "insert_reparto_PAGARES_INTMEX2"; - //BA.debugLineNum = 737;BA.debugLine="Dim fechaenvio() As String"; +RDebugUtils.currentLine=52297777; + //BA.debugLineNum = 52297777;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52297778; + //BA.debugLineNum = 52297778;BA.debugLine="cmd.Name = \"insert_reparto_PAGARES_INTMEX2\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_reparto_PAGARES_INTMEX2"; +RDebugUtils.currentLine=52297779; + //BA.debugLineNum = 52297779;BA.debugLine="Dim fechaenvio() As String"; _fechaenvio = new String[(int) (0)]; java.util.Arrays.fill(_fechaenvio,""); - //BA.debugLineNum = 738;BA.debugLine="fechaenvio = Regex.Split(\" \",pa.GetString(\"PA_F"; +RDebugUtils.currentLine=52297780; + //BA.debugLineNum = 52297780;BA.debugLine="fechaenvio = Regex.Split(\" \",pa.GetString(\"PA_F"; _fechaenvio = __c.Regex.Split(" ",_pa.GetString("PA_FECHA_PREV")); - //BA.debugLineNum = 740;BA.debugLine="Dim fechaenvio1() As String"; +RDebugUtils.currentLine=52297782; + //BA.debugLineNum = 52297782;BA.debugLine="Dim fechaenvio1() As String"; _fechaenvio1 = new String[(int) (0)]; java.util.Arrays.fill(_fechaenvio1,""); - //BA.debugLineNum = 741;BA.debugLine="fechaenvio1 = Regex.Split(\"/\",fechaenvio(0))"; +RDebugUtils.currentLine=52297783; + //BA.debugLineNum = 52297783;BA.debugLine="fechaenvio1 = Regex.Split(\"/\",fechaenvio(0))"; _fechaenvio1 = __c.Regex.Split("/",_fechaenvio[(int) (0)]); - //BA.debugLineNum = 742;BA.debugLine="Dim fechaano As String = fechaenvio1(2).SubStri"; +RDebugUtils.currentLine=52297784; + //BA.debugLineNum = 52297784;BA.debugLine="Dim fechaano As String = fechaenvio1(2).SubStri"; _fechaano = _fechaenvio1[(int) (2)].substring((int) (2)); - //BA.debugLineNum = 743;BA.debugLine="Dim fechareal As String = fechaenvio1(0)&\"/\"&fe"; +RDebugUtils.currentLine=52297785; + //BA.debugLineNum = 52297785;BA.debugLine="Dim fechareal As String = fechaenvio1(0)&\"/\"&fe"; _fechareal = _fechaenvio1[(int) (0)]+"/"+_fechaenvio1[(int) (1)]+"/"+_fechaano; - //BA.debugLineNum = 746;BA.debugLine="Dim fechacap() As String"; +RDebugUtils.currentLine=52297788; + //BA.debugLineNum = 52297788;BA.debugLine="Dim fechacap() As String"; _fechacap = new String[(int) (0)]; java.util.Arrays.fill(_fechacap,""); - //BA.debugLineNum = 747;BA.debugLine="fechacap = Regex.Split(\"/\",pa.GetString(\"PA_CAP"; +RDebugUtils.currentLine=52297789; + //BA.debugLineNum = 52297789;BA.debugLine="fechacap = Regex.Split(\"/\",pa.GetString(\"PA_CAP"; _fechacap = __c.Regex.Split("/",_pa.GetString("PA_CAPTURA")); - //BA.debugLineNum = 748;BA.debugLine="Dim fechacapano As String = fechacap(2).SubStri"; +RDebugUtils.currentLine=52297790; + //BA.debugLineNum = 52297790;BA.debugLine="Dim fechacapano As String = fechacap(2).SubStri"; _fechacapano = _fechacap[(int) (2)].substring((int) (2)); - //BA.debugLineNum = 749;BA.debugLine="Dim fechacapreal As String = fechacap(0)&\"/\"&fe"; +RDebugUtils.currentLine=52297791; + //BA.debugLineNum = 52297791;BA.debugLine="Dim fechacapreal As String = fechacap(0)&\"/\"&fe"; _fechacapreal = _fechacap[(int) (0)]+"/"+_fechacap[(int) (1)]+"/"+_fechacapano; - //BA.debugLineNum = 751;BA.debugLine="cmd.Parameters = Array As Object(pa.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_pa.GetString("PA_CLIENTE")),(Object)(_pa.GetString("PA_MONTO")),(Object)(_fechacapreal),(Object)(_pa.GetString("PA_ALMACEN")),(Object)(_pa.GetString("PA_RUTAPREV")),(Object)(_pa.GetString("PA_RUTA_REP")),(Object)(_fechareal),(Object)(_pa.GetString("PA_USUARIO"))}; - //BA.debugLineNum = 752;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pagares\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_pagares")); +RDebugUtils.currentLine=52297793; + //BA.debugLineNum = 52297793;BA.debugLine="cmd.Parameters = Array As Object(pa.GetString(\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_pa.GetString("PA_CLIENTE")),(Object)(_pa.GetString("PA_MONTO")),(Object)(_fechacapreal),(Object)(_pa.GetString("PA_ALMACEN")),(Object)(_pa.GetString("PA_RUTAPREV")),(Object)(_pa.GetString("PA_RUTA_REP")),(Object)(_fechareal),(Object)(_pa.GetString("PA_USUARIO"))}; +RDebugUtils.currentLine=52297794; + //BA.debugLineNum = 52297794;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pagares\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_pagares")); } }; }; - //BA.debugLineNum = 755;BA.debugLine="pa.Close"; +RDebugUtils.currentLine=52297797; + //BA.debugLineNum = 52297797;BA.debugLine="pa.Close"; _pa.Close(); - //BA.debugLineNum = 758;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; +RDebugUtils.currentLine=52297800; + //BA.debugLineNum = 52297800;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; _ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ab = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from ABONOS where a_enviado is null")))); - //BA.debugLineNum = 759;BA.debugLine="Log(ab.RowCount)"; -__c.LogImpl("815269961",BA.NumberToString(_ab.getRowCount()),0); - //BA.debugLineNum = 760;BA.debugLine="If ab.RowCount > 0 Then"; +RDebugUtils.currentLine=52297801; + //BA.debugLineNum = 52297801;BA.debugLine="Log(ab.RowCount)"; +__c.LogImpl("252297801",BA.NumberToString(_ab.getRowCount()),0); +RDebugUtils.currentLine=52297802; + //BA.debugLineNum = 52297802;BA.debugLine="If ab.RowCount > 0 Then"; if (_ab.getRowCount()>0) { - //BA.debugLineNum = 761;BA.debugLine="For i=0 To ab.RowCount -1"; +RDebugUtils.currentLine=52297803; + //BA.debugLineNum = 52297803;BA.debugLine="For i=0 To ab.RowCount -1"; { final int step60 = 1; final int limit60 = (int) (_ab.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit60 ;_i = _i + step60 ) { - //BA.debugLineNum = 762;BA.debugLine="ab.Position = i"; +RDebugUtils.currentLine=52297804; + //BA.debugLineNum = 52297804;BA.debugLine="ab.Position = i"; _ab.setPosition(_i); - //BA.debugLineNum = 764;BA.debugLine="Dim c58 As Cursor = Starter.skmt.ExecQuery($\"SE"; +RDebugUtils.currentLine=52297806; + //BA.debugLineNum = 52297806;BA.debugLine="Dim c58 As Cursor = Starter.skmt.ExecQuery($\"SE"; _c58 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c58 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from HIST_VENTAS")))); - //BA.debugLineNum = 765;BA.debugLine="If c58.RowCount > 0 Then"; +RDebugUtils.currentLine=52297807; + //BA.debugLineNum = 52297807;BA.debugLine="If c58.RowCount > 0 Then"; if (_c58.getRowCount()>0) { - //BA.debugLineNum = 766;BA.debugLine="c58.Position = 0"; +RDebugUtils.currentLine=52297808; + //BA.debugLineNum = 52297808;BA.debugLine="c58.Position = 0"; _c58.setPosition((int) (0)); - //BA.debugLineNum = 768;BA.debugLine="Private fechapre As String = c58.GetString(\"HV"; +RDebugUtils.currentLine=52297810; + //BA.debugLineNum = 52297810;BA.debugLine="Private fechapre As String = c58.GetString(\"HV"; _fechapre = _c58.GetString("HVD_FECHA"); }; - //BA.debugLineNum = 772;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297814; + //BA.debugLineNum = 52297814;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 773;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 774;BA.debugLine="cmd.Name = \"insert_abono_INTMEXREP2\""; -_cmd.Name /*String*/ = "insert_abono_INTMEXREP2"; - //BA.debugLineNum = 775;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")),(Object)(_ab.GetString("a_ruta")),(Object)(_ab.GetString("a_cliente")),(Object)(_ab.GetString("a_abono")),(Object)(_ab.GetString("a_fecha")),(Object)(_almacen),(Object)("REPARTO"),(Object)(_ab.GetString("TIPO_PAGO")),(Object)(_ab.GetString("CONSECUTIVO")),(Object)(_ab.GetString("NUM_TICKET")),(Object)(_ab.GetString("RUTA_REP")),(Object)(_fechapre)}; - //BA.debugLineNum = 776;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); - //BA.debugLineNum = 777;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; -__c.LogImpl("815269979",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); +RDebugUtils.currentLine=52297815; + //BA.debugLineNum = 52297815;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52297816; + //BA.debugLineNum = 52297816;BA.debugLine="cmd.Name = \"insert_abono_INTMEXREP2\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_abono_INTMEXREP2"; +RDebugUtils.currentLine=52297817; + //BA.debugLineNum = 52297817;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")),(Object)(_ab.GetString("a_ruta")),(Object)(_ab.GetString("a_cliente")),(Object)(_ab.GetString("a_abono")),(Object)(_ab.GetString("a_fecha")),(Object)(__ref._almacen /*String*/ ),(Object)("REPARTO"),(Object)(_ab.GetString("TIPO_PAGO")),(Object)(_ab.GetString("CONSECUTIVO")),(Object)(_ab.GetString("NUM_TICKET")),(Object)(_ab.GetString("RUTA_REP")),(Object)(_fechapre)}; +RDebugUtils.currentLine=52297818; + //BA.debugLineNum = 52297818;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); +RDebugUtils.currentLine=52297819; + //BA.debugLineNum = 52297819;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; +__c.LogImpl("252297819",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); } }; }; - //BA.debugLineNum = 780;BA.debugLine="ab.Close"; +RDebugUtils.currentLine=52297822; + //BA.debugLineNum = 52297822;BA.debugLine="ab.Close"; _ab.Close(); - //BA.debugLineNum = 783;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT * FROM hist_vent"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM hist_ventas WHERE HVD_RECHAZO = 1 "))); - //BA.debugLineNum = 784;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 785;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=52297825; + //BA.debugLineNum = 52297825;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT * FROM hist_vent"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM hist_ventas WHERE HVD_RECHAZO = 1 "))); +RDebugUtils.currentLine=52297826; + //BA.debugLineNum = 52297826;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=52297827; + //BA.debugLineNum = 52297827;BA.debugLine="For i=0 To c.RowCount -1"; { final int step78 = 1; -final int limit78 = (int) (_c.getRowCount()-1); +final int limit78 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit78 ;_i = _i + step78 ) { - //BA.debugLineNum = 786;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 787;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297828; + //BA.debugLineNum = 52297828;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=52297829; + //BA.debugLineNum = 52297829;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 788;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 789;BA.debugLine="cmd.Name = \"insert_rep_hist_ventas_REPG2_INTMEX"; -_cmd.Name /*String*/ = "insert_rep_hist_ventas_REPG2_INTMEX"; - //BA.debugLineNum = 790;BA.debugLine="Dim restarechazos As Int = c.GetString(\"HVD_CAN"; -_restarechazos = (int) ((double)(Double.parseDouble(_c.GetString("HVD_CANT")))-(double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))); - //BA.debugLineNum = 791;BA.debugLine="Dim costorechazos As Double= C.GetString(\"HVD_C"; -_costorechazos = (double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("HVD_CANT"))); - //BA.debugLineNum = 792;BA.debugLine="If restarechazos = 0 Then"; +RDebugUtils.currentLine=52297830; + //BA.debugLineNum = 52297830;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52297831; + //BA.debugLineNum = 52297831;BA.debugLine="cmd.Name = \"insert_rep_hist_ventas_REPG2_INTMEX"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_rep_hist_ventas_REPG2_INTMEX"; +RDebugUtils.currentLine=52297832; + //BA.debugLineNum = 52297832;BA.debugLine="Dim restarechazos As Int = c.GetString(\"HVD_CAN"; +_restarechazos = (int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))); +RDebugUtils.currentLine=52297833; + //BA.debugLineNum = 52297833;BA.debugLine="Dim costorechazos As Double= C.GetString(\"HVD_C"; +_costorechazos = (double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"))); +RDebugUtils.currentLine=52297834; + //BA.debugLineNum = 52297834;BA.debugLine="If restarechazos = 0 Then"; if (_restarechazos==0) { - //BA.debugLineNum = 793;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HVD_CLIENTE")),(Object)(_c.GetString("HVD_PRONOMBRE")),(Object)(_c.GetString("HVD_RECHAZOCANT")),(Object)((_costorechazos*(double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT"))))),(Object)(_c.GetString("HVD_CODPROMO")),(Object)(_c.GetString("HVD_PROID")),(Object)(_c.GetString("HVD_NUM_TICKET")),(Object)(_c.GetString("HVD_NUM_REGISTRO")),(Object)(1),(Object)(""),(Object)(_almacen),(Object)(_costorechazos)}; +RDebugUtils.currentLine=52297835; + //BA.debugLineNum = 52297835;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")),(Object)((_costorechazos*(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_TICKET")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")),(Object)(1),(Object)(""),(Object)(__ref._almacen /*String*/ ),(Object)(_costorechazos)}; }else { - //BA.debugLineNum = 796;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HVD_CLIENTE")),(Object)(_c.GetString("HVD_PRONOMBRE")),(Object)(_c.GetString("HVD_RECHAZOCANT")),(Object)((_costorechazos*(double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT"))))),(Object)(_c.GetString("HVD_CODPROMO")),(Object)(_c.GetString("HVD_PROID")),(Object)(_c.GetString("HVD_NUM_TICKET")),(Object)(_c.GetString("HVD_NUM_REGISTRO")),(Object)(""),(Object)(1),(Object)(_almacen),(Object)(_costorechazos)}; +RDebugUtils.currentLine=52297838; + //BA.debugLineNum = 52297838;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")),(Object)((_costorechazos*(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_TICKET")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")),(Object)(""),(Object)(1),(Object)(__ref._almacen /*String*/ ),(Object)(_costorechazos)}; }; - //BA.debugLineNum = 798;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); +RDebugUtils.currentLine=52297840; + //BA.debugLineNum = 52297840;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_noventa")); } }; - //BA.debugLineNum = 800;BA.debugLine="c.Close"; -_c.Close(); +RDebugUtils.currentLine=52297842; + //BA.debugLineNum = 52297842;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 804;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA"; -_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 PE_TIPO, PE_RUTA, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_CLIENTEOR, PE_CAJAS, PE_BCAJAS, CONSECUTIVO, FECHA_PREV, RUTA_REP, PE_REGALO FROM PEDIDO"))); - //BA.debugLineNum = 805;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 806;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=52297846; + //BA.debugLineNum = 52297846;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PE_TIPO, PE_RUTA, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_CLIENTEOR, PE_CAJAS, PE_BCAJAS, CONSECUTIVO, FECHA_PREV, RUTA_REP, PE_REGALO FROM PEDIDO"))); +RDebugUtils.currentLine=52297847; + //BA.debugLineNum = 52297847;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=52297848; + //BA.debugLineNum = 52297848;BA.debugLine="For i=0 To c.RowCount -1"; { final int step96 = 1; -final int limit96 = (int) (_c.getRowCount()-1); +final int limit96 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit96 ;_i = _i + step96 ) { - //BA.debugLineNum = 807;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 808;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297849; + //BA.debugLineNum = 52297849;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=52297850; + //BA.debugLineNum = 52297850;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 809;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 810;BA.debugLine="cmd.Name = \"insert_pedido_REP_INTMEX\""; -_cmd.Name /*String*/ = "insert_pedido_REP_INTMEX"; - //BA.debugLineNum = 811;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_TIPO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_CEDIS")),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_CLIENTEOR")),(Object)(_c.GetString("PE_CAJAS")),(Object)(_c.GetString("PE_BCAJAS")),(Object)(_c.GetString("CONSECUTIVO")),(Object)(_c.GetString("FECHA_PREV")),(Object)(_c.GetString("RUTA_REP")),(Object)(_c.GetString("PE_REGALO"))}; - //BA.debugLineNum = 812;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_Inm"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_pedido_Inmtex")); +RDebugUtils.currentLine=52297851; + //BA.debugLineNum = 52297851;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52297852; + //BA.debugLineNum = 52297852;BA.debugLine="cmd.Name = \"insert_pedido_REP_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido_REP_INTMEX"; +RDebugUtils.currentLine=52297853; + //BA.debugLineNum = 52297853;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_TIPO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTEOR")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CAJAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_BCAJAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FECHA_PREV")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTA_REP")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_REGALO"))}; +RDebugUtils.currentLine=52297854; + //BA.debugLineNum = 52297854;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_Inm"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedido_Inmtex")); } }; - //BA.debugLineNum = 814;BA.debugLine="c.Close"; -_c.Close(); +RDebugUtils.currentLine=52297856; + //BA.debugLineNum = 52297856;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 861;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"))); - //BA.debugLineNum = 862;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("815270064",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 863;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 864;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=52297903; + //BA.debugLineNum = 52297903;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_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"))); +RDebugUtils.currentLine=52297904; + //BA.debugLineNum = 52297904;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("252297904",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=52297905; + //BA.debugLineNum = 52297905;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=52297906; + //BA.debugLineNum = 52297906;BA.debugLine="For i=0 To c.RowCount -1"; { final int step109 = 1; -final int limit109 = (int) (_c.getRowCount()-1); +final int limit109 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit109 ;_i = _i + step109 ) { - //BA.debugLineNum = 865;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 867;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297907; + //BA.debugLineNum = 52297907;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=52297909; + //BA.debugLineNum = 52297909;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 868;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 869;BA.debugLine="cmd.Name = \"insert_REPARTO_INTMEX\""; -_cmd.Name /*String*/ = "insert_REPARTO_INTMEX"; - //BA.debugLineNum = 870;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("FECHA_PUNTEO")),(Object)(_c.GetString("LATITUD")),(Object)(_c.GetString("LONGITUD")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("RUTA_REPARTO")),(Object)(_c.GetString("RUTA_PREV")),(Object)(_c.GetString("FECHA_PREVENTA")),(Object)(_c.GetString("MOTIVO")),(Object)(_c.GetString("COMENTARIO")),(Object)(_c.GetString("TIPO"))}; - //BA.debugLineNum = 871;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_REPARTOPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("CLIENTE")))+""))); +RDebugUtils.currentLine=52297910; + //BA.debugLineNum = 52297910;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52297911; + //BA.debugLineNum = 52297911;BA.debugLine="cmd.Name = \"insert_REPARTO_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_REPARTO_INTMEX"; +RDebugUtils.currentLine=52297912; + //BA.debugLineNum = 52297912;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FECHA_PUNTEO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LATITUD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LONGITUD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTA_REPARTO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTA_PREV")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FECHA_PREVENTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MOTIVO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COMENTARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TIPO"))}; +RDebugUtils.currentLine=52297913; + //BA.debugLineNum = 52297913;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)(("ins_REPARTOPendientes_head_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE")))+""))); } }; }; - //BA.debugLineNum = 875;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 878;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; -_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 VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); - //BA.debugLineNum = 879;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); - //BA.debugLineNum = 880;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; -_b = (anywheresoftware.b4a.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 = 881;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 882;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 883;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 884;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 885;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 886;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=52297917; + //BA.debugLineNum = 52297917;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52297920; + //BA.debugLineNum = 52297920;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); +RDebugUtils.currentLine=52297921; + //BA.debugLineNum = 52297921;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=52297922; + //BA.debugLineNum = 52297922;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); +RDebugUtils.currentLine=52297923; + //BA.debugLineNum = 52297923;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=52297924; + //BA.debugLineNum = 52297924;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52297925; + //BA.debugLineNum = 52297925;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52297926; + //BA.debugLineNum = 52297926;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52297927; + //BA.debugLineNum = 52297927;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=52297928; + //BA.debugLineNum = 52297928;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step127 = 1; -final int limit127 = (int) (_c.getRowCount()-1); +final int limit127 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit127 ;_i = _i + step127 ) { - //BA.debugLineNum = 887;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 888;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297929; + //BA.debugLineNum = 52297929;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=52297930; + //BA.debugLineNum = 52297930;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 889;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; -_fechatabulador = __c.Regex.Split(" ",_f.GetString("HVD_FECHA")); - //BA.debugLineNum = 891;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; +RDebugUtils.currentLine=52297931; + //BA.debugLineNum = 52297931;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +_fechatabulador = __c.Regex.Split(" ",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA")); +RDebugUtils.currentLine=52297933; + //BA.debugLineNum = 52297933;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; _fechatabulador3 = _fechatabulador[(int) (0)]; - //BA.debugLineNum = 892;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 893;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_INTMEX\""; -_cmd.Name /*String*/ = "insert_tabulador_monedas_INTMEX"; - //BA.debugLineNum = 894;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_d.GetString("RUTAA")),(Object)(_b.GetString("ID_ALMACEN")),(Object)(_c.GetString("VEINTE")),(Object)(_c.GetString("DIEZ")),(Object)(_c.GetString("CINCO")),(Object)(_c.GetString("DOS")),(Object)(_c.GetString("PESO")),(Object)(_c.GetString("CENTAVO")),(Object)(_fechatabulador3)}; - //BA.debugLineNum = 895;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_tabulador_mon")); +RDebugUtils.currentLine=52297934; + //BA.debugLineNum = 52297934;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52297935; + //BA.debugLineNum = 52297935;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_tabulador_monedas_INTMEX"; +RDebugUtils.currentLine=52297936; + //BA.debugLineNum = 52297936;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")),(Object)(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("VEINTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DIEZ")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CINCO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PESO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CENTAVO")),(Object)(_fechatabulador3)}; +RDebugUtils.currentLine=52297937; + //BA.debugLineNum = 52297937;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_tabulador_mon")); } }; - //BA.debugLineNum = 897;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 898;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 899;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 900;BA.debugLine="f.Close"; -_f.Close(); +RDebugUtils.currentLine=52297939; + //BA.debugLineNum = 52297939;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52297940; + //BA.debugLineNum = 52297940;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52297941; + //BA.debugLineNum = 52297941;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52297942; + //BA.debugLineNum = 52297942;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 947;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; -_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 MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); - //BA.debugLineNum = 948;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); - //BA.debugLineNum = 949;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; -_b = (anywheresoftware.b4a.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 = 950;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 951;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 952;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 953;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 954;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 955;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=52297989; + //BA.debugLineNum = 52297989;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); +RDebugUtils.currentLine=52297990; + //BA.debugLineNum = 52297990;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=52297991; + //BA.debugLineNum = 52297991;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); +RDebugUtils.currentLine=52297992; + //BA.debugLineNum = 52297992;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=52297993; + //BA.debugLineNum = 52297993;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52297994; + //BA.debugLineNum = 52297994;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52297995; + //BA.debugLineNum = 52297995;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52297996; + //BA.debugLineNum = 52297996;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=52297997; + //BA.debugLineNum = 52297997;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step150 = 1; -final int limit150 = (int) (_c.getRowCount()-1); +final int limit150 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit150 ;_i = _i + step150 ) { - //BA.debugLineNum = 956;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 957;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52297998; + //BA.debugLineNum = 52297998;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=52297999; + //BA.debugLineNum = 52297999;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 958;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; -_fechatabulador = __c.Regex.Split(" ",_f.GetString("HVD_FECHA")); - //BA.debugLineNum = 960;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; +RDebugUtils.currentLine=52298000; + //BA.debugLineNum = 52298000;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +_fechatabulador = __c.Regex.Split(" ",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA")); +RDebugUtils.currentLine=52298002; + //BA.debugLineNum = 52298002;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; _fechatabulador3 = _fechatabulador[(int) (0)]; - //BA.debugLineNum = 961;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 962;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_INTMEX\""; -_cmd.Name /*String*/ = "insert_tabulador_billetes_INTMEX"; - //BA.debugLineNum = 963;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_b.GetString("ID_ALMACEN")),(Object)(_d.GetString("RUTAA")),(Object)(_c.GetString("MIL")),(Object)(_c.GetString("QUINIENTOS")),(Object)(_c.GetString("DOCIENTOS")),(Object)(_c.GetString("CIEN")),(Object)(_c.GetString("CINCUENTA")),(Object)(_c.GetString("VEINTE")),(Object)(_fechatabulador3)}; - //BA.debugLineNum = 964;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_tabulador_bill")); +RDebugUtils.currentLine=52298003; + //BA.debugLineNum = 52298003;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52298004; + //BA.debugLineNum = 52298004;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_INTMEX\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_tabulador_billetes_INTMEX"; +RDebugUtils.currentLine=52298005; + //BA.debugLineNum = 52298005;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MIL")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("QUINIENTOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DOCIENTOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CIEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CINCUENTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("VEINTE")),(Object)(_fechatabulador3)}; +RDebugUtils.currentLine=52298006; + //BA.debugLineNum = 52298006;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_tabulador_bill")); } }; - //BA.debugLineNum = 966;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 967;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 968;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 969;BA.debugLine="f.Close"; -_f.Close(); +RDebugUtils.currentLine=52298008; + //BA.debugLineNum = 52298008;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52298009; + //BA.debugLineNum = 52298009;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52298010; + //BA.debugLineNum = 52298010;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52298011; + //BA.debugLineNum = 52298011;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 973;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=52298015; + //BA.debugLineNum = 52298015;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 974;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 975;BA.debugLine="cmd.Name = \"insert_drop_rep_INTMEX2\""; -_cmd.Name /*String*/ = "insert_drop_rep_INTMEX2"; - //BA.debugLineNum = 976;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_l_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("ENVIO"),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 977;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 978;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "+_l_ruta.getText()),__c.True); - //BA.debugLineNum = 979;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52298016; + //BA.debugLineNum = 52298016;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52298017; + //BA.debugLineNum = 52298017;BA.debugLine="cmd.Name = \"insert_drop_rep_INTMEX2\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_rep_INTMEX2"; +RDebugUtils.currentLine=52298018; + //BA.debugLineNum = 52298018;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("ENVIO"),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=52298019; + //BA.debugLineNum = 52298019;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); +RDebugUtils.currentLine=52298020; + //BA.debugLineNum = 52298020;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "+__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),__c.True); +RDebugUtils.currentLine=52298021; + //BA.debugLineNum = 52298021;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 95;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 96;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 97;BA.debugLine="End Sub"; -return null; -} -public String _inv_click() throws Exception{ - //BA.debugLineNum = 1939;BA.debugLine="Sub inv_Click"; - //BA.debugLineNum = 1940;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; +public String _inv_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "inv_click", false)) + {return ((String) Debug.delegate(ba, "inv_click", null));} +RDebugUtils.currentLine=52887552; + //BA.debugLineNum = 52887552;BA.debugLine="Sub inv_Click"; +RDebugUtils.currentLine=52887553; + //BA.debugLineNum = 52887553;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; __c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 1941;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52887554; + //BA.debugLineNum = 52887554;BA.debugLine="End Sub"; return ""; } -public boolean _isconnectedtointernet() throws Exception{ -anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 631;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; - //BA.debugLineNum = 632;BA.debugLine="Dim r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 633;BA.debugLine="r.Target = r.GetContext"; -_r.Target = (Object)(_r.GetContext(ba)); - //BA.debugLineNum = 634;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; -_r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); - //BA.debugLineNum = 635;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; -_r.Target = _r.RunMethod("getActiveNetworkInfo"); - //BA.debugLineNum = 636;BA.debugLine="If r.Target <> Null Then"; -if (_r.Target!= null) { - //BA.debugLineNum = 637;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; -if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); - }; - //BA.debugLineNum = 639;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 640;BA.debugLine="End Sub"; -return false; -} -public String _jobdone(reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +public String _jobdone(reparto_intmex.keymon.lat.c_principal __ref,reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} reparto_intmex.keymon.lat.dbrequestmanager._dbresult _result = null; Object[] _records = null; String _cat_cl_codigo = ""; @@ -2761,28 +3929,39 @@ String _valido = ""; double _lat = 0; double _lon = 0; String _k = ""; - //BA.debugLineNum = 1323;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1325;BA.debugLine="If Job.Success = False Then"; +RDebugUtils.currentLine=52494336; + //BA.debugLineNum = 52494336;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=52494338; + //BA.debugLineNum = 52494338;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 1326;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; -__c.LogImpl("815466499","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); +RDebugUtils.currentLine=52494339; + //BA.debugLineNum = 52494339;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; +__c.LogImpl("252494339","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); }else { - //BA.debugLineNum = 1329;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("815466502","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 1330;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494342; + //BA.debugLineNum = 52494342;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("252494342","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=52494343; + //BA.debugLineNum = 52494343;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1331;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1332;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; +RDebugUtils.currentLine=52494344; + //BA.debugLineNum = 52494344;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494345; + //BA.debugLineNum = 52494345;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) { - //BA.debugLineNum = 1333;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; -if (_reqs.IndexOf((Object)("kmt_datos"))>-1) { - //BA.debugLineNum = 1334;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("kmt_datos"))); +RDebugUtils.currentLine=52494346; + //BA.debugLineNum = 52494346;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("kmt_datos"))>-1) { +RDebugUtils.currentLine=52494347; + //BA.debugLineNum = 52494347;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("kmt_datos"))); }; - //BA.debugLineNum = 1337;BA.debugLine="Starter.skmt.BeginTransaction"; +RDebugUtils.currentLine=52494350; + //BA.debugLineNum = 52494350;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1339;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494352; + //BA.debugLineNum = 52494352;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group12 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen12 = group12.getSize() @@ -2790,74 +3969,106 @@ final int groupLen12 = group12.getSize() ; for (; index12 < groupLen12;index12++){ _records = (Object[])(group12.Get(index12)); - //BA.debugLineNum = 1340;BA.debugLine="Dim CAT_CL_CODIGO As String = records(result."; +RDebugUtils.currentLine=52494353; + //BA.debugLineNum = 52494353;BA.debugLine="Dim CAT_CL_CODIGO As String = records(result."; _cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1341;BA.debugLine="Dim CAT_CL_RUTA As String = records(result.Co"; +RDebugUtils.currentLine=52494354; + //BA.debugLineNum = 52494354;BA.debugLine="Dim CAT_CL_RUTA As String = records(result.Co"; _cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]); - //BA.debugLineNum = 1342;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(result."; +RDebugUtils.currentLine=52494355; + //BA.debugLineNum = 52494355;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(result."; _cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]); - //BA.debugLineNum = 1343;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(resul"; +RDebugUtils.currentLine=52494356; + //BA.debugLineNum = 52494356;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(resul"; _cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]); - //BA.debugLineNum = 1344;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(resul"; +RDebugUtils.currentLine=52494357; + //BA.debugLineNum = 52494357;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(resul"; _cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]); - //BA.debugLineNum = 1345;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(resul"; +RDebugUtils.currentLine=52494358; + //BA.debugLineNum = 52494358;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(resul"; _cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]); - //BA.debugLineNum = 1346;BA.debugLine="Dim CAT_CL_EMAIL As String = records(result.C"; +RDebugUtils.currentLine=52494359; + //BA.debugLineNum = 52494359;BA.debugLine="Dim CAT_CL_EMAIL As String = records(result.C"; _cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]); - //BA.debugLineNum = 1347;BA.debugLine="Dim CAT_CL_CALLE As String = records(result.C"; +RDebugUtils.currentLine=52494360; + //BA.debugLineNum = 52494360;BA.debugLine="Dim CAT_CL_CALLE As String = records(result.C"; _cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]); - //BA.debugLineNum = 1348;BA.debugLine="Dim CAT_CL_NOEXT As String = records(result.C"; +RDebugUtils.currentLine=52494361; + //BA.debugLineNum = 52494361;BA.debugLine="Dim CAT_CL_NOEXT As String = records(result.C"; _cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]); - //BA.debugLineNum = 1349;BA.debugLine="Dim CAT_CL_NOINT As String = records(result.C"; +RDebugUtils.currentLine=52494362; + //BA.debugLineNum = 52494362;BA.debugLine="Dim CAT_CL_NOINT As String = records(result.C"; _cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]); - //BA.debugLineNum = 1350;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(result."; +RDebugUtils.currentLine=52494363; + //BA.debugLineNum = 52494363;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(result."; _cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]); - //BA.debugLineNum = 1351;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(result."; +RDebugUtils.currentLine=52494364; + //BA.debugLineNum = 52494364;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(result."; _cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]); - //BA.debugLineNum = 1352;BA.debugLine="Dim CAT_CL_COLONIA As String = records(result"; +RDebugUtils.currentLine=52494365; + //BA.debugLineNum = 52494365;BA.debugLine="Dim CAT_CL_COLONIA As String = records(result"; _cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]); - //BA.debugLineNum = 1353;BA.debugLine="Dim CAT_CL_MUNI As String = records(result.Co"; +RDebugUtils.currentLine=52494366; + //BA.debugLineNum = 52494366;BA.debugLine="Dim CAT_CL_MUNI As String = records(result.Co"; _cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]); - //BA.debugLineNum = 1354;BA.debugLine="Dim CAT_CL_EDO As String = records(result.Col"; +RDebugUtils.currentLine=52494367; + //BA.debugLineNum = 52494367;BA.debugLine="Dim CAT_CL_EDO As String = records(result.Col"; _cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]); - //BA.debugLineNum = 1355;BA.debugLine="Dim CAT_CL_CP As String = records(result.Colu"; +RDebugUtils.currentLine=52494368; + //BA.debugLineNum = 52494368;BA.debugLine="Dim CAT_CL_CP As String = records(result.Colu"; _cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]); - //BA.debugLineNum = 1356;BA.debugLine="Dim CAT_CL_LONG As String = records(result.Co"; +RDebugUtils.currentLine=52494369; + //BA.debugLineNum = 52494369;BA.debugLine="Dim CAT_CL_LONG As String = records(result.Co"; _cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]); - //BA.debugLineNum = 1357;BA.debugLine="Dim CAT_CL_LAT As String = records(result.Col"; +RDebugUtils.currentLine=52494370; + //BA.debugLineNum = 52494370;BA.debugLine="Dim CAT_CL_LAT As String = records(result.Col"; _cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]); - //BA.debugLineNum = 1358;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(resul"; +RDebugUtils.currentLine=52494371; + //BA.debugLineNum = 52494371;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(resul"; _cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]); - //BA.debugLineNum = 1361;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i"; +RDebugUtils.currentLine=52494374; + //BA.debugLineNum = 52494374;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_bcredito)})); } }; - //BA.debugLineNum = 1365;BA.debugLine="Starter.skmt.TransactionSuccessful"; +RDebugUtils.currentLine=52494378; + //BA.debugLineNum = 52494378;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1366;BA.debugLine="Starter.skmt.EndTransaction"; +RDebugUtils.currentLine=52494379; + //BA.debugLineNum = 52494379;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1367;BA.debugLine="Listo1 = 1"; -_listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1368;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1369;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +RDebugUtils.currentLine=52494380; + //BA.debugLineNum = 52494380;BA.debugLine="Listo1 = 1"; +__ref._listo1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=52494381; + //BA.debugLineNum = 52494381;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52494382; + //BA.debugLineNum = 52494382;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1370;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1371;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1372;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); +RDebugUtils.currentLine=52494383; + //BA.debugLineNum = 52494383;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=52494384; + //BA.debugLineNum = 52494384;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494385; + //BA.debugLineNum = 52494385;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1377;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494390; + //BA.debugLineNum = 52494390;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1378;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1379;BA.debugLine="If result.Tag = \"select_abonosp\" Then 'query ta"; +RDebugUtils.currentLine=52494391; + //BA.debugLineNum = 52494391;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494392; + //BA.debugLineNum = 52494392;BA.debugLine="If result.Tag = \"select_abonosp\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("select_abonosp"))) { - //BA.debugLineNum = 1380;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494393; + //BA.debugLineNum = 52494393;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group48 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen48 = group48.getSize() @@ -2865,34 +4076,46 @@ final int groupLen48 = group48.getSize() ; for (; index48 < groupLen48;index48++){ _records = (Object[])(group48.Get(index48)); - //BA.debugLineNum = 1381;BA.debugLine="Dim NOTA As String = records(result.Columns.G"; +RDebugUtils.currentLine=52494394; + //BA.debugLineNum = 52494394;BA.debugLine="Dim NOTA As String = records(result.Columns.G"; _nota = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("NOTA"))))]); - //BA.debugLineNum = 1382;BA.debugLine="Dim CLIENTE As String = records(result.Column"; +RDebugUtils.currentLine=52494395; + //BA.debugLineNum = 52494395;BA.debugLine="Dim CLIENTE As String = records(result.Column"; _cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTE"))))]); - //BA.debugLineNum = 1383;BA.debugLine="Dim SALDO_PENDIENTE As String = records(resul"; +RDebugUtils.currentLine=52494396; + //BA.debugLineNum = 52494396;BA.debugLine="Dim SALDO_PENDIENTE As String = records(resul"; _saldo_pendiente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("SALDO_PENDIENTE"))))]); - //BA.debugLineNum = 1385;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; +RDebugUtils.currentLine=52494398; + //BA.debugLineNum = 52494398;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nota),(Object)(_cliente),(Object)(_saldo_pendiente)})); } }; }; }; - //BA.debugLineNum = 1391;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494404; + //BA.debugLineNum = 52494404;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1392;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1393;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; +RDebugUtils.currentLine=52494405; + //BA.debugLineNum = 52494405;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494406; + //BA.debugLineNum = 52494406;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod3"))) { - //BA.debugLineNum = 1394;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; -if (_reqs.IndexOf((Object)("gunaprod3"))>-1) { - //BA.debugLineNum = 1395;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod3"))); - //BA.debugLineNum = 1396;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("815466569",BA.NumberToString(_reqs.getSize()),0); +RDebugUtils.currentLine=52494407; + //BA.debugLineNum = 52494407;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprod3"))>-1) { +RDebugUtils.currentLine=52494408; + //BA.debugLineNum = 52494408;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprod3"))); +RDebugUtils.currentLine=52494409; + //BA.debugLineNum = 52494409;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("252494409",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); }; - //BA.debugLineNum = 1398;BA.debugLine="Starter.skmt.BeginTransaction"; +RDebugUtils.currentLine=52494411; + //BA.debugLineNum = 52494411;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1399;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494412; + //BA.debugLineNum = 52494412;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group64 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen64 = group64.getSize() @@ -2900,79 +4123,113 @@ final int groupLen64 = group64.getSize() ; for (; index64 < groupLen64;index64++){ _records = (Object[])(group64.Get(index64)); - //BA.debugLineNum = 1400;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +RDebugUtils.currentLine=52494413; + //BA.debugLineNum = 52494413;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 1401;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; +RDebugUtils.currentLine=52494414; + //BA.debugLineNum = 52494414;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 1402;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; +RDebugUtils.currentLine=52494415; + //BA.debugLineNum = 52494415;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 1403;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; +RDebugUtils.currentLine=52494416; + //BA.debugLineNum = 52494416;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 1404;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; +RDebugUtils.currentLine=52494417; + //BA.debugLineNum = 52494417;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 1405;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; +RDebugUtils.currentLine=52494418; + //BA.debugLineNum = 52494418;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 1406;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; +RDebugUtils.currentLine=52494419; + //BA.debugLineNum = 52494419;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 1407;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; +RDebugUtils.currentLine=52494420; + //BA.debugLineNum = 52494420;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 1408;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; +RDebugUtils.currentLine=52494421; + //BA.debugLineNum = 52494421;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 1409;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; +RDebugUtils.currentLine=52494422; + //BA.debugLineNum = 52494422;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 1410;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(result.Co"; +RDebugUtils.currentLine=52494423; + //BA.debugLineNum = 52494423;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(result.Co"; _cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 1412;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(result.C"; +RDebugUtils.currentLine=52494425; + //BA.debugLineNum = 52494425;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(result.C"; _cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 1413;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(result"; +RDebugUtils.currentLine=52494426; + //BA.debugLineNum = 52494426;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(result"; _cat_gp_iniciativa = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_INICIATIVA"))))])); - //BA.debugLineNum = 1414;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result."; +RDebugUtils.currentLine=52494427; + //BA.debugLineNum = 52494427;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result."; _cat_dp_precio4 = (float)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))])); - //BA.debugLineNum = 1415;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(resul"; +RDebugUtils.currentLine=52494428; + //BA.debugLineNum = 52494428;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(resul"; _cat_dp_conversion1 = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CONVERSION1"))))])); - //BA.debugLineNum = 1416;BA.debugLine="Dim CAT_DP_CANT_MIN_VENTA As Int = records(re"; +RDebugUtils.currentLine=52494429; + //BA.debugLineNum = 52494429;BA.debugLine="Dim CAT_DP_CANT_MIN_VENTA As Int = records(re"; _cat_dp_cant_min_venta = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CANT_MIN_VENTA"))))])); - //BA.debugLineNum = 1419;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +RDebugUtils.currentLine=52494432; + //BA.debugLineNum = 52494432;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD3(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_DP_PRECIO4,CAT_DP_CONVERSION1,CAT_DP_CANT_MIN_VENTA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_dp_precio4),(Object)(_cat_dp_conversion1),(Object)(_cat_dp_cant_min_venta)})); } }; - //BA.debugLineNum = 1421;BA.debugLine="Starter.skmt.TransactionSuccessful"; +RDebugUtils.currentLine=52494434; + //BA.debugLineNum = 52494434;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1422;BA.debugLine="Starter.skmt.EndTransaction"; +RDebugUtils.currentLine=52494435; + //BA.debugLineNum = 52494435;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1423;BA.debugLine="Listo2=1"; -_listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1424;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1425;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +RDebugUtils.currentLine=52494436; + //BA.debugLineNum = 52494436;BA.debugLine="Listo2=1"; +__ref._listo2 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=52494437; + //BA.debugLineNum = 52494437;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52494438; + //BA.debugLineNum = 52494438;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1426;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1427;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1428;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); +RDebugUtils.currentLine=52494439; + //BA.debugLineNum = 52494439;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=52494440; + //BA.debugLineNum = 52494440;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494441; + //BA.debugLineNum = 52494441;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1433;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494446; + //BA.debugLineNum = 52494446;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1434;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1435;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; +RDebugUtils.currentLine=52494447; + //BA.debugLineNum = 52494447;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494448; + //BA.debugLineNum = 52494448;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) { - //BA.debugLineNum = 1436;BA.debugLine="Log(\"Entramos a GUNA_PROD<--------------------"; -__c.LogImpl("815466609","Entramos a GUNA_PROD<---------------------------------",0); - //BA.debugLineNum = 1437;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; -if (_reqs.IndexOf((Object)("gunaprod"))>-1) { - //BA.debugLineNum = 1438;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod"))); - //BA.debugLineNum = 1439;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("815466612",BA.NumberToString(_reqs.getSize()),0); +RDebugUtils.currentLine=52494449; + //BA.debugLineNum = 52494449;BA.debugLine="Log(\"Entramos a GUNA_PROD<--------------------"; +__c.LogImpl("252494449","Entramos a GUNA_PROD<---------------------------------",0); +RDebugUtils.currentLine=52494450; + //BA.debugLineNum = 52494450;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprod"))>-1) { +RDebugUtils.currentLine=52494451; + //BA.debugLineNum = 52494451;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprod"))); +RDebugUtils.currentLine=52494452; + //BA.debugLineNum = 52494452;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("252494452",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); }; - //BA.debugLineNum = 1441;BA.debugLine="Starter.skmt.BeginTransaction"; +RDebugUtils.currentLine=52494454; + //BA.debugLineNum = 52494454;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1442;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494455; + //BA.debugLineNum = 52494455;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group103 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen103 = group103.getSize() @@ -2980,69 +4237,98 @@ final int groupLen103 = group103.getSize() ; for (; index103 < groupLen103;index103++){ _records = (Object[])(group103.Get(index103)); - //BA.debugLineNum = 1443;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +RDebugUtils.currentLine=52494456; + //BA.debugLineNum = 52494456;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ID"))))]); - //BA.debugLineNum = 1444;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; +RDebugUtils.currentLine=52494457; + //BA.debugLineNum = 52494457;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_NOMBRE"))))]); - //BA.debugLineNum = 1445;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; +RDebugUtils.currentLine=52494458; + //BA.debugLineNum = 52494458;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IMP1"))))]); - //BA.debugLineNum = 1446;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; +RDebugUtils.currentLine=52494459; + //BA.debugLineNum = 52494459;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IMP2"))))]); - //BA.debugLineNum = 1447;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; +RDebugUtils.currentLine=52494460; + //BA.debugLineNum = 52494460;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO"))))]); - //BA.debugLineNum = 1448;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; +RDebugUtils.currentLine=52494461; + //BA.debugLineNum = 52494461;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CLASIF"))))]); - //BA.debugLineNum = 1449;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; +RDebugUtils.currentLine=52494462; + //BA.debugLineNum = 52494462;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_STS"))))]); - //BA.debugLineNum = 1450;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; +RDebugUtils.currentLine=52494463; + //BA.debugLineNum = 52494463;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_TIPO"))))]); - //BA.debugLineNum = 1451;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; +RDebugUtils.currentLine=52494464; + //BA.debugLineNum = 52494464;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_SUBTIPO"))))]); - //BA.debugLineNum = 1452;BA.debugLine="Dim CONVERSION As String = 0'records(result.C"; +RDebugUtils.currentLine=52494465; + //BA.debugLineNum = 52494465;BA.debugLine="Dim CONVERSION As String = 0'records(result.C"; _conversion = BA.NumberToString(0); - //BA.debugLineNum = 1453;BA.debugLine="Dim PRECIOCONVER As String = 0' records(resul"; +RDebugUtils.currentLine=52494466; + //BA.debugLineNum = 52494466;BA.debugLine="Dim PRECIOCONVER As String = 0' records(resul"; _precioconver = BA.NumberToString(0); - //BA.debugLineNum = 1454;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; +RDebugUtils.currentLine=52494467; + //BA.debugLineNum = 52494467;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IMG"))))]); - //BA.debugLineNum = 1459;BA.debugLine="Log(CAT_GP_NOMBRE & \"<-----------------------"; -__c.LogImpl("815466632",_cat_gp_nombre+"<-------------------------------------",0); - //BA.debugLineNum = 1460;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +RDebugUtils.currentLine=52494472; + //BA.debugLineNum = 52494472;BA.debugLine="Log(CAT_GP_NOMBRE & \"<-----------------------"; +__c.LogImpl("252494472",_cat_gp_nombre+"<-------------------------------------",0); +RDebugUtils.currentLine=52494473; + //BA.debugLineNum = 52494473;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CONVERSION,PRECIOCONVER) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(0),(Object)(_conversion),(Object)(_precioconver)})); } }; - //BA.debugLineNum = 1462;BA.debugLine="Starter.skmt.TransactionSuccessful"; +RDebugUtils.currentLine=52494475; + //BA.debugLineNum = 52494475;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1463;BA.debugLine="Starter.skmt.EndTransaction"; +RDebugUtils.currentLine=52494476; + //BA.debugLineNum = 52494476;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1464;BA.debugLine="Listo2=1"; -_listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1465;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1466;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +RDebugUtils.currentLine=52494477; + //BA.debugLineNum = 52494477;BA.debugLine="Listo2=1"; +__ref._listo2 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=52494478; + //BA.debugLineNum = 52494478;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52494479; + //BA.debugLineNum = 52494479;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1467;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1468;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1469;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); +RDebugUtils.currentLine=52494480; + //BA.debugLineNum = 52494480;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=52494481; + //BA.debugLineNum = 52494481;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494482; + //BA.debugLineNum = 52494482;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1474;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494487; + //BA.debugLineNum = 52494487;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1475;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1476;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; +RDebugUtils.currentLine=52494488; + //BA.debugLineNum = 52494488;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494489; + //BA.debugLineNum = 52494489;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { - //BA.debugLineNum = 1477;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; -if (_reqs.IndexOf((Object)("gunaprodp"))>-1) { - //BA.debugLineNum = 1478;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprodp"))); - //BA.debugLineNum = 1479;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("815466652",BA.NumberToString(_reqs.getSize()),0); +RDebugUtils.currentLine=52494490; + //BA.debugLineNum = 52494490;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprodp"))>-1) { +RDebugUtils.currentLine=52494491; + //BA.debugLineNum = 52494491;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprodp"))); +RDebugUtils.currentLine=52494492; + //BA.debugLineNum = 52494492;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("252494492",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); }; - //BA.debugLineNum = 1481;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494494; + //BA.debugLineNum = 52494494;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group137 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen137 = group137.getSize() @@ -3050,68 +4336,100 @@ final int groupLen137 = group137.getSize() ; for (; index137 < groupLen137;index137++){ _records = (Object[])(group137.Get(index137)); - //BA.debugLineNum = 1482;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +RDebugUtils.currentLine=52494495; + //BA.debugLineNum = 52494495;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 1483;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; +RDebugUtils.currentLine=52494496; + //BA.debugLineNum = 52494496;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 1484;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; +RDebugUtils.currentLine=52494497; + //BA.debugLineNum = 52494497;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 1485;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; +RDebugUtils.currentLine=52494498; + //BA.debugLineNum = 52494498;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 1486;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; +RDebugUtils.currentLine=52494499; + //BA.debugLineNum = 52494499;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 1487;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; +RDebugUtils.currentLine=52494500; + //BA.debugLineNum = 52494500;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 1488;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; +RDebugUtils.currentLine=52494501; + //BA.debugLineNum = 52494501;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 1489;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; +RDebugUtils.currentLine=52494502; + //BA.debugLineNum = 52494502;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 1490;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; +RDebugUtils.currentLine=52494503; + //BA.debugLineNum = 52494503;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 1491;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; +RDebugUtils.currentLine=52494504; + //BA.debugLineNum = 52494504;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 1494;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +RDebugUtils.currentLine=52494507; + //BA.debugLineNum = 52494507;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(0)})); } }; - //BA.debugLineNum = 1496;BA.debugLine="Listo4=1"; -_listo4 = BA.NumberToString(1); - //BA.debugLineNum = 1497;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1498;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +RDebugUtils.currentLine=52494509; + //BA.debugLineNum = 52494509;BA.debugLine="Listo4=1"; +__ref._listo4 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=52494510; + //BA.debugLineNum = 52494510;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52494511; + //BA.debugLineNum = 52494511;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1499;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1500;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1501;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1503;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +RDebugUtils.currentLine=52494512; + //BA.debugLineNum = 52494512;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=52494513; + //BA.debugLineNum = 52494513;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494514; + //BA.debugLineNum = 52494514;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=52494515; + //BA.debugLineNum = 52494515;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +if ((__ref._listo4 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._inve /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52494516; + //BA.debugLineNum = 52494516;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1504;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1505;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1506;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); +RDebugUtils.currentLine=52494517; + //BA.debugLineNum = 52494517;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=52494518; + //BA.debugLineNum = 52494518;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494519; + //BA.debugLineNum = 52494519;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; }; }; - }; - //BA.debugLineNum = 1511;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494524; + //BA.debugLineNum = 52494524;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1512;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1513;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; +RDebugUtils.currentLine=52494525; + //BA.debugLineNum = 52494525;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494526; + //BA.debugLineNum = 52494526;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { - //BA.debugLineNum = 1514;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; -if (_reqs.IndexOf((Object)("detallepaq"))>-1) { - //BA.debugLineNum = 1515;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("detallepaq"))); - //BA.debugLineNum = 1516;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("815466689",BA.NumberToString(_reqs.getSize()),0); +RDebugUtils.currentLine=52494527; + //BA.debugLineNum = 52494527;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("detallepaq"))>-1) { +RDebugUtils.currentLine=52494528; + //BA.debugLineNum = 52494528;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("detallepaq"))); +RDebugUtils.currentLine=52494529; + //BA.debugLineNum = 52494529;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("252494529",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); }; - //BA.debugLineNum = 1518;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494531; + //BA.debugLineNum = 52494531;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group171 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen171 = group171.getSize() @@ -3119,63 +4437,93 @@ final int groupLen171 = group171.getSize() ; for (; index171 < groupLen171;index171++){ _records = (Object[])(group171.Get(index171)); - //BA.debugLineNum = 1519;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(resul"; +RDebugUtils.currentLine=52494532; + //BA.debugLineNum = 52494532;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(resul"; _cat_dp_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ALMACEN"))))]); - //BA.debugLineNum = 1520;BA.debugLine="Dim CAT_DP_ID As String = records(result.Colu"; +RDebugUtils.currentLine=52494533; + //BA.debugLineNum = 52494533;BA.debugLine="Dim CAT_DP_ID As String = records(result.Colu"; _cat_dp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ID"))))]); - //BA.debugLineNum = 1521;BA.debugLine="Dim CAT_DP_IDPROD As String = records(result."; +RDebugUtils.currentLine=52494534; + //BA.debugLineNum = 52494534;BA.debugLine="Dim CAT_DP_IDPROD As String = records(result."; _cat_dp_idprod = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IDPROD"))))]); - //BA.debugLineNum = 1522;BA.debugLine="Dim CAT_DP_TIPO As String = records(result.Co"; +RDebugUtils.currentLine=52494535; + //BA.debugLineNum = 52494535;BA.debugLine="Dim CAT_DP_TIPO As String = records(result.Co"; _cat_dp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_TIPO"))))]); - //BA.debugLineNum = 1523;BA.debugLine="Dim CAT_DP_PZAS As String = records(result.Co"; +RDebugUtils.currentLine=52494536; + //BA.debugLineNum = 52494536;BA.debugLine="Dim CAT_DP_PZAS As String = records(result.Co"; _cat_dp_pzas = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PZAS"))))]); - //BA.debugLineNum = 1524;BA.debugLine="Dim CAT_DP_USUARIO As String = records(resul"; +RDebugUtils.currentLine=52494537; + //BA.debugLineNum = 52494537;BA.debugLine="Dim CAT_DP_USUARIO As String = records(resul"; _cat_dp_usuario = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_USUARIO"))))]); - //BA.debugLineNum = 1525;BA.debugLine="Dim CAT_DP_FECHA As String = records(result.C"; +RDebugUtils.currentLine=52494538; + //BA.debugLineNum = 52494538;BA.debugLine="Dim CAT_DP_FECHA As String = records(result.C"; _cat_dp_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_FECHA"))))]); - //BA.debugLineNum = 1526;BA.debugLine="Dim CAT_DP_REGALO As String = records(result"; +RDebugUtils.currentLine=52494539; + //BA.debugLineNum = 52494539;BA.debugLine="Dim CAT_DP_REGALO As String = records(result"; _cat_dp_regalo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_REGALO"))))]); - //BA.debugLineNum = 1527;BA.debugLine="Dim CAT_DP_CLASIF As String = records(result"; +RDebugUtils.currentLine=52494540; + //BA.debugLineNum = 52494540;BA.debugLine="Dim CAT_DP_CLASIF As String = records(result"; _cat_dp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CLASIF"))))]); - //BA.debugLineNum = 1528;BA.debugLine="Dim CAT_DP_PRECIO As String = records(result."; +RDebugUtils.currentLine=52494541; + //BA.debugLineNum = 52494541;BA.debugLine="Dim CAT_DP_PRECIO As String = records(result."; _cat_dp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO"))))]); - //BA.debugLineNum = 1529;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; +RDebugUtils.currentLine=52494542; + //BA.debugLineNum = 52494542;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; _cat_dp_precio_simptos = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO_SIMPTOS"))))]); - //BA.debugLineNum = 1531;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D"; +RDebugUtils.currentLine=52494544; + //BA.debugLineNum = 52494544;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_dp_almacen),(Object)(_cat_dp_id),(Object)(_cat_dp_idprod),(Object)(_cat_dp_tipo),(Object)(_cat_dp_pzas),(Object)(_cat_dp_usuario),(Object)(_cat_dp_fecha),(Object)(_cat_dp_regalo),(Object)(_cat_dp_clasif),(Object)(_cat_dp_precio),(Object)(_cat_dp_precio_simptos)})); } }; - //BA.debugLineNum = 1533;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1534;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1535;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +RDebugUtils.currentLine=52494546; + //BA.debugLineNum = 52494546;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=52494547; + //BA.debugLineNum = 52494547;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52494548; + //BA.debugLineNum = 52494548;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1536;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1537;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1538;BA.debugLine="EJECUTANDO = 0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1540;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +RDebugUtils.currentLine=52494549; + //BA.debugLineNum = 52494549;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=52494550; + //BA.debugLineNum = 52494550;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494551; + //BA.debugLineNum = 52494551;BA.debugLine="EJECUTANDO = 0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=52494552; + //BA.debugLineNum = 52494552;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +if ((__ref._listo4 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._inve /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52494553; + //BA.debugLineNum = 52494553;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1541;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1542;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1543;BA.debugLine="EJECUTANDO = 0"; -_ejecutando = BA.NumberToString(0); +RDebugUtils.currentLine=52494554; + //BA.debugLineNum = 52494554;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=52494555; + //BA.debugLineNum = 52494555;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494556; + //BA.debugLineNum = 52494556;BA.debugLine="EJECUTANDO = 0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; }; }; - }; - //BA.debugLineNum = 1548;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494561; + //BA.debugLineNum = 52494561;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1549;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1550;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; +RDebugUtils.currentLine=52494562; + //BA.debugLineNum = 52494562;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494563; + //BA.debugLineNum = 52494563;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { - //BA.debugLineNum = 1551;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494564; + //BA.debugLineNum = 52494564;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group202 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen202 = group202.getSize() @@ -3183,41 +4531,55 @@ final int groupLen202 = group202.getSize() ; for (; index202 < groupLen202;index202++){ _records = (Object[])(group202.Get(index202)); - //BA.debugLineNum = 1552;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +RDebugUtils.currentLine=52494565; + //BA.debugLineNum = 52494565;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; _hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); - //BA.debugLineNum = 1553;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +RDebugUtils.currentLine=52494566; + //BA.debugLineNum = 52494566;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 1555;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +RDebugUtils.currentLine=52494568; + //BA.debugLineNum = 52494568;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; __c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 1557;BA.debugLine="envioinfo"; -_envioinfo(); +RDebugUtils.currentLine=52494570; + //BA.debugLineNum = 52494570;BA.debugLine="envioinfo"; +__ref._envioinfo /*String*/ (null); }; } }; }; }; - //BA.debugLineNum = 1563;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494576; + //BA.debugLineNum = 52494576;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1564;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1565;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; +RDebugUtils.currentLine=52494577; + //BA.debugLineNum = 52494577;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494578; + //BA.debugLineNum = 52494578;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("punteo"))) { - //BA.debugLineNum = 1566;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; -if (_reqs.IndexOf((Object)("punteo"))>-1) { - //BA.debugLineNum = 1567;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); +RDebugUtils.currentLine=52494579; + //BA.debugLineNum = 52494579;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("punteo"))>-1) { +RDebugUtils.currentLine=52494580; + //BA.debugLineNum = 52494580;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("punteo"))); }; - //BA.debugLineNum = 1570;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; -if (_reqs.IndexOf((Object)("punteo"))>0) { - //BA.debugLineNum = 1571;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); - //BA.debugLineNum = 1572;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("815466745",BA.NumberToString(_reqs.getSize()),0); +RDebugUtils.currentLine=52494583; + //BA.debugLineNum = 52494583;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("punteo"))>0) { +RDebugUtils.currentLine=52494584; + //BA.debugLineNum = 52494584;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("punteo"))); +RDebugUtils.currentLine=52494585; + //BA.debugLineNum = 52494585;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("252494585",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); }; - //BA.debugLineNum = 1574;BA.debugLine="Starter.skmt.BeginTransaction"; +RDebugUtils.currentLine=52494587; + //BA.debugLineNum = 52494587;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1575;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494588; + //BA.debugLineNum = 52494588;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group223 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen223 = group223.getSize() @@ -3225,42 +4587,58 @@ final int groupLen223 = group223.getSize() ; for (; index223 < groupLen223;index223++){ _records = (Object[])(group223.Get(index223)); - //BA.debugLineNum = 1576;BA.debugLine="Dim HV_CLIENTE As String = records(result.Col"; +RDebugUtils.currentLine=52494589; + //BA.debugLineNum = 52494589;BA.debugLine="Dim HV_CLIENTE As String = records(result.Col"; _hv_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_CLIENTE"))))]); - //BA.debugLineNum = 1577;BA.debugLine="Dim HV_LONG As String = records(result.Column"; +RDebugUtils.currentLine=52494590; + //BA.debugLineNum = 52494590;BA.debugLine="Dim HV_LONG As String = records(result.Column"; _hv_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_LONG"))))]); - //BA.debugLineNum = 1578;BA.debugLine="Dim HV_LAT As String = records(result.Columns"; +RDebugUtils.currentLine=52494591; + //BA.debugLineNum = 52494591;BA.debugLine="Dim HV_LAT As String = records(result.Columns"; _hv_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_LAT"))))]); - //BA.debugLineNum = 1580;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PUNTE"; +RDebugUtils.currentLine=52494593; + //BA.debugLineNum = 52494593;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PUNTE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PUNTEO_GPS(HV_CLIENTE, HV_LONG, HV_LAT) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hv_cliente),(Object)(_hv_long),(Object)(_hv_lat)})); } }; - //BA.debugLineNum = 1582;BA.debugLine="Starter.skmt.TransactionSuccessful"; +RDebugUtils.currentLine=52494595; + //BA.debugLineNum = 52494595;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1583;BA.debugLine="Starter.skmt.EndTransaction"; +RDebugUtils.currentLine=52494596; + //BA.debugLineNum = 52494596;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); }; }; - //BA.debugLineNum = 1587;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494600; + //BA.debugLineNum = 52494600;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1588;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1589;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; +RDebugUtils.currentLine=52494601; + //BA.debugLineNum = 52494601;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494602; + //BA.debugLineNum = 52494602;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { - //BA.debugLineNum = 1590;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; -if (_reqs.IndexOf((Object)("hist_datos"))>-1) { - //BA.debugLineNum = 1591;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("hist_datos"))); +RDebugUtils.currentLine=52494603; + //BA.debugLineNum = 52494603;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("hist_datos"))>-1) { +RDebugUtils.currentLine=52494604; + //BA.debugLineNum = 52494604;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("hist_datos"))); }; - //BA.debugLineNum = 1594;BA.debugLine="Log(l_ruta.text)"; -__c.LogImpl("815466767",_l_ruta.getText(),0); - //BA.debugLineNum = 1595;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows."; -__c.LogImpl("815466768",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); - //BA.debugLineNum = 1596;BA.debugLine="Starter.skmt.BeginTransaction"; +RDebugUtils.currentLine=52494607; + //BA.debugLineNum = 52494607;BA.debugLine="Log(l_ruta.text)"; +__c.LogImpl("252494607",__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),0); +RDebugUtils.currentLine=52494608; + //BA.debugLineNum = 52494608;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows."; +__c.LogImpl("252494608",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); +RDebugUtils.currentLine=52494609; + //BA.debugLineNum = 52494609;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1597;BA.debugLine="Dim consecutivo As Int= 0"; +RDebugUtils.currentLine=52494610; + //BA.debugLineNum = 52494610;BA.debugLine="Dim consecutivo As Int= 0"; _consecutivo = (int) (0); - //BA.debugLineNum = 1598;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494611; + //BA.debugLineNum = 52494611;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group243 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen243 = group243.getSize() @@ -3268,84 +4646,119 @@ final int groupLen243 = group243.getSize() ; for (; index243 < groupLen243;index243++){ _records = (Object[])(group243.Get(index243)); - //BA.debugLineNum = 1599;BA.debugLine="Dim HVD_CLIENTE As String = records(result.Co"; +RDebugUtils.currentLine=52494612; + //BA.debugLineNum = 52494612;BA.debugLine="Dim HVD_CLIENTE As String = records(result.Co"; _hvd_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]); - //BA.debugLineNum = 1600;BA.debugLine="Dim HVD_PRONOMBRE As String = records(result."; +RDebugUtils.currentLine=52494613; + //BA.debugLineNum = 52494613;BA.debugLine="Dim HVD_PRONOMBRE As String = records(result."; _hvd_pronombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PRONOMBRE"))))]); - //BA.debugLineNum = 1601;BA.debugLine="Dim HVD_CANT As String = records(result.Colum"; +RDebugUtils.currentLine=52494614; + //BA.debugLineNum = 52494614;BA.debugLine="Dim HVD_CANT As String = records(result.Colum"; _hvd_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANT"))))]); - //BA.debugLineNum = 1602;BA.debugLine="Dim HVD_COSTO_TOT As String = records(result."; +RDebugUtils.currentLine=52494615; + //BA.debugLineNum = 52494615;BA.debugLine="Dim HVD_COSTO_TOT As String = records(result."; _hvd_costo_tot = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_COSTO_TOT"))))]); - //BA.debugLineNum = 1603;BA.debugLine="Dim HVD_FECHA As String = records(result.Colu"; +RDebugUtils.currentLine=52494616; + //BA.debugLineNum = 52494616;BA.debugLine="Dim HVD_FECHA As String = records(result.Colu"; _hvd_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_FECHA"))))]); - //BA.debugLineNum = 1604;BA.debugLine="Dim HVD_CODPROMO As String = records(result.C"; +RDebugUtils.currentLine=52494617; + //BA.debugLineNum = 52494617;BA.debugLine="Dim HVD_CODPROMO As String = records(result.C"; _hvd_codpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CODPROMO"))))]); - //BA.debugLineNum = 1605;BA.debugLine="Dim HVD_PROID As String = records(result.Colu"; +RDebugUtils.currentLine=52494618; + //BA.debugLineNum = 52494618;BA.debugLine="Dim HVD_PROID As String = records(result.Colu"; _hvd_proid = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PROID"))))]); - //BA.debugLineNum = 1606;BA.debugLine="Dim HVD_NUM_TICKET As String = records(result"; +RDebugUtils.currentLine=52494619; + //BA.debugLineNum = 52494619;BA.debugLine="Dim HVD_NUM_TICKET As String = records(result"; _hvd_num_ticket = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_TICKET"))))]); - //BA.debugLineNum = 1607;BA.debugLine="Dim HVD_NUM_REGISTRO As String = records(resu"; +RDebugUtils.currentLine=52494620; + //BA.debugLineNum = 52494620;BA.debugLine="Dim HVD_NUM_REGISTRO As String = records(resu"; _hvd_num_registro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_REGISTRO"))))]); - //BA.debugLineNum = 1608;BA.debugLine="Dim HVD_RECHAZO As String = records(result.Co"; +RDebugUtils.currentLine=52494621; + //BA.debugLineNum = 52494621;BA.debugLine="Dim HVD_RECHAZO As String = records(result.Co"; _hvd_rechazo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_RECHAZO"))))]); - //BA.debugLineNum = 1610;BA.debugLine="Dim bcajas As String = 0 ' records(result.Col"; +RDebugUtils.currentLine=52494623; + //BA.debugLineNum = 52494623;BA.debugLine="Dim bcajas As String = 0 ' records(result.Col"; _bcajas = BA.NumberToString(0); - //BA.debugLineNum = 1611;BA.debugLine="Dim cantc As String = 0 'records(result.Colum"; +RDebugUtils.currentLine=52494624; + //BA.debugLineNum = 52494624;BA.debugLine="Dim cantc As String = 0 'records(result.Colum"; _cantc = BA.NumberToString(0); - //BA.debugLineNum = 1613;BA.debugLine="consecutivo = consecutivo +1"; +RDebugUtils.currentLine=52494626; + //BA.debugLineNum = 52494626;BA.debugLine="consecutivo = consecutivo +1"; _consecutivo = (int) (_consecutivo+1); - //BA.debugLineNum = 1614;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1615;BA.debugLine="Log(\"No hay ruta, guardamos todos\")"; -__c.LogImpl("815466788","No hay ruta, guardamos todos",0); - //BA.debugLineNum = 1616;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; +RDebugUtils.currentLine=52494627; + //BA.debugLineNum = 52494627;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=52494628; + //BA.debugLineNum = 52494628;BA.debugLine="Log(\"No hay ruta, guardamos todos\")"; +__c.LogImpl("252494628","No hay ruta, guardamos todos",0); +RDebugUtils.currentLine=52494629; + //BA.debugLineNum = 52494629;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc)})); - //BA.debugLineNum = 1617;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; +RDebugUtils.currentLine=52494630; + //BA.debugLineNum = 52494630;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo)})); }else { - //BA.debugLineNum = 1620;BA.debugLine="Private tc As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=52494633; + //BA.debugLineNum = 52494633;BA.debugLine="Private tc As Cursor = Starter.skmt.ExecQuer"; _tc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _tc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CLIENTE from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+"' and HVD_PROID = '"+__c.SmartStringFormatter("",(Object)(_hvd_proid))+"'")))); - //BA.debugLineNum = 1621;BA.debugLine="If tc.RowCount = 0 Then"; +RDebugUtils.currentLine=52494634; + //BA.debugLineNum = 52494634;BA.debugLine="If tc.RowCount = 0 Then"; if (_tc.getRowCount()==0) { - //BA.debugLineNum = 1622;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)"; -__c.LogImpl("815466795",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0); - //BA.debugLineNum = 1623;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; +RDebugUtils.currentLine=52494635; + //BA.debugLineNum = 52494635;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)"; +__c.LogImpl("252494635",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0); +RDebugUtils.currentLine=52494636; + //BA.debugLineNum = 52494636;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc)})); - //BA.debugLineNum = 1624;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; +RDebugUtils.currentLine=52494637; + //BA.debugLineNum = 52494637;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo)})); }; }; } }; - //BA.debugLineNum = 1628;BA.debugLine="Starter.skmt.TransactionSuccessful"; +RDebugUtils.currentLine=52494641; + //BA.debugLineNum = 52494641;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1629;BA.debugLine="Starter.skmt.EndTransaction"; +RDebugUtils.currentLine=52494642; + //BA.debugLineNum = 52494642;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1630;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows."; -__c.LogImpl("815466803",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); - //BA.debugLineNum = 1644;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1645;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1646;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +RDebugUtils.currentLine=52494643; + //BA.debugLineNum = 52494643;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows."; +__c.LogImpl("252494643",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); +RDebugUtils.currentLine=52494657; + //BA.debugLineNum = 52494657;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=52494658; + //BA.debugLineNum = 52494658;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52494659; + //BA.debugLineNum = 52494659;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1647;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1648;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1649;BA.debugLine="EJECUTANDO = 0"; -_ejecutando = BA.NumberToString(0); +RDebugUtils.currentLine=52494660; + //BA.debugLineNum = 52494660;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=52494661; + //BA.debugLineNum = 52494661;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494662; + //BA.debugLineNum = 52494662;BA.debugLine="EJECUTANDO = 0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1654;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494667; + //BA.debugLineNum = 52494667;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1655;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1656;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; +RDebugUtils.currentLine=52494668; + //BA.debugLineNum = 52494668;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494669; + //BA.debugLineNum = 52494669;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { - //BA.debugLineNum = 1657;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494670; + //BA.debugLineNum = 52494670;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group285 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen285 = group285.getSize() @@ -3353,23 +4766,30 @@ final int groupLen285 = group285.getSize() ; for (; index285 < groupLen285;index285++){ _records = (Object[])(group285.Get(index285)); - //BA.debugLineNum = 1658;BA.debugLine="Dim Cat_Va_Descripcion As String = records(re"; +RDebugUtils.currentLine=52494671; + //BA.debugLineNum = 52494671;BA.debugLine="Dim Cat_Va_Descripcion As String = records(re"; _cat_va_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_DESCRIPCION"))))]); - //BA.debugLineNum = 1659;BA.debugLine="Dim Cat_Va_Valor As String = records(result.C"; +RDebugUtils.currentLine=52494672; + //BA.debugLineNum = 52494672;BA.debugLine="Dim Cat_Va_Valor As String = records(result.C"; _cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_VALOR"))))]); - //BA.debugLineNum = 1661;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +RDebugUtils.currentLine=52494674; + //BA.debugLineNum = 52494674;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_va_descripcion),(Object)(_cat_va_valor)})); } }; }; }; - //BA.debugLineNum = 1667;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494680; + //BA.debugLineNum = 52494680;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1668;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1669;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; +RDebugUtils.currentLine=52494681; + //BA.debugLineNum = 52494681;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494682; + //BA.debugLineNum = 52494682;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("PAGARES"))) { - //BA.debugLineNum = 1670;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494683; + //BA.debugLineNum = 52494683;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group295 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen295 = group295.getSize() @@ -3377,23 +4797,30 @@ final int groupLen295 = group295.getSize() ; for (; index295 < groupLen295;index295++){ _records = (Object[])(group295.Get(index295)); - //BA.debugLineNum = 1672;BA.debugLine="Dim TMP_MONTO_PAGARE As String = records(resu"; +RDebugUtils.currentLine=52494685; + //BA.debugLineNum = 52494685;BA.debugLine="Dim TMP_MONTO_PAGARE As String = records(resu"; _tmp_monto_pagare = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_MONTO_PAGARE"))))]); - //BA.debugLineNum = 1673;BA.debugLine="Dim TMP_CLIENTE As String = records(result.Co"; +RDebugUtils.currentLine=52494686; + //BA.debugLineNum = 52494686;BA.debugLine="Dim TMP_CLIENTE As String = records(result.Co"; _tmp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_CLIENTE"))))]); - //BA.debugLineNum = 1675;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGAR"; +RDebugUtils.currentLine=52494688; + //BA.debugLineNum = 52494688;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGAR"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES(TMP_MONTO_PAGARE, TMP_CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_tmp_monto_pagare),(Object)(_tmp_cliente)})); } }; }; }; - //BA.debugLineNum = 1680;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494693; + //BA.debugLineNum = 52494693;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1681;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1682;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; +RDebugUtils.currentLine=52494694; + //BA.debugLineNum = 52494694;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494695; + //BA.debugLineNum = 52494695;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { - //BA.debugLineNum = 1683;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494696; + //BA.debugLineNum = 52494696;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group305 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen305 = group305.getSize() @@ -3401,27 +4828,35 @@ final int groupLen305 = group305.getSize() ; for (; index305 < groupLen305;index305++){ _records = (Object[])(group305.Get(index305)); - //BA.debugLineNum = 1684;BA.debugLine="Dim CUANTOSP As Int = records(result.Columns."; +RDebugUtils.currentLine=52494697; + //BA.debugLineNum = 52494697;BA.debugLine="Dim CUANTOSP As Int = records(result.Columns."; _cuantosp = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSP"))))])); - //BA.debugLineNum = 1685;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; -if ((_cuantos_pedido).equals(BA.NumberToString(_cuantosp))) { - //BA.debugLineNum = 1687;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; +RDebugUtils.currentLine=52494698; + //BA.debugLineNum = 52494698;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; +if ((__ref._cuantos_pedido /*String*/ ).equals(BA.NumberToString(_cuantosp))) { +RDebugUtils.currentLine=52494700; + //BA.debugLineNum = 52494700;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; }else { - //BA.debugLineNum = 1689;BA.debugLine="ToastMessageShow(\"No se cargo bien la info P"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+_cuantos_pedido),__c.True); +RDebugUtils.currentLine=52494702; + //BA.debugLineNum = 52494702;BA.debugLine="ToastMessageShow(\"No se cargo bien la info P"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+__ref._cuantos_pedido /*String*/ ),__c.True); }; } }; }; }; - //BA.debugLineNum = 1697;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494710; + //BA.debugLineNum = 52494710;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1698;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1699;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; +RDebugUtils.currentLine=52494711; + //BA.debugLineNum = 52494711;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494712; + //BA.debugLineNum = 52494712;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { - //BA.debugLineNum = 1700;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494713; + //BA.debugLineNum = 52494713;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group318 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen318 = group318.getSize() @@ -3429,27 +4864,35 @@ final int groupLen318 = group318.getSize() ; for (; index318 < groupLen318;index318++){ _records = (Object[])(group318.Get(index318)); - //BA.debugLineNum = 1701;BA.debugLine="Dim CUANTOSC As Int = records(result.Columns."; +RDebugUtils.currentLine=52494714; + //BA.debugLineNum = 52494714;BA.debugLine="Dim CUANTOSC As Int = records(result.Columns."; _cuantosc = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSC"))))])); - //BA.debugLineNum = 1702;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; -if ((_cuantos_pedidosc).equals(BA.NumberToString(_cuantosc))) { - //BA.debugLineNum = 1704;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; +RDebugUtils.currentLine=52494715; + //BA.debugLineNum = 52494715;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; +if ((__ref._cuantos_pedidosc /*String*/ ).equals(BA.NumberToString(_cuantosc))) { +RDebugUtils.currentLine=52494717; + //BA.debugLineNum = 52494717;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; }else { - //BA.debugLineNum = 1706;BA.debugLine="ToastMessageShow(\"No se cargo bien la info C"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+_cuantos_pedidosc),__c.True); +RDebugUtils.currentLine=52494719; + //BA.debugLineNum = 52494719;BA.debugLine="ToastMessageShow(\"No se cargo bien la info C"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+__ref._cuantos_pedidosc /*String*/ ),__c.True); }; } }; }; }; - //BA.debugLineNum = 1712;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494725; + //BA.debugLineNum = 52494725;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1713;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1714;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; +RDebugUtils.currentLine=52494726; + //BA.debugLineNum = 52494726;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494727; + //BA.debugLineNum = 52494727;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { - //BA.debugLineNum = 1715;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494728; + //BA.debugLineNum = 52494728;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group331 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen331 = group331.getSize() @@ -3457,37 +4900,49 @@ final int groupLen331 = group331.getSize() ; for (; index331 < groupLen331;index331++){ _records = (Object[])(group331.Get(index331)); - //BA.debugLineNum = 1716;BA.debugLine="Dim CUANTOSN As Int = records(result.Columns."; +RDebugUtils.currentLine=52494729; + //BA.debugLineNum = 52494729;BA.debugLine="Dim CUANTOSN As Int = records(result.Columns."; _cuantosn = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSN"))))])); - //BA.debugLineNum = 1717;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; -if ((_cuantos_noventa).equals(BA.NumberToString(_cuantosn))) { - //BA.debugLineNum = 1719;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; +RDebugUtils.currentLine=52494730; + //BA.debugLineNum = 52494730;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; +if ((__ref._cuantos_noventa /*String*/ ).equals(BA.NumberToString(_cuantosn))) { +RDebugUtils.currentLine=52494732; + //BA.debugLineNum = 52494732;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; }else { - //BA.debugLineNum = 1721;BA.debugLine="ToastMessageShow(\"No se cargo bien la info N"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+_cuantos_noventa),__c.True); +RDebugUtils.currentLine=52494734; + //BA.debugLineNum = 52494734;BA.debugLine="ToastMessageShow(\"No se cargo bien la info N"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+__ref._cuantos_noventa /*String*/ ),__c.True); }; } }; }; }; - //BA.debugLineNum = 1727;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494740; + //BA.debugLineNum = 52494740;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1728;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1729;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; +RDebugUtils.currentLine=52494741; + //BA.debugLineNum = 52494741;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494742; + //BA.debugLineNum = 52494742;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("insert_pedido"))) { - //BA.debugLineNum = 1730;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; +RDebugUtils.currentLine=52494743; + //BA.debugLineNum = 52494743;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); }; }; - //BA.debugLineNum = 1734;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494747; + //BA.debugLineNum = 52494747;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1735;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1736;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +RDebugUtils.currentLine=52494748; + //BA.debugLineNum = 52494748;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494749; + //BA.debugLineNum = 52494749;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 1737;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494750; + //BA.debugLineNum = 52494750;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group350 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen350 = group350.getSize() @@ -3495,23 +4950,30 @@ final int groupLen350 = group350.getSize() ; for (; index350 < groupLen350;index350++){ _records = (Object[])(group350.Get(index350)); - //BA.debugLineNum = 1738;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; +RDebugUtils.currentLine=52494751; + //BA.debugLineNum = 52494751;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 1739;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; +RDebugUtils.currentLine=52494752; + //BA.debugLineNum = 52494752;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; _cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]); - //BA.debugLineNum = 1741;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; +RDebugUtils.currentLine=52494754; + //BA.debugLineNum = 52494754;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); } }; }; }; - //BA.debugLineNum = 1746;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494759; + //BA.debugLineNum = 52494759;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1747;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1748;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; +RDebugUtils.currentLine=52494760; + //BA.debugLineNum = 52494760;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494761; + //BA.debugLineNum = 52494761;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { - //BA.debugLineNum = 1749;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494762; + //BA.debugLineNum = 52494762;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group360 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen360 = group360.getSize() @@ -3519,26 +4981,34 @@ final int groupLen360 = group360.getSize() ; for (; index360 < groupLen360;index360++){ _records = (Object[])(group360.Get(index360)); - //BA.debugLineNum = 1750;BA.debugLine="COUNT_CLIE = records(result.Columns.Get(\"COUN"; -_count_clie = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT_CLIE"))))])); +RDebugUtils.currentLine=52494763; + //BA.debugLineNum = 52494763;BA.debugLine="COUNT_CLIE = records(result.Columns.Get(\"COUN"; +__ref._count_clie /*int*/ = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT_CLIE"))))])); } }; }; }; - //BA.debugLineNum = 1755;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494768; + //BA.debugLineNum = 52494768;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1756;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1757;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; +RDebugUtils.currentLine=52494769; + //BA.debugLineNum = 52494769;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494770; + //BA.debugLineNum = 52494770;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { - //BA.debugLineNum = 1758;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; -if (_reqs.IndexOf((Object)("ruta"))>-1) { - //BA.debugLineNum = 1759;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("ruta"))); - //BA.debugLineNum = 1760;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("815466933",BA.NumberToString(_reqs.getSize()),0); +RDebugUtils.currentLine=52494771; + //BA.debugLineNum = 52494771;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("ruta"))>-1) { +RDebugUtils.currentLine=52494772; + //BA.debugLineNum = 52494772;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("ruta"))); +RDebugUtils.currentLine=52494773; + //BA.debugLineNum = 52494773;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("252494773",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); }; - //BA.debugLineNum = 1762;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494775; + //BA.debugLineNum = 52494775;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group372 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen372 = group372.getSize() @@ -3546,57 +5016,82 @@ final int groupLen372 = group372.getSize() ; for (; index372 < groupLen372;index372++){ _records = (Object[])(group372.Get(index372)); - //BA.debugLineNum = 1763;BA.debugLine="Dim VALIDO As String = records(result.Columns"; +RDebugUtils.currentLine=52494776; + //BA.debugLineNum = 52494776;BA.debugLine="Dim VALIDO As String = records(result.Columns"; _valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); - //BA.debugLineNum = 1765;BA.debugLine="If VALIDO = \"OK\" Then"; +RDebugUtils.currentLine=52494778; + //BA.debugLineNum = 52494778;BA.debugLine="If VALIDO = \"OK\" Then"; if ((_valido).equals("OK")) { - //BA.debugLineNum = 1766;BA.debugLine="If l_ctast.Text = \"0\" Then"; -if ((_l_ctast.getText()).equals("0")) { - //BA.debugLineNum = 1767;BA.debugLine="Subir.Visible = True"; -_subir.setVisible(__c.True); - }else if((_l_ctast.getText()).equals("0") == false) { - //BA.debugLineNum = 1769;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - }; - //BA.debugLineNum = 1771;BA.debugLine="cargar.Visible = True"; -_cargar.setVisible(__c.True); - //BA.debugLineNum = 1772;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then Subir."; +RDebugUtils.currentLine=52494779; + //BA.debugLineNum = 52494779;BA.debugLine="If l_ctast.Text = \"0\" Then"; +if ((__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=52494780; + //BA.debugLineNum = 52494780;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=52494781; + //BA.debugLineNum = 52494781;BA.debugLine="Else If l_ctast.Text <> \"0\" Then"; +if ((__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") == false) { +RDebugUtils.currentLine=52494782; + //BA.debugLineNum = 52494782;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; +RDebugUtils.currentLine=52494784; + //BA.debugLineNum = 52494784;BA.debugLine="cargar.Visible = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=52494785; + //BA.debugLineNum = 52494785;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then Subir."; if ((_subs._dameusuariodedb /*String*/ (ba)).equals("ROOT")) { -_subir.setVisible(__c.True);}; - //BA.debugLineNum = 1773;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 1774;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);}; +RDebugUtils.currentLine=52494786; + //BA.debugLineNum = 52494786;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494787; + //BA.debugLineNum = 52494787;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1776;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_e_ruta.getText())})); - //BA.debugLineNum = 1777;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _e_ruta.getText(); - //BA.debugLineNum = 1778;BA.debugLine="If conn = \"1\" Then"; -if ((_conn).equals("1")) { - //BA.debugLineNum = 1779;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; +RDebugUtils.currentLine=52494789; + //BA.debugLineNum = 52494789;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=52494790; + //BA.debugLineNum = 52494790;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = __ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=52494791; + //BA.debugLineNum = 52494791;BA.debugLine="If conn = \"1\" Then"; +if ((__ref._conn /*String*/ ).equals("1")) { +RDebugUtils.currentLine=52494792; + //BA.debugLineNum = 52494792;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; __c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); }; }else { - //BA.debugLineNum = 1782;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 1783;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 1784;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 1785;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); +RDebugUtils.currentLine=52494795; + //BA.debugLineNum = 52494795;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494796; + //BA.debugLineNum = 52494796;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494797; + //BA.debugLineNum = 52494797;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52494798; + //BA.debugLineNum = 52494798;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }; } }; }; }; - //BA.debugLineNum = 1791;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; +RDebugUtils.currentLine=52494804; + //BA.debugLineNum = 52494804;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1792;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1793;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; +RDebugUtils.currentLine=52494805; + //BA.debugLineNum = 52494805;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494806; + //BA.debugLineNum = 52494806;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { - //BA.debugLineNum = 1794;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494807; + //BA.debugLineNum = 52494807;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group401 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen401 = group401.getSize() @@ -3604,41 +5099,56 @@ final int groupLen401 = group401.getSize() ; for (; index401 < groupLen401;index401++){ _records = (Object[])(group401.Get(index401)); - //BA.debugLineNum = 1795;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; -__c.LogImpl("815466968","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 = 1796;BA.debugLine="Private lat, lon As Double"; +RDebugUtils.currentLine=52494808; + //BA.debugLineNum = 52494808;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +__c.LogImpl("252494808","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); +RDebugUtils.currentLine=52494809; + //BA.debugLineNum = 52494809;BA.debugLine="Private lat, lon As Double"; _lat = 0; _lon = 0; - //BA.debugLineNum = 1797;BA.debugLine="lat = 0.0"; +RDebugUtils.currentLine=52494810; + //BA.debugLineNum = 52494810;BA.debugLine="lat = 0.0"; _lat = 0.0; - //BA.debugLineNum = 1798;BA.debugLine="lon = 0.0"; +RDebugUtils.currentLine=52494811; + //BA.debugLineNum = 52494811;BA.debugLine="lon = 0.0"; _lon = 0.0; - //BA.debugLineNum = 1799;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; +RDebugUtils.currentLine=52494812; + //BA.debugLineNum = 52494812;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; if (__c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])) && __c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]))) { - //BA.debugLineNum = 1800;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; +RDebugUtils.currentLine=52494813; + //BA.debugLineNum = 52494813;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; _lat = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])); - //BA.debugLineNum = 1801;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; +RDebugUtils.currentLine=52494814; + //BA.debugLineNum = 52494814;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; _lon = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))])); }; - //BA.debugLineNum = 1803;BA.debugLine="Starter.cedisLocation.Latitude = lat"; +RDebugUtils.currentLine=52494816; + //BA.debugLineNum = 52494816;BA.debugLine="Starter.cedisLocation.Latitude = lat"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); - //BA.debugLineNum = 1804;BA.debugLine="Starter.cedisLocation.Longitude = lon"; +RDebugUtils.currentLine=52494817; + //BA.debugLineNum = 52494817;BA.debugLine="Starter.cedisLocation.Longitude = lon"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); - //BA.debugLineNum = 1805;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; +RDebugUtils.currentLine=52494818; + //BA.debugLineNum = 52494818;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN")})); - //BA.debugLineNum = 1806;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +RDebugUtils.currentLine=52494819; + //BA.debugLineNum = 52494819;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN"),(Object)(BA.NumberToString(_lon)+","+BA.NumberToString(_lat))})); } }; }; }; - //BA.debugLineNum = 1812;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494825; + //BA.debugLineNum = 52494825;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1813;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1814;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; +RDebugUtils.currentLine=52494826; + //BA.debugLineNum = 52494826;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494827; + //BA.debugLineNum = 52494827;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("ins_reparto"))) { - //BA.debugLineNum = 1815;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494828; + //BA.debugLineNum = 52494828;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group420 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen420 = group420.getSize() @@ -3646,7 +5156,8 @@ final int groupLen420 = group420.getSize() ; for (; index420 < groupLen420;index420++){ _records = (Object[])(group420.Get(index420)); - //BA.debugLineNum = 1816;BA.debugLine="For Each k As String In result.Columns.Keys"; +RDebugUtils.currentLine=52494829; + //BA.debugLineNum = 52494829;BA.debugLine="For Each k As String In result.Columns.Keys"; { final anywheresoftware.b4a.BA.IterableList group421 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen421 = group421.getSize() @@ -3654,21 +5165,26 @@ final int groupLen421 = group421.getSize() ; for (; index421 < groupLen421;index421++){ _k = BA.ObjectToString(group421.Get(index421)); - //BA.debugLineNum = 1817;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; -__c.LogImpl("815466990",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +RDebugUtils.currentLine=52494830; + //BA.debugLineNum = 52494830;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +__c.LogImpl("252494830",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 1823;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=52494836; + //BA.debugLineNum = 52494836;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1824;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1825;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; +RDebugUtils.currentLine=52494837; + //BA.debugLineNum = 52494837;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_intmex.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=52494838; + //BA.debugLineNum = 52494838;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("ins_rechazos"))) { - //BA.debugLineNum = 1826;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=52494839; + //BA.debugLineNum = 52494839;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group430 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen430 = group430.getSize() @@ -3676,7 +5192,8 @@ final int groupLen430 = group430.getSize() ; for (; index430 < groupLen430;index430++){ _records = (Object[])(group430.Get(index430)); - //BA.debugLineNum = 1827;BA.debugLine="For Each k As String In result.Columns.Keys"; +RDebugUtils.currentLine=52494840; + //BA.debugLineNum = 52494840;BA.debugLine="For Each k As String In result.Columns.Keys"; { final anywheresoftware.b4a.BA.IterableList group431 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen431 = group431.getSize() @@ -3684,165 +5201,212 @@ final int groupLen431 = group431.getSize() ; for (; index431 < groupLen431;index431++){ _k = BA.ObjectToString(group431.Get(index431)); - //BA.debugLineNum = 1828;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; -__c.LogImpl("815467001",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +RDebugUtils.currentLine=52494841; + //BA.debugLineNum = 52494841;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +__c.LogImpl("252494841",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 1833;BA.debugLine="Job.Release"; -_job._release /*String*/ (); +RDebugUtils.currentLine=52494846; + //BA.debugLineNum = 52494846;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); }; - //BA.debugLineNum = 1835;BA.debugLine="If reqs.Size = 0 Then"; -if (_reqs.getSize()==0) { - //BA.debugLineNum = 1839;BA.debugLine="ProgressDialogHide"; +RDebugUtils.currentLine=52494848; + //BA.debugLineNum = 52494848;BA.debugLine="If reqs.Size = 0 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +RDebugUtils.currentLine=52494852; + //BA.debugLineNum = 52494852;BA.debugLine="ProgressDialogHide"; __c.ProgressDialogHide(); - //BA.debugLineNum = 1841;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM CHECADO_CHECK"))); - //BA.debugLineNum = 1842;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1843;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; -if ((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1844;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO"; +RDebugUtils.currentLine=52494854; + //BA.debugLineNum = 52494854;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM CHECADO_CHECK"))); +RDebugUtils.currentLine=52494855; + //BA.debugLineNum = 52494855;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52494856; + //BA.debugLineNum = 52494856;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=52494857; + //BA.debugLineNum = 52494857;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into CHECADO_CHECK (CHECADO) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"0"})); - }else if((_c.GetString("CUANTOS")).equals(BA.NumberToString(1))) { + }else +{RDebugUtils.currentLine=52494859; + //BA.debugLineNum = 52494859;BA.debugLine="Else If c.GetString(\"CUANTOS\") = 1 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(1))) { + }} +; +RDebugUtils.currentLine=52494862; + //BA.debugLineNum = 52494862;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 1849;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 1853;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52494866; + //BA.debugLineNum = 52494866;BA.debugLine="End Sub"; return ""; } -public String _listview1_itemclick(int _position,Object _value) throws Exception{ +public String _listview1_itemclick(reparto_intmex.keymon.lat.c_principal __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}));} String[] _clieasing = null; - //BA.debugLineNum = 2224;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; - //BA.debugLineNum = 2225;BA.debugLine="Log(Value)"; -__c.LogImpl("816318465",BA.ObjectToString(_value),0); - //BA.debugLineNum = 2227;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; +RDebugUtils.currentLine=53346304; + //BA.debugLineNum = 53346304;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; +RDebugUtils.currentLine=53346305; + //BA.debugLineNum = 53346305;BA.debugLine="Log(Value)"; +__c.LogImpl("253346305",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=53346307; + //BA.debugLineNum = 53346307;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; _clieasing = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 2228;BA.debugLine="Log(clieasing(0))"; -__c.LogImpl("816318468",_clieasing[(int) (0)],0); - //BA.debugLineNum = 2230;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +RDebugUtils.currentLine=53346308; + //BA.debugLineNum = 53346308;BA.debugLine="Log(clieasing(0))"; +__c.LogImpl("253346308",_clieasing[(int) (0)],0); +RDebugUtils.currentLine=53346310; + //BA.debugLineNum = 53346310;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 2231;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +RDebugUtils.currentLine=53346311; + //BA.debugLineNum = 53346311;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clieasing[(int) (0)])})); - //BA.debugLineNum = 2232;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=53346312; + //BA.debugLineNum = 53346312;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 2233;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53346313; + //BA.debugLineNum = 53346313;BA.debugLine="End Sub"; return ""; } -public String _p_prod_click() throws Exception{ - //BA.debugLineNum = 2289;BA.debugLine="Private Sub p_prod_Click"; - //BA.debugLineNum = 2291;BA.debugLine="End Sub"; +public String _p_prod_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_prod_click", false)) + {return ((String) Debug.delegate(ba, "p_prod_click", null));} +RDebugUtils.currentLine=53542912; + //BA.debugLineNum = 53542912;BA.debugLine="Private Sub p_prod_Click"; +RDebugUtils.currentLine=53542914; + //BA.debugLineNum = 53542914;BA.debugLine="End Sub"; return ""; } -public String _subir_click() throws Exception{ - //BA.debugLineNum = 664;BA.debugLine="Sub Subir_Click"; - //BA.debugLineNum = 665;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; -if (__c.Not(_isconnectedtointernet())) { +public String _subir_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "subir_click", false)) + {return ((String) Debug.delegate(ba, "subir_click", null));} +RDebugUtils.currentLine=52232192; + //BA.debugLineNum = 52232192;BA.debugLine="Sub Subir_Click"; +RDebugUtils.currentLine=52232193; + //BA.debugLineNum = 52232193;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; +if (__c.Not(__ref._isconnectedtointernet /*boolean*/ (null))) { __c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; - //BA.debugLineNum = 666;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 667;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 668;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 669;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 671;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM BLOCKEN"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM BLOCKENVIO"))); - //BA.debugLineNum = 672;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 673;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO BLOCKENV"; +RDebugUtils.currentLine=52232194; + //BA.debugLineNum = 52232194;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=52232195; + //BA.debugLineNum = 52232195;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=52232196; + //BA.debugLineNum = 52232196;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=52232197; + //BA.debugLineNum = 52232197;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52232199; + //BA.debugLineNum = 52232199;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM BLOCKEN"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM BLOCKENVIO"))); +RDebugUtils.currentLine=52232200; + //BA.debugLineNum = 52232200;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=52232201; + //BA.debugLineNum = 52232201;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO BLOCKENV"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - //BA.debugLineNum = 674;BA.debugLine="envioinfo"; -_envioinfo(); +RDebugUtils.currentLine=52232202; + //BA.debugLineNum = 52232202;BA.debugLine="envioinfo"; +__ref._envioinfo /*String*/ (null); }else { - //BA.debugLineNum = 676;BA.debugLine="envioinfo"; -_envioinfo(); +RDebugUtils.currentLine=52232204; + //BA.debugLineNum = 52232204;BA.debugLine="envioinfo"; +__ref._envioinfo /*String*/ (null); }; - //BA.debugLineNum = 678;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 684;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52232206; + //BA.debugLineNum = 52232206;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=52232212; + //BA.debugLineNum = 52232212;BA.debugLine="End Sub"; return ""; } -public String _t1_tick() throws Exception{ - //BA.debugLineNum = 1943;BA.debugLine="Sub t1_tick"; - //BA.debugLineNum = 1944;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1945;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; -_cmd.Name /*String*/ = "select_cuantos_pedido"; - //BA.debugLineNum = 1946;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1947;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedido")); - //BA.debugLineNum = 1949;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1950;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; -_cmd.Name /*String*/ = "select_cuantos_noventa_mards"; - //BA.debugLineNum = 1951;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1952;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_noventa")); - //BA.debugLineNum = 1954;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1955;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; -_cmd.Name /*String*/ = "select_cuantos_pedidoc"; - //BA.debugLineNum = 1956;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1957;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedidoc")); - //BA.debugLineNum = 1958;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1959;BA.debugLine="t1.Enabled = False"; -_t1.setEnabled(__c.False); - //BA.debugLineNum = 1960;BA.debugLine="End Sub"; +public String _t1_tick(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "t1_tick", false)) + {return ((String) Debug.delegate(ba, "t1_tick", null));} +RDebugUtils.currentLine=52953088; + //BA.debugLineNum = 52953088;BA.debugLine="Sub t1_tick"; +RDebugUtils.currentLine=52953089; + //BA.debugLineNum = 52953089;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52953090; + //BA.debugLineNum = 52953090;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_pedido"; +RDebugUtils.currentLine=52953091; + //BA.debugLineNum = 52953091;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=52953092; + //BA.debugLineNum = 52953092;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_pedido")); +RDebugUtils.currentLine=52953094; + //BA.debugLineNum = 52953094;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52953095; + //BA.debugLineNum = 52953095;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_noventa_mards"; +RDebugUtils.currentLine=52953096; + //BA.debugLineNum = 52953096;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=52953097; + //BA.debugLineNum = 52953097;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_noventa")); +RDebugUtils.currentLine=52953099; + //BA.debugLineNum = 52953099;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=52953100; + //BA.debugLineNum = 52953100;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_pedidoc"; +RDebugUtils.currentLine=52953101; + //BA.debugLineNum = 52953101;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=52953102; + //BA.debugLineNum = 52953102;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; +__ref._reqmanager /*reparto_intmex.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_intmex.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_pedidoc")); +RDebugUtils.currentLine=52953103; + //BA.debugLineNum = 52953103;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52953104; + //BA.debugLineNum = 52953104;BA.debugLine="t1.Enabled = False"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.False); +RDebugUtils.currentLine=52953105; + //BA.debugLineNum = 52953105;BA.debugLine="End Sub"; return ""; } -public String _to_number_vb(Object _valor) throws Exception{ -int _valstring = 0; -String _valstring2 = ""; - //BA.debugLineNum = 642;BA.debugLine="Sub to_number_vb (valor As Object) As String"; - //BA.debugLineNum = 643;BA.debugLine="Dim valstring As Int"; -_valstring = 0; - //BA.debugLineNum = 644;BA.debugLine="Dim valstring2 As String = valor"; -_valstring2 = BA.ObjectToString(_valor); - //BA.debugLineNum = 645;BA.debugLine="valstring2.Replace(\":\",\"\")"; -_valstring2.replace(":",""); - //BA.debugLineNum = 646;BA.debugLine="Try"; -try { //BA.debugLineNum = 647;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; -_valstring = (int)(Double.parseDouble(_valstring2.replace(":",""))); - //BA.debugLineNum = 648;BA.debugLine="Return valstring"; -if (true) return BA.NumberToString(_valstring); - } - catch (Exception e8) { - ba.setLastException(e8); //BA.debugLineNum = 650;BA.debugLine="Return 0"; -if (true) return BA.NumberToString(0); - }; - //BA.debugLineNum = 652;BA.debugLine="End Sub"; -return ""; -} -public String _trabajar_click() throws Exception{ - //BA.debugLineNum = 654;BA.debugLine="Sub trabajar_Click"; - //BA.debugLineNum = 655;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 656;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc"; +public String _trabajar_click(reparto_intmex.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "trabajar_click", false)) + {return ((String) Debug.delegate(ba, "trabajar_click", null));} +RDebugUtils.currentLine=52166656; + //BA.debugLineNum = 52166656;BA.debugLine="Sub trabajar_Click"; +RDebugUtils.currentLine=52166657; + //BA.debugLineNum = 52166657;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=52166658; + //BA.debugLineNum = 52166658;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 659;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +RDebugUtils.currentLine=52166661; + //BA.debugLineNum = 52166661;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; _b4xpages._showpage /*String*/ (ba,"Clientes"); }; - //BA.debugLineNum = 662;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52166664; + //BA.debugLineNum = 52166664;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((reparto_intmex.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_productos.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_productos.java index 8088a43..ba9c8f1 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_productos.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_productos.java @@ -10,7 +10,7 @@ public class c_productos extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_productos"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_productos"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_productos extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -75,10 +82,10 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -86,12 +93,37 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 1091;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 1093;BA.debugLine="End Sub"; +public Object _initialize(reparto_intmex.keymon.lat.c_productos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=53739520; + //BA.debugLineNum = 53739520;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=53739521; + //BA.debugLineNum = 53739521;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=53739522; + //BA.debugLineNum = 53739522;BA.debugLine="End Sub"; +return null; +} +public String _b_guardar_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=54853632; + //BA.debugLineNum = 54853632;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=54853634; + //BA.debugLineNum = 54853634;BA.debugLine="End Sub"; return ""; } -public String _b_prodmas_click() throws Exception{ +public String _b_prodmas_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmas_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas_click", null));} int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; @@ -107,503 +139,296 @@ String _pup = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _precioreg = null; String _precioregalo = ""; String _esregalo = ""; - //BA.debugLineNum = 664;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 665;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 666;BA.debugLine="Dim sDate, sTime As String"; +RDebugUtils.currentLine=54460416; + //BA.debugLineNum = 54460416;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=54460417; + //BA.debugLineNum = 54460417;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=54460418; + //BA.debugLineNum = 54460418;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 667;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=54460419; + //BA.debugLineNum = 54460419;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 668;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=54460420; + //BA.debugLineNum = 54460420;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 669;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_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("819726344","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)"; +RDebugUtils.currentLine=54460421; + //BA.debugLineNum = 54460421;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=54460422; + //BA.debugLineNum = 54460422;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=54460424; + //BA.debugLineNum = 54460424;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("254460424","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=54460425; + //BA.debugLineNum = 54460425;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=54460426; + //BA.debugLineNum = 54460426;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; _pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 675;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=54460427; + //BA.debugLineNum = 54460427;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 676;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +RDebugUtils.currentLine=54460428; + //BA.debugLineNum = 54460428;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; _lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 680;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +RDebugUtils.currentLine=54460432; + //BA.debugLineNum = 54460432;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 681;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("819726353","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"; +RDebugUtils.currentLine=54460433; + //BA.debugLineNum = 54460433;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +__c.LogImpl("254460433","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=54460434; + //BA.debugLineNum = 54460434;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 684;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4"; +RDebugUtils.currentLine=54460436; + //BA.debugLineNum = 54460436;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 = 686;BA.debugLine="Private minimoadesc As String"; +RDebugUtils.currentLine=54460438; + //BA.debugLineNum = 54460438;BA.debugLine="Private minimoadesc As String"; _minimoadesc = ""; - //BA.debugLineNum = 687;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +RDebugUtils.currentLine=54460439; + //BA.debugLineNum = 54460439;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; _minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 688;BA.debugLine="If minimos.RowCount > 0 Then"; +RDebugUtils.currentLine=54460440; + //BA.debugLineNum = 54460440;BA.debugLine="If minimos.RowCount > 0 Then"; if (_minimos.getRowCount()>0) { - //BA.debugLineNum = 689;BA.debugLine="minimos.Position = 0"; +RDebugUtils.currentLine=54460441; + //BA.debugLineNum = 54460441;BA.debugLine="minimos.Position = 0"; _minimos.setPosition((int) (0)); - //BA.debugLineNum = 690;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +RDebugUtils.currentLine=54460442; + //BA.debugLineNum = 54460442;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; _minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); }else { - //BA.debugLineNum = 692;BA.debugLine="minimoadesc = \"1\""; +RDebugUtils.currentLine=54460444; + //BA.debugLineNum = 54460444;BA.debugLine="minimoadesc = \"1\""; _minimoadesc = "1"; }; - //BA.debugLineNum = 694;BA.debugLine="minimos.Close"; +RDebugUtils.currentLine=54460446; + //BA.debugLineNum = 54460446;BA.debugLine="minimos.Close"; _minimos.Close(); - //BA.debugLineNum = 695;BA.debugLine="minimoadesc = \"1\""; +RDebugUtils.currentLine=54460447; + //BA.debugLineNum = 54460447;BA.debugLine="minimoadesc = \"1\""; _minimoadesc = "1"; - //BA.debugLineNum = 698;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("819726370",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 699;BA.debugLine="Log(esteTag.get(4))"; -__c.LogImpl("819726371",BA.ObjectToString(_estetag.Get((int) (4))),0); - //BA.debugLineNum = 700;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; +RDebugUtils.currentLine=54460450; + //BA.debugLineNum = 54460450;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("254460450",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=54460451; + //BA.debugLineNum = 54460451;BA.debugLine="Log(esteTag.get(4))"; +__c.LogImpl("254460451",BA.ObjectToString(_estetag.Get((int) (4))),0); +RDebugUtils.currentLine=54460452; + //BA.debugLineNum = 54460452;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; if ((_estetag.Get((int) (4))).equals((Object)("0"))) { }else { - //BA.debugLineNum = 703;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +RDebugUtils.currentLine=54460455; + //BA.debugLineNum = 54460455;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("819726376",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); - //BA.debugLineNum = 705;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; +RDebugUtils.currentLine=54460456; + //BA.debugLineNum = 54460456;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +__c.LogImpl("254460456",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +RDebugUtils.currentLine=54460457; + //BA.debugLineNum = 54460457;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_gunaprod"; +RDebugUtils.currentLine=54460458; + //BA.debugLineNum = 54460458;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2)))})); - //BA.debugLineNum = 707;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 = 708;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 709;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +RDebugUtils.currentLine=54460459; + //BA.debugLineNum = 54460459;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=54460460; + //BA.debugLineNum = 54460460;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=54460461; + //BA.debugLineNum = 54460461;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 710;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=54460462; + //BA.debugLineNum = 54460462;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 711;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=54460463; + //BA.debugLineNum = 54460463;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 713;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +RDebugUtils.currentLine=54460465; + //BA.debugLineNum = 54460465;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 714;BA.debugLine="If preciocat.RowCount > 0 Then"; +RDebugUtils.currentLine=54460466; + //BA.debugLineNum = 54460466;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 715;BA.debugLine="preciocat.Position = 0"; +RDebugUtils.currentLine=54460467; + //BA.debugLineNum = 54460467;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 716;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +RDebugUtils.currentLine=54460468; + //BA.debugLineNum = 54460468;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 718;BA.debugLine="preciocat.Close"; +RDebugUtils.currentLine=54460470; + //BA.debugLineNum = 54460470;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 720;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +RDebugUtils.currentLine=54460472; + //BA.debugLineNum = 54460472;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { - //BA.debugLineNum = 721;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; +RDebugUtils.currentLine=54460473; + //BA.debugLineNum = 54460473;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; _pup = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("HVD_CANT")))); - //BA.debugLineNum = 723;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +RDebugUtils.currentLine=54460475; + //BA.debugLineNum = 54460475;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_pup))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); }else { - //BA.debugLineNum = 725;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +RDebugUtils.currentLine=54460477; + //BA.debugLineNum = 54460477;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); }; }; }else { - //BA.debugLineNum = 730;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +RDebugUtils.currentLine=54460482; + //BA.debugLineNum = 54460482;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 731;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=54460483; + //BA.debugLineNum = 54460483;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 732;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=54460484; + //BA.debugLineNum = 54460484;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 734;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +RDebugUtils.currentLine=54460486; + //BA.debugLineNum = 54460486;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 735;BA.debugLine="If preciocat.RowCount > 0 Then"; +RDebugUtils.currentLine=54460487; + //BA.debugLineNum = 54460487;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 736;BA.debugLine="preciocat.Position = 0"; +RDebugUtils.currentLine=54460488; + //BA.debugLineNum = 54460488;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 737;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +RDebugUtils.currentLine=54460489; + //BA.debugLineNum = 54460489;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 739;BA.debugLine="preciocat.Close"; +RDebugUtils.currentLine=54460491; + //BA.debugLineNum = 54460491;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 741;BA.debugLine="Dim precioreg As Cursor = Starter.skmt.ExecQu"; +RDebugUtils.currentLine=54460493; + //BA.debugLineNum = 54460493;BA.debugLine="Dim precioreg As Cursor = Starter.skmt.ExecQu"; _precioreg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _precioreg = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS WHERE HVD_PROID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")))); - //BA.debugLineNum = 742;BA.debugLine="If precioreg.RowCount > 0 Then"; +RDebugUtils.currentLine=54460494; + //BA.debugLineNum = 54460494;BA.debugLine="If precioreg.RowCount > 0 Then"; if (_precioreg.getRowCount()>0) { - //BA.debugLineNum = 743;BA.debugLine="precioreg.Position = 0"; +RDebugUtils.currentLine=54460495; + //BA.debugLineNum = 54460495;BA.debugLine="precioreg.Position = 0"; _precioreg.setPosition((int) (0)); - //BA.debugLineNum = 744;BA.debugLine="Dim precioregalo As String = precioreg.GetSt"; +RDebugUtils.currentLine=54460496; + //BA.debugLineNum = 54460496;BA.debugLine="Dim precioregalo As String = precioreg.GetSt"; _precioregalo = BA.NumberToString((double)(Double.parseDouble(_precioreg.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_precioreg.GetString("HVD_CANT")))); - //BA.debugLineNum = 745;BA.debugLine="If precioregalo < 1 Then"; +RDebugUtils.currentLine=54460497; + //BA.debugLineNum = 54460497;BA.debugLine="If precioregalo < 1 Then"; if ((double)(Double.parseDouble(_precioregalo))<1) { - //BA.debugLineNum = 746;BA.debugLine="Dim esregalo As String = 1"; +RDebugUtils.currentLine=54460498; + //BA.debugLineNum = 54460498;BA.debugLine="Dim esregalo As String = 1"; _esregalo = BA.NumberToString(1); }else { - //BA.debugLineNum = 748;BA.debugLine="Dim esregalo As String = 0"; +RDebugUtils.currentLine=54460500; + //BA.debugLineNum = 54460500;BA.debugLine="Dim esregalo As String = 0"; _esregalo = BA.NumberToString(0); }; }; - //BA.debugLineNum = 751;BA.debugLine="precioreg.Close"; +RDebugUtils.currentLine=54460503; + //BA.debugLineNum = 54460503;BA.debugLine="precioreg.Close"; _precioreg.Close(); - //BA.debugLineNum = 753;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +RDebugUtils.currentLine=54460505; + //BA.debugLineNum = 54460505;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { - //BA.debugLineNum = 754;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; +RDebugUtils.currentLine=54460506; + //BA.debugLineNum = 54460506;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; _pup = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("HVD_CANT")))); - //BA.debugLineNum = 757;BA.debugLine="Log(\"algo1\")"; -__c.LogImpl("819726429","algo1",0); - //BA.debugLineNum = 758;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); +RDebugUtils.currentLine=54460509; + //BA.debugLineNum = 54460509;BA.debugLine="Log(\"algo1\")"; +__c.LogImpl("254460509","algo1",0); +RDebugUtils.currentLine=54460510; + //BA.debugLineNum = 54460510;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); }else { - //BA.debugLineNum = 760;BA.debugLine="Log(\"|\" & preciofull& \"|\")"; -__c.LogImpl("819726432","|"+_preciofull+"|",0); - //BA.debugLineNum = 761;BA.debugLine="Log(\"|\" & minimoadesc& \"|\")"; -__c.LogImpl("819726433","|"+_minimoadesc+"|",0); - //BA.debugLineNum = 765;BA.debugLine="Log(esteTag.Get(2))"; -__c.LogImpl("819726437",BA.ObjectToString(_estetag.Get((int) (2))),0); - //BA.debugLineNum = 766;BA.debugLine="Log(c2.GetString(\"HVD_PRONOMBRE\"))"; -__c.LogImpl("819726438",_c2.GetString("HVD_PRONOMBRE"),0); - //BA.debugLineNum = 767;BA.debugLine="Log((1*minimoadesc))"; -__c.LogImpl("819726439",BA.NumberToString((1*(double)(Double.parseDouble(_minimoadesc)))),0); - //BA.debugLineNum = 768;BA.debugLine="Log(esteTag.Get(5))"; -__c.LogImpl("819726440",BA.ObjectToString(_estetag.Get((int) (5))),0); - //BA.debugLineNum = 769;BA.debugLine="Log(Subs.traeCliente)"; -__c.LogImpl("819726441",_subs._traecliente /*String*/ (ba),0); - //BA.debugLineNum = 770;BA.debugLine="Log((preciofull*minimoadesc))"; -__c.LogImpl("819726442",BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),0); - //BA.debugLineNum = 771;BA.debugLine="Log(esteTag.Get(6))"; -__c.LogImpl("819726443",BA.ObjectToString(_estetag.Get((int) (6))),0); - //BA.debugLineNum = 772;BA.debugLine="Log(Subs.traerUTAPREV)"; -__c.LogImpl("819726444",_subs._traerutaprev /*String*/ (ba),0); - //BA.debugLineNum = 773;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("819726445",_subs._traealmacen /*String*/ (ba),0); - //BA.debugLineNum = 774;BA.debugLine="Log(sDate & \" \" & sTime)"; -__c.LogImpl("819726446",_sdate+" "+_stime,0); - //BA.debugLineNum = 775;BA.debugLine="Log(Subs.traeUsuario)"; -__c.LogImpl("819726447",_subs._traeusuario /*String*/ (ba),0); - //BA.debugLineNum = 776;BA.debugLine="Log(Subs.traefECHAPREV)"; -__c.LogImpl("819726448",_subs._traefechaprev /*String*/ (ba),0); - //BA.debugLineNum = 777;BA.debugLine="Log(Subs.traeRutaReparto)"; -__c.LogImpl("819726449",_subs._traerutareparto /*String*/ (ba),0); - //BA.debugLineNum = 778;BA.debugLine="Log(esregalo)"; -__c.LogImpl("819726450",_esregalo,0); - //BA.debugLineNum = 781;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); +RDebugUtils.currentLine=54460512; + //BA.debugLineNum = 54460512;BA.debugLine="Log(\"|\" & preciofull& \"|\")"; +__c.LogImpl("254460512","|"+_preciofull+"|",0); +RDebugUtils.currentLine=54460513; + //BA.debugLineNum = 54460513;BA.debugLine="Log(\"|\" & minimoadesc& \"|\")"; +__c.LogImpl("254460513","|"+_minimoadesc+"|",0); +RDebugUtils.currentLine=54460517; + //BA.debugLineNum = 54460517;BA.debugLine="Log(esteTag.Get(2))"; +__c.LogImpl("254460517",BA.ObjectToString(_estetag.Get((int) (2))),0); +RDebugUtils.currentLine=54460518; + //BA.debugLineNum = 54460518;BA.debugLine="Log(c2.GetString(\"HVD_PRONOMBRE\"))"; +__c.LogImpl("254460518",_c2.GetString("HVD_PRONOMBRE"),0); +RDebugUtils.currentLine=54460519; + //BA.debugLineNum = 54460519;BA.debugLine="Log((1*minimoadesc))"; +__c.LogImpl("254460519",BA.NumberToString((1*(double)(Double.parseDouble(_minimoadesc)))),0); +RDebugUtils.currentLine=54460520; + //BA.debugLineNum = 54460520;BA.debugLine="Log(esteTag.Get(5))"; +__c.LogImpl("254460520",BA.ObjectToString(_estetag.Get((int) (5))),0); +RDebugUtils.currentLine=54460521; + //BA.debugLineNum = 54460521;BA.debugLine="Log(Subs.traeCliente)"; +__c.LogImpl("254460521",_subs._traecliente /*String*/ (ba),0); +RDebugUtils.currentLine=54460522; + //BA.debugLineNum = 54460522;BA.debugLine="Log((preciofull*minimoadesc))"; +__c.LogImpl("254460522",BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),0); +RDebugUtils.currentLine=54460523; + //BA.debugLineNum = 54460523;BA.debugLine="Log(esteTag.Get(6))"; +__c.LogImpl("254460523",BA.ObjectToString(_estetag.Get((int) (6))),0); +RDebugUtils.currentLine=54460524; + //BA.debugLineNum = 54460524;BA.debugLine="Log(Subs.traerUTAPREV)"; +__c.LogImpl("254460524",_subs._traerutaprev /*String*/ (ba),0); +RDebugUtils.currentLine=54460525; + //BA.debugLineNum = 54460525;BA.debugLine="Log(Subs.traeAlmacen)"; +__c.LogImpl("254460525",_subs._traealmacen /*String*/ (ba),0); +RDebugUtils.currentLine=54460526; + //BA.debugLineNum = 54460526;BA.debugLine="Log(sDate & \" \" & sTime)"; +__c.LogImpl("254460526",__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,0); +RDebugUtils.currentLine=54460527; + //BA.debugLineNum = 54460527;BA.debugLine="Log(Subs.traeUsuario)"; +__c.LogImpl("254460527",_subs._traeusuario /*String*/ (ba),0); +RDebugUtils.currentLine=54460528; + //BA.debugLineNum = 54460528;BA.debugLine="Log(Subs.traefECHAPREV)"; +__c.LogImpl("254460528",_subs._traefechaprev /*String*/ (ba),0); +RDebugUtils.currentLine=54460529; + //BA.debugLineNum = 54460529;BA.debugLine="Log(Subs.traeRutaReparto)"; +__c.LogImpl("254460529",_subs._traerutareparto /*String*/ (ba),0); +RDebugUtils.currentLine=54460530; + //BA.debugLineNum = 54460530;BA.debugLine="Log(esregalo)"; +__c.LogImpl("254460530",_esregalo,0); +RDebugUtils.currentLine=54460533; + //BA.debugLineNum = 54460533;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); }; }; }; - //BA.debugLineNum = 788;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +RDebugUtils.currentLine=54460540; + //BA.debugLineNum = 54460540;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; _subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 793;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=54460545; + //BA.debugLineNum = 54460545;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }; - //BA.debugLineNum = 810;BA.debugLine="End Sub"; +RDebugUtils.currentLine=54460562; + //BA.debugLineNum = 54460562;BA.debugLine="End Sub"; return ""; } -public String _b_prodmasc_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _maxprods = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -String _puc = ""; - //BA.debugLineNum = 813;BA.debugLine="Private Sub b_prodMasC_Click"; - //BA.debugLineNum = 814;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 816;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("819791875","b_prodMas_Click",__c.Colors.Magenta); - //BA.debugLineNum = 817;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 = 818;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 819;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 820;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; -_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 821;BA.debugLine="LogColor(laCantc.Text&\"--------------------------"; -__c.LogImpl("819791880",_lacantc.getText()+"-----------------------------",__c.Colors.Blue); - //BA.debugLineNum = 825;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 = 826;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; -__c.LogImpl("819791885","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 827;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; -if ((_lacantc.getText()).equals("")) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 829;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 = 830;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; -__c.LogImpl("819791889",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); - //BA.debugLineNum = 831;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; -__c.LogImpl("819791890",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); - //BA.debugLineNum = 832;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("819791891",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 834;BA.debugLine="Log(maxProds)"; -__c.LogImpl("819791893",_maxprods,0); - //BA.debugLineNum = 837;BA.debugLine="Log(esteTag.Get(4))"; -__c.LogImpl("819791896",BA.ObjectToString(_estetag.Get((int) (4))),0); - //BA.debugLineNum = 838;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; -if ((_estetag.Get((int) (4))).equals((Object)("0"))) { - }else { - //BA.debugLineNum = 841;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; -if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { - //BA.debugLineNum = 842;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; -__c.LogImpl("819791901",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); - //BA.debugLineNum = 844;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 = 845;BA.debugLine="LogColor(esteTag,Colors.Magenta)"; -__c.LogImpl("819791904",BA.ObjectToString(_estetag),__c.Colors.Magenta); - //BA.debugLineNum = 847;BA.debugLine="LogColor(laCantc.Text,Colors.Red)"; -__c.LogImpl("819791906",_lacantc.getText(),__c.Colors.Red); - //BA.debugLineNum = 850;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 = 851;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 852;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 853;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 854;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 855;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 = 857;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)+(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= (IFNULL(PE_CAJAS,0)+1)*'"+__c.SmartStringFormatter("",(Object)(_puc))+"', PE_CAJAS= IFNULL(PE_CAJAS,0) + 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - //BA.debugLineNum = 858;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 859;BA.debugLine="Log(\"aqui2\")"; -__c.LogImpl("819791918","aqui2",0); - }; - }else { - //BA.debugLineNum = 862;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 863;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 864;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 865;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 = 866;BA.debugLine="Log(puc)"; -__c.LogImpl("819791925",_puc,0); - //BA.debugLineNum = 869;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 = 870;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - }; - }; - //BA.debugLineNum = 876;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenos_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _minimoadesc = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -float _preciou = 0f; - //BA.debugLineNum = 558;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 559;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 560;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("819660802","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 561;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("819660803","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)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 564;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 565;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 567;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 568;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("819660810","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(\""; -_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 572;BA.debugLine="If minimos.RowCount > 0 Then"; -if (_minimos.getRowCount()>0) { - //BA.debugLineNum = 573;BA.debugLine="minimos.Position = 0"; -_minimos.setPosition((int) (0)); - //BA.debugLineNum = 574;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; -_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); - }else { - //BA.debugLineNum = 576;BA.debugLine="minimoadesc = \"1\""; -_minimoadesc = "1"; - }; - //BA.debugLineNum = 578;BA.debugLine="minimos.Close"; -_minimos.Close(); - //BA.debugLineNum = 580;BA.debugLine="minimoadesc = \"1\""; -_minimoadesc = "1"; - //BA.debugLineNum = 581;BA.debugLine="If laCant.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacant.getText()))>0) { - //BA.debugLineNum = 616;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 617;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-(1*minimoadesc)"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-(1*(double)(Double.parseDouble(_minimoadesc)))))+""))); - //BA.debugLineNum = 618;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 619;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("819660861","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)))}))); - //BA.debugLineNum = 625;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 626;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 627;BA.debugLine="If c3.GetString(\"PE_CANT\")> minimoadesc Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>(double)(Double.parseDouble(_minimoadesc))) { - //BA.debugLineNum = 628;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 629;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 630;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 632;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }; - }else if((_c3.GetString("PE_CANT")).equals(_minimoadesc)) { - //BA.debugLineNum = 635;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 636;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 637;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 640;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }; - }; - }; - //BA.debugLineNum = 647;BA.debugLine="B4XPage_Appear"; -_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("819660893","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 662;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenosc_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -float _preciou = 0f; - //BA.debugLineNum = 878;BA.debugLine="Private Sub b_prodMenosC_Click"; - //BA.debugLineNum = 879;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 880;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("819857410","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 881;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("819857411","b_prodMenos_Click",__c.Colors.Magenta); - //BA.debugLineNum = 882;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 = 883;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 884;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 885;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; -_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 887;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 = 888;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; -__c.LogImpl("819857418","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 892;BA.debugLine="If laCantc.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacantc.getText()))>0) { - //BA.debugLineNum = 895;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 896;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 897;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 898;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { - //BA.debugLineNum = 899;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }else if((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 901;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }; - }; - //BA.debugLineNum = 904;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("819857434","entre al if o algo asi ",0); - //BA.debugLineNum = 905;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; -if ((_lacantc.getText()).equals("")) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 906;BA.debugLine="laCantc.Text = laCantc.Text - 1"; -_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); - //BA.debugLineNum = 907;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; -if ((double)(Double.parseDouble(_lacantc.getText()))<0) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 908;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_lacantc.getText()).equals(BA.NumberToString(0))) { - }; - //BA.debugLineNum = 914;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 = 915;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("819857445","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 916;BA.debugLine="End Sub"; -return ""; -} -public String _b_regresar_click() throws Exception{ - //BA.debugLineNum = 367;BA.debugLine="Sub b_regresar_Click"; - //BA.debugLineNum = 368;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 369;BA.debugLine="End Sub"; -return ""; -} -public String _b_revversar_click() throws Exception{ - //BA.debugLineNum = 922;BA.debugLine="Private Sub b_revversar_Click"; - //BA.debugLineNum = 923;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS se"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0 WHERE HVD_cliente in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 924;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 925;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; int _bgcolor = 0; @@ -618,324 +443,1070 @@ String _preciofull = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _oc = null; int _cant2 = 0; String _puc = ""; - //BA.debugLineNum = 74;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 75;BA.debugLine="Label2.Visible = False"; -_label2.setVisible(__c.False); - //BA.debugLineNum = 76;BA.debugLine="Label3.Visible = False"; -_label3.setVisible(__c.False); - //BA.debugLineNum = 77;BA.debugLine="L_TOTAL.Visible = False"; -_l_total.setVisible(__c.False); - //BA.debugLineNum = 78;BA.debugLine="L_CANT.Visible = False"; -_l_cant.setVisible(__c.False); - //BA.debugLineNum = 79;BA.debugLine="b_revversar.Visible = False"; -_b_revversar.setVisible(__c.False); - //BA.debugLineNum = 80;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 84;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 85;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 86;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; -_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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); - //BA.debugLineNum = 87;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 88;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 89;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 93;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 96;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 97;BA.debugLine="clv_pedido.Clear"; -_clv_pedido._clear(); - //BA.debugLineNum = 98;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 99;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; -_clv_pedido._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (_root.getWidth()-50),(int) (_root.getHeight()*0.62)); - //BA.debugLineNum = 100;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; -_clv_pedido._base_resize(_clv_pedido._getbase().getWidth(),_clv_pedido._getbase().getHeight()); - //BA.debugLineNum = 102;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 105;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=53870592; + //BA.debugLineNum = 53870592;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=53870593; + //BA.debugLineNum = 53870593;BA.debugLine="Label2.Visible = False"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53870594; + //BA.debugLineNum = 53870594;BA.debugLine="Label3.Visible = False"; +__ref._label3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53870595; + //BA.debugLineNum = 53870595;BA.debugLine="L_TOTAL.Visible = False"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53870596; + //BA.debugLineNum = 53870596;BA.debugLine="L_CANT.Visible = False"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53870597; + //BA.debugLineNum = 53870597;BA.debugLine="b_revversar.Visible = False"; +__ref._b_revversar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53870598; + //BA.debugLineNum = 53870598;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=53870602; + //BA.debugLineNum = 53870602;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=53870603; + //BA.debugLineNum = 53870603;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=53870604; + //BA.debugLineNum = 53870604;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); +RDebugUtils.currentLine=53870605; + //BA.debugLineNum = 53870605;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53870606; + //BA.debugLineNum = 53870606;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=53870607; + //BA.debugLineNum = 53870607;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53870611; + //BA.debugLineNum = 53870611;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=53870614; + //BA.debugLineNum = 53870614;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=53870615; + //BA.debugLineNum = 53870615;BA.debugLine="clv_pedido.Clear"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=53870616; + //BA.debugLineNum = 53870616;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=53870617; + //BA.debugLineNum = 53870617;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-50),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.62)); +RDebugUtils.currentLine=53870618; + //BA.debugLineNum = 53870618;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getHeight()); +RDebugUtils.currentLine=53870620; + //BA.debugLineNum = 53870620;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=53870623; + //BA.debugLineNum = 53870623;BA.debugLine="For i=0 To c.RowCount -1"; { final int step20 = 1; -final int limit20 = (int) (_c.getRowCount()-1); +final int limit20 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 106;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 108;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; -if ((_c.GetString("BCAJAS")).equals("0")) { - //BA.debugLineNum = 119;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=53870624; + //BA.debugLineNum = 53870624;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53870626; + //BA.debugLineNum = 53870626;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BCAJAS")).equals("0")) { +RDebugUtils.currentLine=53870637; + //BA.debugLineNum = 53870637;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 120;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 121;BA.debugLine="label1.TextSize = 12"; +RDebugUtils.currentLine=53870638; + //BA.debugLineNum = 53870638;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=53870639; + //BA.debugLineNum = 53870639;BA.debugLine="label1.TextSize = 12"; _label1.setTextSize((float) (12)); - //BA.debugLineNum = 122;BA.debugLine="label1.TextColor = Colors.black"; +RDebugUtils.currentLine=53870640; + //BA.debugLineNum = 53870640;BA.debugLine="label1.TextColor = Colors.black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 123;BA.debugLine="Dim Label2 As Label"; +RDebugUtils.currentLine=53870641; + //BA.debugLineNum = 53870641;BA.debugLine="Dim Label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 124;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 125;BA.debugLine="Label2.TextSize = 12"; -_label2.setTextSize((float) (12)); - //BA.debugLineNum = 126;BA.debugLine="Label2.TextColor = Colors.black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 127;BA.debugLine="Private bgColor, textColor As Int"; +RDebugUtils.currentLine=53870642; + //BA.debugLineNum = 53870642;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=53870643; + //BA.debugLineNum = 53870643;BA.debugLine="Label2.TextSize = 12"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=53870644; + //BA.debugLineNum = 53870644;BA.debugLine="Label2.TextColor = Colors.black"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=53870645; + //BA.debugLineNum = 53870645;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; _textcolor = 0; - //BA.debugLineNum = 128;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +RDebugUtils.currentLine=53870646; + //BA.debugLineNum = 53870646;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; _bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 129;BA.debugLine="textColor = Colors.black"; +RDebugUtils.currentLine=53870647; + //BA.debugLineNum = 53870647;BA.debugLine="textColor = Colors.black"; _textcolor = __c.Colors.Black; - //BA.debugLineNum = 130;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { - //BA.debugLineNum = 132;BA.debugLine="bgColor = Colors.White"; +RDebugUtils.currentLine=53870648; + //BA.debugLineNum = 53870648;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=53870650; + //BA.debugLineNum = 53870650;BA.debugLine="bgColor = Colors.White"; _bgcolor = __c.Colors.White; }; - //BA.debugLineNum = 138;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=53870656; + //BA.debugLineNum = 53870656;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(PE_CANT,0) AS PE_CANT, CONSECUTIVO, PE_BCAJAS from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 141;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(PE_CANT,0) AS PE_CANT, CONSECUTIVO, PE_BCAJAS from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=53870659; + //BA.debugLineNum = 53870659;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; _d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_d5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 142;BA.debugLine="d5.Position = 0"; +_d5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=53870660; + //BA.debugLineNum = 53870660;BA.debugLine="d5.Position = 0"; _d5.setPosition((int) (0)); - //BA.debugLineNum = 143;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; +RDebugUtils.currentLine=53870661; + //BA.debugLineNum = 53870661;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; _restacant = _d5.GetString("PE_CANT"); - //BA.debugLineNum = 144;BA.debugLine="d5.Close"; +RDebugUtils.currentLine=53870662; + //BA.debugLineNum = 53870662;BA.debugLine="d5.Close"; _d5.Close(); - //BA.debugLineNum = 146;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; -if (((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))!=(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 147;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=53870664; + //BA.debugLineNum = 53870664;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +if (((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))!=(double)(Double.parseDouble("0"))) { +RDebugUtils.currentLine=53870665; + //BA.debugLineNum = 53870665;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 148;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=53870666; + //BA.debugLineNum = 53870666;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 150;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=53870668; + //BA.debugLineNum = 53870668;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")))+"'")))); - //BA.debugLineNum = 151;BA.debugLine="Private resta As String = 0"; +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=53870669; + //BA.debugLineNum = 53870669;BA.debugLine="Private resta As String = 0"; _resta = BA.NumberToString(0); - //BA.debugLineNum = 153;BA.debugLine="If c3.RowCount > 0 Then"; +RDebugUtils.currentLine=53870671; + //BA.debugLineNum = 53870671;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { - //BA.debugLineNum = 155;BA.debugLine="c3.Position = 0"; +RDebugUtils.currentLine=53870673; + //BA.debugLineNum = 53870673;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 156;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=53870674; + //BA.debugLineNum = 53870674;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { - //BA.debugLineNum = 159;BA.debugLine="resta = 0"; +RDebugUtils.currentLine=53870677; + //BA.debugLineNum = 53870677;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; - //BA.debugLineNum = 162;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +RDebugUtils.currentLine=53870680; + //BA.debugLineNum = 53870680;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 163;BA.debugLine="If preciocat.RowCount > 0 Then"; +_preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=53870681; + //BA.debugLineNum = 53870681;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 164;BA.debugLine="preciocat.Position = 0"; +RDebugUtils.currentLine=53870682; + //BA.debugLineNum = 53870682;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 165;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +RDebugUtils.currentLine=53870683; + //BA.debugLineNum = 53870683;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 167;BA.debugLine="preciocat.Close"; +RDebugUtils.currentLine=53870685; + //BA.debugLineNum = 53870685;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 168;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; -__c.LogImpl("819136606",_c.GetString("HVD_CODPROMO"),0); - //BA.debugLineNum = 169;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("819136607",_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)); +RDebugUtils.currentLine=53870686; + //BA.debugLineNum = 53870686;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; +__c.LogImpl("253870686",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),0); +RDebugUtils.currentLine=53870687; + //BA.debugLineNum = 53870687;BA.debugLine="Log(Subs.traeAlmacen)"; +__c.LogImpl("253870687",_subs._traealmacen /*String*/ (ba),0); +RDebugUtils.currentLine=53870690; + //BA.debugLineNum = 53870690;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { +RDebugUtils.currentLine=53870691; + //BA.debugLineNum = 53870691;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")),(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }else { - //BA.debugLineNum = 175;BA.debugLine="Log(\"aqui arriba\")"; -__c.LogImpl("819136613","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)); +RDebugUtils.currentLine=53870693; + //BA.debugLineNum = 53870693;BA.debugLine="Log(\"aqui arriba\")"; +__c.LogImpl("253870693","aqui arriba",0); +RDebugUtils.currentLine=53870694; + //BA.debugLineNum = 53870694;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_preciofull,(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; - }else if(_c2.getRowCount()==0) { - //BA.debugLineNum = 181;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; + }else +{RDebugUtils.currentLine=53870698; + //BA.debugLineNum = 53870698;BA.debugLine="Else iF c2.RowCount = 0 Then"; +if (_c2.getRowCount()==0) { +RDebugUtils.currentLine=53870699; + //BA.debugLineNum = 53870699;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")))+"'")))); - //BA.debugLineNum = 182;BA.debugLine="Private resta As String = 0"; +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=53870700; + //BA.debugLineNum = 53870700;BA.debugLine="Private resta As String = 0"; _resta = BA.NumberToString(0); - //BA.debugLineNum = 184;BA.debugLine="If c3.RowCount > 0 Then"; +RDebugUtils.currentLine=53870702; + //BA.debugLineNum = 53870702;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { - //BA.debugLineNum = 186;BA.debugLine="c3.Position = 0"; +RDebugUtils.currentLine=53870704; + //BA.debugLineNum = 53870704;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 187;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=53870705; + //BA.debugLineNum = 53870705;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { - //BA.debugLineNum = 190;BA.debugLine="resta = 0"; +RDebugUtils.currentLine=53870708; + //BA.debugLineNum = 53870708;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; - //BA.debugLineNum = 194;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +RDebugUtils.currentLine=53870712; + //BA.debugLineNum = 53870712;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 195;BA.debugLine="If preciocat.RowCount > 0 Then"; +_preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=53870713; + //BA.debugLineNum = 53870713;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 196;BA.debugLine="preciocat.Position = 0"; +RDebugUtils.currentLine=53870714; + //BA.debugLineNum = 53870714;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 197;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +RDebugUtils.currentLine=53870715; + //BA.debugLineNum = 53870715;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 199;BA.debugLine="preciocat.Close"; +RDebugUtils.currentLine=53870717; + //BA.debugLineNum = 53870717;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 200;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; -__c.LogImpl("819136638",_c.GetString("HVD_CODPROMO"),0); - //BA.debugLineNum = 201;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("819136639",_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)); +RDebugUtils.currentLine=53870718; + //BA.debugLineNum = 53870718;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; +__c.LogImpl("253870718",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),0); +RDebugUtils.currentLine=53870719; + //BA.debugLineNum = 53870719;BA.debugLine="Log(Subs.traeAlmacen)"; +__c.LogImpl("253870719",_subs._traealmacen /*String*/ (ba),0); +RDebugUtils.currentLine=53870721; + //BA.debugLineNum = 53870721;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { +RDebugUtils.currentLine=53870722; + //BA.debugLineNum = 53870722;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")),(int) (0),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }else { - //BA.debugLineNum = 206;BA.debugLine="Log(\"aqui abajo\")"; -__c.LogImpl("819136644","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)); +RDebugUtils.currentLine=53870724; + //BA.debugLineNum = 53870724;BA.debugLine="Log(\"aqui abajo\")"; +__c.LogImpl("253870724","aqui abajo",0); +RDebugUtils.currentLine=53870725; + //BA.debugLineNum = 53870725;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_preciofull,(int) (0),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; + }} +; }; - }; - //BA.debugLineNum = 214;BA.debugLine="c2.Close"; +RDebugUtils.currentLine=53870732; + //BA.debugLineNum = 53870732;BA.debugLine="c2.Close"; _c2.Close(); - }else if((_c.GetString("BCAJAS")).equals("1")) { - //BA.debugLineNum = 218;BA.debugLine="Log(\"AQUI1\")"; -__c.LogImpl("819136656","AQUI1",0); - //BA.debugLineNum = 221;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery("; + }else +{RDebugUtils.currentLine=53870735; + //BA.debugLineNum = 53870735;BA.debugLine="Else If c.GetString(\"BCAJAS\") = \"1\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BCAJAS")).equals("1")) { +RDebugUtils.currentLine=53870736; + //BA.debugLineNum = 53870736;BA.debugLine="Log(\"AQUI1\")"; +__c.LogImpl("253870736","AQUI1",0); +RDebugUtils.currentLine=53870739; + //BA.debugLineNum = 53870739;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")))+"'")))); - //BA.debugLineNum = 222;BA.debugLine="Private cant2 As Int = 0"; +_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+"'")))); +RDebugUtils.currentLine=53870740; + //BA.debugLineNum = 53870740;BA.debugLine="Private cant2 As Int = 0"; _cant2 = (int) (0); - //BA.debugLineNum = 223;BA.debugLine="If oc.RowCount > 0 Then"; +RDebugUtils.currentLine=53870741; + //BA.debugLineNum = 53870741;BA.debugLine="If oc.RowCount > 0 Then"; if (_oc.getRowCount()>0) { - //BA.debugLineNum = 224;BA.debugLine="oc.Position = 0"; +RDebugUtils.currentLine=53870742; + //BA.debugLineNum = 53870742;BA.debugLine="oc.Position = 0"; _oc.setPosition((int) (0)); - //BA.debugLineNum = 225;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=53870743; + //BA.debugLineNum = 53870743;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; _cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); }; - //BA.debugLineNum = 227;BA.debugLine="oc.Close"; +RDebugUtils.currentLine=53870745; + //BA.debugLineNum = 53870745;BA.debugLine="oc.Close"; _oc.Close(); - //BA.debugLineNum = 228;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=53870746; + //BA.debugLineNum = 53870746;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 229;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 230;BA.debugLine="label1.TextSize = 12"; +RDebugUtils.currentLine=53870747; + //BA.debugLineNum = 53870747;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=53870748; + //BA.debugLineNum = 53870748;BA.debugLine="label1.TextSize = 12"; _label1.setTextSize((float) (12)); - //BA.debugLineNum = 231;BA.debugLine="label1.TextColor = Colors.black"; +RDebugUtils.currentLine=53870749; + //BA.debugLineNum = 53870749;BA.debugLine="label1.TextColor = Colors.black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 232;BA.debugLine="Dim Label2 As Label"; +RDebugUtils.currentLine=53870750; + //BA.debugLineNum = 53870750;BA.debugLine="Dim Label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 233;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 234;BA.debugLine="Label2.TextSize = 12"; -_label2.setTextSize((float) (12)); - //BA.debugLineNum = 235;BA.debugLine="Label2.TextColor = Colors.black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 236;BA.debugLine="Private bgColor, textColor As Int"; +RDebugUtils.currentLine=53870751; + //BA.debugLineNum = 53870751;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=53870752; + //BA.debugLineNum = 53870752;BA.debugLine="Label2.TextSize = 12"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=53870753; + //BA.debugLineNum = 53870753;BA.debugLine="Label2.TextColor = Colors.black"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=53870754; + //BA.debugLineNum = 53870754;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; _textcolor = 0; - //BA.debugLineNum = 237;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +RDebugUtils.currentLine=53870755; + //BA.debugLineNum = 53870755;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; _bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 238;BA.debugLine="textColor = Colors.black"; +RDebugUtils.currentLine=53870756; + //BA.debugLineNum = 53870756;BA.debugLine="textColor = Colors.black"; _textcolor = __c.Colors.Black; - //BA.debugLineNum = 239;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { - //BA.debugLineNum = 241;BA.debugLine="bgColor = Colors.White"; +RDebugUtils.currentLine=53870757; + //BA.debugLineNum = 53870757;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=53870759; + //BA.debugLineNum = 53870759;BA.debugLine="bgColor = Colors.White"; _bgcolor = __c.Colors.White; }; - //BA.debugLineNum = 246;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=53870764; + //BA.debugLineNum = 53870764;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 248;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=53870766; + //BA.debugLineNum = 53870766;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; _d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_d5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 249;BA.debugLine="d5.Position = 0"; +_d5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=53870767; + //BA.debugLineNum = 53870767;BA.debugLine="d5.Position = 0"; _d5.setPosition((int) (0)); - //BA.debugLineNum = 250;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; +RDebugUtils.currentLine=53870768; + //BA.debugLineNum = 53870768;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; _restacant = _d5.GetString("PE_CANT"); - //BA.debugLineNum = 251;BA.debugLine="d5.Close"; +RDebugUtils.currentLine=53870769; + //BA.debugLineNum = 53870769;BA.debugLine="d5.Close"; _d5.Close(); - //BA.debugLineNum = 253;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; -if (((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))!=(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 254;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=53870771; + //BA.debugLineNum = 53870771;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +if (((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))!=(double)(Double.parseDouble("0"))) { +RDebugUtils.currentLine=53870772; + //BA.debugLineNum = 53870772;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 255;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=53870773; + //BA.debugLineNum = 53870773;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 256;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")"; -__c.LogImpl("819136694","SI ENTRO A PONER CAJAS BIEN ",0); - //BA.debugLineNum = 257;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))"; -__c.LogImpl("819136695",_c2.GetString("PE_CAJAS"),0); - //BA.debugLineNum = 258;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=53870774; + //BA.debugLineNum = 53870774;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")"; +__c.LogImpl("253870774","SI ENTRO A PONER CAJAS BIEN ",0); +RDebugUtils.currentLine=53870775; + //BA.debugLineNum = 53870775;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))"; +__c.LogImpl("253870775",_c2.GetString("PE_CAJAS"),0); +RDebugUtils.currentLine=53870776; + //BA.debugLineNum = 53870776;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")))+"'")))); - //BA.debugLineNum = 259;BA.debugLine="Private resta As String = 0"; +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=53870777; + //BA.debugLineNum = 53870777;BA.debugLine="Private resta As String = 0"; _resta = BA.NumberToString(0); - //BA.debugLineNum = 261;BA.debugLine="If c3.RowCount > 0 Then"; +RDebugUtils.currentLine=53870779; + //BA.debugLineNum = 53870779;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { - //BA.debugLineNum = 263;BA.debugLine="c3.Position = 0"; +RDebugUtils.currentLine=53870781; + //BA.debugLineNum = 53870781;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 264;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=53870782; + //BA.debugLineNum = 53870782;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { - //BA.debugLineNum = 267;BA.debugLine="resta = 0"; +RDebugUtils.currentLine=53870785; + //BA.debugLineNum = 53870785;BA.debugLine="resta = 0"; _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("819136708",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)); +RDebugUtils.currentLine=53870787; + //BA.debugLineNum = 53870787;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; +_puc = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTC")))); +RDebugUtils.currentLine=53870788; + //BA.debugLineNum = 53870788;BA.debugLine="LogColor((restacant/Subs.traeConversion(c.Ge"; +__c.LogImpl("253870788",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))))),__c.Colors.Green); +RDebugUtils.currentLine=53870789; + //BA.debugLineNum = 53870789;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_puc,(int) (((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))))),(int) ((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }else { - //BA.debugLineNum = 273;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")"; -__c.LogImpl("819136711","NO ENTRO A PONER CAJAS BIEN ",0); - //BA.debugLineNum = 274;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=53870791; + //BA.debugLineNum = 53870791;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")"; +__c.LogImpl("253870791","NO ENTRO A PONER CAJAS BIEN ",0); +RDebugUtils.currentLine=53870792; + //BA.debugLineNum = 53870792;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")))+"'")))); - //BA.debugLineNum = 275;BA.debugLine="Private resta As String = 0"; +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=53870793; + //BA.debugLineNum = 53870793;BA.debugLine="Private resta As String = 0"; _resta = BA.NumberToString(0); - //BA.debugLineNum = 277;BA.debugLine="If c3.RowCount > 0 Then"; +RDebugUtils.currentLine=53870795; + //BA.debugLineNum = 53870795;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { - //BA.debugLineNum = 279;BA.debugLine="c3.Position = 0"; +RDebugUtils.currentLine=53870797; + //BA.debugLineNum = 53870797;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 280;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +RDebugUtils.currentLine=53870798; + //BA.debugLineNum = 53870798;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { - //BA.debugLineNum = 283;BA.debugLine="resta = 0"; +RDebugUtils.currentLine=53870801; + //BA.debugLineNum = 53870801;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; - //BA.debugLineNum = 285;BA.debugLine="LogColor(resta,Colors.Green)"; -__c.LogImpl("819136723",_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(\""; -_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) (0),(int) ((((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(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)); +RDebugUtils.currentLine=53870803; + //BA.debugLineNum = 53870803;BA.debugLine="LogColor(resta,Colors.Green)"; +__c.LogImpl("253870803",_resta,__c.Colors.Green); +RDebugUtils.currentLine=53870804; + //BA.debugLineNum = 53870804;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; +_puc = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTC")))); +RDebugUtils.currentLine=53870806; + //BA.debugLineNum = 53870806;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_puc,(int) (0),(int) ((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; }; - //BA.debugLineNum = 291;BA.debugLine="c2.Close"; +RDebugUtils.currentLine=53870809; + //BA.debugLineNum = 53870809;BA.debugLine="c2.Close"; _c2.Close(); - }; + }} +; } }; }; - //BA.debugLineNum = 360;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53870878; + //BA.debugLineNum = 53870878;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _b_prodmasc_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmasc_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmasc_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _maxprods = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +String _puc = ""; +RDebugUtils.currentLine=54525952; + //BA.debugLineNum = 54525952;BA.debugLine="Private Sub b_prodMasC_Click"; +RDebugUtils.currentLine=54525953; + //BA.debugLineNum = 54525953;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=54525955; + //BA.debugLineNum = 54525955;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("254525955","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=54525956; + //BA.debugLineNum = 54525956;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=54525957; + //BA.debugLineNum = 54525957;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=54525958; + //BA.debugLineNum = 54525958;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=54525959; + //BA.debugLineNum = 54525959;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=54525960; + //BA.debugLineNum = 54525960;BA.debugLine="LogColor(laCantc.Text&\"--------------------------"; +__c.LogImpl("254525960",_lacantc.getText()+"-----------------------------",__c.Colors.Blue); +RDebugUtils.currentLine=54525964; + //BA.debugLineNum = 54525964;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); +RDebugUtils.currentLine=54525965; + //BA.debugLineNum = 54525965;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; +__c.LogImpl("254525965","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=54525966; + //BA.debugLineNum = 54525966;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=54525968; + //BA.debugLineNum = 54525968;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; +_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))))); +RDebugUtils.currentLine=54525969; + //BA.debugLineNum = 54525969;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; +__c.LogImpl("254525969",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); +RDebugUtils.currentLine=54525970; + //BA.debugLineNum = 54525970;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; +__c.LogImpl("254525970",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); +RDebugUtils.currentLine=54525971; + //BA.debugLineNum = 54525971;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("254525971",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=54525973; + //BA.debugLineNum = 54525973;BA.debugLine="Log(maxProds)"; +__c.LogImpl("254525973",_maxprods,0); +RDebugUtils.currentLine=54525976; + //BA.debugLineNum = 54525976;BA.debugLine="Log(esteTag.Get(4))"; +__c.LogImpl("254525976",BA.ObjectToString(_estetag.Get((int) (4))),0); +RDebugUtils.currentLine=54525977; + //BA.debugLineNum = 54525977;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; +if ((_estetag.Get((int) (4))).equals((Object)("0"))) { + }else { +RDebugUtils.currentLine=54525980; + //BA.debugLineNum = 54525980;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { +RDebugUtils.currentLine=54525981; + //BA.debugLineNum = 54525981;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; +__c.LogImpl("254525981",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); +RDebugUtils.currentLine=54525983; + //BA.debugLineNum = 54525983;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; +_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""))); +RDebugUtils.currentLine=54525984; + //BA.debugLineNum = 54525984;BA.debugLine="LogColor(esteTag,Colors.Magenta)"; +__c.LogImpl("254525984",BA.ObjectToString(_estetag),__c.Colors.Magenta); +RDebugUtils.currentLine=54525986; + //BA.debugLineNum = 54525986;BA.debugLine="LogColor(laCantc.Text,Colors.Red)"; +__c.LogImpl("254525986",_lacantc.getText(),__c.Colors.Red); +RDebugUtils.currentLine=54525989; + //BA.debugLineNum = 54525989;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=54525990; + //BA.debugLineNum = 54525990;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=54525991; + //BA.debugLineNum = 54525991;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=54525992; + //BA.debugLineNum = 54525992;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=54525993; + //BA.debugLineNum = 54525993;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=54525994; + //BA.debugLineNum = 54525994;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; +_puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC")))); +RDebugUtils.currentLine=54525996; + //BA.debugLineNum = 54525996;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)+(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= (IFNULL(PE_CAJAS,0)+1)*'"+__c.SmartStringFormatter("",(Object)(_puc))+"', PE_CAJAS= IFNULL(PE_CAJAS,0) + 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); +RDebugUtils.currentLine=54525997; + //BA.debugLineNum = 54525997;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=54525998; + //BA.debugLineNum = 54525998;BA.debugLine="Log(\"aqui2\")"; +__c.LogImpl("254525998","aqui2",0); + }; + }else { +RDebugUtils.currentLine=54526001; + //BA.debugLineNum = 54526001;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=54526002; + //BA.debugLineNum = 54526002;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=54526003; + //BA.debugLineNum = 54526003;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=54526004; + //BA.debugLineNum = 54526004;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; +_puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC")))); +RDebugUtils.currentLine=54526005; + //BA.debugLineNum = 54526005;BA.debugLine="Log(puc)"; +__c.LogImpl("254526005",_puc,0); +RDebugUtils.currentLine=54526008; + //BA.debugLineNum = 54526008;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDID"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,1,1,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_puc,_puc,BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); +RDebugUtils.currentLine=54526009; + //BA.debugLineNum = 54526009;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; + }; + }; +RDebugUtils.currentLine=54526015; + //BA.debugLineNum = 54526015;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenos_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmenos_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _minimoadesc = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +float _preciou = 0f; +RDebugUtils.currentLine=54394880; + //BA.debugLineNum = 54394880;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=54394881; + //BA.debugLineNum = 54394881;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=54394882; + //BA.debugLineNum = 54394882;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("254394882","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=54394883; + //BA.debugLineNum = 54394883;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("254394883","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=54394884; + //BA.debugLineNum = 54394884;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=54394885; + //BA.debugLineNum = 54394885;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=54394886; + //BA.debugLineNum = 54394886;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=54394887; + //BA.debugLineNum = 54394887;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=54394889; + //BA.debugLineNum = 54394889;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=54394890; + //BA.debugLineNum = 54394890;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +__c.LogImpl("254394890","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=54394892; + //BA.debugLineNum = 54394892;BA.debugLine="Private minimoadesc As String"; +_minimoadesc = ""; +RDebugUtils.currentLine=54394893; + //BA.debugLineNum = 54394893;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=54394894; + //BA.debugLineNum = 54394894;BA.debugLine="If minimos.RowCount > 0 Then"; +if (_minimos.getRowCount()>0) { +RDebugUtils.currentLine=54394895; + //BA.debugLineNum = 54394895;BA.debugLine="minimos.Position = 0"; +_minimos.setPosition((int) (0)); +RDebugUtils.currentLine=54394896; + //BA.debugLineNum = 54394896;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); + }else { +RDebugUtils.currentLine=54394898; + //BA.debugLineNum = 54394898;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; + }; +RDebugUtils.currentLine=54394900; + //BA.debugLineNum = 54394900;BA.debugLine="minimos.Close"; +_minimos.Close(); +RDebugUtils.currentLine=54394902; + //BA.debugLineNum = 54394902;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; +RDebugUtils.currentLine=54394903; + //BA.debugLineNum = 54394903;BA.debugLine="If laCant.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant.getText()))>0) { +RDebugUtils.currentLine=54394938; + //BA.debugLineNum = 54394938;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=54394939; + //BA.debugLineNum = 54394939;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-(1*minimoadesc)"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-(1*(double)(Double.parseDouble(_minimoadesc)))))+""))); +RDebugUtils.currentLine=54394940; + //BA.debugLineNum = 54394940;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=54394941; + //BA.debugLineNum = 54394941;BA.debugLine="Log(\"NO ES promo\")"; +__c.LogImpl("254394941","NO ES promo",0); +RDebugUtils.currentLine=54394946; + //BA.debugLineNum = 54394946;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=54394947; + //BA.debugLineNum = 54394947;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=54394948; + //BA.debugLineNum = 54394948;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=54394949; + //BA.debugLineNum = 54394949;BA.debugLine="If c3.GetString(\"PE_CANT\")> minimoadesc Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>(double)(Double.parseDouble(_minimoadesc))) { +RDebugUtils.currentLine=54394950; + //BA.debugLineNum = 54394950;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=54394951; + //BA.debugLineNum = 54394951;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=54394952; + //BA.debugLineNum = 54394952;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=54394954; + //BA.debugLineNum = 54394954;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }; + }else +{RDebugUtils.currentLine=54394956; + //BA.debugLineNum = 54394956;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = minimoadesc T"; +if ((_c3.GetString("PE_CANT")).equals(_minimoadesc)) { +RDebugUtils.currentLine=54394957; + //BA.debugLineNum = 54394957;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=54394958; + //BA.debugLineNum = 54394958;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=54394959; + //BA.debugLineNum = 54394959;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=54394962; + //BA.debugLineNum = 54394962;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }; + }} +; + }; +RDebugUtils.currentLine=54394969; + //BA.debugLineNum = 54394969;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; +RDebugUtils.currentLine=54394972; + //BA.debugLineNum = 54394972;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=54394973; + //BA.debugLineNum = 54394973;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("254394973","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=54394984; + //BA.debugLineNum = 54394984;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenosc_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmenosc_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenosc_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +float _preciou = 0f; +RDebugUtils.currentLine=54591488; + //BA.debugLineNum = 54591488;BA.debugLine="Private Sub b_prodMenosC_Click"; +RDebugUtils.currentLine=54591489; + //BA.debugLineNum = 54591489;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=54591490; + //BA.debugLineNum = 54591490;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("254591490","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=54591491; + //BA.debugLineNum = 54591491;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("254591491","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=54591492; + //BA.debugLineNum = 54591492;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=54591493; + //BA.debugLineNum = 54591493;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=54591494; + //BA.debugLineNum = 54591494;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=54591495; + //BA.debugLineNum = 54591495;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=54591497; + //BA.debugLineNum = 54591497;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); +RDebugUtils.currentLine=54591498; + //BA.debugLineNum = 54591498;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; +__c.LogImpl("254591498","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=54591502; + //BA.debugLineNum = 54591502;BA.debugLine="If laCantc.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))>0) { +RDebugUtils.currentLine=54591505; + //BA.debugLineNum = 54591505;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=54591506; + //BA.debugLineNum = 54591506;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=54591507; + //BA.debugLineNum = 54591507;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=54591508; + //BA.debugLineNum = 54591508;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { +RDebugUtils.currentLine=54591509; + //BA.debugLineNum = 54591509;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }else +{RDebugUtils.currentLine=54591510; + //BA.debugLineNum = 54591510;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +if ((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=54591511; + //BA.debugLineNum = 54591511;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }} +; + }; +RDebugUtils.currentLine=54591514; + //BA.debugLineNum = 54591514;BA.debugLine="Log(\"entre al if o algo asi \")"; +__c.LogImpl("254591514","entre al if o algo asi ",0); +RDebugUtils.currentLine=54591515; + //BA.debugLineNum = 54591515;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=54591516; + //BA.debugLineNum = 54591516;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); +RDebugUtils.currentLine=54591517; + //BA.debugLineNum = 54591517;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +if ((double)(Double.parseDouble(_lacantc.getText()))<0) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=54591518; + //BA.debugLineNum = 54591518;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else +{RDebugUtils.currentLine=54591520; + //BA.debugLineNum = 54591520;BA.debugLine="Else If laCantc.Text = 0 Then"; +if ((_lacantc.getText()).equals(BA.NumberToString(0))) { + }} +; +RDebugUtils.currentLine=54591524; + //BA.debugLineNum = 54591524;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=54591525; + //BA.debugLineNum = 54591525;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("254591525","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=54591526; + //BA.debugLineNum = 54591526;BA.debugLine="End Sub"; +return ""; +} +public String _b_regresar_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_regresar_click", false)) + {return ((String) Debug.delegate(ba, "b_regresar_click", null));} +RDebugUtils.currentLine=54001664; + //BA.debugLineNum = 54001664;BA.debugLine="Sub b_regresar_Click"; +RDebugUtils.currentLine=54001665; + //BA.debugLineNum = 54001665;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=54001666; + //BA.debugLineNum = 54001666;BA.debugLine="End Sub"; +return ""; +} +public String _b_revversar_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_revversar_click", false)) + {return ((String) Debug.delegate(ba, "b_revversar_click", null));} +RDebugUtils.currentLine=54722560; + //BA.debugLineNum = 54722560;BA.debugLine="Private Sub b_revversar_Click"; +RDebugUtils.currentLine=54722561; + //BA.debugLineNum = 54722561;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0 WHERE HVD_cliente in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=54722562; + //BA.debugLineNum = 54722562;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=54722563; + //BA.debugLineNum = 54722563;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_intmex.keymon.lat.c_productos __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,int _consecutivo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original,_consecutivo}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=54263808; + //BA.debugLineNum = 54263808;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=54263809; + //BA.debugLineNum = 54263809;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=54263810; + //BA.debugLineNum = 54263810;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=54263811; + //BA.debugLineNum = 54263811;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=54263812; + //BA.debugLineNum = 54263812;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=54263813; + //BA.debugLineNum = 54263813;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=54263814; + //BA.debugLineNum = 54263814;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=54263815; + //BA.debugLineNum = 54263815;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=54263816; + //BA.debugLineNum = 54263816;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=54263817; + //BA.debugLineNum = 54263817;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=54263818; + //BA.debugLineNum = 54263818;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=54263819; + //BA.debugLineNum = 54263819;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=54263821; + //BA.debugLineNum = 54263821;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=54263824; + //BA.debugLineNum = 54263824;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=54263825; + //BA.debugLineNum = 54263825;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=54263826; + //BA.debugLineNum = 54263826;BA.debugLine="p_prods.Tag = l_pCant.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=54263828; + //BA.debugLineNum = 54263828;BA.debugLine="l_pCant.Text = inv"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_inv)); +RDebugUtils.currentLine=54263832; + //BA.debugLineNum = 54263832;BA.debugLine="l_pCant.BringToFront"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=54263833; + //BA.debugLineNum = 54263833;BA.debugLine="et_pCant.SendToBack"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=54263834; + //BA.debugLineNum = 54263834;BA.debugLine="p_botMasMenC.Visible = False"; +__ref._p_botmasmenc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54263835; + //BA.debugLineNum = 54263835;BA.debugLine="l_cajas.Visible = False"; +__ref._l_cajas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54263837; + //BA.debugLineNum = 54263837;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=54263838; + //BA.debugLineNum = 54263838;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(reparto_intmex.keymon.lat.c_productos __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,int _consecutivo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original,_consecutivo}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=54329344; + //BA.debugLineNum = 54329344;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +RDebugUtils.currentLine=54329345; + //BA.debugLineNum = 54329345;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=54329346; + //BA.debugLineNum = 54329346;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=54329347; + //BA.debugLineNum = 54329347;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=54329348; + //BA.debugLineNum = 54329348;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=54329349; + //BA.debugLineNum = 54329349;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=54329350; + //BA.debugLineNum = 54329350;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=54329351; + //BA.debugLineNum = 54329351;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=54329352; + //BA.debugLineNum = 54329352;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=54329353; + //BA.debugLineNum = 54329353;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=54329354; + //BA.debugLineNum = 54329354;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=54329355; + //BA.debugLineNum = 54329355;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=54329358; + //BA.debugLineNum = 54329358;BA.debugLine="Log(inv&\" inventario 1\")"; +__c.LogImpl("254329358",BA.NumberToString(_inv)+" inventario 1",0); +RDebugUtils.currentLine=54329359; + //BA.debugLineNum = 54329359;BA.debugLine="Log(inv2&\" inventario 2\")"; +__c.LogImpl("254329359",BA.NumberToString(_inv2)+" inventario 2",0); +RDebugUtils.currentLine=54329360; + //BA.debugLineNum = 54329360;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=54329362; + //BA.debugLineNum = 54329362;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=54329363; + //BA.debugLineNum = 54329363;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=54329364; + //BA.debugLineNum = 54329364;BA.debugLine="p_prods.Tag = l_pCantC.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=54329366; + //BA.debugLineNum = 54329366;BA.debugLine="l_pCantC.Text = NumberFormat2(inv,0,0,0,False)"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_inv,(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=54329370; + //BA.debugLineNum = 54329370;BA.debugLine="l_pCantC.BringToFront"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=54329371; + //BA.debugLineNum = 54329371;BA.debugLine="et_pCantC.SendToBack"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=54329372; + //BA.debugLineNum = 54329372;BA.debugLine="p_botMasMen.Visible = False"; +__ref._p_botmasmen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54329373; + //BA.debugLineNum = 54329373;BA.debugLine="l_piezas.Visible = False"; +__ref._l_piezas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54329375; + //BA.debugLineNum = 54329375;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=54329376; + //BA.debugLineNum = 54329376;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_productos parent) { +public ResumableSub_B4XPage_CloseRequest(reparto_intmex.keymon.lat.c_productos parent,reparto_intmex.keymon.lat.c_productos __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_productos __ref; reparto_intmex.keymon.lat.c_productos parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_productos"; while (true) { switch (state) { @@ -945,296 +1516,285 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 374;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=54067203; + //BA.debugLineNum = 54067203;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 376;BA.debugLine="Return False"; +RDebugUtils.currentLine=54067205; + //BA.debugLineNum = 54067205;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 377;BA.debugLine="End Sub"; +RDebugUtils.currentLine=54067206; + //BA.debugLineNum = 54067206;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 63;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 64;BA.debugLine="B4XPages.SetTitle(Me, \"Productos\")"; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_productos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=53805056; + //BA.debugLineNum = 53805056;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=53805057; + //BA.debugLineNum = 53805057;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=53805058; + //BA.debugLineNum = 53805058;BA.debugLine="B4XPages.SetTitle(Me, \"Productos\")"; _b4xpages._settitle /*String*/ (ba,this,(Object)("Productos")); - //BA.debugLineNum = 66;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 67;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; -_root.LoadLayout("detalleVenta",ba); - //BA.debugLineNum = 68;BA.debugLine="b_borra.Visible = False"; -_b_borra.setVisible(__c.False); - //BA.debugLineNum = 69;BA.debugLine="Titulo.Text = \"Pedido\""; -_titulo.setText(BA.ObjectToCharSequence("Pedido")); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53805060; + //BA.debugLineNum = 53805060;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=53805061; + //BA.debugLineNum = 53805061;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("detalleVenta",ba); +RDebugUtils.currentLine=53805062; + //BA.debugLineNum = 53805062;BA.debugLine="b_borra.Visible = False"; +__ref._b_borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=53805063; + //BA.debugLineNum = 53805063;BA.debugLine="Titulo.Text = \"Pedido\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Pedido")); +RDebugUtils.currentLine=53805064; + //BA.debugLineNum = 53805064;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +RDebugUtils.currentLine=53673984; + //BA.debugLineNum = 53673984;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=53673985; + //BA.debugLineNum = 53673985;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=53673986; + //BA.debugLineNum = 53673986;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=53673987; + //BA.debugLineNum = 53673987;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=53673988; + //BA.debugLineNum = 53673988;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=53673989; + //BA.debugLineNum = 53673989;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=53673990; + //BA.debugLineNum = 53673990;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=53673991; + //BA.debugLineNum = 53673991;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim b_regresar As Button"; +RDebugUtils.currentLine=53673993; + //BA.debugLineNum = 53673993;BA.debugLine="Dim b_regresar As Button"; _b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=53673994; + //BA.debugLineNum = 53673994;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim L_CANT As Label"; +RDebugUtils.currentLine=53673995; + //BA.debugLineNum = 53673995;BA.debugLine="Dim L_CANT As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim L_TOTAL As Label"; +RDebugUtils.currentLine=53673996; + //BA.debugLineNum = 53673996;BA.debugLine="Dim L_TOTAL As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim b_borra As Button"; +RDebugUtils.currentLine=53673997; + //BA.debugLineNum = 53673997;BA.debugLine="Dim b_borra As Button"; _b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; +RDebugUtils.currentLine=53673998; + //BA.debugLineNum = 53673998;BA.debugLine="Dim Existe As String"; _existe = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; +RDebugUtils.currentLine=53673999; + //BA.debugLineNum = 53673999;BA.debugLine="Dim result As String"; _result = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; +RDebugUtils.currentLine=53674001; + //BA.debugLineNum = 53674001;BA.debugLine="Dim cuantos As String"; _cuantos = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; +RDebugUtils.currentLine=53674002; + //BA.debugLineNum = 53674002;BA.debugLine="Dim nombre_prod As String"; _nombre_prod = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; +RDebugUtils.currentLine=53674003; + //BA.debugLineNum = 53674003;BA.debugLine="Dim cuantos_pedido As String"; _cuantos_pedido = ""; - //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; +RDebugUtils.currentLine=53674004; + //BA.debugLineNum = 53674004;BA.debugLine="Private Titulo As Label"; _titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; +RDebugUtils.currentLine=53674005; + //BA.debugLineNum = 53674005;BA.debugLine="Private P1 As Panel"; _p1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; +RDebugUtils.currentLine=53674006; + //BA.debugLineNum = 53674006;BA.debugLine="Private lv2 As ListView"; _lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=53674007; + //BA.debugLineNum = 53674007;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; +RDebugUtils.currentLine=53674008; + //BA.debugLineNum = 53674008;BA.debugLine="Dim clv_pedido As CustomListView"; _clv_pedido = new b4a.example3.customlistview(); - //BA.debugLineNum = 26;BA.debugLine="Private p_prods As Panel"; +RDebugUtils.currentLine=53674009; + //BA.debugLineNum = 53674009;BA.debugLine="Private p_prods As Panel"; _p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private l_prodX As Label"; +RDebugUtils.currentLine=53674010; + //BA.debugLineNum = 53674010;BA.debugLine="Private l_prodX As Label"; _l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private l_pCant As Label"; +RDebugUtils.currentLine=53674011; + //BA.debugLineNum = 53674011;BA.debugLine="Private l_pCant As Label"; _l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private et_pCant As EditText"; +RDebugUtils.currentLine=53674012; + //BA.debugLineNum = 53674012;BA.debugLine="Private et_pCant As EditText"; _et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim bmp As Bitmap"; +RDebugUtils.currentLine=53674013; + //BA.debugLineNum = 53674013;BA.debugLine="Dim bmp As Bitmap"; _bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +RDebugUtils.currentLine=53674014; + //BA.debugLineNum = 53674014;BA.debugLine="Dim etCantHasFocus As Boolean = False"; _etcanthasfocus = __c.False; - //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; +RDebugUtils.currentLine=53674015; + //BA.debugLineNum = 53674015;BA.debugLine="Dim totalProds As Int = 0"; _totalprods = (int) (0); - //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; +RDebugUtils.currentLine=53674016; + //BA.debugLineNum = 53674016;BA.debugLine="Dim totalCompra As Int = 0"; _totalcompra = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; +RDebugUtils.currentLine=53674017; + //BA.debugLineNum = 53674017;BA.debugLine="Dim prodsMap As Map"; _prodsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +RDebugUtils.currentLine=53674018; + //BA.debugLineNum = 53674018;BA.debugLine="Dim reconstruirPedido As Boolean = False"; _reconstruirpedido = __c.False; - //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; +RDebugUtils.currentLine=53674019; + //BA.debugLineNum = 53674019;BA.debugLine="Dim promoABorrar As String"; _promoaborrar = ""; - //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; +RDebugUtils.currentLine=53674020; + //BA.debugLineNum = 53674020;BA.debugLine="Private b_guardar As Button"; _b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_prodMas As Button"; +RDebugUtils.currentLine=53674021; + //BA.debugLineNum = 53674021;BA.debugLine="Private b_prodMas As Button"; _b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private b_prodMenos As Button"; +RDebugUtils.currentLine=53674022; + //BA.debugLineNum = 53674022;BA.debugLine="Private b_prodMenos As Button"; _b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Private b_prodMenosC As Button"; +RDebugUtils.currentLine=53674023; + //BA.debugLineNum = 53674023;BA.debugLine="Private b_prodMenosC As Button"; _b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private l_pCantC As Label"; +RDebugUtils.currentLine=53674024; + //BA.debugLineNum = 53674024;BA.debugLine="Private l_pCantC As Label"; _l_pcantc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Private et_pCantC As EditText"; +RDebugUtils.currentLine=53674025; + //BA.debugLineNum = 53674025;BA.debugLine="Private et_pCantC As EditText"; _et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Private b_prodMasC As Button"; +RDebugUtils.currentLine=53674026; + //BA.debugLineNum = 53674026;BA.debugLine="Private b_prodMasC As Button"; _b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Private p_botMasMenC As Panel"; +RDebugUtils.currentLine=53674027; + //BA.debugLineNum = 53674027;BA.debugLine="Private p_botMasMenC As Panel"; _p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Private p_botMasMen As Panel"; +RDebugUtils.currentLine=53674028; + //BA.debugLineNum = 53674028;BA.debugLine="Private p_botMasMen As Panel"; _p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Private b_revversar As Button"; +RDebugUtils.currentLine=53674029; + //BA.debugLineNum = 53674029;BA.debugLine="Private b_revversar As Button"; _b_revversar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Private Label2 As Label"; +RDebugUtils.currentLine=53674030; + //BA.debugLineNum = 53674030;BA.debugLine="Private Label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Private Label3 As Label"; +RDebugUtils.currentLine=53674031; + //BA.debugLineNum = 53674031;BA.debugLine="Private Label3 As Label"; _label3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Private l_piezas As Label"; +RDebugUtils.currentLine=53674032; + //BA.debugLineNum = 53674032;BA.debugLine="Private l_piezas As Label"; _l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Private l_cajas As Label"; +RDebugUtils.currentLine=53674033; + //BA.debugLineNum = 53674033;BA.debugLine="Private l_cajas As Label"; _l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Private l_cajas As Label"; +RDebugUtils.currentLine=53674035; + //BA.debugLineNum = 53674035;BA.debugLine="Private l_cajas As Label"; _l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Private l_piezas As Label"; +RDebugUtils.currentLine=53674036; + //BA.debugLineNum = 53674036;BA.debugLine="Private l_piezas As Label"; _l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53674037; + //BA.debugLineNum = 53674037;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,int _consecutivo) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 492;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 493;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 494;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 495;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 496;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 497;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 498;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 499;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 500;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 501;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 502;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 503;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_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 = 505;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 = 508;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; -_l_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 509;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; -_et_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 510;BA.debugLine="p_prods.Tag = l_pCant.tag"; -_p_prods.setTag(_l_pcant.getTag()); - //BA.debugLineNum = 512;BA.debugLine="l_pCant.Text = inv"; -_l_pcant.setText(BA.ObjectToCharSequence(_inv)); - //BA.debugLineNum = 516;BA.debugLine="l_pCant.BringToFront"; -_l_pcant.BringToFront(); - //BA.debugLineNum = 517;BA.debugLine="et_pCant.SendToBack"; -_et_pcant.SendToBack(); - //BA.debugLineNum = 518;BA.debugLine="p_botMasMenC.Visible = False"; -_p_botmasmenc.setVisible(__c.False); - //BA.debugLineNum = 519;BA.debugLine="l_cajas.Visible = False"; -_l_cajas.setVisible(__c.False); - //BA.debugLineNum = 521;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 522;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,int _consecutivo) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 524;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; - //BA.debugLineNum = 525;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 526;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 527;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 528;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 529;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 530;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 531;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 532;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 533;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 534;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 535;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_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("819595278",BA.NumberToString(_inv)+" inventario 1",0); - //BA.debugLineNum = 539;BA.debugLine="Log(inv2&\" inventario 2\")"; -__c.LogImpl("819595279",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)&"; -_l_pcantc.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 543;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; -_et_pcantc.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 544;BA.debugLine="p_prods.Tag = l_pCantC.tag"; -_p_prods.setTag(_l_pcantc.getTag()); - //BA.debugLineNum = 546;BA.debugLine="l_pCantC.Text = NumberFormat2(inv,0,0,0,False)"; -_l_pcantc.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_inv,(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 550;BA.debugLine="l_pCantC.BringToFront"; -_l_pcantc.BringToFront(); - //BA.debugLineNum = 551;BA.debugLine="et_pCantC.SendToBack"; -_et_pcantc.SendToBack(); - //BA.debugLineNum = 552;BA.debugLine="p_botMasMen.Visible = False"; -_p_botmasmen.setVisible(__c.False); - //BA.debugLineNum = 553;BA.debugLine="l_piezas.Visible = False"; -_l_piezas.setVisible(__c.False); - //BA.debugLineNum = 555;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 556;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods(String _accion) throws Exception{ - //BA.debugLineNum = 927;BA.debugLine="Sub cuentaProds(accion As String)"; - //BA.debugLineNum = 1089;BA.debugLine="End Sub"; +public String _cuentaprods(reparto_intmex.keymon.lat.c_productos __ref,String _accion) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", new Object[] {_accion}));} +RDebugUtils.currentLine=54788096; + //BA.debugLineNum = 54788096;BA.debugLine="Sub cuentaProds(accion As String)"; +RDebugUtils.currentLine=54788258; + //BA.debugLineNum = 54788258;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 362;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 365;BA.debugLine="End Sub"; +public String _gps_locationchanged(reparto_intmex.keymon.lat.c_productos __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=53936128; + //BA.debugLineNum = 53936128;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=53936131; + //BA.debugLineNum = 53936131;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 57;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 58;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 59;BA.debugLine="End Sub"; -return null; -} -public String _l_pcant_click() throws Exception{ - //BA.debugLineNum = 1096;BA.debugLine="Private Sub l_pCant_Click"; - //BA.debugLineNum = 1098;BA.debugLine="End Sub"; +public String _l_pcant_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_pcant_click", false)) + {return ((String) Debug.delegate(ba, "l_pcant_click", null));} +RDebugUtils.currentLine=54919168; + //BA.debugLineNum = 54919168;BA.debugLine="Private Sub l_pCant_Click"; +RDebugUtils.currentLine=54919170; + //BA.debugLineNum = 54919170;BA.debugLine="End Sub"; return ""; } -public String _l_pcantc_click() throws Exception{ - //BA.debugLineNum = 918;BA.debugLine="Private Sub l_pCantC_Click"; - //BA.debugLineNum = 920;BA.debugLine="End Sub"; +public String _l_pcantc_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_pcantc_click", false)) + {return ((String) Debug.delegate(ba, "l_pcantc_click", null));} +RDebugUtils.currentLine=54657024; + //BA.debugLineNum = 54657024;BA.debugLine="Private Sub l_pCantC_Click"; +RDebugUtils.currentLine=54657026; + //BA.debugLineNum = 54657026;BA.debugLine="End Sub"; return ""; } -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 379;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 423;BA.debugLine="End Sub"; +public String _listview1_itemlongclick(reparto_intmex.keymon.lat.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=54132736; + //BA.debugLineNum = 54132736;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=54132780; + //BA.debugLineNum = 54132780;BA.debugLine="End Sub"; return ""; } -public String _lv2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 425;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; - //BA.debugLineNum = 486;BA.debugLine="End Sub"; +public String _lv2_itemclick(reparto_intmex.keymon.lat.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv2_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=54198272; + //BA.debugLineNum = 54198272;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +RDebugUtils.currentLine=54198333; + //BA.debugLineNum = 54198333;BA.debugLine="End Sub"; return ""; } -public String _p_prods_click() throws Exception{ - //BA.debugLineNum = 1100;BA.debugLine="Sub p_prods_Click"; - //BA.debugLineNum = 1101;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("820250625",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 = 1102;BA.debugLine="End Sub"; +public String _p_prods_click(reparto_intmex.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "p_prods_click", false)) + {return ((String) Debug.delegate(ba, "p_prods_click", null));} +RDebugUtils.currentLine=54984704; + //BA.debugLineNum = 54984704;BA.debugLine="Sub p_prods_Click"; +RDebugUtils.currentLine=54984705; + //BA.debugLineNum = 54984705;BA.debugLine="Log(Sender.As(Panel).tag)"; +__c.LogImpl("254984705",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +RDebugUtils.currentLine=54984706; + //BA.debugLineNum = 54984706;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_tabulador.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_tabulador.java index 3d13e65..2434f92 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_tabulador.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_tabulador.java @@ -10,7 +10,7 @@ public class c_tabulador extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_tabulador"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_tabulador"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_tabulador extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.EditTextWrapper _et_mil = null; @@ -49,10 +56,10 @@ public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -60,243 +67,369 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_calcular_click() throws Exception{ - //BA.debugLineNum = 87;BA.debugLine="Private Sub b_calcular_Click"; - //BA.debugLineNum = 88;BA.debugLine="If et_mil.Text = \"\" Then"; -if ((_et_mil.getText()).equals("")) { - //BA.debugLineNum = 89;BA.debugLine="et_mil.Text = 0"; -_et_mil.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 91;BA.debugLine="If et_quinientos.Text = \"\" Then"; -if ((_et_quinientos.getText()).equals("")) { - //BA.debugLineNum = 92;BA.debugLine="et_quinientos.Text = 0"; -_et_quinientos.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 94;BA.debugLine="If et_docientos.Text = \"\" Then"; -if ((_et_docientos.getText()).equals("")) { - //BA.debugLineNum = 95;BA.debugLine="et_docientos.Text = 0"; -_et_docientos.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 97;BA.debugLine="If et_cien.Text = \"\" Then"; -if ((_et_cien.getText()).equals("")) { - //BA.debugLineNum = 98;BA.debugLine="et_cien.Text = 0"; -_et_cien.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 100;BA.debugLine="If et_cincuenta.Text = \"\" Then"; -if ((_et_cincuenta.getText()).equals("")) { - //BA.debugLineNum = 101;BA.debugLine="et_cincuenta.Text = 0"; -_et_cincuenta.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 103;BA.debugLine="If et_veinte.Text = \"\" Then"; -if ((_et_veinte.getText()).equals("")) { - //BA.debugLineNum = 104;BA.debugLine="et_veinte.Text = 0"; -_et_veinte.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 106;BA.debugLine="If et_m_veinte.Text = \"\" Then"; -if ((_et_m_veinte.getText()).equals("")) { - //BA.debugLineNum = 107;BA.debugLine="et_m_veinte.Text = 0"; -_et_m_veinte.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 109;BA.debugLine="If et_m_diez.Text = \"\" Then"; -if ((_et_m_diez.getText()).equals("")) { - //BA.debugLineNum = 110;BA.debugLine="et_m_diez.Text = 0"; -_et_m_diez.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 112;BA.debugLine="If et_m_cinco.Text = \"\" Then"; -if ((_et_m_cinco.getText()).equals("")) { - //BA.debugLineNum = 113;BA.debugLine="et_m_cinco.Text = 0"; -_et_m_cinco.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 115;BA.debugLine="If et_m_dos.Text = \"\" Then"; -if ((_et_m_dos.getText()).equals("")) { - //BA.debugLineNum = 116;BA.debugLine="et_m_dos.Text = 0"; -_et_m_dos.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 118;BA.debugLine="If et_m_peso.Text = \"\" Then"; -if ((_et_m_peso.getText()).equals("")) { - //BA.debugLineNum = 119;BA.debugLine="et_m_peso.Text = 0"; -_et_m_peso.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 121;BA.debugLine="If et_m_centavo.Text = \"\" Then"; -if ((_et_m_centavo.getText()).equals("")) { - //BA.debugLineNum = 122;BA.debugLine="et_m_centavo.Text = 0"; -_et_m_centavo.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 124;BA.debugLine="sum_billetes = (et_mil.Text * 1000) + (et_quinien"; -_sum_billetes = (int) (((double)(Double.parseDouble(_et_mil.getText()))*1000)+((double)(Double.parseDouble(_et_quinientos.getText()))*500)+((double)(Double.parseDouble(_et_docientos.getText()))*200)+((double)(Double.parseDouble(_et_cien.getText()))*100)+((double)(Double.parseDouble(_et_cincuenta.getText()))*50)+((double)(Double.parseDouble(_et_veinte.getText()))*20)); - //BA.debugLineNum = 125;BA.debugLine="sum_monedas = (et_m_veinte.Text * 20) + ( et_m_di"; -_sum_monedas = (float) (((double)(Double.parseDouble(_et_m_veinte.getText()))*20)+((double)(Double.parseDouble(_et_m_diez.getText()))*10)+((double)(Double.parseDouble(_et_m_cinco.getText()))*5)+((double)(Double.parseDouble(_et_m_dos.getText()))*2)+((double)(Double.parseDouble(_et_m_peso.getText()))*1)+((double)(Double.parseDouble(_et_m_centavo.getText()))*0.50)); - //BA.debugLineNum = 126;BA.debugLine="total = sum_billetes + sum_monedas"; -_total = (float) (_sum_billetes+_sum_monedas); - //BA.debugLineNum = 127;BA.debugLine="l_total.Text = Round2(total, 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2(_total,(int) (2)))); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 79;BA.debugLine="b_calcular_Click"; -_b_calcular_click(); - //BA.debugLineNum = 80;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); - //BA.debugLineNum = 81;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); - //BA.debugLineNum = 82;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TABULADOR_BILLETES (MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_et_mil.getText()),(Object)(_et_quinientos.getText()),(Object)(_et_docientos.getText()),(Object)(_et_cien.getText()),(Object)(_et_cincuenta.getText()),(Object)(_et_veinte.getText())})); - //BA.debugLineNum = 83;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TABULADOR_MONEDAS (VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_et_m_veinte.getText()),(Object)(_et_m_diez.getText()),(Object)(_et_m_cinco.getText()),(Object)(_et_m_dos.getText()),(Object)(_et_m_peso.getText()),(Object)(_et_m_centavo.getText()),(Object)(_l_total.getText())})); - //BA.debugLineNum = 84;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 85;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 39;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); - //BA.debugLineNum = 40;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; -_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 MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); - //BA.debugLineNum = 41;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 42;BA.debugLine="d.Position = 0"; -_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("820512774","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\")"; -_et_quinientos.setText(BA.ObjectToCharSequence(_c.GetString("QUINIENTOS"))); - //BA.debugLineNum = 47;BA.debugLine="et_docientos.Text = c.GetString(\"DOCIENTOS\")"; -_et_docientos.setText(BA.ObjectToCharSequence(_c.GetString("DOCIENTOS"))); - //BA.debugLineNum = 48;BA.debugLine="et_cien.Text = c.GetString(\"CIEN\")"; -_et_cien.setText(BA.ObjectToCharSequence(_c.GetString("CIEN"))); - //BA.debugLineNum = 49;BA.debugLine="et_cincuenta.Text = c.GetString(\"CINCUENTA\")"; -_et_cincuenta.setText(BA.ObjectToCharSequence(_c.GetString("CINCUENTA"))); - //BA.debugLineNum = 50;BA.debugLine="et_veinte.Text = c.GetString(\"VEINTE\")"; -_et_veinte.setText(BA.ObjectToCharSequence(_c.GetString("VEINTE"))); - //BA.debugLineNum = 51;BA.debugLine="et_m_veinte.Text = d.GetString(\"VEINTE\")"; -_et_m_veinte.setText(BA.ObjectToCharSequence(_d.GetString("VEINTE"))); - //BA.debugLineNum = 52;BA.debugLine="et_m_diez.Text = d.GetString(\"DIEZ\")"; -_et_m_diez.setText(BA.ObjectToCharSequence(_d.GetString("DIEZ"))); - //BA.debugLineNum = 53;BA.debugLine="et_m_cinco.Text = d.GetString(\"CINCO\")"; -_et_m_cinco.setText(BA.ObjectToCharSequence(_d.GetString("CINCO"))); - //BA.debugLineNum = 54;BA.debugLine="et_m_dos.Text = d.GetString(\"DOS\")"; -_et_m_dos.setText(BA.ObjectToCharSequence(_d.GetString("DOS"))); - //BA.debugLineNum = 55;BA.debugLine="et_m_peso.Text = d.GetString(\"PESO\")"; -_et_m_peso.setText(BA.ObjectToCharSequence(_d.GetString("PESO"))); - //BA.debugLineNum = 56;BA.debugLine="et_m_centavo.Text = d.GetString(\"CENTAVO\")"; -_et_m_centavo.setText(BA.ObjectToCharSequence(_d.GetString("CENTAVO"))); - //BA.debugLineNum = 57;BA.debugLine="l_total.Text = d.GetString(\"TOTAL\")"; -_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("820512789","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 = \"\""; -_et_quinientos.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 62;BA.debugLine="et_docientos.Text = \"\""; -_et_docientos.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 63;BA.debugLine="et_cien.Text = \"\""; -_et_cien.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 64;BA.debugLine="et_cincuenta.Text = \"\""; -_et_cincuenta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 65;BA.debugLine="et_veinte.Text = \"\""; -_et_veinte.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 66;BA.debugLine="et_m_veinte.Text = \"\""; -_et_m_veinte.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 67;BA.debugLine="et_m_diez.Text = \"\""; -_et_m_diez.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 68;BA.debugLine="et_m_cinco.Text = \"\""; -_et_m_cinco.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 69;BA.debugLine="et_m_dos.Text = \"\""; -_et_m_dos.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 70;BA.debugLine="et_m_peso.Text = \"\""; -_et_m_peso.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 71;BA.debugLine="et_m_centavo.Text = \"\""; -_et_m_centavo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 72;BA.debugLine="l_total.Text = \"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 74;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 75;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 33;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 35;BA.debugLine="Root.LoadLayout(\"tabulador\")"; -_root.LoadLayout("tabulador",ba); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private et_mil As EditText"; -_et_mil = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Private et_quinientos As EditText"; -_et_quinientos = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private et_docientos As EditText"; -_et_docientos = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private et_cien As EditText"; -_et_cien = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Private et_cincuenta As EditText"; -_et_cincuenta = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private et_veinte As EditText"; -_et_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private et_m_veinte As EditText"; -_et_m_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private et_m_diez As EditText"; -_et_m_diez = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Private et_m_cinco As EditText"; -_et_m_cinco = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private et_m_dos As EditText"; -_et_m_dos = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private et_m_peso As EditText"; -_et_m_peso = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private et_m_centavo As EditText"; -_et_m_centavo = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private b_calcular As Button"; -_b_calcular = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private b_guardar As Button"; -_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private l_total As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim sum_billetes As Int"; -_sum_billetes = 0; - //BA.debugLineNum = 20;BA.debugLine="Dim sum_monedas As Float"; -_sum_monedas = 0f; - //BA.debugLineNum = 21;BA.debugLine="Dim total As Float"; -_total = 0f; - //BA.debugLineNum = 22;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 24;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_tabulador __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 28;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=55115776; + //BA.debugLineNum = 55115776;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=55115777; + //BA.debugLineNum = 55115777;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +RDebugUtils.currentLine=55115778; + //BA.debugLineNum = 55115778;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b_calcular_click(reparto_intmex.keymon.lat.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "b_calcular_click", false)) + {return ((String) Debug.delegate(ba, "b_calcular_click", null));} +RDebugUtils.currentLine=55377920; + //BA.debugLineNum = 55377920;BA.debugLine="Private Sub b_calcular_Click"; +RDebugUtils.currentLine=55377921; + //BA.debugLineNum = 55377921;BA.debugLine="If et_mil.Text = \"\" Then"; +if ((__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377922; + //BA.debugLineNum = 55377922;BA.debugLine="et_mil.Text = 0"; +__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377924; + //BA.debugLineNum = 55377924;BA.debugLine="If et_quinientos.Text = \"\" Then"; +if ((__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377925; + //BA.debugLineNum = 55377925;BA.debugLine="et_quinientos.Text = 0"; +__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377927; + //BA.debugLineNum = 55377927;BA.debugLine="If et_docientos.Text = \"\" Then"; +if ((__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377928; + //BA.debugLineNum = 55377928;BA.debugLine="et_docientos.Text = 0"; +__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377930; + //BA.debugLineNum = 55377930;BA.debugLine="If et_cien.Text = \"\" Then"; +if ((__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377931; + //BA.debugLineNum = 55377931;BA.debugLine="et_cien.Text = 0"; +__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377933; + //BA.debugLineNum = 55377933;BA.debugLine="If et_cincuenta.Text = \"\" Then"; +if ((__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377934; + //BA.debugLineNum = 55377934;BA.debugLine="et_cincuenta.Text = 0"; +__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377936; + //BA.debugLineNum = 55377936;BA.debugLine="If et_veinte.Text = \"\" Then"; +if ((__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377937; + //BA.debugLineNum = 55377937;BA.debugLine="et_veinte.Text = 0"; +__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377939; + //BA.debugLineNum = 55377939;BA.debugLine="If et_m_veinte.Text = \"\" Then"; +if ((__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377940; + //BA.debugLineNum = 55377940;BA.debugLine="et_m_veinte.Text = 0"; +__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377942; + //BA.debugLineNum = 55377942;BA.debugLine="If et_m_diez.Text = \"\" Then"; +if ((__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377943; + //BA.debugLineNum = 55377943;BA.debugLine="et_m_diez.Text = 0"; +__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377945; + //BA.debugLineNum = 55377945;BA.debugLine="If et_m_cinco.Text = \"\" Then"; +if ((__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377946; + //BA.debugLineNum = 55377946;BA.debugLine="et_m_cinco.Text = 0"; +__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377948; + //BA.debugLineNum = 55377948;BA.debugLine="If et_m_dos.Text = \"\" Then"; +if ((__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377949; + //BA.debugLineNum = 55377949;BA.debugLine="et_m_dos.Text = 0"; +__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377951; + //BA.debugLineNum = 55377951;BA.debugLine="If et_m_peso.Text = \"\" Then"; +if ((__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377952; + //BA.debugLineNum = 55377952;BA.debugLine="et_m_peso.Text = 0"; +__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377954; + //BA.debugLineNum = 55377954;BA.debugLine="If et_m_centavo.Text = \"\" Then"; +if ((__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=55377955; + //BA.debugLineNum = 55377955;BA.debugLine="et_m_centavo.Text = 0"; +__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=55377957; + //BA.debugLineNum = 55377957;BA.debugLine="sum_billetes = (et_mil.Text * 1000) + (et_quinien"; +__ref._sum_billetes /*int*/ = (int) (((double)(Double.parseDouble(__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*1000)+((double)(Double.parseDouble(__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*500)+((double)(Double.parseDouble(__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*200)+((double)(Double.parseDouble(__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*100)+((double)(Double.parseDouble(__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*50)+((double)(Double.parseDouble(__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*20)); +RDebugUtils.currentLine=55377958; + //BA.debugLineNum = 55377958;BA.debugLine="sum_monedas = (et_m_veinte.Text * 20) + ( et_m_di"; +__ref._sum_monedas /*float*/ = (float) (((double)(Double.parseDouble(__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*20)+((double)(Double.parseDouble(__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*10)+((double)(Double.parseDouble(__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*5)+((double)(Double.parseDouble(__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*2)+((double)(Double.parseDouble(__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*1)+((double)(Double.parseDouble(__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*0.50)); +RDebugUtils.currentLine=55377959; + //BA.debugLineNum = 55377959;BA.debugLine="total = sum_billetes + sum_monedas"; +__ref._total /*float*/ = (float) (__ref._sum_billetes /*int*/ +__ref._sum_monedas /*float*/ ); +RDebugUtils.currentLine=55377960; + //BA.debugLineNum = 55377960;BA.debugLine="l_total.Text = Round2(total, 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(__ref._total /*float*/ ,(int) (2)))); +RDebugUtils.currentLine=55377961; + //BA.debugLineNum = 55377961;BA.debugLine="End Sub"; +return ""; } +public String _b_guardar_click(reparto_intmex.keymon.lat.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=55312384; + //BA.debugLineNum = 55312384;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=55312385; + //BA.debugLineNum = 55312385;BA.debugLine="b_calcular_Click"; +__ref._b_calcular_click /*String*/ (null); +RDebugUtils.currentLine=55312386; + //BA.debugLineNum = 55312386;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); +RDebugUtils.currentLine=55312387; + //BA.debugLineNum = 55312387;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); +RDebugUtils.currentLine=55312388; + //BA.debugLineNum = 55312388;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TABULADOR_BILLETES (MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=55312389; + //BA.debugLineNum = 55312389;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TABULADOR_MONEDAS (VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=55312390; + //BA.debugLineNum = 55312390;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=55312391; + //BA.debugLineNum = 55312391;BA.debugLine="End Sub"; +return ""; } +public String _b4xpage_appear(reparto_intmex.keymon.lat.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +RDebugUtils.currentLine=55246848; + //BA.debugLineNum = 55246848;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=55246849; + //BA.debugLineNum = 55246849;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); +RDebugUtils.currentLine=55246850; + //BA.debugLineNum = 55246850;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); +RDebugUtils.currentLine=55246851; + //BA.debugLineNum = 55246851;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=55246852; + //BA.debugLineNum = 55246852;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=55246853; + //BA.debugLineNum = 55246853;BA.debugLine="If c.RowCount > 0 And d.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0 && __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=55246854; + //BA.debugLineNum = 55246854;BA.debugLine="Log(\"TABULADR CON RESUKTADO\")"; +__c.LogImpl("255246854","TABULADR CON RESUKTADO",0); +RDebugUtils.currentLine=55246855; + //BA.debugLineNum = 55246855;BA.debugLine="et_mil.Text = c.GetString(\"MIL\")"; +__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MIL"))); +RDebugUtils.currentLine=55246856; + //BA.debugLineNum = 55246856;BA.debugLine="et_quinientos.Text = c.GetString(\"QUINIENTOS\")"; +__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("QUINIENTOS"))); +RDebugUtils.currentLine=55246857; + //BA.debugLineNum = 55246857;BA.debugLine="et_docientos.Text = c.GetString(\"DOCIENTOS\")"; +__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DOCIENTOS"))); +RDebugUtils.currentLine=55246858; + //BA.debugLineNum = 55246858;BA.debugLine="et_cien.Text = c.GetString(\"CIEN\")"; +__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CIEN"))); +RDebugUtils.currentLine=55246859; + //BA.debugLineNum = 55246859;BA.debugLine="et_cincuenta.Text = c.GetString(\"CINCUENTA\")"; +__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CINCUENTA"))); +RDebugUtils.currentLine=55246860; + //BA.debugLineNum = 55246860;BA.debugLine="et_veinte.Text = c.GetString(\"VEINTE\")"; +__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("VEINTE"))); +RDebugUtils.currentLine=55246861; + //BA.debugLineNum = 55246861;BA.debugLine="et_m_veinte.Text = d.GetString(\"VEINTE\")"; +__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("VEINTE"))); +RDebugUtils.currentLine=55246862; + //BA.debugLineNum = 55246862;BA.debugLine="et_m_diez.Text = d.GetString(\"DIEZ\")"; +__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DIEZ"))); +RDebugUtils.currentLine=55246863; + //BA.debugLineNum = 55246863;BA.debugLine="et_m_cinco.Text = d.GetString(\"CINCO\")"; +__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CINCO"))); +RDebugUtils.currentLine=55246864; + //BA.debugLineNum = 55246864;BA.debugLine="et_m_dos.Text = d.GetString(\"DOS\")"; +__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DOS"))); +RDebugUtils.currentLine=55246865; + //BA.debugLineNum = 55246865;BA.debugLine="et_m_peso.Text = d.GetString(\"PESO\")"; +__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PESO"))); +RDebugUtils.currentLine=55246866; + //BA.debugLineNum = 55246866;BA.debugLine="et_m_centavo.Text = d.GetString(\"CENTAVO\")"; +__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CENTAVO"))); +RDebugUtils.currentLine=55246867; + //BA.debugLineNum = 55246867;BA.debugLine="l_total.Text = d.GetString(\"TOTAL\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"))); + }else +{RDebugUtils.currentLine=55246868; + //BA.debugLineNum = 55246868;BA.debugLine="else If c.RowCount = 0 And d.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0 && __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=55246869; + //BA.debugLineNum = 55246869;BA.debugLine="Log(\"TABULADR SIN RESUKTADO\")"; +__c.LogImpl("255246869","TABULADR SIN RESUKTADO",0); +RDebugUtils.currentLine=55246870; + //BA.debugLineNum = 55246870;BA.debugLine="et_mil.Text = \"\""; +__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246871; + //BA.debugLineNum = 55246871;BA.debugLine="et_quinientos.Text = \"\""; +__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246872; + //BA.debugLineNum = 55246872;BA.debugLine="et_docientos.Text = \"\""; +__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246873; + //BA.debugLineNum = 55246873;BA.debugLine="et_cien.Text = \"\""; +__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246874; + //BA.debugLineNum = 55246874;BA.debugLine="et_cincuenta.Text = \"\""; +__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246875; + //BA.debugLineNum = 55246875;BA.debugLine="et_veinte.Text = \"\""; +__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246876; + //BA.debugLineNum = 55246876;BA.debugLine="et_m_veinte.Text = \"\""; +__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246877; + //BA.debugLineNum = 55246877;BA.debugLine="et_m_diez.Text = \"\""; +__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246878; + //BA.debugLineNum = 55246878;BA.debugLine="et_m_cinco.Text = \"\""; +__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246879; + //BA.debugLineNum = 55246879;BA.debugLine="et_m_dos.Text = \"\""; +__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246880; + //BA.debugLineNum = 55246880;BA.debugLine="et_m_peso.Text = \"\""; +__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246881; + //BA.debugLineNum = 55246881;BA.debugLine="et_m_centavo.Text = \"\""; +__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=55246882; + //BA.debugLineNum = 55246882;BA.debugLine="l_total.Text = \"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); + }} +; +RDebugUtils.currentLine=55246884; + //BA.debugLineNum = 55246884;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=55246885; + //BA.debugLineNum = 55246885;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=55246886; + //BA.debugLineNum = 55246886;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(reparto_intmex.keymon.lat.c_tabulador __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=55181312; + //BA.debugLineNum = 55181312;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=55181313; + //BA.debugLineNum = 55181313;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=55181315; + //BA.debugLineNum = 55181315;BA.debugLine="Root.LoadLayout(\"tabulador\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("tabulador",ba); +RDebugUtils.currentLine=55181316; + //BA.debugLineNum = 55181316;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +RDebugUtils.currentLine=55050240; + //BA.debugLineNum = 55050240;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=55050241; + //BA.debugLineNum = 55050241;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=55050242; + //BA.debugLineNum = 55050242;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=55050243; + //BA.debugLineNum = 55050243;BA.debugLine="Private et_mil As EditText"; +_et_mil = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050244; + //BA.debugLineNum = 55050244;BA.debugLine="Private et_quinientos As EditText"; +_et_quinientos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050245; + //BA.debugLineNum = 55050245;BA.debugLine="Private et_docientos As EditText"; +_et_docientos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050246; + //BA.debugLineNum = 55050246;BA.debugLine="Private et_cien As EditText"; +_et_cien = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050247; + //BA.debugLineNum = 55050247;BA.debugLine="Private et_cincuenta As EditText"; +_et_cincuenta = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050248; + //BA.debugLineNum = 55050248;BA.debugLine="Private et_veinte As EditText"; +_et_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050249; + //BA.debugLineNum = 55050249;BA.debugLine="Private et_m_veinte As EditText"; +_et_m_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050250; + //BA.debugLineNum = 55050250;BA.debugLine="Private et_m_diez As EditText"; +_et_m_diez = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050251; + //BA.debugLineNum = 55050251;BA.debugLine="Private et_m_cinco As EditText"; +_et_m_cinco = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050252; + //BA.debugLineNum = 55050252;BA.debugLine="Private et_m_dos As EditText"; +_et_m_dos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050253; + //BA.debugLineNum = 55050253;BA.debugLine="Private et_m_peso As EditText"; +_et_m_peso = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050254; + //BA.debugLineNum = 55050254;BA.debugLine="Private et_m_centavo As EditText"; +_et_m_centavo = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=55050255; + //BA.debugLineNum = 55050255;BA.debugLine="Private b_calcular As Button"; +_b_calcular = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=55050256; + //BA.debugLineNum = 55050256;BA.debugLine="Private b_guardar As Button"; +_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=55050257; + //BA.debugLineNum = 55050257;BA.debugLine="Private l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=55050258; + //BA.debugLineNum = 55050258;BA.debugLine="Dim sum_billetes As Int"; +_sum_billetes = 0; +RDebugUtils.currentLine=55050259; + //BA.debugLineNum = 55050259;BA.debugLine="Dim sum_monedas As Float"; +_sum_monedas = 0f; +RDebugUtils.currentLine=55050260; + //BA.debugLineNum = 55050260;BA.debugLine="Dim total As Float"; +_total = 0f; +RDebugUtils.currentLine=55050261; + //BA.debugLineNum = 55050261;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=55050262; + //BA.debugLineNum = 55050262;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=55050263; + //BA.debugLineNum = 55050263;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_ticketsdia.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_ticketsdia.java index 762a69b..c8e55e8 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_ticketsdia.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_ticketsdia.java @@ -10,7 +10,7 @@ public class c_ticketsdia extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_ticketsdia"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_ticketsdia"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,16 +23,23 @@ public class c_ticketsdia extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -40,34 +47,48 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(reparto_intmex.keymon.lat.c_ticketsdia __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=55508992; + //BA.debugLineNum = 55508992;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=55508993; + //BA.debugLineNum = 55508993;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +RDebugUtils.currentLine=55508994; + //BA.debugLineNum = 55508994;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_ticketsdia __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=55574528; + //BA.debugLineNum = 55574528;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=55574529; + //BA.debugLineNum = 55574529;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=55574532; + //BA.debugLineNum = 55574532;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(reparto_intmex.keymon.lat.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +RDebugUtils.currentLine=55443456; + //BA.debugLineNum = 55443456;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=55443457; + //BA.debugLineNum = 55443457;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=55443458; + //BA.debugLineNum = 55443458;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=55443459; + //BA.debugLineNum = 55443459;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/c_updateavailable.java b/B4A/Objects/src/reparto_intmex/keymon/lat/c_updateavailable.java index 0f7afeb..bc4403b 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/c_updateavailable.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/c_updateavailable.java @@ -10,7 +10,7 @@ public class c_updateavailable extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_updateavailable"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.c_updateavailable"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,16 +23,23 @@ public class c_updateavailable extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -40,20 +47,42 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); +public Object _initialize(reparto_intmex.keymon.lat.c_updateavailable __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=55705600; + //BA.debugLineNum = 55705600;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=55705601; + //BA.debugLineNum = 55705601;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=55705602; + //BA.debugLineNum = 55705602;BA.debugLine="End Sub"; +return null; +} +public void _b4xpage_appear(reparto_intmex.keymon.lat.c_updateavailable __ref) throws Exception{ +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(reparto_intmex.keymon.lat.c_updateavailable parent) { +public ResumableSub_B4XPage_Appear(reparto_intmex.keymon.lat.c_updateavailable parent,reparto_intmex.keymon.lat.c_updateavailable __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.c_updateavailable __ref; reparto_intmex.keymon.lat.c_updateavailable parent; int _result = 0; anywheresoftware.b4a.objects.IntentWrapper _in = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_updateavailable"; while (true) { try { @@ -65,7 +94,8 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 19;BA.debugLine="Try"; +RDebugUtils.currentLine=55836673; + //BA.debugLineNum = 55836673;BA.debugLine="Try"; if (true) break; case 1: @@ -79,13 +109,14 @@ case 3: //C this.state = 4; this.catchState = 9; - //BA.debugLineNum = 20;BA.debugLine="Do While Not(CanRequestPackageInstalls)"; +RDebugUtils.currentLine=55836674; + //BA.debugLineNum = 55836674;BA.debugLine="Do While Not(CanRequestPackageInstalls)"; if (true) break; case 4: //do while this.state = 7; -while (parent.__c.Not(parent._canrequestpackageinstalls())) { +while (parent.__c.Not(__ref._canrequestpackageinstalls /*boolean*/ (null))) { this.state = 6; if (true) break; } @@ -94,22 +125,27 @@ if (true) break; case 6: //C this.state = 4; - //BA.debugLineNum = 21;BA.debugLine="MsgboxAsync($\"Por favor permita que ${Applicati"; +RDebugUtils.currentLine=55836675; + //BA.debugLineNum = 55836675;BA.debugLine="MsgboxAsync($\"Por favor permita que ${Applicati"; parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("Por favor permita que "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.Application.getPackageName()))+" instale actualizaciones")),BA.ObjectToCharSequence("Instalar actualización"),ba); - //BA.debugLineNum = 22;BA.debugLine="Wait For Msgbox_Result(Result As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=55836676; + //BA.debugLineNum = 55836676;BA.debugLine="Wait For Msgbox_Result(Result As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_updateavailable", "b4xpage_appear"), null); this.state = 16; return; case 16: //C this.state = 4; -_result = (Integer) result[0]; +_result = (Integer) result[1]; ; - //BA.debugLineNum = 23;BA.debugLine="Dim in As Intent"; +RDebugUtils.currentLine=55836677; + //BA.debugLineNum = 55836677;BA.debugLine="Dim in As Intent"; _in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 24;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; +RDebugUtils.currentLine=55836678; + //BA.debugLineNum = 55836678;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; _in.Initialize("android.settings.MANAGE_UNKNOWN_APP_SOURCES","package:"+parent.__c.Application.getPackageName()); - //BA.debugLineNum = 25;BA.debugLine="StartActivity(in)"; +RDebugUtils.currentLine=55836679; + //BA.debugLineNum = 55836679;BA.debugLine="StartActivity(in)"; parent.__c.StartActivity(ba,(Object)(_in.getObject())); if (true) break; @@ -123,12 +159,14 @@ case 9: //C this.state = 10; this.catchState = 0; - //BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; -parent.__c.LogImpl("821102602","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); +RDebugUtils.currentLine=55836682; + //BA.debugLineNum = 55836682;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; +parent.__c.LogImpl("255836682","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); if (true) break; if (true) break; ; - //BA.debugLineNum = 30;BA.debugLine="If appUpdater.newApp.update Then"; +RDebugUtils.currentLine=55836684; + //BA.debugLineNum = 55836684;BA.debugLine="If appUpdater.newApp.update Then"; case 10: //if @@ -143,22 +181,25 @@ this.state = 14; case 12: //C this.state = 15; - //BA.debugLineNum = 31;BA.debugLine="ofreceActualizacion"; -parent._ofreceactualizacion(); +RDebugUtils.currentLine=55836685; + //BA.debugLineNum = 55836685;BA.debugLine="ofreceActualizacion"; +__ref._ofreceactualizacion /*String*/ (null); if (true) break; case 14: //C this.state = 15; - //BA.debugLineNum = 33;BA.debugLine="sinActualizacion"; -parent._sinactualizacion(); +RDebugUtils.currentLine=55836687; + //BA.debugLineNum = 55836687;BA.debugLine="sinActualizacion"; +__ref._sinactualizacion /*String*/ (null); if (true) break; case 15: //C this.state = -1; ; - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentLine=55836689; + //BA.debugLineNum = 55836689;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -172,81 +213,109 @@ ba.setLastException(e0);} } } } -public void _msgbox_result(int _result) throws Exception{ -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 15;BA.debugLine="Root.Color = Colors.Transparent"; -_root.setColor(__c.Colors.Transparent); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public boolean _canrequestpackageinstalls() throws Exception{ +public boolean _canrequestpackageinstalls(reparto_intmex.keymon.lat.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "canrequestpackageinstalls", false)) + {return ((Boolean) Debug.delegate(ba, "canrequestpackageinstalls", null));} anywheresoftware.b4j.object.JavaObject _ctxt = null; anywheresoftware.b4j.object.JavaObject _packagemanager = null; - //BA.debugLineNum = 43;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; - //BA.debugLineNum = 45;BA.debugLine="Dim ctxt As JavaObject"; +RDebugUtils.currentLine=55902208; + //BA.debugLineNum = 55902208;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; +RDebugUtils.currentLine=55902210; + //BA.debugLineNum = 55902210;BA.debugLine="Dim ctxt As JavaObject"; _ctxt = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 46;BA.debugLine="ctxt.InitializeContext"; +RDebugUtils.currentLine=55902211; + //BA.debugLineNum = 55902211;BA.debugLine="ctxt.InitializeContext"; _ctxt.InitializeContext(ba); - //BA.debugLineNum = 47;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; +RDebugUtils.currentLine=55902212; + //BA.debugLineNum = 55902212;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; _packagemanager = new anywheresoftware.b4j.object.JavaObject(); _packagemanager = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_ctxt.RunMethod("getPackageManager",(Object[])(__c.Null)))); - //BA.debugLineNum = 48;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +RDebugUtils.currentLine=55902213; + //BA.debugLineNum = 55902213;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; +RDebugUtils.currentLine=55902214; + //BA.debugLineNum = 55902214;BA.debugLine="End Sub"; return false; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return null; -} -public String _ofreceactualizacion() throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Sub ofreceActualizacion"; - //BA.debugLineNum = 52;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; +public String _ofreceactualizacion(reparto_intmex.keymon.lat.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "ofreceactualizacion", false)) + {return ((String) Debug.delegate(ba, "ofreceactualizacion", null));} +RDebugUtils.currentLine=55967744; + //BA.debugLineNum = 55967744;BA.debugLine="Sub ofreceActualizacion"; +RDebugUtils.currentLine=55967745; + //BA.debugLineNum = 55967745;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; if (__c.Msgbox2(BA.ObjectToCharSequence(_appupdater._newapp /*reparto_intmex.keymon.lat.appupdater._mnewversion*/ .newMsg /*String*/ ),BA.ObjectToCharSequence("Actualización disponible"),"Si","","No",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { - //BA.debugLineNum = 54;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +RDebugUtils.currentLine=55967747; + //BA.debugLineNum = 55967747;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; __c.CallSubDelayed(ba,(Object)(_appupdater.getObject()),"download_newApk"); }; - //BA.debugLineNum = 57;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 58;BA.debugLine="StartActivity(Main)"; +RDebugUtils.currentLine=55967750; + //BA.debugLineNum = 55967750;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=55967751; + //BA.debugLineNum = 55967751;BA.debugLine="StartActivity(Main)"; __c.StartActivity(ba,(Object)(_main.getObject())); - //BA.debugLineNum = 60;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +RDebugUtils.currentLine=55967753; + //BA.debugLineNum = 55967753;BA.debugLine="B4XPages.ShowPage(\"Login\")"; _b4xpages._showpage /*String*/ (ba,"Login"); - //BA.debugLineNum = 61;BA.debugLine="End Sub"; +RDebugUtils.currentLine=55967754; + //BA.debugLineNum = 55967754;BA.debugLine="End Sub"; return ""; } -public String _sinactualizacion() throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Sub sinActualizacion"; - //BA.debugLineNum = 64;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al co"; +public String _sinactualizacion(reparto_intmex.keymon.lat.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "sinactualizacion", false)) + {return ((String) Debug.delegate(ba, "sinactualizacion", null));} +RDebugUtils.currentLine=56033280; + //BA.debugLineNum = 56033280;BA.debugLine="Sub sinActualizacion"; +RDebugUtils.currentLine=56033281; + //BA.debugLineNum = 56033281;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al co"; __c.Msgbox(BA.ObjectToCharSequence(_appupdater._newapp /*reparto_intmex.keymon.lat.appupdater._mnewversion*/ .okMsg /*String*/ ),BA.ObjectToCharSequence("Aplicación al corriente"),ba); - //BA.debugLineNum = 66;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 67;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +RDebugUtils.currentLine=56033283; + //BA.debugLineNum = 56033283;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +_b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=56033284; + //BA.debugLineNum = 56033284;BA.debugLine="B4XPages.ShowPage(\"Login\")"; _b4xpages._showpage /*String*/ (ba,"Login"); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; +RDebugUtils.currentLine=56033285; + //BA.debugLineNum = 56033285;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_created(reparto_intmex.keymon.lat.c_updateavailable __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=55771136; + //BA.debugLineNum = 55771136;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=55771137; + //BA.debugLineNum = 55771137;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=55771139; + //BA.debugLineNum = 55771139;BA.debugLine="Root.Color = Colors.Transparent"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__c.Colors.Transparent); +RDebugUtils.currentLine=55771140; + //BA.debugLineNum = 55771140;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(reparto_intmex.keymon.lat.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +RDebugUtils.currentLine=55640064; + //BA.debugLineNum = 55640064;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=55640065; + //BA.debugLineNum = 55640065;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=55640066; + //BA.debugLineNum = 55640066;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=55640067; + //BA.debugLineNum = 55640067;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/cameraexclass.java b/B4A/Objects/src/reparto_intmex/keymon/lat/cameraexclass.java index 54fbab5..6a50a9e 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/cameraexclass.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/cameraexclass.java @@ -10,7 +10,7 @@ public class cameraexclass extends B4AClass.ImplB4AClass implements BA.SubDelega private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.cameraexclass"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.cameraexclass"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,28 +23,13 @@ public class cameraexclass extends B4AClass.ImplB4AClass implements BA.SubDelega ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public Object _nativecam = null; -public anywheresoftware.b4a.objects.CameraW _cam = null; -public anywheresoftware.b4a.agraham.reflection.Reflection _r = null; -public Object _target = null; -public String _event = ""; -public boolean _front = false; -public Object _parameters = null; -public b4a.example.dateutils _dateutils = null; -public reparto_intmex.keymon.lat.main _main = null; -public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; -public reparto_intmex.keymon.lat.foto _foto = null; -public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_intmex.keymon.lat.subs _subs = null; -public reparto_intmex.keymon.lat.tracker _tracker = null; -public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; -public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; -public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _camerainfoandid{ public boolean IsInitialized; public Object CameraInfo; @@ -71,281 +56,407 @@ Height = 0; public String toString() { return BA.TypeToString(this, false); }} -public String _camera_focusdone(boolean _success) throws Exception{ - //BA.debugLineNum = 275;BA.debugLine="Private Sub Camera_FocusDone (Success As Boolean)"; - //BA.debugLineNum = 276;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 277;BA.debugLine="TakePicture"; -_takepicture(); +public anywheresoftware.b4a.keywords.Common __c = null; +public Object _nativecam = null; +public anywheresoftware.b4a.objects.CameraW _cam = null; +public anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +public Object _target = null; +public String _event = ""; +public boolean _front = false; +public Object _parameters = null; +public b4a.example.dateutils _dateutils = null; +public reparto_intmex.keymon.lat.main _main = null; +public reparto_intmex.keymon.lat.appupdater _appupdater = null; +public reparto_intmex.keymon.lat.foto _foto = null; +public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; +public reparto_intmex.keymon.lat.subs _subs = null; +public reparto_intmex.keymon.lat.tracker _tracker = null; +public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; +public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; +public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; +public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _takepicture(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "takepicture", false)) + {return ((String) Debug.delegate(ba, "takepicture", null));} +RDebugUtils.currentLine=56492032; + //BA.debugLineNum = 56492032;BA.debugLine="Public Sub TakePicture"; +RDebugUtils.currentLine=56492033; + //BA.debugLineNum = 56492033;BA.debugLine="cam.TakePicture"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .TakePicture(); +RDebugUtils.currentLine=56492034; + //BA.debugLineNum = 56492034;BA.debugLine="End Sub"; +return ""; +} +public String _savepicturetofile(reparto_intmex.keymon.lat.cameraexclass __ref,byte[] _data,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "savepicturetofile", false)) + {return ((String) Debug.delegate(ba, "savepicturetofile", new Object[] {_data,_dir,_filename}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=56819712; + //BA.debugLineNum = 56819712;BA.debugLine="Public Sub SavePictureToFile(Data() As Byte, Dir A"; +RDebugUtils.currentLine=56819713; + //BA.debugLineNum = 56819713;BA.debugLine="Dim out As OutputStream = File.OpenOutput(Dir, Fi"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = __c.File.OpenOutput(_dir,_filename,__c.False); +RDebugUtils.currentLine=56819714; + //BA.debugLineNum = 56819714;BA.debugLine="out.WriteBytes(Data, 0, Data.Length)"; +_out.WriteBytes(_data,(int) (0),_data.length); +RDebugUtils.currentLine=56819715; + //BA.debugLineNum = 56819715;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=56819716; + //BA.debugLineNum = 56819716;BA.debugLine="End Sub"; +return ""; +} +public String _startpreview(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "startpreview", false)) + {return ((String) Debug.delegate(ba, "startpreview", null));} +RDebugUtils.currentLine=56623104; + //BA.debugLineNum = 56623104;BA.debugLine="Public Sub StartPreview"; +RDebugUtils.currentLine=56623105; + //BA.debugLineNum = 56623105;BA.debugLine="cam.StartPreview"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .StartPreview(); +RDebugUtils.currentLine=56623106; + //BA.debugLineNum = 56623106;BA.debugLine="End Sub"; +return ""; +} +public String _setjpegquality(reparto_intmex.keymon.lat.cameraexclass __ref,int _quality) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setjpegquality", false)) + {return ((String) Debug.delegate(ba, "setjpegquality", new Object[] {_quality}));} +RDebugUtils.currentLine=57344000; + //BA.debugLineNum = 57344000;BA.debugLine="Public Sub SetJpegQuality(Quality As Int)"; +RDebugUtils.currentLine=57344001; + //BA.debugLineNum = 57344001;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57344002; + //BA.debugLineNum = 57344002;BA.debugLine="r.RunMethod2(\"setJpegQuality\", Quality, \"java.lan"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setJpegQuality",BA.NumberToString(_quality),"java.lang.int"); +RDebugUtils.currentLine=57344003; + //BA.debugLineNum = 57344003;BA.debugLine="End Sub"; +return ""; +} +public String _setcontinuousautofocus(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setcontinuousautofocus", false)) + {return ((String) Debug.delegate(ba, "setcontinuousautofocus", null));} +anywheresoftware.b4a.objects.collections.List _modes = null; +RDebugUtils.currentLine=57933824; + //BA.debugLineNum = 57933824;BA.debugLine="Public Sub SetContinuousAutoFocus"; +RDebugUtils.currentLine=57933825; + //BA.debugLineNum = 57933825;BA.debugLine="Dim modes As List = GetSupportedFocusModes"; +_modes = new anywheresoftware.b4a.objects.collections.List(); +_modes = __ref._getsupportedfocusmodes /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=57933826; + //BA.debugLineNum = 57933826;BA.debugLine="If modes.IndexOf(\"continuous-picture\") > -1 Th"; +if (_modes.IndexOf((Object)("continuous-picture"))>-1) { +RDebugUtils.currentLine=57933827; + //BA.debugLineNum = 57933827;BA.debugLine="SetFocusMode(\"continuous-picture\")"; +__ref._setfocusmode /*String*/ (null,"continuous-picture"); + }else +{RDebugUtils.currentLine=57933828; + //BA.debugLineNum = 57933828;BA.debugLine="Else If modes.IndexOf(\"continuous-video\") > -1"; +if (_modes.IndexOf((Object)("continuous-video"))>-1) { +RDebugUtils.currentLine=57933829; + //BA.debugLineNum = 57933829;BA.debugLine="SetFocusMode(\"continuous-video\")"; +__ref._setfocusmode /*String*/ (null,"continuous-video"); }else { - //BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")"; -__c.LogImpl("823527428","AutoFocus error.",0); - }; - //BA.debugLineNum = 281;BA.debugLine="End Sub"; -return ""; -} -public String _camera_picturetaken(byte[] _data) throws Exception{ - //BA.debugLineNum = 104;BA.debugLine="Private Sub Camera_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 105;BA.debugLine="CallSub2(target, event & \"_PictureTaken\", Data)"; -__c.CallSubNew2(ba,_target,_event+"_PictureTaken",(Object)(_data)); - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return ""; -} -public String _camera_preview(byte[] _data) throws Exception{ - //BA.debugLineNum = 95;BA.debugLine="Sub Camera_Preview (Data() As Byte)"; - //BA.debugLineNum = 96;BA.debugLine="If SubExists(target, event & \"_preview\") Then"; -if (__c.SubExists(ba,_target,_event+"_preview")) { - //BA.debugLineNum = 97;BA.debugLine="CallSub2(target, event & \"_preview\", Data)"; -__c.CallSubNew2(ba,_target,_event+"_preview",(Object)(_data)); - }; - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return ""; -} -public String _camera_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 82;BA.debugLine="Private Sub Camera_Ready (Success As Boolean)"; - //BA.debugLineNum = 83;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 84;BA.debugLine="r.target = cam"; -_r.Target = (Object)(_cam); - //BA.debugLineNum = 85;BA.debugLine="nativeCam = r.GetField(\"camera\")"; -_nativecam = _r.GetField("camera"); - //BA.debugLineNum = 86;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 87;BA.debugLine="parameters = r.RunMethod(\"getParameters\")"; -_parameters = _r.RunMethod("getParameters"); - //BA.debugLineNum = 88;BA.debugLine="SetDisplayOrientation"; -_setdisplayorientation(); - }else { - //BA.debugLineNum = 90;BA.debugLine="Log(\"success = false, \" & LastException)"; -__c.LogImpl("821626888","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); - }; - //BA.debugLineNum = 92;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; -__c.CallSubNew2(ba,_target,_event+"_ready",(Object)(_success)); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private nativeCam As Object"; -_nativecam = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Private cam As Camera"; -_cam = new anywheresoftware.b4a.objects.CameraW(); - //BA.debugLineNum = 10;BA.debugLine="Private r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 11;BA.debugLine="Private target As Object"; -_target = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Private event As String"; -_event = ""; - //BA.debugLineNum = 13;BA.debugLine="Public Front As Boolean"; -_front = false; - //BA.debugLineNum = 14;BA.debugLine="Type CameraInfoAndId (CameraInfo As Object, Id As"; +RDebugUtils.currentLine=57933831; + //BA.debugLineNum = 57933831;BA.debugLine="Log(\"Continuous focus mode is not availabl"; +__c.LogImpl("257933831","Continuous focus mode is not available",0); + }} ; - //BA.debugLineNum = 15;BA.debugLine="Type CameraSize (Width As Int, Height As Int)"; -; - //BA.debugLineNum = 16;BA.debugLine="Private parameters As Object"; -_parameters = new Object(); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +RDebugUtils.currentLine=57933833; + //BA.debugLineNum = 57933833;BA.debugLine="End Sub"; return ""; } -public String _closenow() throws Exception{ - //BA.debugLineNum = 266;BA.debugLine="Public Sub CloseNow"; - //BA.debugLineNum = 267;BA.debugLine="cam.Release"; -_cam.Release(); - //BA.debugLineNum = 268;BA.debugLine="r.target = cam"; -_r.Target = (Object)(_cam); - //BA.debugLineNum = 269;BA.debugLine="r.RunMethod2(\"releaseCameras\", True, \"java.lang.b"; -_r.RunMethod2("releaseCameras",BA.ObjectToString(__c.True),"java.lang.boolean"); - //BA.debugLineNum = 270;BA.debugLine="End Sub"; -return ""; -} -public String _commitparameters() throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Public Sub CommitParameters"; - //BA.debugLineNum = 138;BA.debugLine="Try"; -try { //BA.debugLineNum = 139;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 140;BA.debugLine="r.RunMethod4(\"setParameters\", Array As Object(pa"; -_r.RunMethod4("setParameters",new Object[]{_parameters},new String[]{"android.hardware.Camera$Parameters"}); +public String _commitparameters(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "commitparameters", false)) + {return ((String) Debug.delegate(ba, "commitparameters", null));} +RDebugUtils.currentLine=57016320; + //BA.debugLineNum = 57016320;BA.debugLine="Public Sub CommitParameters"; +RDebugUtils.currentLine=57016321; + //BA.debugLineNum = 57016321;BA.debugLine="Try"; +try {RDebugUtils.currentLine=57016322; + //BA.debugLineNum = 57016322;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=57016323; + //BA.debugLineNum = 57016323;BA.debugLine="r.RunMethod4(\"setParameters\", Array As Object(pa"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod4("setParameters",new Object[]{__ref._parameters /*Object*/ },new String[]{"android.hardware.Camera$Parameters"}); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 142;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr"; + ba.setLastException(e5);RDebugUtils.currentLine=57016325; + //BA.debugLineNum = 57016325;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("822282246",BA.ObjectToString(__c.LastException(ba)),0); +RDebugUtils.currentLine=57016326; + //BA.debugLineNum = 57016326;BA.debugLine="Log(LastException)"; +__c.LogImpl("257016326",BA.ObjectToString(__c.LastException(ba)),0); }; - //BA.debugLineNum = 145;BA.debugLine="End Sub"; +RDebugUtils.currentLine=57016328; + //BA.debugLineNum = 57016328;BA.debugLine="End Sub"; return ""; } -public reparto_intmex.keymon.lat.cameraexclass._camerainfoandid _findcamera(boolean _frontcamera) throws Exception{ -reparto_intmex.keymon.lat.cameraexclass._camerainfoandid _ci = null; -Object _camerainfo = null; -int _cameravalue = 0; -int _numberofcameras = 0; -int _i = 0; - //BA.debugLineNum = 36;BA.debugLine="Private Sub FindCamera (frontCamera As Boolean) As"; - //BA.debugLineNum = 37;BA.debugLine="Dim ci As CameraInfoAndId"; -_ci = new reparto_intmex.keymon.lat.cameraexclass._camerainfoandid(); - //BA.debugLineNum = 38;BA.debugLine="Dim cameraInfo As Object"; -_camerainfo = new Object(); - //BA.debugLineNum = 39;BA.debugLine="Dim cameraValue As Int"; -_cameravalue = 0; - //BA.debugLineNum = 40;BA.debugLine="If frontCamera Then cameraValue = 1 Else cameraVa"; -if (_frontcamera) { -_cameravalue = (int) (1);} -else { -_cameravalue = (int) (0);}; - //BA.debugLineNum = 41;BA.debugLine="cameraInfo = r.CreateObject(\"android.hardware.Cam"; -_camerainfo = _r.CreateObject("android.hardware.Camera$CameraInfo"); - //BA.debugLineNum = 42;BA.debugLine="Dim numberOfCameras As Int = r.RunStaticMethod(\"a"; -_numberofcameras = (int)(BA.ObjectToNumber(_r.RunStaticMethod("android.hardware.Camera","getNumberOfCameras",(Object[])(__c.Null),(String[])(__c.Null)))); - //BA.debugLineNum = 43;BA.debugLine="For i = 0 To numberOfCameras - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_numberofcameras-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 44;BA.debugLine="r.RunStaticMethod(\"android.hardware.Camera\", \"ge"; -_r.RunStaticMethod("android.hardware.Camera","getCameraInfo",new Object[]{(Object)(_i),_camerainfo},new String[]{"java.lang.int","android.hardware.Camera$CameraInfo"}); - //BA.debugLineNum = 46;BA.debugLine="r.target = cameraInfo"; -_r.Target = _camerainfo; - //BA.debugLineNum = 47;BA.debugLine="If r.GetField(\"facing\") = cameraValue Then"; -if ((_r.GetField("facing")).equals((Object)(_cameravalue))) { - //BA.debugLineNum = 48;BA.debugLine="ci.cameraInfo = r.target"; -_ci.CameraInfo /*Object*/ = _r.Target; - //BA.debugLineNum = 49;BA.debugLine="ci.Id = i"; -_ci.Id /*int*/ = _i; - //BA.debugLineNum = 50;BA.debugLine="Return ci"; -if (true) return _ci; - }; - } -}; - //BA.debugLineNum = 53;BA.debugLine="ci.id = -1"; -_ci.Id /*int*/ = (int) (-1); - //BA.debugLineNum = 54;BA.debugLine="Return ci"; -if (true) return _ci; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; +public reparto_intmex.keymon.lat.cameraexclass._camerasize _getpreviewsize(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getpreviewsize", false)) + {return ((reparto_intmex.keymon.lat.cameraexclass._camerasize) Debug.delegate(ba, "getpreviewsize", null));} +reparto_intmex.keymon.lat.cameraexclass._camerasize _cs = null; +RDebugUtils.currentLine=57671680; + //BA.debugLineNum = 57671680;BA.debugLine="Public Sub GetPreviewSize As CameraSize"; +RDebugUtils.currentLine=57671681; + //BA.debugLineNum = 57671681;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57671682; + //BA.debugLineNum = 57671682;BA.debugLine="r.target = r.RunMethod(\"getPreviewSize\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPreviewSize"); +RDebugUtils.currentLine=57671683; + //BA.debugLineNum = 57671683;BA.debugLine="Dim cs As CameraSize"; +_cs = new reparto_intmex.keymon.lat.cameraexclass._camerasize(); +RDebugUtils.currentLine=57671684; + //BA.debugLineNum = 57671684;BA.debugLine="cs.Width = r.GetField(\"width\")"; +_cs.Width /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +RDebugUtils.currentLine=57671685; + //BA.debugLineNum = 57671685;BA.debugLine="cs.Height = r.GetField(\"height\")"; +_cs.Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); +RDebugUtils.currentLine=57671686; + //BA.debugLineNum = 57671686;BA.debugLine="Return cs"; +if (true) return _cs; +RDebugUtils.currentLine=57671687; + //BA.debugLineNum = 57671687;BA.debugLine="End Sub"; return null; } -public String _focusandtakepicture() throws Exception{ - //BA.debugLineNum = 272;BA.debugLine="Public Sub FocusAndTakePicture"; - //BA.debugLineNum = 273;BA.debugLine="cam.AutoFocus"; -_cam.AutoFocus(); - //BA.debugLineNum = 274;BA.debugLine="End Sub"; +public String _initialize(reparto_intmex.keymon.lat.cameraexclass __ref,anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _panel1,boolean _frontcamera,Object _targetmodule,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_panel1,_frontcamera,_targetmodule,_eventname}));} +int _id = 0; +RDebugUtils.currentLine=56164352; + //BA.debugLineNum = 56164352;BA.debugLine="Public Sub Initialize (Panel1 As Panel, FrontCamer"; +RDebugUtils.currentLine=56164353; + //BA.debugLineNum = 56164353;BA.debugLine="target = TargetModule"; +__ref._target /*Object*/ = _targetmodule; +RDebugUtils.currentLine=56164354; + //BA.debugLineNum = 56164354;BA.debugLine="event = EventName"; +__ref._event /*String*/ = _eventname; +RDebugUtils.currentLine=56164355; + //BA.debugLineNum = 56164355;BA.debugLine="Front = FrontCamera"; +__ref._front /*boolean*/ = _frontcamera; +RDebugUtils.currentLine=56164356; + //BA.debugLineNum = 56164356;BA.debugLine="Dim id As Int"; +_id = 0; +RDebugUtils.currentLine=56164357; + //BA.debugLineNum = 56164357;BA.debugLine="id = FindCamera(Front).id"; +_id = __ref._findcamera /*reparto_intmex.keymon.lat.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ).Id /*int*/ ; +RDebugUtils.currentLine=56164358; + //BA.debugLineNum = 56164358;BA.debugLine="If id = -1 Then"; +if (_id==-1) { +RDebugUtils.currentLine=56164359; + //BA.debugLineNum = 56164359;BA.debugLine="Front = Not(Front) 'try different camera"; +__ref._front /*boolean*/ = __c.Not(__ref._front /*boolean*/ ); +RDebugUtils.currentLine=56164360; + //BA.debugLineNum = 56164360;BA.debugLine="id = FindCamera(Front).id"; +_id = __ref._findcamera /*reparto_intmex.keymon.lat.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ).Id /*int*/ ; +RDebugUtils.currentLine=56164361; + //BA.debugLineNum = 56164361;BA.debugLine="If id = -1 Then"; +if (_id==-1) { +RDebugUtils.currentLine=56164362; + //BA.debugLineNum = 56164362;BA.debugLine="ToastMessageShow(\"No camera found.\", True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No camera found."),__c.True); +RDebugUtils.currentLine=56164363; + //BA.debugLineNum = 56164363;BA.debugLine="Return"; +if (true) return ""; + }; + }; +RDebugUtils.currentLine=56164366; + //BA.debugLineNum = 56164366;BA.debugLine="cam.Initialize2(Panel1, \"camera\", id)"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Initialize2(ba,(android.view.ViewGroup)(_panel1.getObject()),"camera",_id); +RDebugUtils.currentLine=56164367; + //BA.debugLineNum = 56164367;BA.debugLine="End Sub"; return ""; } -public String _getcoloreffect() throws Exception{ - //BA.debugLineNum = 147;BA.debugLine="Public Sub GetColorEffect As String"; - //BA.debugLineNum = 148;BA.debugLine="Return GetParameter(\"effect\")"; -if (true) return _getparameter("effect"); - //BA.debugLineNum = 149;BA.debugLine="End Sub"; +public String _release(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "release", false)) + {return ((String) Debug.delegate(ba, "release", null));} +RDebugUtils.currentLine=56754176; + //BA.debugLineNum = 56754176;BA.debugLine="Public Sub Release"; +RDebugUtils.currentLine=56754177; + //BA.debugLineNum = 56754177;BA.debugLine="cam.Release"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Release(); +RDebugUtils.currentLine=56754178; + //BA.debugLineNum = 56754178;BA.debugLine="End Sub"; return ""; } -public String _getflashmode() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub GetFlashMode As String"; - //BA.debugLineNum = 183;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 184;BA.debugLine="Return r.RunMethod(\"getFlashMode\")"; -if (true) return BA.ObjectToString(_r.RunMethod("getFlashMode")); - //BA.debugLineNum = 185;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _getsupportedcoloreffects(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedcoloreffects", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getsupportedcoloreffects", null));} +RDebugUtils.currentLine=57606144; + //BA.debugLineNum = 57606144;BA.debugLine="Public Sub GetSupportedColorEffects As List"; +RDebugUtils.currentLine=57606145; + //BA.debugLineNum = 57606145;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57606146; + //BA.debugLineNum = 57606146;BA.debugLine="Return r.RunMethod(\"getSupportedColorEffects\")"; +if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedColorEffects"))); +RDebugUtils.currentLine=57606147; + //BA.debugLineNum = 57606147;BA.debugLine="End Sub"; +return null; +} +public String _getcoloreffect(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getcoloreffect", false)) + {return ((String) Debug.delegate(ba, "getcoloreffect", null));} +RDebugUtils.currentLine=57081856; + //BA.debugLineNum = 57081856;BA.debugLine="Public Sub GetColorEffect As String"; +RDebugUtils.currentLine=57081857; + //BA.debugLineNum = 57081857;BA.debugLine="Return GetParameter(\"effect\")"; +if (true) return __ref._getparameter /*String*/ (null,"effect"); +RDebugUtils.currentLine=57081858; + //BA.debugLineNum = 57081858;BA.debugLine="End Sub"; return ""; } -public float[] _getfocusdistances() throws Exception{ +public String _setcoloreffect(reparto_intmex.keymon.lat.cameraexclass __ref,String _effect) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setcoloreffect", false)) + {return ((String) Debug.delegate(ba, "setcoloreffect", new Object[] {_effect}));} +RDebugUtils.currentLine=57147392; + //BA.debugLineNum = 57147392;BA.debugLine="Public Sub SetColorEffect(Effect As String)"; +RDebugUtils.currentLine=57147393; + //BA.debugLineNum = 57147393;BA.debugLine="SetParameter(\"effect\", Effect)"; +__ref._setparameter /*String*/ (null,"effect",_effect); +RDebugUtils.currentLine=57147394; + //BA.debugLineNum = 57147394;BA.debugLine="End Sub"; +return ""; +} +public float[] _getfocusdistances(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getfocusdistances", false)) + {return ((float[]) Debug.delegate(ba, "getfocusdistances", null));} float[] _f = null; - //BA.debugLineNum = 258;BA.debugLine="Public Sub GetFocusDistances As Float()"; - //BA.debugLineNum = 259;BA.debugLine="Dim F(3) As Float"; +RDebugUtils.currentLine=58064896; + //BA.debugLineNum = 58064896;BA.debugLine="Public Sub GetFocusDistances As Float()"; +RDebugUtils.currentLine=58064897; + //BA.debugLineNum = 58064897;BA.debugLine="Dim F(3) As Float"; _f = new float[(int) (3)]; ; - //BA.debugLineNum = 260;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 261;BA.debugLine="r.RunMethod4(\"getFocusDistances\", Array As Object"; -_r.RunMethod4("getFocusDistances",new Object[]{(Object)(_f)},new String[]{"[F"}); - //BA.debugLineNum = 262;BA.debugLine="Return F"; +RDebugUtils.currentLine=58064898; + //BA.debugLineNum = 58064898;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=58064899; + //BA.debugLineNum = 58064899;BA.debugLine="r.RunMethod4(\"getFocusDistances\", Array As Object"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod4("getFocusDistances",new Object[]{(Object)(_f)},new String[]{"[F"}); +RDebugUtils.currentLine=58064900; + //BA.debugLineNum = 58064900;BA.debugLine="Return F"; if (true) return _f; - //BA.debugLineNum = 263;BA.debugLine="End Sub"; +RDebugUtils.currentLine=58064901; + //BA.debugLineNum = 58064901;BA.debugLine="End Sub"; return null; } -public String _getparameter(String _key) throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Public Sub GetParameter(Key As String) As String"; - //BA.debugLineNum = 133;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 134;BA.debugLine="Return r.RunMethod2(\"get\", Key, \"java.lang.String"; -if (true) return BA.ObjectToString(_r.RunMethod2("get",_key,"java.lang.String")); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _getsupportedflashmodes(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedflashmodes", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getsupportedflashmodes", null));} +RDebugUtils.currentLine=57540608; + //BA.debugLineNum = 57540608;BA.debugLine="Public Sub GetSupportedFlashModes As List"; +RDebugUtils.currentLine=57540609; + //BA.debugLineNum = 57540609;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57540610; + //BA.debugLineNum = 57540610;BA.debugLine="Return r.RunMethod(\"getSupportedFlashModes\")"; +if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedFlashModes"))); +RDebugUtils.currentLine=57540611; + //BA.debugLineNum = 57540611;BA.debugLine="End Sub"; +return null; +} +public String _getflashmode(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getflashmode", false)) + {return ((String) Debug.delegate(ba, "getflashmode", null));} +RDebugUtils.currentLine=57475072; + //BA.debugLineNum = 57475072;BA.debugLine="Public Sub GetFlashMode As String"; +RDebugUtils.currentLine=57475073; + //BA.debugLineNum = 57475073;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57475074; + //BA.debugLineNum = 57475074;BA.debugLine="Return r.RunMethod(\"getFlashMode\")"; +if (true) return BA.ObjectToString(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getFlashMode")); +RDebugUtils.currentLine=57475075; + //BA.debugLineNum = 57475075;BA.debugLine="End Sub"; return ""; } -public reparto_intmex.keymon.lat.cameraexclass._camerasize _getpicturesize() throws Exception{ -reparto_intmex.keymon.lat.cameraexclass._camerasize _cs = null; - //BA.debugLineNum = 206;BA.debugLine="Public Sub GetPictureSize As CameraSize"; - //BA.debugLineNum = 207;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 208;BA.debugLine="r.target = r.RunMethod(\"getPictureSize\")"; -_r.Target = _r.RunMethod("getPictureSize"); - //BA.debugLineNum = 209;BA.debugLine="Dim cs As CameraSize"; -_cs = new reparto_intmex.keymon.lat.cameraexclass._camerasize(); - //BA.debugLineNum = 210;BA.debugLine="cs.Width = r.GetField(\"width\")"; -_cs.Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 211;BA.debugLine="cs.Height = r.GetField(\"height\")"; -_cs.Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 212;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 213;BA.debugLine="End Sub"; -return null; +public String _setflashmode(reparto_intmex.keymon.lat.cameraexclass __ref,String _mode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setflashmode", false)) + {return ((String) Debug.delegate(ba, "setflashmode", new Object[] {_mode}));} +RDebugUtils.currentLine=57409536; + //BA.debugLineNum = 57409536;BA.debugLine="Public Sub SetFlashMode(Mode As String)"; +RDebugUtils.currentLine=57409537; + //BA.debugLineNum = 57409537;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57409538; + //BA.debugLineNum = 57409538;BA.debugLine="r.RunMethod2(\"setFlashMode\", Mode, \"java.lang.Str"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setFlashMode",_mode,"java.lang.String"); +RDebugUtils.currentLine=57409539; + //BA.debugLineNum = 57409539;BA.debugLine="End Sub"; +return ""; } -public reparto_intmex.keymon.lat.cameraexclass._camerasize _getpreviewsize() throws Exception{ -reparto_intmex.keymon.lat.cameraexclass._camerasize _cs = null; - //BA.debugLineNum = 197;BA.debugLine="Public Sub GetPreviewSize As CameraSize"; - //BA.debugLineNum = 198;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 199;BA.debugLine="r.target = r.RunMethod(\"getPreviewSize\")"; -_r.Target = _r.RunMethod("getPreviewSize"); - //BA.debugLineNum = 200;BA.debugLine="Dim cs As CameraSize"; -_cs = new reparto_intmex.keymon.lat.cameraexclass._camerasize(); - //BA.debugLineNum = 201;BA.debugLine="cs.Width = r.GetField(\"width\")"; -_cs.Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 202;BA.debugLine="cs.Height = r.GetField(\"height\")"; -_cs.Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 203;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 204;BA.debugLine="End Sub"; -return null; +public String _focusandtakepicture(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "focusandtakepicture", false)) + {return ((String) Debug.delegate(ba, "focusandtakepicture", null));} +RDebugUtils.currentLine=58195968; + //BA.debugLineNum = 58195968;BA.debugLine="Public Sub FocusAndTakePicture"; +RDebugUtils.currentLine=58195969; + //BA.debugLineNum = 58195969;BA.debugLine="cam.AutoFocus"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .AutoFocus(); +RDebugUtils.currentLine=58195970; + //BA.debugLineNum = 58195970;BA.debugLine="End Sub"; +return ""; } -public anywheresoftware.b4a.objects.collections.List _getsupportedcoloreffects() throws Exception{ - //BA.debugLineNum = 192;BA.debugLine="Public Sub GetSupportedColorEffects As List"; - //BA.debugLineNum = 193;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 194;BA.debugLine="Return r.RunMethod(\"getSupportedColorEffects\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedColorEffects"))); - //BA.debugLineNum = 195;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedflashmodes() throws Exception{ - //BA.debugLineNum = 187;BA.debugLine="Public Sub GetSupportedFlashModes As List"; - //BA.debugLineNum = 188;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 189;BA.debugLine="Return r.RunMethod(\"getSupportedFlashModes\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedFlashModes"))); - //BA.debugLineNum = 190;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedfocusmodes() throws Exception{ - //BA.debugLineNum = 237;BA.debugLine="Public Sub GetSupportedFocusModes As List"; - //BA.debugLineNum = 238;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 239;BA.debugLine="Return r.RunMethod(\"getSupportedFocusModes\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedFocusModes"))); - //BA.debugLineNum = 240;BA.debugLine="End Sub"; -return null; -} -public reparto_intmex.keymon.lat.cameraexclass._camerasize[] _getsupportedpicturessizes() throws Exception{ +public reparto_intmex.keymon.lat.cameraexclass._camerasize[] _getsupportedpicturessizes(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedpicturessizes", false)) + {return ((reparto_intmex.keymon.lat.cameraexclass._camerasize[]) Debug.delegate(ba, "getsupportedpicturessizes", null));} anywheresoftware.b4a.objects.collections.List _list1 = null; reparto_intmex.keymon.lat.cameraexclass._camerasize[] _cs = null; int _i = 0; - //BA.debugLineNum = 155;BA.debugLine="Public Sub GetSupportedPicturesSizes As CameraSize"; - //BA.debugLineNum = 156;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 157;BA.debugLine="Dim list1 As List = r.RunMethod(\"getSupportedPict"; +RDebugUtils.currentLine=57212928; + //BA.debugLineNum = 57212928;BA.debugLine="Public Sub GetSupportedPicturesSizes As CameraSize"; +RDebugUtils.currentLine=57212929; + //BA.debugLineNum = 57212929;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57212930; + //BA.debugLineNum = 57212930;BA.debugLine="Dim list1 As List = r.RunMethod(\"getSupportedPict"; _list1 = new anywheresoftware.b4a.objects.collections.List(); -_list1 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedPictureSizes"))); - //BA.debugLineNum = 158;BA.debugLine="Dim cs(list1.Size) As CameraSize"; +_list1 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedPictureSizes"))); +RDebugUtils.currentLine=57212931; + //BA.debugLineNum = 57212931;BA.debugLine="Dim cs(list1.Size) As CameraSize"; _cs = new reparto_intmex.keymon.lat.cameraexclass._camerasize[_list1.getSize()]; { int d0 = _cs.length; @@ -354,59 +465,415 @@ _cs[i0] = new reparto_intmex.keymon.lat.cameraexclass._camerasize(); } } ; - //BA.debugLineNum = 159;BA.debugLine="For i = 0 To list1.Size - 1"; +RDebugUtils.currentLine=57212932; + //BA.debugLineNum = 57212932;BA.debugLine="For i = 0 To list1.Size - 1"; { final int step4 = 1; final int limit4 = (int) (_list1.getSize()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 160;BA.debugLine="r.target = list1.Get(i)"; -_r.Target = _list1.Get(_i); - //BA.debugLineNum = 161;BA.debugLine="cs(i).Width = r.GetField(\"width\")"; -_cs[_i].Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 162;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; -_cs[_i].Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); +RDebugUtils.currentLine=57212933; + //BA.debugLineNum = 57212933;BA.debugLine="r.target = list1.Get(i)"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _list1.Get(_i); +RDebugUtils.currentLine=57212934; + //BA.debugLineNum = 57212934;BA.debugLine="cs(i).Width = r.GetField(\"width\")"; +_cs[_i].Width /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +RDebugUtils.currentLine=57212935; + //BA.debugLineNum = 57212935;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; +_cs[_i].Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); } }; - //BA.debugLineNum = 164;BA.debugLine="Return cs"; +RDebugUtils.currentLine=57212937; + //BA.debugLineNum = 57212937;BA.debugLine="Return cs"; if (true) return _cs; - //BA.debugLineNum = 165;BA.debugLine="End Sub"; +RDebugUtils.currentLine=57212938; + //BA.debugLineNum = 57212938;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _panel1,boolean _frontcamera,Object _targetmodule,String _eventname) throws Exception{ -innerInitialize(_ba); -int _id = 0; - //BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (Panel1 As Panel, FrontCamer"; - //BA.debugLineNum = 20;BA.debugLine="target = TargetModule"; -_target = _targetmodule; - //BA.debugLineNum = 21;BA.debugLine="event = EventName"; -_event = _eventname; - //BA.debugLineNum = 22;BA.debugLine="Front = FrontCamera"; -_front = _frontcamera; - //BA.debugLineNum = 23;BA.debugLine="Dim id As Int"; -_id = 0; - //BA.debugLineNum = 24;BA.debugLine="id = FindCamera(Front).id"; -_id = _findcamera(_front).Id /*int*/ ; - //BA.debugLineNum = 25;BA.debugLine="If id = -1 Then"; -if (_id==-1) { - //BA.debugLineNum = 26;BA.debugLine="Front = Not(Front) 'try different camera"; -_front = __c.Not(_front); - //BA.debugLineNum = 27;BA.debugLine="id = FindCamera(Front).id"; -_id = _findcamera(_front).Id /*int*/ ; - //BA.debugLineNum = 28;BA.debugLine="If id = -1 Then"; -if (_id==-1) { - //BA.debugLineNum = 29;BA.debugLine="ToastMessageShow(\"No camera found.\", True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No camera found."),__c.True); - //BA.debugLineNum = 30;BA.debugLine="Return"; -if (true) return ""; - }; - }; - //BA.debugLineNum = 33;BA.debugLine="cam.Initialize2(Panel1, \"camera\", id)"; -_cam.Initialize2(ba,(android.view.ViewGroup)(_panel1.getObject()),"camera",_id); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; +public reparto_intmex.keymon.lat.cameraexclass._camerasize _getpicturesize(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getpicturesize", false)) + {return ((reparto_intmex.keymon.lat.cameraexclass._camerasize) Debug.delegate(ba, "getpicturesize", null));} +reparto_intmex.keymon.lat.cameraexclass._camerasize _cs = null; +RDebugUtils.currentLine=57737216; + //BA.debugLineNum = 57737216;BA.debugLine="Public Sub GetPictureSize As CameraSize"; +RDebugUtils.currentLine=57737217; + //BA.debugLineNum = 57737217;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57737218; + //BA.debugLineNum = 57737218;BA.debugLine="r.target = r.RunMethod(\"getPictureSize\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPictureSize"); +RDebugUtils.currentLine=57737219; + //BA.debugLineNum = 57737219;BA.debugLine="Dim cs As CameraSize"; +_cs = new reparto_intmex.keymon.lat.cameraexclass._camerasize(); +RDebugUtils.currentLine=57737220; + //BA.debugLineNum = 57737220;BA.debugLine="cs.Width = r.GetField(\"width\")"; +_cs.Width /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +RDebugUtils.currentLine=57737221; + //BA.debugLineNum = 57737221;BA.debugLine="cs.Height = r.GetField(\"height\")"; +_cs.Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); +RDebugUtils.currentLine=57737222; + //BA.debugLineNum = 57737222;BA.debugLine="Return cs"; +if (true) return _cs; +RDebugUtils.currentLine=57737223; + //BA.debugLineNum = 57737223;BA.debugLine="End Sub"; +return null; +} +public String _setpicturesize(reparto_intmex.keymon.lat.cameraexclass __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setpicturesize", false)) + {return ((String) Debug.delegate(ba, "setpicturesize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=57278464; + //BA.debugLineNum = 57278464;BA.debugLine="Public Sub SetPictureSize(Width As Int, Height As"; +RDebugUtils.currentLine=57278465; + //BA.debugLineNum = 57278465;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57278466; + //BA.debugLineNum = 57278466;BA.debugLine="r.RunMethod3(\"setPictureSize\", Width, \"java.lang."; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod3("setPictureSize",BA.NumberToString(_width),"java.lang.int",BA.NumberToString(_height),"java.lang.int"); +RDebugUtils.currentLine=57278467; + //BA.debugLineNum = 57278467;BA.debugLine="End Sub"; return ""; } -public byte[] _previewimagetojpeg(byte[] _data,int _quality) throws Exception{ +public String _camera_focusdone(reparto_intmex.keymon.lat.cameraexclass __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "camera_focusdone", false)) + {return ((String) Debug.delegate(ba, "camera_focusdone", new Object[] {_success}));} +RDebugUtils.currentLine=58261504; + //BA.debugLineNum = 58261504;BA.debugLine="Private Sub Camera_FocusDone (Success As Boolean)"; +RDebugUtils.currentLine=58261505; + //BA.debugLineNum = 58261505;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=58261506; + //BA.debugLineNum = 58261506;BA.debugLine="TakePicture"; +__ref._takepicture /*String*/ (null); + }else { +RDebugUtils.currentLine=58261508; + //BA.debugLineNum = 58261508;BA.debugLine="Log(\"AutoFocus error.\")"; +__c.LogImpl("258261508","AutoFocus error.",0); + }; +RDebugUtils.currentLine=58261510; + //BA.debugLineNum = 58261510;BA.debugLine="End Sub"; +return ""; +} +public String _camera_picturetaken(reparto_intmex.keymon.lat.cameraexclass __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "camera_picturetaken", false)) + {return ((String) Debug.delegate(ba, "camera_picturetaken", new Object[] {_data}));} +RDebugUtils.currentLine=56557568; + //BA.debugLineNum = 56557568;BA.debugLine="Private Sub Camera_PictureTaken (Data() As Byte)"; +RDebugUtils.currentLine=56557569; + //BA.debugLineNum = 56557569;BA.debugLine="CallSub2(target, event & \"_PictureTaken\", Data)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_PictureTaken",(Object)(_data)); +RDebugUtils.currentLine=56557570; + //BA.debugLineNum = 56557570;BA.debugLine="End Sub"; +return ""; +} +public String _camera_preview(reparto_intmex.keymon.lat.cameraexclass __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "camera_preview", false)) + {return ((String) Debug.delegate(ba, "camera_preview", new Object[] {_data}));} +RDebugUtils.currentLine=56426496; + //BA.debugLineNum = 56426496;BA.debugLine="Sub Camera_Preview (Data() As Byte)"; +RDebugUtils.currentLine=56426497; + //BA.debugLineNum = 56426497;BA.debugLine="If SubExists(target, event & \"_preview\") Then"; +if (__c.SubExists(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_preview")) { +RDebugUtils.currentLine=56426498; + //BA.debugLineNum = 56426498;BA.debugLine="CallSub2(target, event & \"_preview\", Data)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_preview",(Object)(_data)); + }; +RDebugUtils.currentLine=56426500; + //BA.debugLineNum = 56426500;BA.debugLine="End Sub"; +return ""; +} +public String _camera_ready(reparto_intmex.keymon.lat.cameraexclass __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "camera_ready", false)) + {return ((String) Debug.delegate(ba, "camera_ready", new Object[] {_success}));} +RDebugUtils.currentLine=56360960; + //BA.debugLineNum = 56360960;BA.debugLine="Private Sub Camera_Ready (Success As Boolean)"; +RDebugUtils.currentLine=56360961; + //BA.debugLineNum = 56360961;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=56360962; + //BA.debugLineNum = 56360962;BA.debugLine="r.target = cam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = (Object)(__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ ); +RDebugUtils.currentLine=56360963; + //BA.debugLineNum = 56360963;BA.debugLine="nativeCam = r.GetField(\"camera\")"; +__ref._nativecam /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("camera"); +RDebugUtils.currentLine=56360964; + //BA.debugLineNum = 56360964;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=56360965; + //BA.debugLineNum = 56360965;BA.debugLine="parameters = r.RunMethod(\"getParameters\")"; +__ref._parameters /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getParameters"); +RDebugUtils.currentLine=56360966; + //BA.debugLineNum = 56360966;BA.debugLine="SetDisplayOrientation"; +__ref._setdisplayorientation /*String*/ (null); + }else { +RDebugUtils.currentLine=56360968; + //BA.debugLineNum = 56360968;BA.debugLine="Log(\"success = false, \" & LastException)"; +__c.LogImpl("256360968","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); + }; +RDebugUtils.currentLine=56360970; + //BA.debugLineNum = 56360970;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_ready",(Object)(_success)); +RDebugUtils.currentLine=56360971; + //BA.debugLineNum = 56360971;BA.debugLine="End Sub"; +return ""; +} +public String _setdisplayorientation(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setdisplayorientation", false)) + {return ((String) Debug.delegate(ba, "setdisplayorientation", null));} +int _previewresult = 0; +int _result = 0; +int _degrees = 0; +reparto_intmex.keymon.lat.cameraexclass._camerainfoandid _ci = null; +int _orientation = 0; +RDebugUtils.currentLine=56295424; + //BA.debugLineNum = 56295424;BA.debugLine="Private Sub SetDisplayOrientation"; +RDebugUtils.currentLine=56295425; + //BA.debugLineNum = 56295425;BA.debugLine="r.target = r.GetActivity"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = (Object)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetActivity(ba)); +RDebugUtils.currentLine=56295426; + //BA.debugLineNum = 56295426;BA.debugLine="r.target = r.RunMethod(\"getWindowManager\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getWindowManager"); +RDebugUtils.currentLine=56295427; + //BA.debugLineNum = 56295427;BA.debugLine="r.target = r.RunMethod(\"getDefaultDisplay\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getDefaultDisplay"); +RDebugUtils.currentLine=56295428; + //BA.debugLineNum = 56295428;BA.debugLine="r.target = r.RunMethod(\"getRotation\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getRotation"); +RDebugUtils.currentLine=56295429; + //BA.debugLineNum = 56295429;BA.debugLine="Dim previewResult, result, degrees As Int = r.tar"; +_previewresult = 0; +_result = 0; +_degrees = (int) ((double)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target))*90); +RDebugUtils.currentLine=56295430; + //BA.debugLineNum = 56295430;BA.debugLine="Dim ci As CameraInfoAndId = FindCamera(Front)"; +_ci = __ref._findcamera /*reparto_intmex.keymon.lat.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ); +RDebugUtils.currentLine=56295431; + //BA.debugLineNum = 56295431;BA.debugLine="r.target = ci.CameraInfo"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _ci.CameraInfo /*Object*/ ; +RDebugUtils.currentLine=56295432; + //BA.debugLineNum = 56295432;BA.debugLine="Dim orientation As Int = r.GetField(\"orientation\""; +_orientation = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("orientation"))); +RDebugUtils.currentLine=56295433; + //BA.debugLineNum = 56295433;BA.debugLine="If Front Then"; +if (__ref._front /*boolean*/ ) { +RDebugUtils.currentLine=56295434; + //BA.debugLineNum = 56295434;BA.debugLine="previewResult = (orientation + degrees) Mod 360"; +_previewresult = (int) ((_orientation+_degrees)%360); +RDebugUtils.currentLine=56295435; + //BA.debugLineNum = 56295435;BA.debugLine="result = previewResult"; +_result = _previewresult; +RDebugUtils.currentLine=56295436; + //BA.debugLineNum = 56295436;BA.debugLine="previewResult = (360 - previewResult) Mod 360"; +_previewresult = (int) ((360-_previewresult)%360); + }else { +RDebugUtils.currentLine=56295438; + //BA.debugLineNum = 56295438;BA.debugLine="previewResult = (orientation - degrees + 360) Mo"; +_previewresult = (int) ((_orientation-_degrees+360)%360); +RDebugUtils.currentLine=56295439; + //BA.debugLineNum = 56295439;BA.debugLine="result = previewResult"; +_result = _previewresult; +RDebugUtils.currentLine=56295440; + //BA.debugLineNum = 56295440;BA.debugLine="Log(previewResult)"; +__c.LogImpl("256295440",BA.NumberToString(_previewresult),0); + }; +RDebugUtils.currentLine=56295442; + //BA.debugLineNum = 56295442;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=56295443; + //BA.debugLineNum = 56295443;BA.debugLine="r.RunMethod2(\"setDisplayOrientation\", previewResu"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setDisplayOrientation",BA.NumberToString(_previewresult),"java.lang.int"); +RDebugUtils.currentLine=56295444; + //BA.debugLineNum = 56295444;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=56295445; + //BA.debugLineNum = 56295445;BA.debugLine="r.RunMethod2(\"setRotation\", result, \"java.lang.in"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setRotation",BA.NumberToString(_result),"java.lang.int"); +RDebugUtils.currentLine=56295446; + //BA.debugLineNum = 56295446;BA.debugLine="CommitParameters"; +__ref._commitparameters /*String*/ (null); +RDebugUtils.currentLine=56295447; + //BA.debugLineNum = 56295447;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +RDebugUtils.currentLine=56098816; + //BA.debugLineNum = 56098816;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=56098817; + //BA.debugLineNum = 56098817;BA.debugLine="Private nativeCam As Object"; +_nativecam = new Object(); +RDebugUtils.currentLine=56098818; + //BA.debugLineNum = 56098818;BA.debugLine="Private cam As Camera"; +_cam = new anywheresoftware.b4a.objects.CameraW(); +RDebugUtils.currentLine=56098819; + //BA.debugLineNum = 56098819;BA.debugLine="Private r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=56098820; + //BA.debugLineNum = 56098820;BA.debugLine="Private target As Object"; +_target = new Object(); +RDebugUtils.currentLine=56098821; + //BA.debugLineNum = 56098821;BA.debugLine="Private event As String"; +_event = ""; +RDebugUtils.currentLine=56098822; + //BA.debugLineNum = 56098822;BA.debugLine="Public Front As Boolean"; +_front = false; +RDebugUtils.currentLine=56098823; + //BA.debugLineNum = 56098823;BA.debugLine="Type CameraInfoAndId (CameraInfo As Object, Id As"; +; +RDebugUtils.currentLine=56098824; + //BA.debugLineNum = 56098824;BA.debugLine="Type CameraSize (Width As Int, Height As Int)"; +; +RDebugUtils.currentLine=56098825; + //BA.debugLineNum = 56098825;BA.debugLine="Private parameters As Object"; +_parameters = new Object(); +RDebugUtils.currentLine=56098826; + //BA.debugLineNum = 56098826;BA.debugLine="End Sub"; +return ""; +} +public String _closenow(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "closenow", false)) + {return ((String) Debug.delegate(ba, "closenow", null));} +RDebugUtils.currentLine=58130432; + //BA.debugLineNum = 58130432;BA.debugLine="Public Sub CloseNow"; +RDebugUtils.currentLine=58130433; + //BA.debugLineNum = 58130433;BA.debugLine="cam.Release"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Release(); +RDebugUtils.currentLine=58130434; + //BA.debugLineNum = 58130434;BA.debugLine="r.target = cam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = (Object)(__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ ); +RDebugUtils.currentLine=58130435; + //BA.debugLineNum = 58130435;BA.debugLine="r.RunMethod2(\"releaseCameras\", True, \"java.lang.b"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("releaseCameras",BA.ObjectToString(__c.True),"java.lang.boolean"); +RDebugUtils.currentLine=58130436; + //BA.debugLineNum = 58130436;BA.debugLine="End Sub"; +return ""; +} +public reparto_intmex.keymon.lat.cameraexclass._camerainfoandid _findcamera(reparto_intmex.keymon.lat.cameraexclass __ref,boolean _frontcamera) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "findcamera", false)) + {return ((reparto_intmex.keymon.lat.cameraexclass._camerainfoandid) Debug.delegate(ba, "findcamera", new Object[] {_frontcamera}));} +reparto_intmex.keymon.lat.cameraexclass._camerainfoandid _ci = null; +Object _camerainfo = null; +int _cameravalue = 0; +int _numberofcameras = 0; +int _i = 0; +RDebugUtils.currentLine=56229888; + //BA.debugLineNum = 56229888;BA.debugLine="Private Sub FindCamera (frontCamera As Boolean) As"; +RDebugUtils.currentLine=56229889; + //BA.debugLineNum = 56229889;BA.debugLine="Dim ci As CameraInfoAndId"; +_ci = new reparto_intmex.keymon.lat.cameraexclass._camerainfoandid(); +RDebugUtils.currentLine=56229890; + //BA.debugLineNum = 56229890;BA.debugLine="Dim cameraInfo As Object"; +_camerainfo = new Object(); +RDebugUtils.currentLine=56229891; + //BA.debugLineNum = 56229891;BA.debugLine="Dim cameraValue As Int"; +_cameravalue = 0; +RDebugUtils.currentLine=56229892; + //BA.debugLineNum = 56229892;BA.debugLine="If frontCamera Then cameraValue = 1 Else cameraVa"; +if (_frontcamera) { +_cameravalue = (int) (1);} +else { +_cameravalue = (int) (0);}; +RDebugUtils.currentLine=56229893; + //BA.debugLineNum = 56229893;BA.debugLine="cameraInfo = r.CreateObject(\"android.hardware.Cam"; +_camerainfo = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .CreateObject("android.hardware.Camera$CameraInfo"); +RDebugUtils.currentLine=56229894; + //BA.debugLineNum = 56229894;BA.debugLine="Dim numberOfCameras As Int = r.RunStaticMethod(\"a"; +_numberofcameras = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunStaticMethod("android.hardware.Camera","getNumberOfCameras",(Object[])(__c.Null),(String[])(__c.Null)))); +RDebugUtils.currentLine=56229895; + //BA.debugLineNum = 56229895;BA.debugLine="For i = 0 To numberOfCameras - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (_numberofcameras-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=56229896; + //BA.debugLineNum = 56229896;BA.debugLine="r.RunStaticMethod(\"android.hardware.Camera\", \"ge"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunStaticMethod("android.hardware.Camera","getCameraInfo",new Object[]{(Object)(_i),_camerainfo},new String[]{"java.lang.int","android.hardware.Camera$CameraInfo"}); +RDebugUtils.currentLine=56229898; + //BA.debugLineNum = 56229898;BA.debugLine="r.target = cameraInfo"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _camerainfo; +RDebugUtils.currentLine=56229899; + //BA.debugLineNum = 56229899;BA.debugLine="If r.GetField(\"facing\") = cameraValue Then"; +if ((__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("facing")).equals((Object)(_cameravalue))) { +RDebugUtils.currentLine=56229900; + //BA.debugLineNum = 56229900;BA.debugLine="ci.cameraInfo = r.target"; +_ci.CameraInfo /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target; +RDebugUtils.currentLine=56229901; + //BA.debugLineNum = 56229901;BA.debugLine="ci.Id = i"; +_ci.Id /*int*/ = _i; +RDebugUtils.currentLine=56229902; + //BA.debugLineNum = 56229902;BA.debugLine="Return ci"; +if (true) return _ci; + }; + } +}; +RDebugUtils.currentLine=56229905; + //BA.debugLineNum = 56229905;BA.debugLine="ci.id = -1"; +_ci.Id /*int*/ = (int) (-1); +RDebugUtils.currentLine=56229906; + //BA.debugLineNum = 56229906;BA.debugLine="Return ci"; +if (true) return _ci; +RDebugUtils.currentLine=56229907; + //BA.debugLineNum = 56229907;BA.debugLine="End Sub"; +return null; +} +public String _getparameter(reparto_intmex.keymon.lat.cameraexclass __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getparameter", false)) + {return ((String) Debug.delegate(ba, "getparameter", new Object[] {_key}));} +RDebugUtils.currentLine=56950784; + //BA.debugLineNum = 56950784;BA.debugLine="Public Sub GetParameter(Key As String) As String"; +RDebugUtils.currentLine=56950785; + //BA.debugLineNum = 56950785;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=56950786; + //BA.debugLineNum = 56950786;BA.debugLine="Return r.RunMethod2(\"get\", Key, \"java.lang.String"; +if (true) return BA.ObjectToString(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("get",_key,"java.lang.String")); +RDebugUtils.currentLine=56950787; + //BA.debugLineNum = 56950787;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _getsupportedfocusmodes(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedfocusmodes", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getsupportedfocusmodes", null));} +RDebugUtils.currentLine=57868288; + //BA.debugLineNum = 57868288;BA.debugLine="Public Sub GetSupportedFocusModes As List"; +RDebugUtils.currentLine=57868289; + //BA.debugLineNum = 57868289;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57868290; + //BA.debugLineNum = 57868290;BA.debugLine="Return r.RunMethod(\"getSupportedFocusModes\")"; +if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedFocusModes"))); +RDebugUtils.currentLine=57868291; + //BA.debugLineNum = 57868291;BA.debugLine="End Sub"; +return null; +} +public byte[] _previewimagetojpeg(reparto_intmex.keymon.lat.cameraexclass __ref,byte[] _data,int _quality) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "previewimagetojpeg", false)) + {return ((byte[]) Debug.delegate(ba, "previewimagetojpeg", new Object[] {_data,_quality}));} Object _size = null; Object _previewformat = null; int _width = 0; @@ -414,209 +881,102 @@ int _height = 0; Object _yuvimage = null; anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _rect1 = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 217;BA.debugLine="Public Sub PreviewImageToJpeg(data() As Byte, qual"; - //BA.debugLineNum = 218;BA.debugLine="Dim size, previewFormat As Object"; +RDebugUtils.currentLine=57802752; + //BA.debugLineNum = 57802752;BA.debugLine="Public Sub PreviewImageToJpeg(data() As Byte, qual"; +RDebugUtils.currentLine=57802753; + //BA.debugLineNum = 57802753;BA.debugLine="Dim size, previewFormat As Object"; _size = new Object(); _previewformat = new Object(); - //BA.debugLineNum = 219;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 220;BA.debugLine="size = r.RunMethod(\"getPreviewSize\")"; -_size = _r.RunMethod("getPreviewSize"); - //BA.debugLineNum = 221;BA.debugLine="previewFormat = r.RunMethod(\"getPreviewFormat\")"; -_previewformat = _r.RunMethod("getPreviewFormat"); - //BA.debugLineNum = 222;BA.debugLine="r.target = size"; -_r.Target = _size; - //BA.debugLineNum = 223;BA.debugLine="Dim width = r.GetField(\"width\"), height = r.GetFi"; -_width = (int)(BA.ObjectToNumber(_r.GetField("width"))); -_height = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 224;BA.debugLine="Dim yuvImage As Object = r.CreateObject2(\"android"; -_yuvimage = _r.CreateObject2("android.graphics.YuvImage",new Object[]{(Object)(_data),_previewformat,(Object)(_width),(Object)(_height),__c.Null},new String[]{"[B","java.lang.int","java.lang.int","java.lang.int","[I"}); - //BA.debugLineNum = 227;BA.debugLine="r.target = yuvImage"; -_r.Target = _yuvimage; - //BA.debugLineNum = 228;BA.debugLine="Dim rect1 As Rect"; +RDebugUtils.currentLine=57802754; + //BA.debugLineNum = 57802754;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57802755; + //BA.debugLineNum = 57802755;BA.debugLine="size = r.RunMethod(\"getPreviewSize\")"; +_size = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPreviewSize"); +RDebugUtils.currentLine=57802756; + //BA.debugLineNum = 57802756;BA.debugLine="previewFormat = r.RunMethod(\"getPreviewFormat\")"; +_previewformat = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPreviewFormat"); +RDebugUtils.currentLine=57802757; + //BA.debugLineNum = 57802757;BA.debugLine="r.target = size"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _size; +RDebugUtils.currentLine=57802758; + //BA.debugLineNum = 57802758;BA.debugLine="Dim width = r.GetField(\"width\"), height = r.GetFi"; +_width = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +_height = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); +RDebugUtils.currentLine=57802759; + //BA.debugLineNum = 57802759;BA.debugLine="Dim yuvImage As Object = r.CreateObject2(\"android"; +_yuvimage = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .CreateObject2("android.graphics.YuvImage",new Object[]{(Object)(_data),_previewformat,(Object)(_width),(Object)(_height),__c.Null},new String[]{"[B","java.lang.int","java.lang.int","java.lang.int","[I"}); +RDebugUtils.currentLine=57802762; + //BA.debugLineNum = 57802762;BA.debugLine="r.target = yuvImage"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _yuvimage; +RDebugUtils.currentLine=57802763; + //BA.debugLineNum = 57802763;BA.debugLine="Dim rect1 As Rect"; _rect1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); - //BA.debugLineNum = 229;BA.debugLine="rect1.Initialize(0, 0, r.RunMethod(\"getWidth\"), r"; -_rect1.Initialize((int) (0),(int) (0),(int)(BA.ObjectToNumber(_r.RunMethod("getWidth"))),(int)(BA.ObjectToNumber(_r.RunMethod("getHeight")))); - //BA.debugLineNum = 230;BA.debugLine="Dim out As OutputStream"; +RDebugUtils.currentLine=57802764; + //BA.debugLineNum = 57802764;BA.debugLine="rect1.Initialize(0, 0, r.RunMethod(\"getWidth\"), r"; +_rect1.Initialize((int) (0),(int) (0),(int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getWidth"))),(int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getHeight")))); +RDebugUtils.currentLine=57802765; + //BA.debugLineNum = 57802765;BA.debugLine="Dim out As OutputStream"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 231;BA.debugLine="out.InitializeToBytesArray(100)"; +RDebugUtils.currentLine=57802766; + //BA.debugLineNum = 57802766;BA.debugLine="out.InitializeToBytesArray(100)"; _out.InitializeToBytesArray((int) (100)); - //BA.debugLineNum = 232;BA.debugLine="r.RunMethod4(\"compressToJpeg\", Array As Object(re"; -_r.RunMethod4("compressToJpeg",new Object[]{(Object)(_rect1.getObject()),(Object)(_quality),(Object)(_out.getObject())},new String[]{"android.graphics.Rect","java.lang.int","java.io.OutputStream"}); - //BA.debugLineNum = 234;BA.debugLine="Return out.ToBytesArray"; +RDebugUtils.currentLine=57802767; + //BA.debugLineNum = 57802767;BA.debugLine="r.RunMethod4(\"compressToJpeg\", Array As Object(re"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod4("compressToJpeg",new Object[]{(Object)(_rect1.getObject()),(Object)(_quality),(Object)(_out.getObject())},new String[]{"android.graphics.Rect","java.lang.int","java.io.OutputStream"}); +RDebugUtils.currentLine=57802769; + //BA.debugLineNum = 57802769;BA.debugLine="Return out.ToBytesArray"; if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 235;BA.debugLine="End Sub"; +RDebugUtils.currentLine=57802770; + //BA.debugLineNum = 57802770;BA.debugLine="End Sub"; return null; } -public String _release() throws Exception{ - //BA.debugLineNum = 116;BA.debugLine="Public Sub Release"; - //BA.debugLineNum = 117;BA.debugLine="cam.Release"; -_cam.Release(); - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +public String _setparameter(reparto_intmex.keymon.lat.cameraexclass __ref,String _key,String _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setparameter", false)) + {return ((String) Debug.delegate(ba, "setparameter", new Object[] {_key,_value}));} +RDebugUtils.currentLine=56885248; + //BA.debugLineNum = 56885248;BA.debugLine="Public Sub SetParameter(Key As String, Value As St"; +RDebugUtils.currentLine=56885249; + //BA.debugLineNum = 56885249;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=56885250; + //BA.debugLineNum = 56885250;BA.debugLine="r.RunMethod3(\"set\", Key, \"java.lang.String\", Valu"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod3("set",_key,"java.lang.String",_value,"java.lang.String"); +RDebugUtils.currentLine=56885251; + //BA.debugLineNum = 56885251;BA.debugLine="End Sub"; return ""; } -public String _savepicturetofile(byte[] _data,String _dir,String _filename) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 121;BA.debugLine="Public Sub SavePictureToFile(Data() As Byte, Dir A"; - //BA.debugLineNum = 122;BA.debugLine="Dim out As OutputStream = File.OpenOutput(Dir, Fi"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(_dir,_filename,__c.False); - //BA.debugLineNum = 123;BA.debugLine="out.WriteBytes(Data, 0, Data.Length)"; -_out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 124;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 125;BA.debugLine="End Sub"; +public String _setfocusmode(reparto_intmex.keymon.lat.cameraexclass __ref,String _mode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setfocusmode", false)) + {return ((String) Debug.delegate(ba, "setfocusmode", new Object[] {_mode}));} +RDebugUtils.currentLine=57999360; + //BA.debugLineNum = 57999360;BA.debugLine="Public Sub SetFocusMode(Mode As String)"; +RDebugUtils.currentLine=57999361; + //BA.debugLineNum = 57999361;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=57999362; + //BA.debugLineNum = 57999362;BA.debugLine="r.RunMethod2(\"setFocusMode\", Mode, \"java.lang."; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setFocusMode",_mode,"java.lang.String"); +RDebugUtils.currentLine=57999363; + //BA.debugLineNum = 57999363;BA.debugLine="End Sub"; return ""; } -public String _setcoloreffect(String _effect) throws Exception{ - //BA.debugLineNum = 151;BA.debugLine="Public Sub SetColorEffect(Effect As String)"; - //BA.debugLineNum = 152;BA.debugLine="SetParameter(\"effect\", Effect)"; -_setparameter("effect",_effect); - //BA.debugLineNum = 153;BA.debugLine="End Sub"; +public String _stoppreview(reparto_intmex.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "stoppreview", false)) + {return ((String) Debug.delegate(ba, "stoppreview", null));} +RDebugUtils.currentLine=56688640; + //BA.debugLineNum = 56688640;BA.debugLine="Public Sub StopPreview"; +RDebugUtils.currentLine=56688641; + //BA.debugLineNum = 56688641;BA.debugLine="cam.StopPreview"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .StopPreview(); +RDebugUtils.currentLine=56688642; + //BA.debugLineNum = 56688642;BA.debugLine="End Sub"; return ""; } -public String _setcontinuousautofocus() throws Exception{ -anywheresoftware.b4a.objects.collections.List _modes = null; - //BA.debugLineNum = 242;BA.debugLine="Public Sub SetContinuousAutoFocus"; - //BA.debugLineNum = 243;BA.debugLine="Dim modes As List = GetSupportedFocusModes"; -_modes = new anywheresoftware.b4a.objects.collections.List(); -_modes = _getsupportedfocusmodes(); - //BA.debugLineNum = 244;BA.debugLine="If modes.IndexOf(\"continuous-picture\") > -1 Th"; -if (_modes.IndexOf((Object)("continuous-picture"))>-1) { - //BA.debugLineNum = 245;BA.debugLine="SetFocusMode(\"continuous-picture\")"; -_setfocusmode("continuous-picture"); - }else if(_modes.IndexOf((Object)("continuous-video"))>-1) { - //BA.debugLineNum = 247;BA.debugLine="SetFocusMode(\"continuous-video\")"; -_setfocusmode("continuous-video"); - }else { - //BA.debugLineNum = 249;BA.debugLine="Log(\"Continuous focus mode is not availabl"; -__c.LogImpl("823199751","Continuous focus mode is not available",0); - }; - //BA.debugLineNum = 251;BA.debugLine="End Sub"; -return ""; -} -public String _setdisplayorientation() throws Exception{ -int _previewresult = 0; -int _result = 0; -int _degrees = 0; -reparto_intmex.keymon.lat.cameraexclass._camerainfoandid _ci = null; -int _orientation = 0; - //BA.debugLineNum = 57;BA.debugLine="Private Sub SetDisplayOrientation"; - //BA.debugLineNum = 58;BA.debugLine="r.target = r.GetActivity"; -_r.Target = (Object)(_r.GetActivity(ba)); - //BA.debugLineNum = 59;BA.debugLine="r.target = r.RunMethod(\"getWindowManager\")"; -_r.Target = _r.RunMethod("getWindowManager"); - //BA.debugLineNum = 60;BA.debugLine="r.target = r.RunMethod(\"getDefaultDisplay\")"; -_r.Target = _r.RunMethod("getDefaultDisplay"); - //BA.debugLineNum = 61;BA.debugLine="r.target = r.RunMethod(\"getRotation\")"; -_r.Target = _r.RunMethod("getRotation"); - //BA.debugLineNum = 62;BA.debugLine="Dim previewResult, result, degrees As Int = r.tar"; -_previewresult = 0; -_result = 0; -_degrees = (int) ((double)(BA.ObjectToNumber(_r.Target))*90); - //BA.debugLineNum = 63;BA.debugLine="Dim ci As CameraInfoAndId = FindCamera(Front)"; -_ci = _findcamera(_front); - //BA.debugLineNum = 64;BA.debugLine="r.target = ci.CameraInfo"; -_r.Target = _ci.CameraInfo /*Object*/ ; - //BA.debugLineNum = 65;BA.debugLine="Dim orientation As Int = r.GetField(\"orientation\""; -_orientation = (int)(BA.ObjectToNumber(_r.GetField("orientation"))); - //BA.debugLineNum = 66;BA.debugLine="If Front Then"; -if (_front) { - //BA.debugLineNum = 67;BA.debugLine="previewResult = (orientation + degrees) Mod 360"; -_previewresult = (int) ((_orientation+_degrees)%360); - //BA.debugLineNum = 68;BA.debugLine="result = previewResult"; -_result = _previewresult; - //BA.debugLineNum = 69;BA.debugLine="previewResult = (360 - previewResult) Mod 360"; -_previewresult = (int) ((360-_previewresult)%360); - }else { - //BA.debugLineNum = 71;BA.debugLine="previewResult = (orientation - degrees + 360) Mo"; -_previewresult = (int) ((_orientation-_degrees+360)%360); - //BA.debugLineNum = 72;BA.debugLine="result = previewResult"; -_result = _previewresult; - //BA.debugLineNum = 73;BA.debugLine="Log(previewResult)"; -__c.LogImpl("821561360",BA.NumberToString(_previewresult),0); - }; - //BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 76;BA.debugLine="r.RunMethod2(\"setDisplayOrientation\", previewResu"; -_r.RunMethod2("setDisplayOrientation",BA.NumberToString(_previewresult),"java.lang.int"); - //BA.debugLineNum = 77;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 78;BA.debugLine="r.RunMethod2(\"setRotation\", result, \"java.lang.in"; -_r.RunMethod2("setRotation",BA.NumberToString(_result),"java.lang.int"); - //BA.debugLineNum = 79;BA.debugLine="CommitParameters"; -_commitparameters(); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; -return ""; -} -public String _setflashmode(String _mode) throws Exception{ - //BA.debugLineNum = 177;BA.debugLine="Public Sub SetFlashMode(Mode As String)"; - //BA.debugLineNum = 178;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 179;BA.debugLine="r.RunMethod2(\"setFlashMode\", Mode, \"java.lang.Str"; -_r.RunMethod2("setFlashMode",_mode,"java.lang.String"); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; -return ""; -} -public String _setfocusmode(String _mode) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Public Sub SetFocusMode(Mode As String)"; - //BA.debugLineNum = 254;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 255;BA.debugLine="r.RunMethod2(\"setFocusMode\", Mode, \"java.lang."; -_r.RunMethod2("setFocusMode",_mode,"java.lang.String"); - //BA.debugLineNum = 256;BA.debugLine="End Sub"; -return ""; -} -public String _setjpegquality(int _quality) throws Exception{ - //BA.debugLineNum = 172;BA.debugLine="Public Sub SetJpegQuality(Quality As Int)"; - //BA.debugLineNum = 173;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 174;BA.debugLine="r.RunMethod2(\"setJpegQuality\", Quality, \"java.lan"; -_r.RunMethod2("setJpegQuality",BA.NumberToString(_quality),"java.lang.int"); - //BA.debugLineNum = 175;BA.debugLine="End Sub"; -return ""; -} -public String _setparameter(String _key,String _value) throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub SetParameter(Key As String, Value As St"; - //BA.debugLineNum = 128;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 129;BA.debugLine="r.RunMethod3(\"set\", Key, \"java.lang.String\", Valu"; -_r.RunMethod3("set",_key,"java.lang.String",_value,"java.lang.String"); - //BA.debugLineNum = 130;BA.debugLine="End Sub"; -return ""; -} -public String _setpicturesize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 167;BA.debugLine="Public Sub SetPictureSize(Width As Int, Height As"; - //BA.debugLineNum = 168;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 169;BA.debugLine="r.RunMethod3(\"setPictureSize\", Width, \"java.lang."; -_r.RunMethod3("setPictureSize",BA.NumberToString(_width),"java.lang.int",BA.NumberToString(_height),"java.lang.int"); - //BA.debugLineNum = 170;BA.debugLine="End Sub"; -return ""; -} -public String _startpreview() throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub StartPreview"; - //BA.debugLineNum = 109;BA.debugLine="cam.StartPreview"; -_cam.StartPreview(); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public String _stoppreview() throws Exception{ - //BA.debugLineNum = 112;BA.debugLine="Public Sub StopPreview"; - //BA.debugLineNum = 113;BA.debugLine="cam.StopPreview"; -_cam.StopPreview(); - //BA.debugLineNum = 114;BA.debugLine="End Sub"; -return ""; -} -public String _takepicture() throws Exception{ - //BA.debugLineNum = 100;BA.debugLine="Public Sub TakePicture"; - //BA.debugLineNum = 101;BA.debugLine="cam.TakePicture"; -_cam.TakePicture(); - //BA.debugLineNum = 102;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/cl_appupdate.java b/B4A/Objects/src/reparto_intmex/keymon/lat/cl_appupdate.java index 423d14c..ec5e1b8 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/cl_appupdate.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/cl_appupdate.java @@ -10,7 +10,7 @@ public class cl_appupdate extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.cl_appupdate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.cl_appupdate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class cl_appupdate extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public int _err_nopkg = 0; public int _err_notxt = 0; public int _err_noapk = 0; @@ -63,10 +70,10 @@ public int _logcolor1 = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -74,142 +81,213 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public boolean _canrequestpackageinstalls() throws Exception{ +public boolean _canrequestpackageinstalls(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "canrequestpackageinstalls", true)) + {return ((Boolean) Debug.delegate(ba, "canrequestpackageinstalls", null));} anywheresoftware.b4j.object.JavaObject _ctxt = null; anywheresoftware.b4j.object.JavaObject _packagemanager = null; - //BA.debugLineNum = 448;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; - //BA.debugLineNum = 449;BA.debugLine="Dim ctxt As JavaObject"; +RDebugUtils.currentLine=2228224; + //BA.debugLineNum = 2228224;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; +RDebugUtils.currentLine=2228225; + //BA.debugLineNum = 2228225;BA.debugLine="Dim ctxt As JavaObject"; _ctxt = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 450;BA.debugLine="ctxt.InitializeContext"; +RDebugUtils.currentLine=2228226; + //BA.debugLineNum = 2228226;BA.debugLine="ctxt.InitializeContext"; _ctxt.InitializeContext(ba); - //BA.debugLineNum = 451;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; +RDebugUtils.currentLine=2228227; + //BA.debugLineNum = 2228227;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; _packagemanager = new anywheresoftware.b4j.object.JavaObject(); _packagemanager = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_ctxt.RunMethod("getPackageManager",(Object[])(__c.Null)))); - //BA.debugLineNum = 452;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +RDebugUtils.currentLine=2228228; + //BA.debugLineNum = 2228228;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); - //BA.debugLineNum = 453;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2228229; + //BA.debugLineNum = 2228229;BA.debugLine="End Sub"; return false; } -public boolean _checknonmarketappsenabled() throws Exception{ +public boolean _checknonmarketappsenabled(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "checknonmarketappsenabled", true)) + {return ((Boolean) Debug.delegate(ba, "checknonmarketappsenabled", null));} anywheresoftware.b4j.object.JavaObject _context = null; anywheresoftware.b4j.object.JavaObject _resolver = null; anywheresoftware.b4j.object.JavaObject _global = null; - //BA.debugLineNum = 471;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; - //BA.debugLineNum = 472;BA.debugLine="If phone.SdkVersion >= 26 Then Return True"; -if (_phone.getSdkVersion()>=26) { +RDebugUtils.currentLine=2293760; + //BA.debugLineNum = 2293760;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; +RDebugUtils.currentLine=2293761; + //BA.debugLineNum = 2293761;BA.debugLine="If phone.SdkVersion >= 26 Then Return True"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=26) { if (true) return __c.True;}; - //BA.debugLineNum = 473;BA.debugLine="If phone.SdkVersion < 17 Or phone.SdkVersion >= 2"; -if (_phone.getSdkVersion()<17 || _phone.getSdkVersion()>=21) { - //BA.debugLineNum = 474;BA.debugLine="Return phone.GetSettings(\"install_non_market_app"; -if (true) return (_phone.GetSettings("install_non_market_apps")).equals("1"); +RDebugUtils.currentLine=2293762; + //BA.debugLineNum = 2293762;BA.debugLine="If phone.SdkVersion < 17 Or phone.SdkVersion >= 2"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()<17 || __ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=21) { +RDebugUtils.currentLine=2293763; + //BA.debugLineNum = 2293763;BA.debugLine="Return phone.GetSettings(\"install_non_market_app"; +if (true) return (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .GetSettings("install_non_market_apps")).equals("1"); }else { - //BA.debugLineNum = 476;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=2293765; + //BA.debugLineNum = 2293765;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 477;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=2293766; + //BA.debugLineNum = 2293766;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 478;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\""; +RDebugUtils.currentLine=2293767; + //BA.debugLineNum = 2293767;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\""; _resolver = new anywheresoftware.b4j.object.JavaObject(); _resolver = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_context.RunMethod("getContentResolver",(Object[])(__c.Null)))); - //BA.debugLineNum = 479;BA.debugLine="Dim global As JavaObject"; +RDebugUtils.currentLine=2293768; + //BA.debugLineNum = 2293768;BA.debugLine="Dim global As JavaObject"; _global = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 480;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; +RDebugUtils.currentLine=2293769; + //BA.debugLineNum = 2293769;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; _global.InitializeStatic("android.provider.Settings.Global"); - //BA.debugLineNum = 481;BA.debugLine="Return global.RunMethod(\"getString\", Array(resol"; +RDebugUtils.currentLine=2293770; + //BA.debugLineNum = 2293770;BA.debugLine="Return global.RunMethod(\"getString\", Array(resol"; if (true) return (_global.RunMethod("getString",new Object[]{(Object)(_resolver.getObject()),(Object)("install_non_market_apps")})).equals((Object)("1")); }; - //BA.debugLineNum = 483;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2293772; + //BA.debugLineNum = 2293772;BA.debugLine="End Sub"; return false; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Private Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; +public String _class_globals(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +RDebugUtils.currentLine=327680; + //BA.debugLineNum = 327680;BA.debugLine="Private Sub Class_Globals"; +RDebugUtils.currentLine=327682; + //BA.debugLineNum = 327682;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; _err_nopkg = (int) (-1); - //BA.debugLineNum = 9;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; +RDebugUtils.currentLine=327683; + //BA.debugLineNum = 327683;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; _err_notxt = (int) (-2); - //BA.debugLineNum = 10;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; +RDebugUtils.currentLine=327684; + //BA.debugLineNum = 327684;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; _err_noapk = (int) (-3); - //BA.debugLineNum = 11;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; +RDebugUtils.currentLine=327685; + //BA.debugLineNum = 327685;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; _err_txtrow = (int) (-4); - //BA.debugLineNum = 12;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; +RDebugUtils.currentLine=327686; + //BA.debugLineNum = 327686;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; _err_html = (int) (-5); - //BA.debugLineNum = 13;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; +RDebugUtils.currentLine=327687; + //BA.debugLineNum = 327687;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; _err_nospace = (int) (-6); - //BA.debugLineNum = 14;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; +RDebugUtils.currentLine=327688; + //BA.debugLineNum = 327688;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; _err_noperm = (int) (-7); - //BA.debugLineNum = 15;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; +RDebugUtils.currentLine=327689; + //BA.debugLineNum = 327689;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; _err_download = (int) (-8); - //BA.debugLineNum = 16;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; +RDebugUtils.currentLine=327690; + //BA.debugLineNum = 327690;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; _err_http = (int) (-100); - //BA.debugLineNum = 17;BA.debugLine="Public OK_INIT = 0 As Int"; +RDebugUtils.currentLine=327691; + //BA.debugLineNum = 327691;BA.debugLine="Public OK_INIT = 0 As Int"; _ok_init = (int) (0); - //BA.debugLineNum = 18;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; +RDebugUtils.currentLine=327692; + //BA.debugLineNum = 327692;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; _ok_curver = (int) (1); - //BA.debugLineNum = 19;BA.debugLine="Public OK_WEBVER = 2 As Int"; +RDebugUtils.currentLine=327693; + //BA.debugLineNum = 327693;BA.debugLine="Public OK_WEBVER = 2 As Int"; _ok_webver = (int) (2); - //BA.debugLineNum = 20;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; +RDebugUtils.currentLine=327694; + //BA.debugLineNum = 327694;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; _no_newerapk = (int) (3); - //BA.debugLineNum = 21;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; +RDebugUtils.currentLine=327695; + //BA.debugLineNum = 327695;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; _ok_newerapk = (int) (4); - //BA.debugLineNum = 22;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; +RDebugUtils.currentLine=327696; + //BA.debugLineNum = 327696;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; _ok_download = (int) (5); - //BA.debugLineNum = 23;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; +RDebugUtils.currentLine=327697; + //BA.debugLineNum = 327697;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; _ok_install = (int) (6); - //BA.debugLineNum = 26;BA.debugLine="Private Callback As Object"; +RDebugUtils.currentLine=327700; + //BA.debugLineNum = 327700;BA.debugLine="Private Callback As Object"; _callback = new Object(); - //BA.debugLineNum = 27;BA.debugLine="Private Event As String"; +RDebugUtils.currentLine=327701; + //BA.debugLineNum = 327701;BA.debugLine="Private Event As String"; _event = ""; - //BA.debugLineNum = 28;BA.debugLine="Private sPackageName As String 'ex: com.te"; +RDebugUtils.currentLine=327702; + //BA.debugLineNum = 327702;BA.debugLine="Private sPackageName As String 'ex: com.te"; _spackagename = ""; - //BA.debugLineNum = 29;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; +RDebugUtils.currentLine=327703; + //BA.debugLineNum = 327703;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; _snewvertxt = ""; - //BA.debugLineNum = 30;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; +RDebugUtils.currentLine=327704; + //BA.debugLineNum = 327704;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; _snewverapk = ""; - //BA.debugLineNum = 31;BA.debugLine="Private sStatusCode As Int 'negatives"; +RDebugUtils.currentLine=327705; + //BA.debugLineNum = 327705;BA.debugLine="Private sStatusCode As Int 'negatives"; _sstatuscode = 0; - //BA.debugLineNum = 32;BA.debugLine="Private sUserName As String 'user name"; +RDebugUtils.currentLine=327706; + //BA.debugLineNum = 327706;BA.debugLine="Private sUserName As String 'user name"; _susername = ""; - //BA.debugLineNum = 33;BA.debugLine="Private sUPassword As String 'password r"; +RDebugUtils.currentLine=327707; + //BA.debugLineNum = 327707;BA.debugLine="Private sUPassword As String 'password r"; _supassword = ""; - //BA.debugLineNum = 34;BA.debugLine="Private curver, webver As String 'curver = c"; +RDebugUtils.currentLine=327708; + //BA.debugLineNum = 327708;BA.debugLine="Private curver, webver As String 'curver = c"; _curver = ""; _webver = ""; - //BA.debugLineNum = 35;BA.debugLine="Private webclog As String 'webclog = optional"; +RDebugUtils.currentLine=327709; + //BA.debugLineNum = 327709;BA.debugLine="Private webclog As String 'webclog = optional"; _webclog = ""; - //BA.debugLineNum = 36;BA.debugLine="Private webfsize As String 'webfsize = option"; +RDebugUtils.currentLine=327710; + //BA.debugLineNum = 327710;BA.debugLine="Private webfsize As String 'webfsize = option"; _webfsize = ""; - //BA.debugLineNum = 37;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; +RDebugUtils.currentLine=327711; + //BA.debugLineNum = 327711;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; _sverbose = false; - //BA.debugLineNum = 38;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; +RDebugUtils.currentLine=327712; + //BA.debugLineNum = 327712;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; _pnlsplash = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; +RDebugUtils.currentLine=327713; + //BA.debugLineNum = 327713;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; _splashshowing = false; - //BA.debugLineNum = 40;BA.debugLine="Private phone As Phone"; +RDebugUtils.currentLine=327714; + //BA.debugLineNum = 327714;BA.debugLine="Private phone As Phone"; _phone = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 41;BA.debugLine="Private rp As RuntimePermissions"; +RDebugUtils.currentLine=327715; + //BA.debugLineNum = 327715;BA.debugLine="Private rp As RuntimePermissions"; _rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 42;BA.debugLine="Private SharedFolder As String 'Foder where to"; +RDebugUtils.currentLine=327716; + //BA.debugLineNum = 327716;BA.debugLine="Private SharedFolder As String 'Foder where to"; _sharedfolder = ""; - //BA.debugLineNum = 43;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; +RDebugUtils.currentLine=327717; + //BA.debugLineNum = 327717;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; _usefileprovider = false; - //BA.debugLineNum = 44;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; +RDebugUtils.currentLine=327718; + //BA.debugLineNum = 327718;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; _logcolor1 = ((int)0xffff8c00); - //BA.debugLineNum = 45;BA.debugLine="End Sub"; +RDebugUtils.currentLine=327719; + //BA.debugLineNum = 327719;BA.debugLine="End Sub"; return ""; } -public void _downloadapk() throws Exception{ -ResumableSub_DownloadApk rsub = new ResumableSub_DownloadApk(this); +public void _downloadapk(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "downloadapk", true)) + {Debug.delegate(ba, "downloadapk", null); return;} +ResumableSub_DownloadApk rsub = new ResumableSub_DownloadApk(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_DownloadApk extends BA.ResumableSub { -public ResumableSub_DownloadApk(reparto_intmex.keymon.lat.cl_appupdate parent) { +public ResumableSub_DownloadApk(reparto_intmex.keymon.lat.cl_appupdate parent,reparto_intmex.keymon.lat.cl_appupdate __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.cl_appupdate __ref; reparto_intmex.keymon.lat.cl_appupdate parent; reparto_intmex.keymon.lat.httpjob _j = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { switch (state) { @@ -219,46 +297,52 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; -parent.__c.LogImpl("938141953","---- AppUpdating.DownloadApk",parent._logcolor1); - //BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then"; +RDebugUtils.currentLine=1376257; + //BA.debugLineNum = 1376257;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; +parent.__c.LogImpl("91376257","---- AppUpdating.DownloadApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=1376259; + //BA.debugLineNum = 1376259;BA.debugLine="If sNewVerApk = \"\" Then"; if (true) break; case 1: //if this.state = 10; -if ((parent._snewverapk).equals("")) { +if ((__ref._snewverapk /*String*/ ).equals("")) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 162;BA.debugLine="sStatusCode = ERR_NOAPK"; -parent._sstatuscode = parent._err_noapk; - //BA.debugLineNum = 163;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk file fu"; +RDebugUtils.currentLine=1376260; + //BA.debugLineNum = 1376260;BA.debugLine="sStatusCode = ERR_NOAPK"; +__ref._sstatuscode /*int*/ = __ref._err_noapk /*int*/ ; +RDebugUtils.currentLine=1376261; + //BA.debugLineNum = 1376261;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk file fu"; if (true) break; case 4: //if this.state = 9; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 6; ;}if (true) break; case 6: //C this.state = 9; -parent.__c.LogImpl("938141957",(""+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: //C this.state = 10; ; - //BA.debugLineNum = 164;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 165;BA.debugLine="Return"; +RDebugUtils.currentLine=1376262; + //BA.debugLineNum = 1376262;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=1376263; + //BA.debugLineNum = 1376263;BA.debugLine="Return"; if (true) return ; if (true) break; @@ -266,28 +350,36 @@ case 10: //C this.state = 11; ; - //BA.debugLineNum = 168;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=1376266; + //BA.debugLineNum = 1376266;BA.debugLine="Dim j As HttpJob"; _j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 169;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 170;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 171;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 172;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; -_j._download /*String*/ (parent._snewverapk); - //BA.debugLineNum = 173;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); +RDebugUtils.currentLine=1376267; + //BA.debugLineNum = 1376267;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=1376268; + //BA.debugLineNum = 1376268;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=1376269; + //BA.debugLineNum = 1376269;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=1376270; + //BA.debugLineNum = 1376270;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; +_j._download /*String*/ (null,__ref._snewverapk /*String*/ ); +RDebugUtils.currentLine=1376271; + //BA.debugLineNum = 1376271;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "downloadapk"), (Object)(_j)); this.state = 29; return; case 29: //C this.state = 11; -_j = (reparto_intmex.keymon.lat.httpjob) result[0]; +_j = (reparto_intmex.keymon.lat.httpjob) result[1]; ; - //BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("938141968",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); - //BA.debugLineNum = 175;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=1376272; + //BA.debugLineNum = 1376272;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +parent.__c.LogImpl("91376272",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=1376273; + //BA.debugLineNum = 1376273;BA.debugLine="If j.Success Then"; if (true) break; case 11: @@ -302,32 +394,39 @@ this.state = 21; case 13: //C this.state = 14; - //BA.debugLineNum = 177;BA.debugLine="Dim out As OutputStream"; +RDebugUtils.currentLine=1376275; + //BA.debugLineNum = 1376275;BA.debugLine="Dim out As OutputStream"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 178;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",Fal"; -_out = parent.__c.File.OpenOutput(parent._sharedfolder,"tmp.apk",parent.__c.False); - //BA.debugLineNum = 179;BA.debugLine="File.Copy2(J.GetInputStream, out)"; -parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 180;BA.debugLine="out.Close"; +RDebugUtils.currentLine=1376276; + //BA.debugLineNum = 1376276;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",Fal"; +_out = parent.__c.File.OpenOutput(__ref._sharedfolder /*String*/ ,"tmp.apk",parent.__c.False); +RDebugUtils.currentLine=1376277; + //BA.debugLineNum = 1376277;BA.debugLine="File.Copy2(J.GetInputStream, out)"; +parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (null).getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=1376278; + //BA.debugLineNum = 1376278;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; -parent.__c.LogImpl("938141975",("Copy2 (saving) ok? TRUE"),0); - //BA.debugLineNum = 182;BA.debugLine="sStatusCode = OK_DOWNLOAD"; -parent._sstatuscode = parent._ok_download; - //BA.debugLineNum = 183;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow"; +RDebugUtils.currentLine=1376279; + //BA.debugLineNum = 1376279;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +parent.__c.LogImpl("91376279",("Copy2 (saving) ok? TRUE"),0); +RDebugUtils.currentLine=1376280; + //BA.debugLineNum = 1376280;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._ok_download /*int*/ ; +RDebugUtils.currentLine=1376281; + //BA.debugLineNum = 1376281;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow"; if (true) break; case 14: //if this.state = 19; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 16; ;}if (true) break; case 16: //C this.state = 19; -parent.__c.LogImpl("938141977",(""+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: @@ -339,31 +438,35 @@ this.state = 28; case 21: //C this.state = 22; - //BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("938141979",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 186;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 187;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2"; +RDebugUtils.currentLine=1376283; + //BA.debugLineNum = 1376283;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("91376283",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=1376284; + //BA.debugLineNum = 1376284;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=1376285; + //BA.debugLineNum = 1376285;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2"; if (true) break; case 22: //if this.state = 27; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 24; ;}if (true) break; case 24: //C this.state = 27; -parent.__c.LogImpl("938141981",(""+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: //C this.state = 28; ; - //BA.debugLineNum = 188;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tru"; +RDebugUtils.currentLine=1376286; + //BA.debugLineNum = 1376286;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tru"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_j._errormessage /*String*/ ),parent.__c.True); if (true) break; @@ -371,389 +474,648 @@ case 28: //C this.state = -1; ; - //BA.debugLineNum = 190;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 191;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 192;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1376288; + //BA.debugLineNum = 1376288;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=1376289; + //BA.debugLineNum = 1376289;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=1376290; + //BA.debugLineNum = 1376290;BA.debugLine="End Sub"; if (true) break; } } } } -public void _jobdone(reparto_intmex.keymon.lat.httpjob _j) throws Exception{ +public String _finito(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "finito", true)) + {return ((String) Debug.delegate(ba, "finito", null));} +RDebugUtils.currentLine=1638400; + //BA.debugLineNum = 1638400;BA.debugLine="Private Sub Finito"; +RDebugUtils.currentLine=1638401; + //BA.debugLineNum = 1638401;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._event /*String*/ +"_UpdateComplete")) { +RDebugUtils.currentLine=1638402; + //BA.debugLineNum = 1638402;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._event /*String*/ +"_UpdateComplete"); + }; +RDebugUtils.currentLine=1638404; + //BA.debugLineNum = 1638404;BA.debugLine="End Sub"; +return ""; } -public String _extractcl(String _txtrow) throws Exception{ +public String _extractcl(reparto_intmex.keymon.lat.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractcl", true)) + {return ((String) Debug.delegate(ba, "extractcl", new Object[] {_txtrow}));} int _i = 0; int _j1 = 0; int _j2 = 0; - //BA.debugLineNum = 381;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; - //BA.debugLineNum = 382;BA.debugLine="Dim i As Int"; +RDebugUtils.currentLine=1900544; + //BA.debugLineNum = 1900544;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; +RDebugUtils.currentLine=1900545; + //BA.debugLineNum = 1900545;BA.debugLine="Dim i As Int"; _i = 0; - //BA.debugLineNum = 383;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +RDebugUtils.currentLine=1900546; + //BA.debugLineNum = 1900546;BA.debugLine="i = TxtRow.IndexOf(\"\")"; _i = _txtrow.indexOf(""); - //BA.debugLineNum = 384;BA.debugLine="If i <> -1 Then"; +RDebugUtils.currentLine=1900547; + //BA.debugLineNum = 1900547;BA.debugLine="If i <> -1 Then"; if (_i!=-1) { - //BA.debugLineNum = 385;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; +RDebugUtils.currentLine=1900548; + //BA.debugLineNum = 1900548;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; _j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 386;BA.debugLine="If j1 = -1 Then"; +RDebugUtils.currentLine=1900549; + //BA.debugLineNum = 1900549;BA.debugLine="If j1 = -1 Then"; if (_j1==-1) { - //BA.debugLineNum = 387;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; +RDebugUtils.currentLine=1900550; + //BA.debugLineNum = 1900550;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; _j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 388;BA.debugLine="j1 = j2"; +RDebugUtils.currentLine=1900551; + //BA.debugLineNum = 1900551;BA.debugLine="j1 = j2"; _j1 = _j2; - //BA.debugLineNum = 389;BA.debugLine="If j1 < i Then j1 = -1"; +RDebugUtils.currentLine=1900552; + //BA.debugLineNum = 1900552;BA.debugLine="If j1 < i Then j1 = -1"; if (_j1<_i) { _j1 = (int) (-1);}; }; - //BA.debugLineNum = 391;BA.debugLine="If j1 <> -1 Then Return TxtRow.SubString2(i+11,j"; +RDebugUtils.currentLine=1900554; + //BA.debugLineNum = 1900554;BA.debugLine="If j1 <> -1 Then Return TxtRow.SubString2(i+11,j"; if (_j1!=-1) { if (true) return _txtrow.substring((int) (_i+11),_j1);} else { if (true) return _txtrow.substring((int) (_i+11));}; }else { - //BA.debugLineNum = 393;BA.debugLine="Return \"\""; +RDebugUtils.currentLine=1900556; + //BA.debugLineNum = 1900556;BA.debugLine="Return \"\""; if (true) return ""; }; - //BA.debugLineNum = 395;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1900558; + //BA.debugLineNum = 1900558;BA.debugLine="End Sub"; return ""; } -public String _extractsz(String _txtrow) throws Exception{ +public String _extractsz(reparto_intmex.keymon.lat.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractsz", true)) + {return ((String) Debug.delegate(ba, "extractsz", new Object[] {_txtrow}));} int _i = 0; int _j1 = 0; int _j2 = 0; String _s = ""; - //BA.debugLineNum = 399;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; - //BA.debugLineNum = 400;BA.debugLine="Dim i As Int"; +RDebugUtils.currentLine=1966080; + //BA.debugLineNum = 1966080;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; +RDebugUtils.currentLine=1966081; + //BA.debugLineNum = 1966081;BA.debugLine="Dim i As Int"; _i = 0; - //BA.debugLineNum = 401;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +RDebugUtils.currentLine=1966082; + //BA.debugLineNum = 1966082;BA.debugLine="i = TxtRow.IndexOf(\"\")"; _i = _txtrow.indexOf(""); - //BA.debugLineNum = 402;BA.debugLine="If i <> -1 Then"; +RDebugUtils.currentLine=1966083; + //BA.debugLineNum = 1966083;BA.debugLine="If i <> -1 Then"; if (_i!=-1) { - //BA.debugLineNum = 403;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; +RDebugUtils.currentLine=1966084; + //BA.debugLineNum = 1966084;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; _j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 404;BA.debugLine="If j1 = -1 Then"; +RDebugUtils.currentLine=1966085; + //BA.debugLineNum = 1966085;BA.debugLine="If j1 = -1 Then"; if (_j1==-1) { - //BA.debugLineNum = 405;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; +RDebugUtils.currentLine=1966086; + //BA.debugLineNum = 1966086;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; _j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 406;BA.debugLine="j1 = j2"; +RDebugUtils.currentLine=1966087; + //BA.debugLineNum = 1966087;BA.debugLine="j1 = j2"; _j1 = _j2; - //BA.debugLineNum = 407;BA.debugLine="If j1 < i Then j1 = -1"; +RDebugUtils.currentLine=1966088; + //BA.debugLineNum = 1966088;BA.debugLine="If j1 < i Then j1 = -1"; if (_j1<_i) { _j1 = (int) (-1);}; }; - //BA.debugLineNum = 409;BA.debugLine="Dim s As String"; +RDebugUtils.currentLine=1966090; + //BA.debugLineNum = 1966090;BA.debugLine="Dim s As String"; _s = ""; - //BA.debugLineNum = 410;BA.debugLine="If j1 <> -1 Then s = TxtRow.SubString2(i+10,j1)"; +RDebugUtils.currentLine=1966091; + //BA.debugLineNum = 1966091;BA.debugLine="If j1 <> -1 Then s = TxtRow.SubString2(i+10,j1)"; if (_j1!=-1) { _s = _txtrow.substring((int) (_i+10),_j1);} else { _s = _txtrow.substring((int) (_i+10));}; - //BA.debugLineNum = 411;BA.debugLine="s = s.Replace(CRLF,\"\")"; +RDebugUtils.currentLine=1966092; + //BA.debugLineNum = 1966092;BA.debugLine="s = s.Replace(CRLF,\"\")"; _s = _s.replace(__c.CRLF,""); - //BA.debugLineNum = 412;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +RDebugUtils.currentLine=1966093; + //BA.debugLineNum = 1966093;BA.debugLine="s=s.Replace(Chr(13),\"\")"; _s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); - //BA.debugLineNum = 413;BA.debugLine="Return s"; +RDebugUtils.currentLine=1966094; + //BA.debugLineNum = 1966094;BA.debugLine="Return s"; if (true) return _s; }else { - //BA.debugLineNum = 415;BA.debugLine="Return \"\""; +RDebugUtils.currentLine=1966096; + //BA.debugLineNum = 1966096;BA.debugLine="Return \"\""; if (true) return ""; }; - //BA.debugLineNum = 417;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1966098; + //BA.debugLineNum = 1966098;BA.debugLine="End Sub"; return ""; } -public String _extractvn(String _txtrow) throws Exception{ +public String _extractvn(reparto_intmex.keymon.lat.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractvn", true)) + {return ((String) Debug.delegate(ba, "extractvn", new Object[] {_txtrow}));} int _i = 0; int _j1 = 0; int _j2 = 0; int _j = 0; String _s = ""; - //BA.debugLineNum = 360;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; - //BA.debugLineNum = 361;BA.debugLine="Dim i As Int"; +RDebugUtils.currentLine=1835008; + //BA.debugLineNum = 1835008;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; +RDebugUtils.currentLine=1835009; + //BA.debugLineNum = 1835009;BA.debugLine="Dim i As Int"; _i = 0; - //BA.debugLineNum = 362;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; +RDebugUtils.currentLine=1835010; + //BA.debugLineNum = 1835010;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; _i = _txtrow.indexOf("="); - //BA.debugLineNum = 363;BA.debugLine="If i <> -1 Then"; +RDebugUtils.currentLine=1835011; + //BA.debugLineNum = 1835011;BA.debugLine="If i <> -1 Then"; if (_i!=-1) { - //BA.debugLineNum = 364;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; +RDebugUtils.currentLine=1835012; + //BA.debugLineNum = 1835012;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; _j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 365;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; +RDebugUtils.currentLine=1835013; + //BA.debugLineNum = 1835013;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; _j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 366;BA.debugLine="Dim j As Int = Min(j1, j2)"; +RDebugUtils.currentLine=1835014; + //BA.debugLineNum = 1835014;BA.debugLine="Dim j As Int = Min(j1, j2)"; _j = (int) (__c.Min(_j1,_j2)); - //BA.debugLineNum = 367;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; +RDebugUtils.currentLine=1835015; + //BA.debugLineNum = 1835015;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; if (_j==-1) { _j = (int) (__c.Max(_j1,_j2));}; - //BA.debugLineNum = 368;BA.debugLine="Dim s As String"; +RDebugUtils.currentLine=1835016; + //BA.debugLineNum = 1835016;BA.debugLine="Dim s As String"; _s = ""; - //BA.debugLineNum = 369;BA.debugLine="If j <> - 1 Then s=TxtRow.SubString2(i+1,j) Else"; +RDebugUtils.currentLine=1835017; + //BA.debugLineNum = 1835017;BA.debugLine="If j <> - 1 Then s=TxtRow.SubString2(i+1,j) Else"; if (_j!=-1) { _s = _txtrow.substring((int) (_i+1),_j);} else { _s = _txtrow.substring((int) (_i+1));}; - //BA.debugLineNum = 370;BA.debugLine="s=s.Replace(CRLF,\"\")"; +RDebugUtils.currentLine=1835018; + //BA.debugLineNum = 1835018;BA.debugLine="s=s.Replace(CRLF,\"\")"; _s = _s.replace(__c.CRLF,""); - //BA.debugLineNum = 371;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +RDebugUtils.currentLine=1835019; + //BA.debugLineNum = 1835019;BA.debugLine="s=s.Replace(Chr(13),\"\")"; _s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); - //BA.debugLineNum = 372;BA.debugLine="Return s"; +RDebugUtils.currentLine=1835020; + //BA.debugLineNum = 1835020;BA.debugLine="Return s"; if (true) return _s; }else { - //BA.debugLineNum = 374;BA.debugLine="Return \"\""; +RDebugUtils.currentLine=1835022; + //BA.debugLineNum = 1835022;BA.debugLine="Return \"\""; if (true) return ""; }; - //BA.debugLineNum = 376;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1835024; + //BA.debugLineNum = 1835024;BA.debugLine="End Sub"; return ""; } -public String _finito() throws Exception{ - //BA.debugLineNum = 290;BA.debugLine="Private Sub Finito"; - //BA.debugLineNum = 291;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; -if (__c.SubExists(ba,_callback,_event+"_UpdateComplete")) { - //BA.debugLineNum = 292;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; -__c.CallSubNew(ba,_callback,_event+"_UpdateComplete"); - }; - //BA.debugLineNum = 294;BA.debugLine="End Sub"; -return ""; -} -public long _getavailablespace() throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Public Sub GetAvailableSpace As Long"; - //BA.debugLineNum = 138;BA.debugLine="Return GetFreeSpace"; -if (true) return _getfreespace(); - //BA.debugLineNum = 139;BA.debugLine="End Sub"; +public long _getavailablespace(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getavailablespace", true)) + {return ((Long) Debug.delegate(ba, "getavailablespace", null));} +RDebugUtils.currentLine=1179648; + //BA.debugLineNum = 1179648;BA.debugLine="Public Sub GetAvailableSpace As Long"; +RDebugUtils.currentLine=1179649; + //BA.debugLineNum = 1179649;BA.debugLine="Return GetFreeSpace"; +if (true) return __ref._getfreespace /*long*/ (null); +RDebugUtils.currentLine=1179650; + //BA.debugLineNum = 1179650;BA.debugLine="End Sub"; return 0L; } -public String _getcurvn() throws Exception{ - //BA.debugLineNum = 114;BA.debugLine="Public Sub getCurVN As String"; - //BA.debugLineNum = 115;BA.debugLine="Return curver"; -if (true) return _curver; - //BA.debugLineNum = 116;BA.debugLine="End Sub"; +public long _getfreespace(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getfreespace", true)) + {return ((Long) Debug.delegate(ba, "getfreespace", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=2031616; + //BA.debugLineNum = 2031616;BA.debugLine="Private Sub GetFreeSpace As Long"; +RDebugUtils.currentLine=2031617; + //BA.debugLineNum = 2031617;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=2031618; + //BA.debugLineNum = 2031618;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_jo.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ )}); +RDebugUtils.currentLine=2031619; + //BA.debugLineNum = 2031619;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; +if (true) return BA.ObjectToLongNumber(_jo.RunMethod("getFreeSpace",(Object[])(__c.Null))); +RDebugUtils.currentLine=2031620; + //BA.debugLineNum = 2031620;BA.debugLine="End Sub"; +return 0L; +} +public String _getcurvn(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getcurvn", true)) + {return ((String) Debug.delegate(ba, "getcurvn", null));} +RDebugUtils.currentLine=917504; + //BA.debugLineNum = 917504;BA.debugLine="Public Sub getCurVN As String"; +RDebugUtils.currentLine=917505; + //BA.debugLineNum = 917505;BA.debugLine="Return curver"; +if (true) return __ref._curver /*String*/ ; +RDebugUtils.currentLine=917506; + //BA.debugLineNum = 917506;BA.debugLine="End Sub"; return ""; } -public Object _getfileuri(String _filename) throws Exception{ +public Object _getfileuri(reparto_intmex.keymon.lat.cl_appupdate __ref,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getfileuri", true)) + {return ((Object) Debug.delegate(ba, "getfileuri", new Object[] {_filename}));} anywheresoftware.b4j.object.JavaObject _uri = null; anywheresoftware.b4j.object.JavaObject _f = null; anywheresoftware.b4j.object.JavaObject _fp = null; anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 503;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; - //BA.debugLineNum = 504;BA.debugLine="If UseFileProvider = False Then"; -if (_usefileprovider==__c.False) { - //BA.debugLineNum = 505;BA.debugLine="Dim uri As JavaObject"; +RDebugUtils.currentLine=2424832; + //BA.debugLineNum = 2424832;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; +RDebugUtils.currentLine=2424833; + //BA.debugLineNum = 2424833;BA.debugLine="If UseFileProvider = False Then"; +if (__ref._usefileprovider /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=2424834; + //BA.debugLineNum = 2424834;BA.debugLine="Dim uri As JavaObject"; _uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 506;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; -if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(_sharedfolder,_filename))}); +RDebugUtils.currentLine=2424835; + //BA.debugLineNum = 2424835;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; +if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(__ref._sharedfolder /*String*/ ,_filename))}); }else { - //BA.debugLineNum = 508;BA.debugLine="Dim f As JavaObject"; +RDebugUtils.currentLine=2424837; + //BA.debugLineNum = 2424837;BA.debugLine="Dim f As JavaObject"; _f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 509;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 510;BA.debugLine="Dim fp As JavaObject"; +RDebugUtils.currentLine=2424838; + //BA.debugLineNum = 2424838;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ ),(Object)(_filename)}); +RDebugUtils.currentLine=2424839; + //BA.debugLineNum = 2424839;BA.debugLine="Dim fp As JavaObject"; _fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 511;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=2424840; + //BA.debugLineNum = 2424840;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 512;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=2424841; + //BA.debugLineNum = 2424841;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 513;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +RDebugUtils.currentLine=2424842; + //BA.debugLineNum = 2424842;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; _fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 514;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +RDebugUtils.currentLine=2424843; + //BA.debugLineNum = 2424843;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(__c.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); }; - //BA.debugLineNum = 516;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2424845; + //BA.debugLineNum = 2424845;BA.debugLine="End Sub"; return null; } -public long _getfreespace() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 421;BA.debugLine="Private Sub GetFreeSpace As Long"; - //BA.debugLineNum = 422;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 423;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_jo.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder)}); - //BA.debugLineNum = 424;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; -if (true) return BA.ObjectToLongNumber(_jo.RunMethod("getFreeSpace",(Object[])(__c.Null))); - //BA.debugLineNum = 425;BA.debugLine="End Sub"; -return 0L; -} -public String _getnmappinst() throws Exception{ +public String _getnmappinst(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getnmappinst", true)) + {return ((String) Debug.delegate(ba, "getnmappinst", null));} anywheresoftware.b4j.object.JavaObject _jo = null; anywheresoftware.b4j.object.JavaObject _context = null; anywheresoftware.b4j.object.JavaObject _resolver = null; - //BA.debugLineNum = 435;BA.debugLine="Private Sub GetNMAppInst As String"; - //BA.debugLineNum = 436;BA.debugLine="Dim jo As JavaObject"; +RDebugUtils.currentLine=2162688; + //BA.debugLineNum = 2162688;BA.debugLine="Private Sub GetNMAppInst As String"; +RDebugUtils.currentLine=2162689; + //BA.debugLineNum = 2162689;BA.debugLine="Dim jo As JavaObject"; _jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 437;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; +RDebugUtils.currentLine=2162690; + //BA.debugLineNum = 2162690;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; _jo.InitializeStatic("android.provider.Settings.Secure"); - //BA.debugLineNum = 438;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=2162691; + //BA.debugLineNum = 2162691;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 439;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=2162692; + //BA.debugLineNum = 2162692;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 440;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\"g"; +RDebugUtils.currentLine=2162693; + //BA.debugLineNum = 2162693;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\"g"; _resolver = new anywheresoftware.b4j.object.JavaObject(); _resolver = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_context.RunMethod("getContentResolver",(Object[])(__c.Null)))); - //BA.debugLineNum = 441;BA.debugLine="Return jo.RunMethod(\"getString\", Array(resolver,"; +RDebugUtils.currentLine=2162694; + //BA.debugLineNum = 2162694;BA.debugLine="Return jo.RunMethod(\"getString\", Array(resolver,"; if (true) return BA.ObjectToString(_jo.RunMethod("getString",new Object[]{(Object)(_resolver.getObject()),(Object)("install_non_market_apps")})); - //BA.debugLineNum = 442;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2162695; + //BA.debugLineNum = 2162695;BA.debugLine="End Sub"; return ""; } -public String _getpackagename() throws Exception{ - //BA.debugLineNum = 79;BA.debugLine="Public Sub getPackageName As String"; - //BA.debugLineNum = 80;BA.debugLine="Return sPackageName"; -if (true) return _spackagename; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; +public String _getpackagename(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getpackagename", true)) + {return ((String) Debug.delegate(ba, "getpackagename", null));} +RDebugUtils.currentLine=524288; + //BA.debugLineNum = 524288;BA.debugLine="Public Sub getPackageName As String"; +RDebugUtils.currentLine=524289; + //BA.debugLineNum = 524289;BA.debugLine="Return sPackageName"; +if (true) return __ref._spackagename /*String*/ ; +RDebugUtils.currentLine=524290; + //BA.debugLineNum = 524290;BA.debugLine="End Sub"; return ""; } -public int _getsdkversion() throws Exception{ +public int _getsdkversion(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getsdkversion", true)) + {return ((Integer) Debug.delegate(ba, "getsdkversion", null));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 428;BA.debugLine="Private Sub GetSDKVersion As Int"; - //BA.debugLineNum = 429;BA.debugLine="Dim jo As JavaObject"; +RDebugUtils.currentLine=2097152; + //BA.debugLineNum = 2097152;BA.debugLine="Private Sub GetSDKVersion As Int"; +RDebugUtils.currentLine=2097153; + //BA.debugLineNum = 2097153;BA.debugLine="Dim jo As JavaObject"; _jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 430;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; +RDebugUtils.currentLine=2097154; + //BA.debugLineNum = 2097154;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; _jo.InitializeStatic("android.os.Build.VERSION"); - //BA.debugLineNum = 431;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; +RDebugUtils.currentLine=2097155; + //BA.debugLineNum = 2097155;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; if (true) return (int)(BA.ObjectToNumber(_jo.GetField("SDK_INT"))); - //BA.debugLineNum = 432;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2097156; + //BA.debugLineNum = 2097156;BA.debugLine="End Sub"; return 0; } -public int _getstatus() throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub getStatus As Int"; - //BA.debugLineNum = 109;BA.debugLine="Return sStatusCode"; -if (true) return _sstatuscode; - //BA.debugLineNum = 110;BA.debugLine="End Sub"; +public int _getstatus(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getstatus", true)) + {return ((Integer) Debug.delegate(ba, "getstatus", null));} +RDebugUtils.currentLine=851968; + //BA.debugLineNum = 851968;BA.debugLine="Public Sub getStatus As Int"; +RDebugUtils.currentLine=851969; + //BA.debugLineNum = 851969;BA.debugLine="Return sStatusCode"; +if (true) return __ref._sstatuscode /*int*/ ; +RDebugUtils.currentLine=851970; + //BA.debugLineNum = 851970;BA.debugLine="End Sub"; return 0; } -public String _getwebchangelog() throws Exception{ - //BA.debugLineNum = 126;BA.debugLine="Public Sub getWebChangeLog As String"; - //BA.debugLineNum = 127;BA.debugLine="Return webclog"; -if (true) return _webclog; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; +public String _getwebchangelog(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebchangelog", true)) + {return ((String) Debug.delegate(ba, "getwebchangelog", null));} +RDebugUtils.currentLine=1048576; + //BA.debugLineNum = 1048576;BA.debugLine="Public Sub getWebChangeLog As String"; +RDebugUtils.currentLine=1048577; + //BA.debugLineNum = 1048577;BA.debugLine="Return webclog"; +if (true) return __ref._webclog /*String*/ ; +RDebugUtils.currentLine=1048578; + //BA.debugLineNum = 1048578;BA.debugLine="End Sub"; return ""; } -public String _getwebfilesize() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Public Sub getWebFileSize As String"; - //BA.debugLineNum = 133;BA.debugLine="Return webfsize"; -if (true) return _webfsize; - //BA.debugLineNum = 134;BA.debugLine="End Sub"; +public String _getwebfilesize(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebfilesize", true)) + {return ((String) Debug.delegate(ba, "getwebfilesize", null));} +RDebugUtils.currentLine=1114112; + //BA.debugLineNum = 1114112;BA.debugLine="Public Sub getWebFileSize As String"; +RDebugUtils.currentLine=1114113; + //BA.debugLineNum = 1114113;BA.debugLine="Return webfsize"; +if (true) return __ref._webfsize /*String*/ ; +RDebugUtils.currentLine=1114114; + //BA.debugLineNum = 1114114;BA.debugLine="End Sub"; return ""; } -public String _getwebvn() throws Exception{ - //BA.debugLineNum = 120;BA.debugLine="Public Sub getWebVN As String"; - //BA.debugLineNum = 121;BA.debugLine="Return webver"; -if (true) return _webver; - //BA.debugLineNum = 122;BA.debugLine="End Sub"; +public String _getwebvn(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebvn", true)) + {return ((String) Debug.delegate(ba, "getwebvn", null));} +RDebugUtils.currentLine=983040; + //BA.debugLineNum = 983040;BA.debugLine="Public Sub getWebVN As String"; +RDebugUtils.currentLine=983041; + //BA.debugLineNum = 983041;BA.debugLine="Return webver"; +if (true) return __ref._webver /*String*/ ; +RDebugUtils.currentLine=983042; + //BA.debugLineNum = 983042;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callbackmodule,String _eventname) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.cl_appupdate __ref,anywheresoftware.b4a.BA _ba,Object _callbackmodule,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callbackmodule,_eventname}));} anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 48;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; - //BA.debugLineNum = 49;BA.debugLine="Callback = CallbackModule"; -_callback = _callbackmodule; - //BA.debugLineNum = 50;BA.debugLine="Event = EventName"; -_event = _eventname; - //BA.debugLineNum = 51;BA.debugLine="sPackageName = \"\""; -_spackagename = ""; - //BA.debugLineNum = 52;BA.debugLine="sNewVerTxt = \"\""; -_snewvertxt = ""; - //BA.debugLineNum = 53;BA.debugLine="sNewVerApk = \"\""; -_snewverapk = ""; - //BA.debugLineNum = 54;BA.debugLine="sUserName = \"\""; -_susername = ""; - //BA.debugLineNum = 55;BA.debugLine="sUPassword = \"\""; -_supassword = ""; - //BA.debugLineNum = 56;BA.debugLine="sStatusCode = OK_INIT"; -_sstatuscode = _ok_init; - //BA.debugLineNum = 57;BA.debugLine="curver = \"\""; -_curver = ""; - //BA.debugLineNum = 58;BA.debugLine="webver = \"\""; -_webver = ""; - //BA.debugLineNum = 59;BA.debugLine="sVerbose = False"; -_sverbose = __c.False; - //BA.debugLineNum = 60;BA.debugLine="Dim p As Phone"; +RDebugUtils.currentLine=393216; + //BA.debugLineNum = 393216;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; +RDebugUtils.currentLine=393217; + //BA.debugLineNum = 393217;BA.debugLine="Callback = CallbackModule"; +__ref._callback /*Object*/ = _callbackmodule; +RDebugUtils.currentLine=393218; + //BA.debugLineNum = 393218;BA.debugLine="Event = EventName"; +__ref._event /*String*/ = _eventname; +RDebugUtils.currentLine=393219; + //BA.debugLineNum = 393219;BA.debugLine="sPackageName = \"\""; +__ref._spackagename /*String*/ = ""; +RDebugUtils.currentLine=393220; + //BA.debugLineNum = 393220;BA.debugLine="sNewVerTxt = \"\""; +__ref._snewvertxt /*String*/ = ""; +RDebugUtils.currentLine=393221; + //BA.debugLineNum = 393221;BA.debugLine="sNewVerApk = \"\""; +__ref._snewverapk /*String*/ = ""; +RDebugUtils.currentLine=393222; + //BA.debugLineNum = 393222;BA.debugLine="sUserName = \"\""; +__ref._susername /*String*/ = ""; +RDebugUtils.currentLine=393223; + //BA.debugLineNum = 393223;BA.debugLine="sUPassword = \"\""; +__ref._supassword /*String*/ = ""; +RDebugUtils.currentLine=393224; + //BA.debugLineNum = 393224;BA.debugLine="sStatusCode = OK_INIT"; +__ref._sstatuscode /*int*/ = __ref._ok_init /*int*/ ; +RDebugUtils.currentLine=393225; + //BA.debugLineNum = 393225;BA.debugLine="curver = \"\""; +__ref._curver /*String*/ = ""; +RDebugUtils.currentLine=393226; + //BA.debugLineNum = 393226;BA.debugLine="webver = \"\""; +__ref._webver /*String*/ = ""; +RDebugUtils.currentLine=393227; + //BA.debugLineNum = 393227;BA.debugLine="sVerbose = False"; +__ref._sverbose /*boolean*/ = __c.False; +RDebugUtils.currentLine=393228; + //BA.debugLineNum = 393228;BA.debugLine="Dim p As Phone"; _p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 61;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +RDebugUtils.currentLine=393229; + //BA.debugLineNum = 393229;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { - //BA.debugLineNum = 62;BA.debugLine="UseFileProvider = True"; -_usefileprovider = __c.True; - //BA.debugLineNum = 63;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; -_sharedfolder = __c.File.Combine(__c.File.getDirInternal(),"shared"); - //BA.debugLineNum = 64;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; -__c.File.MakeDir("",_sharedfolder); +RDebugUtils.currentLine=393230; + //BA.debugLineNum = 393230;BA.debugLine="UseFileProvider = True"; +__ref._usefileprovider /*boolean*/ = __c.True; +RDebugUtils.currentLine=393231; + //BA.debugLineNum = 393231;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +__ref._sharedfolder /*String*/ = __c.File.Combine(__c.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=393232; + //BA.debugLineNum = 393232;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +__c.File.MakeDir("",__ref._sharedfolder /*String*/ ); }else { - //BA.debugLineNum = 66;BA.debugLine="UseFileProvider = False"; -_usefileprovider = __c.False; - //BA.debugLineNum = 67;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; -_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); +RDebugUtils.currentLine=393234; + //BA.debugLineNum = 393234;BA.debugLine="UseFileProvider = False"; +__ref._usefileprovider /*boolean*/ = __c.False; +RDebugUtils.currentLine=393235; + //BA.debugLineNum = 393235;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +__ref._sharedfolder /*String*/ = __ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .GetSafeDirDefaultExternal("shared"); }; - //BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; -__c.LogImpl("937158933",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentLine=393237; + //BA.debugLineNum = 393237;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; +__c.LogImpl("9393237",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(__ref._usefileprovider /*boolean*/ ))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(__ref._sharedfolder /*String*/ ))+""),0); +RDebugUtils.currentLine=393238; + //BA.debugLineNum = 393238;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("938207489","---- AppUpdating.InstallApk",_logcolor1); - //BA.debugLineNum = 197;BA.debugLine="If pstatus Then"; +public String _installapk(reparto_intmex.keymon.lat.cl_appupdate __ref,boolean _pstatus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "installapk", true)) + {return ((String) Debug.delegate(ba, "installapk", new Object[] {_pstatus}));} +RDebugUtils.currentLine=1441792; + //BA.debugLineNum = 1441792;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; +RDebugUtils.currentLine=1441793; + //BA.debugLineNum = 1441793;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; +__c.LogImpl("91441793","---- AppUpdating.InstallApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=1441794; + //BA.debugLineNum = 1441794;BA.debugLine="If pstatus Then"; if (_pstatus) { - //BA.debugLineNum = 198;BA.debugLine="SendInstallIntent"; -_sendinstallintent(); - //BA.debugLineNum = 199;BA.debugLine="sStatusCode = OK_INSTALL"; -_sstatuscode = _ok_install; - //BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; -if (_sverbose) { -__c.LogImpl("938207493",__c.TAB+"user asked to install new apk",0);}; +RDebugUtils.currentLine=1441795; + //BA.debugLineNum = 1441795;BA.debugLine="SendInstallIntent"; +__ref._sendinstallintent /*String*/ (null); +RDebugUtils.currentLine=1441796; + //BA.debugLineNum = 1441796;BA.debugLine="sStatusCode = OK_INSTALL"; +__ref._sstatuscode /*int*/ = __ref._ok_install /*int*/ ; +RDebugUtils.currentLine=1441797; + //BA.debugLineNum = 1441797;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; +if (__ref._sverbose /*boolean*/ ) { +__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("938207496",__c.TAB+"no permissions from user to install new apk",0);}; +RDebugUtils.currentLine=1441799; + //BA.debugLineNum = 1441799;BA.debugLine="sStatusCode = ERR_NOPERM"; +__ref._sstatuscode /*int*/ = __ref._err_noperm /*int*/ ; +RDebugUtils.currentLine=1441800; + //BA.debugLineNum = 1441800;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("91441800",__c.TAB+"no permissions from user to install new apk",0);}; }; - //BA.debugLineNum = 205;BA.debugLine="Finito"; -_finito(); - //BA.debugLineNum = 206;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1441802; + //BA.debugLineNum = 1441802;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=1441803; + //BA.debugLineNum = 1441803;BA.debugLine="End Sub"; return ""; } -public boolean _isvalidcv() throws Exception{ -anywheresoftware.b4a.phone.PackageManagerWrapper _pm = null; - //BA.debugLineNum = 297;BA.debugLine="Private Sub IsValidCV As Boolean"; - //BA.debugLineNum = 298;BA.debugLine="If sPackageName = \"\" Then"; -if ((_spackagename).equals("")) { - //BA.debugLineNum = 299;BA.debugLine="curver = \"\""; -_curver = ""; - //BA.debugLineNum = 300;BA.debugLine="sStatusCode = ERR_NOPKG"; -_sstatuscode = _err_nopkg; - //BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; -if (_sverbose) { -__c.LogImpl("938469636",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; +public String _sendinstallintent(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "sendinstallintent", true)) + {return ((String) Debug.delegate(ba, "sendinstallintent", null));} +String _apkname = ""; +anywheresoftware.b4a.objects.IntentWrapper _i = null; +RDebugUtils.currentLine=2359296; + //BA.debugLineNum = 2359296;BA.debugLine="Private Sub SendInstallIntent"; +RDebugUtils.currentLine=2359297; + //BA.debugLineNum = 2359297;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; +_apkname = "tmp.apk"; +RDebugUtils.currentLine=2359298; + //BA.debugLineNum = 2359298;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=2359299; + //BA.debugLineNum = 2359299;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=24) { +RDebugUtils.currentLine=2359300; + //BA.debugLineNum = 2359300;BA.debugLine="i.Initialize(\"android.intent.action.INSTALL_PACK"; +_i.Initialize("android.intent.action.INSTALL_PACKAGE",BA.ObjectToString(__ref._getfileuri /*Object*/ (null,_apkname))); +RDebugUtils.currentLine=2359301; + //BA.debugLineNum = 2359301;BA.debugLine="i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_UR"; +_i.setFlags(__c.Bit.Or(_i.getFlags(),(int) (1))); }else { - //BA.debugLineNum = 303;BA.debugLine="Dim pm As PackageManager"; -_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper(); - //BA.debugLineNum = 304;BA.debugLine="curver = pm.GetVersionName(sPackageName)"; -_curver = _pm.GetVersionName(_spackagename); - //BA.debugLineNum = 305;BA.debugLine="sStatusCode = OK_CURVER 'got current ve"; -_sstatuscode = _ok_curver; - //BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; -if (_sverbose) { -__c.LogImpl("938469641",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);}; +RDebugUtils.currentLine=2359303; + //BA.debugLineNum = 2359303;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +_i.Initialize(_i.ACTION_VIEW,"file://"+__c.File.Combine(__ref._sharedfolder /*String*/ ,_apkname)); +RDebugUtils.currentLine=2359304; + //BA.debugLineNum = 2359304;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +_i.SetType("application/vnd.android.package-archive"); }; - //BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)"; -if (true) return (_sstatuscode==_ok_curver); - //BA.debugLineNum = 309;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2359306; + //BA.debugLineNum = 2359306;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); +RDebugUtils.currentLine=2359307; + //BA.debugLineNum = 2359307;BA.debugLine="End Sub"; +return ""; +} +public boolean _isvalidcv(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "isvalidcv", true)) + {return ((Boolean) Debug.delegate(ba, "isvalidcv", null));} +anywheresoftware.b4a.phone.PackageManagerWrapper _pm = null; +RDebugUtils.currentLine=1703936; + //BA.debugLineNum = 1703936;BA.debugLine="Private Sub IsValidCV As Boolean"; +RDebugUtils.currentLine=1703937; + //BA.debugLineNum = 1703937;BA.debugLine="If sPackageName = \"\" Then"; +if ((__ref._spackagename /*String*/ ).equals("")) { +RDebugUtils.currentLine=1703938; + //BA.debugLineNum = 1703938;BA.debugLine="curver = \"\""; +__ref._curver /*String*/ = ""; +RDebugUtils.currentLine=1703939; + //BA.debugLineNum = 1703939;BA.debugLine="sStatusCode = ERR_NOPKG"; +__ref._sstatuscode /*int*/ = __ref._err_nopkg /*int*/ ; +RDebugUtils.currentLine=1703940; + //BA.debugLineNum = 1703940;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("91703940",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; + }else { +RDebugUtils.currentLine=1703942; + //BA.debugLineNum = 1703942;BA.debugLine="Dim pm As PackageManager"; +_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper(); +RDebugUtils.currentLine=1703943; + //BA.debugLineNum = 1703943;BA.debugLine="curver = pm.GetVersionName(sPackageName)"; +__ref._curver /*String*/ = _pm.GetVersionName(__ref._spackagename /*String*/ ); +RDebugUtils.currentLine=1703944; + //BA.debugLineNum = 1703944;BA.debugLine="sStatusCode = OK_CURVER 'got current ve"; +__ref._sstatuscode /*int*/ = __ref._ok_curver /*int*/ ; +RDebugUtils.currentLine=1703945; + //BA.debugLineNum = 1703945;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("91703945",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(__ref._curver /*String*/ ))+""),0);}; + }; +RDebugUtils.currentLine=1703947; + //BA.debugLineNum = 1703947;BA.debugLine="Return (sStatusCode == OK_CURVER)"; +if (true) return (__ref._sstatuscode /*int*/ ==__ref._ok_curver /*int*/ ); +RDebugUtils.currentLine=1703948; + //BA.debugLineNum = 1703948;BA.debugLine="End Sub"; return false; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _isvalidwv() throws Exception{ -ResumableSub_IsvalidWV rsub = new ResumableSub_IsvalidWV(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _isvalidwv(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "isvalidwv", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "isvalidwv", null));} +ResumableSub_IsvalidWV rsub = new ResumableSub_IsvalidWV(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_IsvalidWV extends BA.ResumableSub { -public ResumableSub_IsvalidWV(reparto_intmex.keymon.lat.cl_appupdate parent) { +public ResumableSub_IsvalidWV(reparto_intmex.keymon.lat.cl_appupdate parent,reparto_intmex.keymon.lat.cl_appupdate __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.cl_appupdate __ref; reparto_intmex.keymon.lat.cl_appupdate parent; reparto_intmex.keymon.lat.httpjob _j = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { switch (state) { @@ -763,15 +1125,17 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")"; -parent.__c.LogImpl("938535169","IsValidComplete start",0); - //BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then"; +RDebugUtils.currentLine=1769473; + //BA.debugLineNum = 1769473;BA.debugLine="Log(\"IsValidComplete start\")"; +parent.__c.LogImpl("91769473","IsValidComplete start",0); +RDebugUtils.currentLine=1769474; + //BA.debugLineNum = 1769474;BA.debugLine="If sNewVerTxt = \"\" Then"; if (true) break; case 1: //if this.state = 60; -if ((parent._snewvertxt).equals("")) { +if ((__ref._snewvertxt /*String*/ ).equals("")) { this.state = 3; }else { this.state = 11; @@ -780,24 +1144,27 @@ this.state = 11; case 3: //C this.state = 4; - //BA.debugLineNum = 315;BA.debugLine="webver = \"\""; -parent._webver = ""; - //BA.debugLineNum = 316;BA.debugLine="sStatusCode = ERR_NOTXT"; -parent._sstatuscode = parent._err_notxt; - //BA.debugLineNum = 317;BA.debugLine="If sVerbose Then Log($\"${TAB}missing info file f"; +RDebugUtils.currentLine=1769475; + //BA.debugLineNum = 1769475;BA.debugLine="webver = \"\""; +__ref._webver /*String*/ = ""; +RDebugUtils.currentLine=1769476; + //BA.debugLineNum = 1769476;BA.debugLine="sStatusCode = ERR_NOTXT"; +__ref._sstatuscode /*int*/ = __ref._err_notxt /*int*/ ; +RDebugUtils.currentLine=1769477; + //BA.debugLineNum = 1769477;BA.debugLine="If sVerbose Then Log($\"${TAB}missing info file f"; if (true) break; case 4: //if this.state = 9; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 6; ;}if (true) break; case 6: //C this.state = 9; -parent.__c.LogImpl("938535173",(""+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: @@ -809,30 +1176,39 @@ this.state = 60; case 11: //C this.state = 12; - //BA.debugLineNum = 320;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=1769480; + //BA.debugLineNum = 1769480;BA.debugLine="Dim j As HttpJob"; _j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 321;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 322;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 323;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; -_j._download /*String*/ (parent._snewvertxt); - //BA.debugLineNum = 325;BA.debugLine="Log(\"before\")"; -parent.__c.LogImpl("938535181","before",0); - //BA.debugLineNum = 326;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); +RDebugUtils.currentLine=1769481; + //BA.debugLineNum = 1769481;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=1769482; + //BA.debugLineNum = 1769482;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=1769483; + //BA.debugLineNum = 1769483;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=1769484; + //BA.debugLineNum = 1769484;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; +_j._download /*String*/ (null,__ref._snewvertxt /*String*/ ); +RDebugUtils.currentLine=1769485; + //BA.debugLineNum = 1769485;BA.debugLine="Log(\"before\")"; +parent.__c.LogImpl("91769485","before",0); +RDebugUtils.currentLine=1769486; + //BA.debugLineNum = 1769486;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "isvalidwv"), (Object)(_j)); this.state = 61; return; case 61: //C this.state = 12; -_j = (reparto_intmex.keymon.lat.httpjob) result[0]; +_j = (reparto_intmex.keymon.lat.httpjob) result[1]; ; - //BA.debugLineNum = 327;BA.debugLine="Log(\"after\")"; -parent.__c.LogImpl("938535183","after",0); - //BA.debugLineNum = 328;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=1769487; + //BA.debugLineNum = 1769487;BA.debugLine="Log(\"after\")"; +parent.__c.LogImpl("91769487","after",0); +RDebugUtils.currentLine=1769488; + //BA.debugLineNum = 1769488;BA.debugLine="If j.Success Then"; if (true) break; case 12: @@ -847,33 +1223,35 @@ this.state = 52; case 14: //C this.state = 15; - //BA.debugLineNum = 329;BA.debugLine="If sVerbose Then Log($\"Webserver's info file co"; +RDebugUtils.currentLine=1769489; + //BA.debugLineNum = 1769489;BA.debugLine="If sVerbose Then Log($\"Webserver's info file co"; if (true) break; case 15: //if this.state = 20; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 17; ;}if (true) break; case 17: //C this.state = 20; -parent.__c.LogImpl("938535185",("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*/ (null)))+""),0); if (true) break; case 20: //C this.state = 21; ; - //BA.debugLineNum = 330;BA.debugLine="If Not(J.GetString.Contains(\"\"))"; +RDebugUtils.currentLine=1769490; + //BA.debugLineNum = 1769490;BA.debugLine="If Not(J.GetString.Contains(\"\"))"; if (true) break; case 21: //if this.state = 50; -if (parent.__c.Not(_j._getstring /*String*/ ().contains(""))) { +if (parent.__c.Not(_j._getstring /*String*/ (null).contains(""))) { this.state = 23; }else { this.state = 43; @@ -882,19 +1260,23 @@ this.state = 43; case 23: //C this.state = 24; - //BA.debugLineNum = 331;BA.debugLine="webver = ExtractVN(J.GetString)"; -parent._webver = parent._extractvn(_j._getstring /*String*/ ()); - //BA.debugLineNum = 332;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; -parent._webclog = parent._extractcl(_j._getstring /*String*/ ()); - //BA.debugLineNum = 333;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; -parent._webfsize = parent._extractsz(_j._getstring /*String*/ ()); - //BA.debugLineNum = 334;BA.debugLine="If webver = \"\" Then"; +RDebugUtils.currentLine=1769491; + //BA.debugLineNum = 1769491;BA.debugLine="webver = ExtractVN(J.GetString)"; +__ref._webver /*String*/ = __ref._extractvn /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=1769492; + //BA.debugLineNum = 1769492;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; +__ref._webclog /*String*/ = __ref._extractcl /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=1769493; + //BA.debugLineNum = 1769493;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; +__ref._webfsize /*String*/ = __ref._extractsz /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=1769494; + //BA.debugLineNum = 1769494;BA.debugLine="If webver = \"\" Then"; if (true) break; case 24: //if this.state = 41; -if ((parent._webver).equals("")) { +if ((__ref._webver /*String*/ ).equals("")) { this.state = 26; }else { this.state = 34; @@ -903,22 +1285,24 @@ this.state = 34; case 26: //C this.state = 27; - //BA.debugLineNum = 335;BA.debugLine="sStatusCode = ERR_TXTROW"; -parent._sstatuscode = parent._err_txtrow; - //BA.debugLineNum = 336;BA.debugLine="If sVerbose Then Log($\"${TAB}wrong row format"; +RDebugUtils.currentLine=1769495; + //BA.debugLineNum = 1769495;BA.debugLine="sStatusCode = ERR_TXTROW"; +__ref._sstatuscode /*int*/ = __ref._err_txtrow /*int*/ ; +RDebugUtils.currentLine=1769496; + //BA.debugLineNum = 1769496;BA.debugLine="If sVerbose Then Log($\"${TAB}wrong row format"; if (true) break; case 27: //if this.state = 32; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 29; ;}if (true) break; case 29: //C this.state = 32; -parent.__c.LogImpl("938535192",(""+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: @@ -930,22 +1314,24 @@ this.state = 41; case 34: //C this.state = 35; - //BA.debugLineNum = 338;BA.debugLine="sStatusCode = OK_WEBVER 'read apk's ver"; -parent._sstatuscode = parent._ok_webver; - //BA.debugLineNum = 339;BA.debugLine="If sVerbose Then Log($\"${TAB}Web version numb"; +RDebugUtils.currentLine=1769498; + //BA.debugLineNum = 1769498;BA.debugLine="sStatusCode = OK_WEBVER 'read apk's ver"; +__ref._sstatuscode /*int*/ = __ref._ok_webver /*int*/ ; +RDebugUtils.currentLine=1769499; + //BA.debugLineNum = 1769499;BA.debugLine="If sVerbose Then Log($\"${TAB}Web version numb"; if (true) break; case 35: //if this.state = 40; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 37; ;}if (true) break; case 37: //C this.state = 40; -parent.__c.LogImpl("938535195",(""+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)(__ref._webver /*String*/ ))+""),0); if (true) break; case 40: @@ -963,22 +1349,24 @@ this.state = 50; case 43: //C this.state = 44; - //BA.debugLineNum = 342;BA.debugLine="sStatusCode = ERR_HTML 'website returne"; -parent._sstatuscode = parent._err_html; - //BA.debugLineNum = 343;BA.debugLine="If sVerbose Then Log($\"${TAB}ERROR: website re"; +RDebugUtils.currentLine=1769502; + //BA.debugLineNum = 1769502;BA.debugLine="sStatusCode = ERR_HTML 'website returne"; +__ref._sstatuscode /*int*/ = __ref._err_html /*int*/ ; +RDebugUtils.currentLine=1769503; + //BA.debugLineNum = 1769503;BA.debugLine="If sVerbose Then Log($\"${TAB}ERROR: website re"; if (true) break; case 44: //if this.state = 49; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 46; ;}if (true) break; case 46: //C this.state = 49; -parent.__c.LogImpl("938535199",(""+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: @@ -996,31 +1384,35 @@ this.state = 59; case 52: //C this.state = 53; - //BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("938535202",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 347;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 348;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; +RDebugUtils.currentLine=1769506; + //BA.debugLineNum = 1769506;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("91769506",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=1769507; + //BA.debugLineNum = 1769507;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=1769508; + //BA.debugLineNum = 1769508;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; if (true) break; case 53: //if this.state = 58; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 55; ;}if (true) break; case 55: //C this.state = 58; -parent.__c.LogImpl("938535204",(""+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: //C this.state = 59; ; - //BA.debugLineNum = 349;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tr"; +RDebugUtils.currentLine=1769509; + //BA.debugLineNum = 1769509;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tr"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_j._errormessage /*String*/ ),parent.__c.True); if (true) break; @@ -1028,48 +1420,67 @@ case 59: //C this.state = 60; ; - //BA.debugLineNum = 351;BA.debugLine="j.Release"; -_j._release /*String*/ (); +RDebugUtils.currentLine=1769511; + //BA.debugLineNum = 1769511;BA.debugLine="j.Release"; +_j._release /*String*/ (null); if (true) break; case 60: //C this.state = -1; ; - //BA.debugLineNum = 353;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; +RDebugUtils.currentLine=1769513; + //BA.debugLineNum = 1769513;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)((parent._sstatuscode==parent._ok_webver)));return;}; - //BA.debugLineNum = 354;BA.debugLine="End Sub"; +parent.__c.ReturnFromResumableSub(this,(Object)((__ref._sstatuscode /*int*/ ==__ref._ok_webver /*int*/ )));return;}; +RDebugUtils.currentLine=1769514; + //BA.debugLineNum = 1769514;BA.debugLine="End Sub"; if (true) break; } } } } -public String _readcurvn() throws Exception{ - //BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN"; - //BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; -__c.LogImpl("938010881","---- AppUpdating.ReadCurVN",_logcolor1); - //BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu"; -_isvalidcv(); - //BA.debugLineNum = 146;BA.debugLine="Finito"; -_finito(); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; +public String _readcurvn(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "readcurvn", true)) + {return ((String) Debug.delegate(ba, "readcurvn", null));} +RDebugUtils.currentLine=1245184; + //BA.debugLineNum = 1245184;BA.debugLine="Public Sub ReadCurVN"; +RDebugUtils.currentLine=1245185; + //BA.debugLineNum = 1245185;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; +__c.LogImpl("91245185","---- AppUpdating.ReadCurVN",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=1245186; + //BA.debugLineNum = 1245186;BA.debugLine="IsValidCV 'we don't care about its resu"; +__ref._isvalidcv /*boolean*/ (null); +RDebugUtils.currentLine=1245187; + //BA.debugLineNum = 1245187;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=1245188; + //BA.debugLineNum = 1245188;BA.debugLine="End Sub"; return ""; } -public void _readwebvn() throws Exception{ -ResumableSub_ReadWebVN rsub = new ResumableSub_ReadWebVN(this); +public void _readwebvn(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "readwebvn", true)) + {Debug.delegate(ba, "readwebvn", null); return;} +ResumableSub_ReadWebVN rsub = new ResumableSub_ReadWebVN(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_ReadWebVN extends BA.ResumableSub { -public ResumableSub_ReadWebVN(reparto_intmex.keymon.lat.cl_appupdate parent) { +public ResumableSub_ReadWebVN(reparto_intmex.keymon.lat.cl_appupdate parent,reparto_intmex.keymon.lat.cl_appupdate __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.cl_appupdate __ref; reparto_intmex.keymon.lat.cl_appupdate parent; boolean _okwebver = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { switch (state) { @@ -1079,158 +1490,213 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; -parent.__c.LogImpl("938076417","---- AppUpdating.ReadWebVN",parent._logcolor1); - //BA.debugLineNum = 153;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean"; -parent.__c.WaitFor("complete", ba, this, parent._isvalidwv()); +RDebugUtils.currentLine=1310721; + //BA.debugLineNum = 1310721;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; +parent.__c.LogImpl("91310721","---- AppUpdating.ReadWebVN",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=1310722; + //BA.debugLineNum = 1310722;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "readwebvn"), __ref._isvalidwv /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null)); this.state = 1; return; case 1: //C this.state = -1; -_okwebver = (Boolean) result[0]; +_okwebver = (Boolean) result[1]; ; - //BA.debugLineNum = 154;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 155;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1310723; + //BA.debugLineNum = 1310723;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=1310724; + //BA.debugLineNum = 1310724;BA.debugLine="End Sub"; if (true) break; } } } } -public void _complete(boolean _okwebver) throws Exception{ -} -public String _sendinstallintent() throws Exception{ -String _apkname = ""; -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 487;BA.debugLine="Private Sub SendInstallIntent"; - //BA.debugLineNum = 488;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; -_apkname = "tmp.apk"; - //BA.debugLineNum = 489;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 490;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; -if (_phone.getSdkVersion()>=24) { - //BA.debugLineNum = 491;BA.debugLine="i.Initialize(\"android.intent.action.INSTALL_PACK"; -_i.Initialize("android.intent.action.INSTALL_PACKAGE",BA.ObjectToString(_getfileuri(_apkname))); - //BA.debugLineNum = 492;BA.debugLine="i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_UR"; -_i.setFlags(__c.Bit.Or(_i.getFlags(),(int) (1))); - }else { - //BA.debugLineNum = 494;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; -_i.Initialize(_i.ACTION_VIEW,"file://"+__c.File.Combine(_sharedfolder,_apkname)); - //BA.debugLineNum = 495;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; -_i.SetType("application/vnd.android.package-archive"); - }; - //BA.debugLineNum = 497;BA.debugLine="StartActivity(i)"; -__c.StartActivity(ba,(Object)(_i.getObject())); - //BA.debugLineNum = 498;BA.debugLine="End Sub"; -return ""; -} -public String _setandstartsplashscreen(anywheresoftware.b4a.objects.ActivityWrapper _callingact,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bm) throws Exception{ +public String _setandstartsplashscreen(reparto_intmex.keymon.lat.cl_appupdate __ref,anywheresoftware.b4a.objects.ActivityWrapper _callingact,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bm) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setandstartsplashscreen", true)) + {return ((String) Debug.delegate(ba, "setandstartsplashscreen", new Object[] {_callingact,_bm}));} anywheresoftware.b4a.objects.drawable.BitmapDrawable _bitimage = null; - //BA.debugLineNum = 532;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; - //BA.debugLineNum = 533;BA.debugLine="If BM.IsInitialized Then"; +RDebugUtils.currentLine=2555904; + //BA.debugLineNum = 2555904;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; +RDebugUtils.currentLine=2555905; + //BA.debugLineNum = 2555905;BA.debugLine="If BM.IsInitialized Then"; if (_bm.IsInitialized()) { - //BA.debugLineNum = 534;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; -_pnlsplash.Initialize(ba,"pnl1"); - //BA.debugLineNum = 535;BA.debugLine="pnlSplash.Tag = \"splash\""; -_pnlsplash.setTag((Object)("splash")); - //BA.debugLineNum = 536;BA.debugLine="Dim BitImage As BitmapDrawable"; +RDebugUtils.currentLine=2555906; + //BA.debugLineNum = 2555906;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .Initialize(ba,"pnl1"); +RDebugUtils.currentLine=2555907; + //BA.debugLineNum = 2555907;BA.debugLine="pnlSplash.Tag = \"splash\""; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag((Object)("splash")); +RDebugUtils.currentLine=2555908; + //BA.debugLineNum = 2555908;BA.debugLine="Dim BitImage As BitmapDrawable"; _bitimage = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); - //BA.debugLineNum = 537;BA.debugLine="BitImage.Initialize(BM)"; +RDebugUtils.currentLine=2555909; + //BA.debugLineNum = 2555909;BA.debugLine="BitImage.Initialize(BM)"; _bitimage.Initialize((android.graphics.Bitmap)(_bm.getObject())); - //BA.debugLineNum = 538;BA.debugLine="BitImage.Gravity = Gravity.FILL"; +RDebugUtils.currentLine=2555910; + //BA.debugLineNum = 2555910;BA.debugLine="BitImage.Gravity = Gravity.FILL"; _bitimage.setGravity(__c.Gravity.FILL); - //BA.debugLineNum = 539;BA.debugLine="CallingAct.AddView(pnlSplash, 0, 0, CallingAct.W"; -_callingact.AddView((android.view.View)(_pnlsplash.getObject()),(int) (0),(int) (0),_callingact.getWidth(),_callingact.getHeight()); - //BA.debugLineNum = 540;BA.debugLine="pnlSplash.Background = BitImage"; -_pnlsplash.setBackground((android.graphics.drawable.Drawable)(_bitimage.getObject())); - //BA.debugLineNum = 541;BA.debugLine="pnlSplash.BringToFront"; -_pnlsplash.BringToFront(); - //BA.debugLineNum = 542;BA.debugLine="SplashShowing = True"; -_splashshowing = __c.True; +RDebugUtils.currentLine=2555911; + //BA.debugLineNum = 2555911;BA.debugLine="CallingAct.AddView(pnlSplash, 0, 0, CallingAct.W"; +_callingact.AddView((android.view.View)(__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(int) (0),(int) (0),_callingact.getWidth(),_callingact.getHeight()); +RDebugUtils.currentLine=2555912; + //BA.debugLineNum = 2555912;BA.debugLine="pnlSplash.Background = BitImage"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .setBackground((android.graphics.drawable.Drawable)(_bitimage.getObject())); +RDebugUtils.currentLine=2555913; + //BA.debugLineNum = 2555913;BA.debugLine="pnlSplash.BringToFront"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=2555914; + //BA.debugLineNum = 2555914;BA.debugLine="SplashShowing = True"; +__ref._splashshowing /*boolean*/ = __c.True; }; - //BA.debugLineNum = 544;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2555916; + //BA.debugLineNum = 2555916;BA.debugLine="End Sub"; return ""; } -public String _setcredentials(String _usern,String _userp) throws Exception{ - //BA.debugLineNum = 96;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; - //BA.debugLineNum = 97;BA.debugLine="sUserName = UserN"; -_susername = _usern; - //BA.debugLineNum = 98;BA.debugLine="sUPassword = UserP"; -_supassword = _userp; - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +public String _setcredentials(reparto_intmex.keymon.lat.cl_appupdate __ref,String _usern,String _userp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setcredentials", true)) + {return ((String) Debug.delegate(ba, "setcredentials", new Object[] {_usern,_userp}));} +RDebugUtils.currentLine=720896; + //BA.debugLineNum = 720896;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; +RDebugUtils.currentLine=720897; + //BA.debugLineNum = 720897;BA.debugLine="sUserName = UserN"; +__ref._susername /*String*/ = _usern; +RDebugUtils.currentLine=720898; + //BA.debugLineNum = 720898;BA.debugLine="sUPassword = UserP"; +__ref._supassword /*String*/ = _userp; +RDebugUtils.currentLine=720899; + //BA.debugLineNum = 720899;BA.debugLine="End Sub"; return ""; } -public String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +public String _setfileuriasintentdata(reparto_intmex.keymon.lat.cl_appupdate __ref,anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setfileuriasintentdata", true)) + {return ((String) Debug.delegate(ba, "setfileuriasintentdata", new Object[] {_intent,_filename}));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 520;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; - //BA.debugLineNum = 521;BA.debugLine="Dim jo As JavaObject = Intent"; +RDebugUtils.currentLine=2490368; + //BA.debugLineNum = 2490368;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; +RDebugUtils.currentLine=2490369; + //BA.debugLineNum = 2490369;BA.debugLine="Dim jo As JavaObject = Intent"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 522;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 523;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +RDebugUtils.currentLine=2490370; + //BA.debugLineNum = 2490370;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{__ref._getfileuri /*Object*/ (null,_filename)}); +RDebugUtils.currentLine=2490371; + //BA.debugLineNum = 2490371;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; _intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 524;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2490372; + //BA.debugLineNum = 2490372;BA.debugLine="End Sub"; return ""; } -public String _setnewverapk(String _nva) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; - //BA.debugLineNum = 92;BA.debugLine="sNewVerApk = NVA"; -_snewverapk = _nva; - //BA.debugLineNum = 93;BA.debugLine="End Sub"; +public String _setnewverapk(reparto_intmex.keymon.lat.cl_appupdate __ref,String _nva) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setnewverapk", true)) + {return ((String) Debug.delegate(ba, "setnewverapk", new Object[] {_nva}));} +RDebugUtils.currentLine=655360; + //BA.debugLineNum = 655360;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; +RDebugUtils.currentLine=655361; + //BA.debugLineNum = 655361;BA.debugLine="sNewVerApk = NVA"; +__ref._snewverapk /*String*/ = _nva; +RDebugUtils.currentLine=655362; + //BA.debugLineNum = 655362;BA.debugLine="End Sub"; return ""; } -public String _setnewvertxt(String _nvt) throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; - //BA.debugLineNum = 87;BA.debugLine="sNewVerTxt = NVT"; -_snewvertxt = _nvt; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; +public String _setnewvertxt(reparto_intmex.keymon.lat.cl_appupdate __ref,String _nvt) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setnewvertxt", true)) + {return ((String) Debug.delegate(ba, "setnewvertxt", new Object[] {_nvt}));} +RDebugUtils.currentLine=589824; + //BA.debugLineNum = 589824;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; +RDebugUtils.currentLine=589825; + //BA.debugLineNum = 589825;BA.debugLine="sNewVerTxt = NVT"; +__ref._snewvertxt /*String*/ = _nvt; +RDebugUtils.currentLine=589826; + //BA.debugLineNum = 589826;BA.debugLine="End Sub"; return ""; } -public String _setpackagename(String _pn) throws Exception{ - //BA.debugLineNum = 74;BA.debugLine="Public Sub setPackageName(PN As String)"; - //BA.debugLineNum = 75;BA.debugLine="sPackageName = PN"; -_spackagename = _pn; - //BA.debugLineNum = 76;BA.debugLine="End Sub"; +public String _setpackagename(reparto_intmex.keymon.lat.cl_appupdate __ref,String _pn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setpackagename", true)) + {return ((String) Debug.delegate(ba, "setpackagename", new Object[] {_pn}));} +RDebugUtils.currentLine=458752; + //BA.debugLineNum = 458752;BA.debugLine="Public Sub setPackageName(PN As String)"; +RDebugUtils.currentLine=458753; + //BA.debugLineNum = 458753;BA.debugLine="sPackageName = PN"; +__ref._spackagename /*String*/ = _pn; +RDebugUtils.currentLine=458754; + //BA.debugLineNum = 458754;BA.debugLine="End Sub"; return ""; } -public String _setverbose(boolean _verbose) throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; - //BA.debugLineNum = 103;BA.debugLine="sVerbose = Verbose"; -_sverbose = _verbose; - //BA.debugLineNum = 104;BA.debugLine="newinst2.svcVerbose = Verbose"; +public String _setverbose(reparto_intmex.keymon.lat.cl_appupdate __ref,boolean _verbose) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setverbose", true)) + {return ((String) Debug.delegate(ba, "setverbose", new Object[] {_verbose}));} +RDebugUtils.currentLine=786432; + //BA.debugLineNum = 786432;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; +RDebugUtils.currentLine=786433; + //BA.debugLineNum = 786433;BA.debugLine="sVerbose = Verbose"; +__ref._sverbose /*boolean*/ = _verbose; +RDebugUtils.currentLine=786434; + //BA.debugLineNum = 786434;BA.debugLine="newinst2.svcVerbose = Verbose"; _newinst2._svcverbose /*boolean*/ = _verbose; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; +RDebugUtils.currentLine=786435; + //BA.debugLineNum = 786435;BA.debugLine="End Sub"; return ""; } -public String _stopsplashscreen() throws Exception{ - //BA.debugLineNum = 547;BA.debugLine="Public Sub StopSplashScreen"; - //BA.debugLineNum = 548;BA.debugLine="If SplashShowing Then"; -if (_splashshowing) { - //BA.debugLineNum = 549;BA.debugLine="SplashShowing = False"; -_splashshowing = __c.False; - //BA.debugLineNum = 550;BA.debugLine="pnlSplash.RemoveView"; -_pnlsplash.RemoveView(); +public String _stopsplashscreen(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "stopsplashscreen", true)) + {return ((String) Debug.delegate(ba, "stopsplashscreen", null));} +RDebugUtils.currentLine=2621440; + //BA.debugLineNum = 2621440;BA.debugLine="Public Sub StopSplashScreen"; +RDebugUtils.currentLine=2621441; + //BA.debugLineNum = 2621441;BA.debugLine="If SplashShowing Then"; +if (__ref._splashshowing /*boolean*/ ) { +RDebugUtils.currentLine=2621442; + //BA.debugLineNum = 2621442;BA.debugLine="SplashShowing = False"; +__ref._splashshowing /*boolean*/ = __c.False; +RDebugUtils.currentLine=2621443; + //BA.debugLineNum = 2621443;BA.debugLine="pnlSplash.RemoveView"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .RemoveView(); }; - //BA.debugLineNum = 552;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2621445; + //BA.debugLineNum = 2621445;BA.debugLine="End Sub"; return ""; } -public void _tryapkupdate() throws Exception{ -ResumableSub_TryApkUpdate rsub = new ResumableSub_TryApkUpdate(this); +public void _tryapkupdate(reparto_intmex.keymon.lat.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "tryapkupdate", true)) + {Debug.delegate(ba, "tryapkupdate", null); return;} +ResumableSub_TryApkUpdate rsub = new ResumableSub_TryApkUpdate(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_TryApkUpdate extends BA.ResumableSub { -public ResumableSub_TryApkUpdate(reparto_intmex.keymon.lat.cl_appupdate parent) { +public ResumableSub_TryApkUpdate(reparto_intmex.keymon.lat.cl_appupdate parent,reparto_intmex.keymon.lat.cl_appupdate __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +reparto_intmex.keymon.lat.cl_appupdate __ref; reparto_intmex.keymon.lat.cl_appupdate parent; reparto_intmex.keymon.lat.httpjob _j = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { try { @@ -1242,43 +1708,53 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; -parent.__c.LogImpl("938338561",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1); - //BA.debugLineNum = 248;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW"; +RDebugUtils.currentLine=1572865; + //BA.debugLineNum = 1572865;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; +parent.__c.LogImpl("91572865",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=1572867; + //BA.debugLineNum = 1572867;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW"; if (true) break; case 1: //if this.state = 44; -if (((parent._sstatuscode>=0) && (parent._sstatuscode!=parent._no_newerapk))) { +if (((__ref._sstatuscode /*int*/ >=0) && (__ref._sstatuscode /*int*/ !=__ref._no_newerapk /*int*/ ))) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 250;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=1572869; + //BA.debugLineNum = 1572869;BA.debugLine="Dim j As HttpJob"; _j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 251;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 252;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 253;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 254;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; -_j._download /*String*/ (parent._snewverapk); - //BA.debugLineNum = 255;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); +RDebugUtils.currentLine=1572870; + //BA.debugLineNum = 1572870;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=1572871; + //BA.debugLineNum = 1572871;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=1572872; + //BA.debugLineNum = 1572872;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=1572873; + //BA.debugLineNum = 1572873;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; +_j._download /*String*/ (null,__ref._snewverapk /*String*/ ); +RDebugUtils.currentLine=1572874; + //BA.debugLineNum = 1572874;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "tryapkupdate"), (Object)(_j)); this.state = 45; return; case 45: //C this.state = 4; -_j = (reparto_intmex.keymon.lat.httpjob) result[0]; +_j = (reparto_intmex.keymon.lat.httpjob) result[1]; ; - //BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("938338571",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); - //BA.debugLineNum = 257;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=1572875; + //BA.debugLineNum = 1572875;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +parent.__c.LogImpl("91572875",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=1572876; + //BA.debugLineNum = 1572876;BA.debugLine="If j.Success Then"; if (true) break; case 4: @@ -1293,7 +1769,8 @@ this.state = 26; case 6: //C this.state = 7; - //BA.debugLineNum = 258;BA.debugLine="Try"; +RDebugUtils.currentLine=1572877; + //BA.debugLineNum = 1572877;BA.debugLine="Try"; if (true) break; case 7: @@ -1307,32 +1784,39 @@ case 9: //C this.state = 10; this.catchState = 17; - //BA.debugLineNum = 260;BA.debugLine="Dim out As OutputStream"; +RDebugUtils.currentLine=1572879; + //BA.debugLineNum = 1572879;BA.debugLine="Dim out As OutputStream"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 261;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",F"; -_out = parent.__c.File.OpenOutput(parent._sharedfolder,"tmp.apk",parent.__c.False); - //BA.debugLineNum = 262;BA.debugLine="File.Copy2(j.GetInputStream, out)"; -parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 263;BA.debugLine="out.Close"; +RDebugUtils.currentLine=1572880; + //BA.debugLineNum = 1572880;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",F"; +_out = parent.__c.File.OpenOutput(__ref._sharedfolder /*String*/ ,"tmp.apk",parent.__c.False); +RDebugUtils.currentLine=1572881; + //BA.debugLineNum = 1572881;BA.debugLine="File.Copy2(j.GetInputStream, out)"; +parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (null).getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=1572882; + //BA.debugLineNum = 1572882;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; -parent.__c.LogImpl("938338579",("Copy2 (saving) ok? TRUE"),0); - //BA.debugLineNum = 265;BA.debugLine="sStatusCode = OK_DOWNLOAD"; -parent._sstatuscode = parent._ok_download; - //BA.debugLineNum = 266;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d"; +RDebugUtils.currentLine=1572883; + //BA.debugLineNum = 1572883;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +parent.__c.LogImpl("91572883",("Copy2 (saving) ok? TRUE"),0); +RDebugUtils.currentLine=1572884; + //BA.debugLineNum = 1572884;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._ok_download /*int*/ ; +RDebugUtils.currentLine=1572885; + //BA.debugLineNum = 1572885;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d"; if (true) break; case 10: //if this.state = 15; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 12; ;}if (true) break; case 12: //C this.state = 15; -parent.__c.LogImpl("938338581",(""+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: @@ -1345,31 +1829,35 @@ case 17: //C this.state = 18; this.catchState = 0; - //BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; -parent.__c.LogImpl("938338583",("Copy2 (saving) ok? FALSE"),0); - //BA.debugLineNum = 269;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; -parent._sstatuscode = parent._err_download; - //BA.debugLineNum = 270;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o"; +RDebugUtils.currentLine=1572887; + //BA.debugLineNum = 1572887;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; +parent.__c.LogImpl("91572887",("Copy2 (saving) ok? FALSE"),0); +RDebugUtils.currentLine=1572888; + //BA.debugLineNum = 1572888;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._err_download /*int*/ ; +RDebugUtils.currentLine=1572889; + //BA.debugLineNum = 1572889;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o"; if (true) break; case 18: //if this.state = 23; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 20; ;}if (true) break; case 20: //C this.state = 23; -parent.__c.LogImpl("938338585",(""+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: //C this.state = 24; ; - //BA.debugLineNum = 271;BA.debugLine="ToastMessageShow(LastException, True)"; +RDebugUtils.currentLine=1572890; + //BA.debugLineNum = 1572890;BA.debugLine="ToastMessageShow(LastException, True)"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence(parent.__c.LastException(ba).getObject()),parent.__c.True); if (true) break; if (true) break; @@ -1384,31 +1872,35 @@ this.catchState = 0; case 26: //C this.state = 27; - //BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("938338589",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 275;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 276;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; +RDebugUtils.currentLine=1572893; + //BA.debugLineNum = 1572893;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("91572893",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=1572894; + //BA.debugLineNum = 1572894;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=1572895; + //BA.debugLineNum = 1572895;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; if (true) break; case 27: //if this.state = 32; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 29; ;}if (true) break; case 29: //C this.state = 32; -parent.__c.LogImpl("938338591",(""+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: //C this.state = 33; ; - //BA.debugLineNum = 277;BA.debugLine="ToastMessageShow($\"Error: ${J.ErrorMessage}\"$,"; +RDebugUtils.currentLine=1572896; + //BA.debugLineNum = 1572896;BA.debugLine="ToastMessageShow($\"Error: ${J.ErrorMessage}\"$,"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence(("Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+"")),parent.__c.True); if (true) break; @@ -1416,39 +1908,44 @@ case 33: //C this.state = 34; ; - //BA.debugLineNum = 279;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 280;BA.debugLine="If sStatusCode == OK_DOWNLOAD Then"; +RDebugUtils.currentLine=1572898; + //BA.debugLineNum = 1572898;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=1572899; + //BA.debugLineNum = 1572899;BA.debugLine="If sStatusCode == OK_DOWNLOAD Then"; if (true) break; case 34: //if this.state = 43; -if (parent._sstatuscode==parent._ok_download) { +if (__ref._sstatuscode /*int*/ ==__ref._ok_download /*int*/ ) { this.state = 36; }if (true) break; case 36: //C this.state = 37; - //BA.debugLineNum = 281;BA.debugLine="SendInstallIntent"; -parent._sendinstallintent(); - //BA.debugLineNum = 282;BA.debugLine="sStatusCode = OK_INSTALL"; -parent._sstatuscode = parent._ok_install; - //BA.debugLineNum = 283;BA.debugLine="If sVerbose Then Log($\"${TAB}user asked to inst"; +RDebugUtils.currentLine=1572900; + //BA.debugLineNum = 1572900;BA.debugLine="SendInstallIntent"; +__ref._sendinstallintent /*String*/ (null); +RDebugUtils.currentLine=1572901; + //BA.debugLineNum = 1572901;BA.debugLine="sStatusCode = OK_INSTALL"; +__ref._sstatuscode /*int*/ = __ref._ok_install /*int*/ ; +RDebugUtils.currentLine=1572902; + //BA.debugLineNum = 1572902;BA.debugLine="If sVerbose Then Log($\"${TAB}user asked to inst"; if (true) break; case 37: //if this.state = 42; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 39; ;}if (true) break; case 39: //C this.state = 42; -parent.__c.LogImpl("938338598",(""+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: @@ -1467,9 +1964,11 @@ case 44: //C this.state = -1; ; - //BA.debugLineNum = 286;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 287;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1572905; + //BA.debugLineNum = 1572905;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=1572906; + //BA.debugLineNum = 1572906;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -1483,15 +1982,21 @@ ba.setLastException(e0);} } } } -public void _updateapk(boolean _pstatus) throws Exception{ -ResumableSub_UpdateApk rsub = new ResumableSub_UpdateApk(this,_pstatus); +public void _updateapk(reparto_intmex.keymon.lat.cl_appupdate __ref,boolean _pstatus) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "updateapk", true)) + {Debug.delegate(ba, "updateapk", new Object[] {_pstatus}); return;} +ResumableSub_UpdateApk rsub = new ResumableSub_UpdateApk(this,__ref,_pstatus); rsub.resume(ba, null); } public static class ResumableSub_UpdateApk extends BA.ResumableSub { -public ResumableSub_UpdateApk(reparto_intmex.keymon.lat.cl_appupdate parent,boolean _pstatus) { +public ResumableSub_UpdateApk(reparto_intmex.keymon.lat.cl_appupdate parent,reparto_intmex.keymon.lat.cl_appupdate __ref,boolean _pstatus) { this.parent = parent; +this.__ref = __ref; this._pstatus = _pstatus; +this.__ref = parent; } +reparto_intmex.keymon.lat.cl_appupdate __ref; reparto_intmex.keymon.lat.cl_appupdate parent; boolean _pstatus; boolean _okwebver = false; @@ -1499,6 +2004,7 @@ long _fsize = 0L; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { switch (state) { @@ -1508,9 +2014,11 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; -parent.__c.LogImpl("938273025","---- AppUpdating.UpdateApk",parent._logcolor1); - //BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then"; +RDebugUtils.currentLine=1507329; + //BA.debugLineNum = 1507329;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; +parent.__c.LogImpl("91507329","---- AppUpdating.UpdateApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=1507330; + //BA.debugLineNum = 1507330;BA.debugLine="If Not(pstatus) Then"; if (true) break; case 1: @@ -1525,22 +2033,24 @@ this.state = 11; case 3: //C this.state = 4; - //BA.debugLineNum = 213;BA.debugLine="sStatusCode = ERR_NOPERM"; -parent._sstatuscode = parent._err_noperm; - //BA.debugLineNum = 214;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +RDebugUtils.currentLine=1507331; + //BA.debugLineNum = 1507331;BA.debugLine="sStatusCode = ERR_NOPERM"; +__ref._sstatuscode /*int*/ = __ref._err_noperm /*int*/ ; +RDebugUtils.currentLine=1507332; + //BA.debugLineNum = 1507332;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; if (true) break; case 4: //if this.state = 9; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 6; ;}if (true) break; case 6: //C this.state = 9; -parent.__c.LogImpl("938273028",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: @@ -1552,35 +2062,38 @@ this.state = 61; case 11: //C this.state = 12; - //BA.debugLineNum = 216;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolea"; -parent.__c.WaitFor("complete", ba, this, parent._isvalidwv()); +RDebugUtils.currentLine=1507334; + //BA.debugLineNum = 1507334;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolea"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "updateapk"), __ref._isvalidwv /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null)); this.state = 62; return; case 62: //C this.state = 12; -_okwebver = (Boolean) result[0]; +_okwebver = (Boolean) result[1]; ; - //BA.debugLineNum = 217;BA.debugLine="If (IsValidCV And OkWebVer) Then 'here we"; +RDebugUtils.currentLine=1507335; + //BA.debugLineNum = 1507335;BA.debugLine="If (IsValidCV And OkWebVer) Then 'here we"; if (true) break; case 12: //if this.state = 60; -if ((parent._isvalidcv() && _okwebver)) { +if ((__ref._isvalidcv /*boolean*/ (null) && _okwebver)) { this.state = 14; }if (true) break; case 14: //C this.state = 15; - //BA.debugLineNum = 218;BA.debugLine="If curver < webver Then"; +RDebugUtils.currentLine=1507336; + //BA.debugLineNum = 1507336;BA.debugLine="If curver < webver Then"; if (true) break; case 15: //if this.state = 59; -if ((double)(Double.parseDouble(parent._curver))<(double)(Double.parseDouble(parent._webver))) { +if ((double)(Double.parseDouble(__ref._curver /*String*/ ))<(double)(Double.parseDouble(__ref._webver /*String*/ ))) { this.state = 17; }else { this.state = 52; @@ -1589,50 +2102,55 @@ this.state = 52; case 17: //C this.state = 18; - //BA.debugLineNum = 220;BA.debugLine="If IsNumber(webfsize) Then"; +RDebugUtils.currentLine=1507338; + //BA.debugLineNum = 1507338;BA.debugLine="If IsNumber(webfsize) Then"; if (true) break; case 18: //if this.state = 31; -if (parent.__c.IsNumber(parent._webfsize)) { +if (parent.__c.IsNumber(__ref._webfsize /*String*/ )) { this.state = 20; }if (true) break; case 20: //C this.state = 21; - //BA.debugLineNum = 221;BA.debugLine="Dim fsize As Long = webfsize"; -_fsize = (long)(Double.parseDouble(parent._webfsize)); - //BA.debugLineNum = 222;BA.debugLine="If fsize*2 > GetFreeSpace Then"; +RDebugUtils.currentLine=1507339; + //BA.debugLineNum = 1507339;BA.debugLine="Dim fsize As Long = webfsize"; +_fsize = (long)(Double.parseDouble(__ref._webfsize /*String*/ )); +RDebugUtils.currentLine=1507340; + //BA.debugLineNum = 1507340;BA.debugLine="If fsize*2 > GetFreeSpace Then"; if (true) break; case 21: //if this.state = 30; -if (_fsize*2>parent._getfreespace()) { +if (_fsize*2>__ref._getfreespace /*long*/ (null)) { this.state = 23; }if (true) break; case 23: //C this.state = 24; - //BA.debugLineNum = 223;BA.debugLine="sStatusCode = ERR_NOSPACE"; -parent._sstatuscode = parent._err_nospace; - //BA.debugLineNum = 224;BA.debugLine="If sVerbose Then Log($\"${TAB}no enough avail"; +RDebugUtils.currentLine=1507341; + //BA.debugLineNum = 1507341;BA.debugLine="sStatusCode = ERR_NOSPACE"; +__ref._sstatuscode /*int*/ = __ref._err_nospace /*int*/ ; +RDebugUtils.currentLine=1507342; + //BA.debugLineNum = 1507342;BA.debugLine="If sVerbose Then Log($\"${TAB}no enough avail"; if (true) break; case 24: //if this.state = 29; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 26; ;}if (true) break; case 26: //C this.state = 29; -parent.__c.LogImpl("938273038",(""+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: @@ -1647,69 +2165,75 @@ this.state = 31; ; if (true) break; ; - //BA.debugLineNum = 227;BA.debugLine="If sStatusCode >= 0 Then"; +RDebugUtils.currentLine=1507345; + //BA.debugLineNum = 1507345;BA.debugLine="If sStatusCode >= 0 Then"; case 31: //if this.state = 50; -if (parent._sstatuscode>=0) { +if (__ref._sstatuscode /*int*/ >=0) { this.state = 33; }if (true) break; case 33: //C this.state = 34; - //BA.debugLineNum = 228;BA.debugLine="sStatusCode = OK_NEWERAPK 'info file tells"; -parent._sstatuscode = parent._ok_newerapk; - //BA.debugLineNum = 229;BA.debugLine="If sVerbose Then Log($\"${TAB}Newer version av"; +RDebugUtils.currentLine=1507346; + //BA.debugLineNum = 1507346;BA.debugLine="sStatusCode = OK_NEWERAPK 'info file tells"; +__ref._sstatuscode /*int*/ = __ref._ok_newerapk /*int*/ ; +RDebugUtils.currentLine=1507347; + //BA.debugLineNum = 1507347;BA.debugLine="If sVerbose Then Log($\"${TAB}Newer version av"; if (true) break; case 34: //if this.state = 39; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 36; ;}if (true) break; case 36: //C this.state = 39; -parent.__c.LogImpl("938273043",(""+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: //C this.state = 40; ; - //BA.debugLineNum = 230;BA.debugLine="If sNewVerApk = \"\" Then"; +RDebugUtils.currentLine=1507348; + //BA.debugLineNum = 1507348;BA.debugLine="If sNewVerApk = \"\" Then"; if (true) break; case 40: //if this.state = 49; -if ((parent._snewverapk).equals("")) { +if ((__ref._snewverapk /*String*/ ).equals("")) { this.state = 42; }if (true) break; case 42: //C this.state = 43; - //BA.debugLineNum = 231;BA.debugLine="sStatusCode = ERR_NOAPK"; -parent._sstatuscode = parent._err_noapk; - //BA.debugLineNum = 232;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk fil"; +RDebugUtils.currentLine=1507349; + //BA.debugLineNum = 1507349;BA.debugLine="sStatusCode = ERR_NOAPK"; +__ref._sstatuscode /*int*/ = __ref._err_noapk /*int*/ ; +RDebugUtils.currentLine=1507350; + //BA.debugLineNum = 1507350;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk fil"; if (true) break; case 43: //if this.state = 48; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 45; ;}if (true) break; case 45: //C this.state = 48; -parent.__c.LogImpl("938273046",(""+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: @@ -1733,22 +2257,24 @@ this.state = 59; case 52: //C this.state = 53; - //BA.debugLineNum = 236;BA.debugLine="sStatusCode = NO_NEWERAPK"; -parent._sstatuscode = parent._no_newerapk; - //BA.debugLineNum = 237;BA.debugLine="If sVerbose Then Log($\"${TAB}No newer version"; +RDebugUtils.currentLine=1507354; + //BA.debugLineNum = 1507354;BA.debugLine="sStatusCode = NO_NEWERAPK"; +__ref._sstatuscode /*int*/ = __ref._no_newerapk /*int*/ ; +RDebugUtils.currentLine=1507355; + //BA.debugLineNum = 1507355;BA.debugLine="If sVerbose Then Log($\"${TAB}No newer version"; if (true) break; case 53: //if this.state = 58; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 55; ;}if (true) break; case 55: //C this.state = 58; -parent.__c.LogImpl("938273051",(""+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: @@ -1773,17 +2299,15 @@ case 61: //C this.state = -1; ; - //BA.debugLineNum = 241;BA.debugLine="TryApkUpdate 'if available and permitted, do"; -parent._tryapkupdate(); - //BA.debugLineNum = 242;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1507359; + //BA.debugLineNum = 1507359;BA.debugLine="TryApkUpdate 'if available and permitted, do"; +__ref._tryapkupdate /*void*/ (null); +RDebugUtils.currentLine=1507360; + //BA.debugLineNum = 1507360;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/dbrequestmanager.java b/B4A/Objects/src/reparto_intmex/keymon/lat/dbrequestmanager.java index f19049d..136475a 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/dbrequestmanager.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/dbrequestmanager.java @@ -10,7 +10,7 @@ public class dbrequestmanager extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.dbrequestmanager"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.dbrequestmanager"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,36 +23,13 @@ public class dbrequestmanager extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public Object _mtarget = null; -public String _link = ""; -public anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; -public byte _t_null = (byte)0; -public byte _t_string = (byte)0; -public byte _t_short = (byte)0; -public byte _t_int = (byte)0; -public byte _t_long = (byte)0; -public byte _t_float = (byte)0; -public byte _t_double = (byte)0; -public byte _t_boolean = (byte)0; -public byte _t_blob = (byte)0; -public float _version = 0f; -public Object[] _temparray = null; -public String _jobtaganterior = ""; -public b4a.example.dateutils _dateutils = null; -public reparto_intmex.keymon.lat.main _main = null; -public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; -public reparto_intmex.keymon.lat.foto _foto = null; -public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_intmex.keymon.lat.subs _subs = null; -public reparto_intmex.keymon.lat.tracker _tracker = null; -public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; -public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; -public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _dbresult{ public boolean IsInitialized; public Object Tag; @@ -88,150 +65,98 @@ Parameters[i0] = new Object(); public String toString() { return BA.TypeToString(this, false); }} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bytestoimage(byte[] _bytes) throws Exception{ -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; - //BA.debugLineNum = 239;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; - //BA.debugLineNum = 240;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 241;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; -_in.InitializeFromBytesArray(_bytes,(int) (0),_bytes.length); - //BA.debugLineNum = 242;BA.debugLine="Dim bmp As Bitmap"; -_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 243;BA.debugLine="bmp.Initialize2(In)"; -_bmp.Initialize2((java.io.InputStream)(_in.getObject())); - //BA.debugLineNum = 244;BA.debugLine="Return bmp"; -if (true) return _bmp; - //BA.debugLineNum = 245;BA.debugLine="End Sub"; -return null; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mTarget As Object"; -_mtarget = new Object(); - //BA.debugLineNum = 4;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; -; - //BA.debugLineNum = 5;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; -; - //BA.debugLineNum = 6;BA.debugLine="Private link As String"; -_link = ""; - //BA.debugLineNum = 7;BA.debugLine="Private bc As ByteConverter"; -_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); - //BA.debugLineNum = 8;BA.debugLine="Private T_NULL = 0, T_STRING = 1, T_SHORT = 2, T_"; -_t_null = (byte) (0); -_t_string = (byte) (1); -_t_short = (byte) (2); -_t_int = (byte) (3); -_t_long = (byte) (4); -_t_float = (byte) (5); -_t_double = (byte) (6); -_t_boolean = (byte) (7); -_t_blob = (byte) (8); - //BA.debugLineNum = 10;BA.debugLine="Private VERSION As Float = 0.9"; -_version = (float) (0.9); - //BA.debugLineNum = 11;BA.debugLine="Private tempArray(1) As Object"; -_temparray = new Object[(int) (1)]; -{ -int d0 = _temparray.length; -for (int i0 = 0;i0 < d0;i0++) { -_temparray[i0] = new Object(); -} -} -; - //BA.debugLineNum = 12;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; -_jobtaganterior = ""; - //BA.debugLineNum = 13;BA.debugLine="End Sub"; +public anywheresoftware.b4a.keywords.Common __c = null; +public Object _mtarget = null; +public String _link = ""; +public anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; +public byte _t_null = (byte)0; +public byte _t_string = (byte)0; +public byte _t_short = (byte)0; +public byte _t_int = (byte)0; +public byte _t_long = (byte)0; +public byte _t_float = (byte)0; +public byte _t_double = (byte)0; +public byte _t_boolean = (byte)0; +public byte _t_blob = (byte)0; +public float _version = 0f; +public Object[] _temparray = null; +public String _jobtaganterior = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_intmex.keymon.lat.main _main = null; +public reparto_intmex.keymon.lat.appupdater _appupdater = null; +public reparto_intmex.keymon.lat.foto _foto = null; +public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; +public reparto_intmex.keymon.lat.subs _subs = null; +public reparto_intmex.keymon.lat.tracker _tracker = null; +public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; +public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; +public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; +public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _initialize(reparto_intmex.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.BA _ba,Object _target,String _connectorlink) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_target,_connectorlink}));} +RDebugUtils.currentLine=58392576; + //BA.debugLineNum = 58392576;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; +RDebugUtils.currentLine=58392577; + //BA.debugLineNum = 58392577;BA.debugLine="mTarget = Target"; +__ref._mtarget /*Object*/ = _target; +RDebugUtils.currentLine=58392578; + //BA.debugLineNum = 58392578;BA.debugLine="link = ConnectorLink"; +__ref._link /*String*/ = _connectorlink; +RDebugUtils.currentLine=58392579; + //BA.debugLineNum = 58392579;BA.debugLine="End Sub"; return ""; } -public String _executebatch(anywheresoftware.b4a.objects.collections.List _listofcommands,Object _tag) throws Exception{ +public String _executequery(reparto_intmex.keymon.lat.dbrequestmanager __ref,reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _command,int _limit,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executequery", false)) + {return ((String) Debug.delegate(ba, "executequery", new Object[] {_command,_limit,_tag}));} reparto_intmex.keymon.lat.httpjob _j = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; -reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _command = null; - //BA.debugLineNum = 41;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; - //BA.debugLineNum = 42;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=58458112; + //BA.debugLineNum = 58458112;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; +RDebugUtils.currentLine=58458113; + //BA.debugLineNum = 58458113;BA.debugLine="Dim j As HttpJob"; _j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 43;BA.debugLine="Dim ms As OutputStream"; +RDebugUtils.currentLine=58458114; + //BA.debugLineNum = 58458114;BA.debugLine="Dim ms As OutputStream"; _ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; +RDebugUtils.currentLine=58458115; + //BA.debugLineNum = 58458115;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; _out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out2 = _startjob(_j,_ms,_tag); - //BA.debugLineNum = 45;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; -_writeint(_listofcommands.getSize(),_out2); - //BA.debugLineNum = 46;BA.debugLine="For Each Command As DBCommand In ListOfCommands"; -{ -final anywheresoftware.b4a.BA.IterableList group5 = _listofcommands; -final int groupLen5 = group5.getSize() -;int index5 = 0; -; -for (; index5 < groupLen5;index5++){ -_command = (reparto_intmex.keymon.lat.dbrequestmanager._dbcommand)(group5.Get(index5)); - //BA.debugLineNum = 47;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 48;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - } -}; - //BA.debugLineNum = 50;BA.debugLine="out2.Close"; +_out2 = __ref._startjob /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ (null,_j,_ms,_tag); +RDebugUtils.currentLine=58458117; + //BA.debugLineNum = 58458117;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=58458118; + //BA.debugLineNum = 58458118;BA.debugLine="WriteInt(Limit, out2)"; +__ref._writeint /*String*/ (null,_limit,_out2); +RDebugUtils.currentLine=58458119; + //BA.debugLineNum = 58458119;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); +RDebugUtils.currentLine=58458120; + //BA.debugLineNum = 58458120;BA.debugLine="out2.Close"; _out2.Close(); - //BA.debugLineNum = 51;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=batch",_ms.ToBytesArray()); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; +RDebugUtils.currentLine=58458121; + //BA.debugLineNum = 58458121;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=query",_ms.ToBytesArray()); +RDebugUtils.currentLine=58458122; + //BA.debugLineNum = 58458122;BA.debugLine="End Sub"; return ""; } -public String _executecommand(reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _command,Object _tag) throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; - //BA.debugLineNum = 56;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; -_executebatch(anywheresoftware.b4a.keywords.Common.ArrayToList(new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand[]{_command}),_tag); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; -return ""; -} -public String _executequery(reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _command,int _limit,Object _tag) throws Exception{ -reparto_intmex.keymon.lat.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; - //BA.debugLineNum = 26;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; - //BA.debugLineNum = 27;BA.debugLine="Dim j As HttpJob"; -_j = new reparto_intmex.keymon.lat.httpjob(); - //BA.debugLineNum = 28;BA.debugLine="Dim ms As OutputStream"; -_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; -_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out2 = _startjob(_j,_ms,_tag); - //BA.debugLineNum = 31;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 32;BA.debugLine="WriteInt(Limit, out2)"; -_writeint(_limit,_out2); - //BA.debugLineNum = 33;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - //BA.debugLineNum = 34;BA.debugLine="out2.Close"; -_out2.Close(); - //BA.debugLineNum = 35;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=query",_ms.ToBytesArray()); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public byte[] _filetobytes(String _dir,String _filename) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 221;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; - //BA.debugLineNum = 222;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 223;BA.debugLine="out.InitializeToBytesArray(0)"; -_out.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 224;BA.debugLine="Dim In As InputStream = File.OpenInput(Dir, FileN"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); -_in = __c.File.OpenInput(_dir,_filename); - //BA.debugLineNum = 225;BA.debugLine="File.Copy2(In, out)"; -__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 226;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 227;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 228;BA.debugLine="End Sub"; -return null; -} -public reparto_intmex.keymon.lat.dbrequestmanager._dbresult _handlejob(reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +public reparto_intmex.keymon.lat.dbrequestmanager._dbresult _handlejob(reparto_intmex.keymon.lat.dbrequestmanager __ref,reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "handlejob", false)) + {return ((reparto_intmex.keymon.lat.dbrequestmanager._dbresult) Debug.delegate(ba, "handlejob", new Object[] {_job}));} anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; anywheresoftware.b4a.randomaccessfile.CompressedStreams _cs = null; float _serverversion = 0f; @@ -243,50 +168,69 @@ Object[] _rowobjects = null; int _col = 0; Object _o = null; int _rows = 0; - //BA.debugLineNum = 182;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; - //BA.debugLineNum = 184;BA.debugLine="Dim In As InputStream = Job.GetInputStream"; +RDebugUtils.currentLine=59179008; + //BA.debugLineNum = 59179008;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; +RDebugUtils.currentLine=59179010; + //BA.debugLineNum = 59179010;BA.debugLine="Dim In As InputStream = Job.GetInputStream"; _in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); -_in = _job._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (); - //BA.debugLineNum = 185;BA.debugLine="Dim cs As CompressedStreams"; +_in = _job._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (null); +RDebugUtils.currentLine=59179011; + //BA.debugLineNum = 59179011;BA.debugLine="Dim cs As CompressedStreams"; _cs = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 186;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; +RDebugUtils.currentLine=59179012; + //BA.debugLineNum = 59179012;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; _in = _cs.WrapInputStream((java.io.InputStream)(_in.getObject()),"gzip"); - //BA.debugLineNum = 187;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; -_serverversion = (float)(BA.ObjectToNumber(_readobject(_in))); - //BA.debugLineNum = 188;BA.debugLine="Dim method As String = ReadObject(In)"; -_method = BA.ObjectToString(_readobject(_in)); - //BA.debugLineNum = 189;BA.debugLine="Dim table As DBResult"; +RDebugUtils.currentLine=59179013; + //BA.debugLineNum = 59179013;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; +_serverversion = (float)(BA.ObjectToNumber(__ref._readobject /*Object*/ (null,_in))); +RDebugUtils.currentLine=59179014; + //BA.debugLineNum = 59179014;BA.debugLine="Dim method As String = ReadObject(In)"; +_method = BA.ObjectToString(__ref._readobject /*Object*/ (null,_in)); +RDebugUtils.currentLine=59179015; + //BA.debugLineNum = 59179015;BA.debugLine="Dim table As DBResult"; _table = new reparto_intmex.keymon.lat.dbrequestmanager._dbresult(); - //BA.debugLineNum = 190;BA.debugLine="table.Initialize"; +RDebugUtils.currentLine=59179016; + //BA.debugLineNum = 59179016;BA.debugLine="table.Initialize"; _table.Initialize(); - //BA.debugLineNum = 191;BA.debugLine="table.Columns.Initialize"; +RDebugUtils.currentLine=59179017; + //BA.debugLineNum = 59179017;BA.debugLine="table.Columns.Initialize"; _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 192;BA.debugLine="table.rows.Initialize"; +RDebugUtils.currentLine=59179018; + //BA.debugLineNum = 59179018;BA.debugLine="table.rows.Initialize"; _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 193;BA.debugLine="table.Tag = Job.Tag"; +RDebugUtils.currentLine=59179019; + //BA.debugLineNum = 59179019;BA.debugLine="table.Tag = Job.Tag"; _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("824444940","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"; +RDebugUtils.currentLine=59179020; + //BA.debugLineNum = 59179020;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl"; +if ((__ref._jobtaganterior /*String*/ ).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) { +__c.LogImpl("259179020","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);}; +RDebugUtils.currentLine=59179021; + //BA.debugLineNum = 59179021;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211023"; +__ref._jobtaganterior /*String*/ = BA.ObjectToString(_job._tag /*Object*/ ); +RDebugUtils.currentLine=59179022; + //BA.debugLineNum = 59179022;BA.debugLine="If method = \"query\" Then"; if ((_method).equals("query")) { - //BA.debugLineNum = 197;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; -_numberofcolumns = _readint(_in); - //BA.debugLineNum = 198;BA.debugLine="For i = 0 To numberOfColumns - 1"; +RDebugUtils.currentLine=59179023; + //BA.debugLineNum = 59179023;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; +_numberofcolumns = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=59179024; + //BA.debugLineNum = 59179024;BA.debugLine="For i = 0 To numberOfColumns - 1"; { final int step15 = 1; final int limit15 = (int) (_numberofcolumns-1); _i = (int) (0) ; for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 199;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; -_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_readobject(_in),(Object)(_i)); +RDebugUtils.currentLine=59179025; + //BA.debugLineNum = 59179025;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; +_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put(__ref._readobject /*Object*/ (null,_in),(Object)(_i)); } }; - //BA.debugLineNum = 201;BA.debugLine="Do While ReadByte(In) = 1"; -while (_readbyte(_in)==1) { - //BA.debugLineNum = 202;BA.debugLine="Dim rowObjects(numberOfColumns) As Object"; +RDebugUtils.currentLine=59179027; + //BA.debugLineNum = 59179027;BA.debugLine="Do While ReadByte(In) = 1"; +while (__ref._readbyte /*byte*/ (null,_in)==1) { +RDebugUtils.currentLine=59179028; + //BA.debugLineNum = 59179028;BA.debugLine="Dim rowObjects(numberOfColumns) As Object"; _rowobjects = new Object[_numberofcolumns]; { int d0 = _rowobjects.length; @@ -295,308 +239,417 @@ _rowobjects[i0] = new Object(); } } ; - //BA.debugLineNum = 203;BA.debugLine="table.rows.Add(rowObjects)"; +RDebugUtils.currentLine=59179029; + //BA.debugLineNum = 59179029;BA.debugLine="table.rows.Add(rowObjects)"; _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_rowobjects)); - //BA.debugLineNum = 204;BA.debugLine="For col = 0 To numberOfColumns - 1"; +RDebugUtils.currentLine=59179030; + //BA.debugLineNum = 59179030;BA.debugLine="For col = 0 To numberOfColumns - 1"; { final int step21 = 1; final int limit21 = (int) (_numberofcolumns-1); _col = (int) (0) ; for (;_col <= limit21 ;_col = _col + step21 ) { - //BA.debugLineNum = 205;BA.debugLine="Dim o As Object = ReadObject(In)"; -_o = _readobject(_in); - //BA.debugLineNum = 206;BA.debugLine="rowObjects(col) = o"; +RDebugUtils.currentLine=59179031; + //BA.debugLineNum = 59179031;BA.debugLine="Dim o As Object = ReadObject(In)"; +_o = __ref._readobject /*Object*/ (null,_in); +RDebugUtils.currentLine=59179032; + //BA.debugLineNum = 59179032;BA.debugLine="rowObjects(col) = o"; _rowobjects[_col] = _o; } }; } ; - }else if((_method).equals("batch")) { - //BA.debugLineNum = 210;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; + }else +{RDebugUtils.currentLine=59179035; + //BA.debugLineNum = 59179035;BA.debugLine="Else If method = \"batch\" Then"; +if ((_method).equals("batch")) { +RDebugUtils.currentLine=59179036; + //BA.debugLineNum = 59179036;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("AffectedRows"),(Object)(0)); - //BA.debugLineNum = 211;BA.debugLine="Dim rows As Int = ReadInt(In)"; -_rows = _readint(_in); - //BA.debugLineNum = 212;BA.debugLine="For i = 0 To rows - 1"; +RDebugUtils.currentLine=59179037; + //BA.debugLineNum = 59179037;BA.debugLine="Dim rows As Int = ReadInt(In)"; +_rows = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=59179038; + //BA.debugLineNum = 59179038;BA.debugLine="For i = 0 To rows - 1"; { final int step29 = 1; final int limit29 = (int) (_rows-1); _i = (int) (0) ; for (;_i <= limit29 ;_i = _i + step29 ) { - //BA.debugLineNum = 213;BA.debugLine="table.rows.Add(Array As Object(ReadInt(In)))"; -_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(new Object[]{(Object)(_readint(_in))})); +RDebugUtils.currentLine=59179039; + //BA.debugLineNum = 59179039;BA.debugLine="table.rows.Add(Array As Object(ReadInt(In)))"; +_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(new Object[]{(Object)(__ref._readint /*int*/ (null,_in))})); } }; - }; - //BA.debugLineNum = 216;BA.debugLine="In.Close"; + }} +; +RDebugUtils.currentLine=59179042; + //BA.debugLineNum = 59179042;BA.debugLine="In.Close"; _in.Close(); - //BA.debugLineNum = 217;BA.debugLine="Return table"; +RDebugUtils.currentLine=59179043; + //BA.debugLineNum = 59179043;BA.debugLine="Return table"; if (true) return _table; - //BA.debugLineNum = 218;BA.debugLine="End Sub"; +RDebugUtils.currentLine=59179044; + //BA.debugLineNum = 59179044;BA.debugLine="End Sub"; return null; } -public byte[] _imagetobytes(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 231;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; - //BA.debugLineNum = 232;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 233;BA.debugLine="out.InitializeToBytesArray(0)"; -_out.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 234;BA.debugLine="Image.WriteToStream(out, 100, \"JPEG\")"; -_image.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG")); - //BA.debugLineNum = 235;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 236;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 237;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _target,String _connectorlink) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; - //BA.debugLineNum = 18;BA.debugLine="mTarget = Target"; -_mtarget = _target; - //BA.debugLineNum = 19;BA.debugLine="link = ConnectorLink"; -_link = _connectorlink; - //BA.debugLineNum = 20;BA.debugLine="End Sub"; +public String _executecommand(reparto_intmex.keymon.lat.dbrequestmanager __ref,reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _command,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executecommand", false)) + {return ((String) Debug.delegate(ba, "executecommand", new Object[] {_command,_tag}));} +RDebugUtils.currentLine=58589184; + //BA.debugLineNum = 58589184;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; +RDebugUtils.currentLine=58589185; + //BA.debugLineNum = 58589185;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; +__ref._executebatch /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand[]{_command}),_tag); +RDebugUtils.currentLine=58589186; + //BA.debugLineNum = 58589186;BA.debugLine="End Sub"; return ""; } -public String _printtable(reparto_intmex.keymon.lat.dbrequestmanager._dbresult _table) throws Exception{ -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -Object _col = null; -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("824707073","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"; -_sb.Initialize(); - //BA.debugLineNum = 252;BA.debugLine="For Each col In Table.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group4 = _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen4 = group4.getSize() -;int index4 = 0; +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bytestoimage(reparto_intmex.keymon.lat.dbrequestmanager __ref,byte[] _bytes) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "bytestoimage", false)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "bytestoimage", new Object[] {_bytes}));} +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +RDebugUtils.currentLine=59375616; + //BA.debugLineNum = 59375616;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; +RDebugUtils.currentLine=59375617; + //BA.debugLineNum = 59375617;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=59375618; + //BA.debugLineNum = 59375618;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; +_in.InitializeFromBytesArray(_bytes,(int) (0),_bytes.length); +RDebugUtils.currentLine=59375619; + //BA.debugLineNum = 59375619;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=59375620; + //BA.debugLineNum = 59375620;BA.debugLine="bmp.Initialize2(In)"; +_bmp.Initialize2((java.io.InputStream)(_in.getObject())); +RDebugUtils.currentLine=59375621; + //BA.debugLineNum = 59375621;BA.debugLine="Return bmp"; +if (true) return _bmp; +RDebugUtils.currentLine=59375622; + //BA.debugLineNum = 59375622;BA.debugLine="End Sub"; +return null; +} +public String _class_globals(reparto_intmex.keymon.lat.dbrequestmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +RDebugUtils.currentLine=58327040; + //BA.debugLineNum = 58327040;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=58327041; + //BA.debugLineNum = 58327041;BA.debugLine="Private mTarget As Object"; +_mtarget = new Object(); +RDebugUtils.currentLine=58327042; + //BA.debugLineNum = 58327042;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; ; -for (; index4 < groupLen4;index4++){ -_col = group4.Get(index4); - //BA.debugLineNum = 253;BA.debugLine="sb.Append(col).Append(TAB)"; -_sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); - } -}; - //BA.debugLineNum = 255;BA.debugLine="Log(sb.ToString)"; -__c.LogImpl("824707079",_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*/ ; -final int groupLen8 = group8.getSize() -;int index8 = 0; +RDebugUtils.currentLine=58327043; + //BA.debugLineNum = 58327043;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; ; -for (; index8 < groupLen8;index8++){ -_row = (Object[])(group8.Get(index8)); - //BA.debugLineNum = 257;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 258;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 259;BA.debugLine="For Each record As Object In row"; +RDebugUtils.currentLine=58327044; + //BA.debugLineNum = 58327044;BA.debugLine="Private link As String"; +_link = ""; +RDebugUtils.currentLine=58327045; + //BA.debugLineNum = 58327045;BA.debugLine="Private bc As ByteConverter"; +_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); +RDebugUtils.currentLine=58327046; + //BA.debugLineNum = 58327046;BA.debugLine="Private T_NULL = 0, T_STRING = 1, T_SHORT = 2, T_"; +_t_null = (byte) (0); +_t_string = (byte) (1); +_t_short = (byte) (2); +_t_int = (byte) (3); +_t_long = (byte) (4); +_t_float = (byte) (5); +_t_double = (byte) (6); +_t_boolean = (byte) (7); +_t_blob = (byte) (8); +RDebugUtils.currentLine=58327048; + //BA.debugLineNum = 58327048;BA.debugLine="Private VERSION As Float = 0.9"; +_version = (float) (0.9); +RDebugUtils.currentLine=58327049; + //BA.debugLineNum = 58327049;BA.debugLine="Private tempArray(1) As Object"; +_temparray = new Object[(int) (1)]; { -final Object[] group11 = _row; -final int groupLen11 = group11.length -;int index11 = 0; +int d0 = _temparray.length; +for (int i0 = 0;i0 < d0;i0++) { +_temparray[i0] = new Object(); +} +} ; -for (; index11 < groupLen11;index11++){ -_record = group11[index11]; - //BA.debugLineNum = 260;BA.debugLine="sb.Append(record).Append(TAB)"; -_sb.Append(BA.ObjectToString(_record)).Append(__c.TAB); - } -}; - //BA.debugLineNum = 262;BA.debugLine="ToastMessageShow(sb.ToString, True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_sb.ToString()),__c.True); - } -}; - //BA.debugLineNum = 264;BA.debugLine="End Sub"; +RDebugUtils.currentLine=58327050; + //BA.debugLineNum = 58327050;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; +_jobtaganterior = ""; +RDebugUtils.currentLine=58327051; + //BA.debugLineNum = 58327051;BA.debugLine="End Sub"; return ""; } -public byte _readbyte(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 175;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; - //BA.debugLineNum = 176;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; +public String _executebatch(reparto_intmex.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.objects.collections.List _listofcommands,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executebatch", false)) + {return ((String) Debug.delegate(ba, "executebatch", new Object[] {_listofcommands,_tag}));} +reparto_intmex.keymon.lat.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; +reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _command = null; +RDebugUtils.currentLine=58523648; + //BA.debugLineNum = 58523648;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; +RDebugUtils.currentLine=58523649; + //BA.debugLineNum = 58523649;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_intmex.keymon.lat.httpjob(); +RDebugUtils.currentLine=58523650; + //BA.debugLineNum = 58523650;BA.debugLine="Dim ms As OutputStream"; +_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=58523651; + //BA.debugLineNum = 58523651;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; +_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out2 = __ref._startjob /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ (null,_j,_ms,_tag); +RDebugUtils.currentLine=58523652; + //BA.debugLineNum = 58523652;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; +__ref._writeint /*String*/ (null,_listofcommands.getSize(),_out2); +RDebugUtils.currentLine=58523653; + //BA.debugLineNum = 58523653;BA.debugLine="For Each Command As DBCommand In ListOfCommands"; +{ +final anywheresoftware.b4a.BA.IterableList group5 = _listofcommands; +final int groupLen5 = group5.getSize() +;int index5 = 0; ; - //BA.debugLineNum = 177;BA.debugLine="In.ReadBytes(data, 0, 1)"; -_in.ReadBytes(_data,(int) (0),(int) (1)); - //BA.debugLineNum = 178;BA.debugLine="Return data(0)"; -if (true) return _data[(int) (0)]; - //BA.debugLineNum = 179;BA.debugLine="End Sub"; -return (byte)0; -} -public byte[] _readbytesfully(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in,byte[] _data,int _len) throws Exception{ -int _count = 0; -int _read = 0; - //BA.debugLineNum = 155;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; - //BA.debugLineNum = 156;BA.debugLine="Dim count = 0, read As Int"; -_count = (int) (0); -_read = 0; - //BA.debugLineNum = 157;BA.debugLine="Do While count < Len And read > -1"; -while (_count<_len && _read>-1) { - //BA.debugLineNum = 158;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; -_read = _in.ReadBytes(_data,_count,(int) (_len-_count)); - //BA.debugLineNum = 159;BA.debugLine="count = count + read"; -_count = (int) (_count+_read); +for (; index5 < groupLen5;index5++){ +_command = (reparto_intmex.keymon.lat.dbrequestmanager._dbcommand)(group5.Get(index5)); +RDebugUtils.currentLine=58523654; + //BA.debugLineNum = 58523654;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=58523655; + //BA.debugLineNum = 58523655;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); } -; - //BA.debugLineNum = 161;BA.debugLine="Return Data"; -if (true) return _data; - //BA.debugLineNum = 162;BA.debugLine="End Sub"; -return null; +}; +RDebugUtils.currentLine=58523657; + //BA.debugLineNum = 58523657;BA.debugLine="out2.Close"; +_out2.Close(); +RDebugUtils.currentLine=58523658; + //BA.debugLineNum = 58523658;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=batch",_ms.ToBytesArray()); +RDebugUtils.currentLine=58523659; + //BA.debugLineNum = 58523659;BA.debugLine="End Sub"; +return ""; } -public int _readint(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 170;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; - //BA.debugLineNum = 171;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 172;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; -if (true) return _bc.IntsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]; - //BA.debugLineNum = 173;BA.debugLine="End Sub"; -return 0; -} -public Object _readobject(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; -byte _b = (byte)0; -int _len = 0; - //BA.debugLineNum = 119;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; - //BA.debugLineNum = 120;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 121;BA.debugLine="In.ReadBytes(data, 0, 1)"; -_in.ReadBytes(_data,(int) (0),(int) (1)); - //BA.debugLineNum = 122;BA.debugLine="Select data(0)"; -switch (BA.switchObjectToInt(_data[(int) (0)],_t_null,_t_short,_t_int,_t_long,_t_float,_t_double,_t_boolean,_t_blob)) { -case 0: { - //BA.debugLineNum = 124;BA.debugLine="Return Null"; -if (true) return __c.Null; - break; } -case 1: { - //BA.debugLineNum = 126;BA.debugLine="Dim data(2) As Byte"; -_data = new byte[(int) (2)]; -; - //BA.debugLineNum = 127;BA.debugLine="Return bc.ShortsFromBytes(ReadBytesFully(In, da"; -if (true) return (Object)(_bc.ShortsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 2: { - //BA.debugLineNum = 129;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 130;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data"; -if (true) return (Object)(_bc.IntsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 3: { - //BA.debugLineNum = 132;BA.debugLine="Dim data(8) As Byte"; -_data = new byte[(int) (8)]; -; - //BA.debugLineNum = 133;BA.debugLine="Return bc.LongsFromBytes(ReadBytesFully(In, dat"; -if (true) return (Object)(_bc.LongsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 4: { - //BA.debugLineNum = 135;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 136;BA.debugLine="Return bc.FloatsFromBytes(ReadBytesFully(In, da"; -if (true) return (Object)(_bc.FloatsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 5: { - //BA.debugLineNum = 138;BA.debugLine="Dim data(8) As Byte"; -_data = new byte[(int) (8)]; -; - //BA.debugLineNum = 139;BA.debugLine="Return bc.DoublesFromBytes(ReadBytesFully(In, d"; -if (true) return (Object)(_bc.DoublesFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 6: { - //BA.debugLineNum = 141;BA.debugLine="Dim b As Byte = ReadByte(In)"; -_b = _readbyte(_in); - //BA.debugLineNum = 142;BA.debugLine="Return b = 1"; -if (true) return (Object)(_b==1); - break; } -case 7: { - //BA.debugLineNum = 144;BA.debugLine="Dim len As Int = ReadInt(In)"; -_len = _readint(_in); - //BA.debugLineNum = 145;BA.debugLine="Dim data(len) As Byte"; -_data = new byte[_len]; -; - //BA.debugLineNum = 146;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; -if (true) return (Object)(_readbytesfully(_in,_data,_data.length)); - break; } -default: { - //BA.debugLineNum = 148;BA.debugLine="Dim len As Int = ReadInt(In)"; -_len = _readint(_in); - //BA.debugLineNum = 149;BA.debugLine="Dim data(len) As Byte"; -_data = new byte[_len]; -; - //BA.debugLineNum = 150;BA.debugLine="ReadBytesFully(In, data, data.Length)"; -_readbytesfully(_in,_data,_data.length); - //BA.debugLineNum = 151;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; -if (true) return (Object)(__c.BytesToString(_data,(int) (0),_data.length,"UTF8")); - break; } -} -; - //BA.debugLineNum = 153;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _startjob(reparto_intmex.keymon.lat.httpjob _j,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _memorystream,Object _tag) throws Exception{ +public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _startjob(reparto_intmex.keymon.lat.dbrequestmanager __ref,reparto_intmex.keymon.lat.httpjob _j,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _memorystream,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "startjob", false)) + {return ((anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper) Debug.delegate(ba, "startjob", new Object[] {_j,_memorystream,_tag}));} anywheresoftware.b4a.randomaccessfile.CompressedStreams _compress = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 59;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; - //BA.debugLineNum = 60;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; -_j._initialize /*String*/ (ba,"DBRequest",_mtarget); - //BA.debugLineNum = 61;BA.debugLine="j.Tag = Tag"; +RDebugUtils.currentLine=58654720; + //BA.debugLineNum = 58654720;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; +RDebugUtils.currentLine=58654721; + //BA.debugLineNum = 58654721;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; +_j._initialize /*String*/ (null,ba,"DBRequest",__ref._mtarget /*Object*/ ); +RDebugUtils.currentLine=58654722; + //BA.debugLineNum = 58654722;BA.debugLine="j.Tag = Tag"; _j._tag /*Object*/ = _tag; - //BA.debugLineNum = 62;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; +RDebugUtils.currentLine=58654723; + //BA.debugLineNum = 58654723;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; _memorystream.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 63;BA.debugLine="Dim compress As CompressedStreams"; +RDebugUtils.currentLine=58654724; + //BA.debugLineNum = 58654724;BA.debugLine="Dim compress As CompressedStreams"; _compress = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 64;BA.debugLine="Dim out As OutputStream = compress.WrapOutputStre"; +RDebugUtils.currentLine=58654725; + //BA.debugLineNum = 58654725;BA.debugLine="Dim out As OutputStream = compress.WrapOutputStre"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = _compress.WrapOutputStream((java.io.OutputStream)(_memorystream.getObject()),"gzip"); - //BA.debugLineNum = 65;BA.debugLine="WriteObject(VERSION, out)"; -_writeobject((Object)(_version),_out); - //BA.debugLineNum = 66;BA.debugLine="Return out"; +RDebugUtils.currentLine=58654726; + //BA.debugLineNum = 58654726;BA.debugLine="WriteObject(VERSION, out)"; +__ref._writeobject /*String*/ (null,(Object)(__ref._version /*float*/ ),_out); +RDebugUtils.currentLine=58654727; + //BA.debugLineNum = 58654727;BA.debugLine="Return out"; if (true) return _out; - //BA.debugLineNum = 67;BA.debugLine="End Sub"; +RDebugUtils.currentLine=58654728; + //BA.debugLineNum = 58654728;BA.debugLine="End Sub"; return null; } -public String _writeint(int _i,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +public String _writeint(reparto_intmex.keymon.lat.dbrequestmanager __ref,int _i,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writeint", false)) + {return ((String) Debug.delegate(ba, "writeint", new Object[] {_i,_out}));} byte[] _data = null; - //BA.debugLineNum = 164;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; - //BA.debugLineNum = 165;BA.debugLine="Dim data() As Byte"; +RDebugUtils.currentLine=58982400; + //BA.debugLineNum = 58982400;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; +RDebugUtils.currentLine=58982401; + //BA.debugLineNum = 58982401;BA.debugLine="Dim data() As Byte"; _data = new byte[(int) (0)]; ; - //BA.debugLineNum = 166;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; -_data = _bc.IntsToBytes(new int[]{_i}); - //BA.debugLineNum = 167;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +RDebugUtils.currentLine=58982402; + //BA.debugLineNum = 58982402;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsToBytes(new int[]{_i}); +RDebugUtils.currentLine=58982403; + //BA.debugLineNum = 58982403;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; _out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 168;BA.debugLine="End Sub"; +RDebugUtils.currentLine=58982404; + //BA.debugLineNum = 58982404;BA.debugLine="End Sub"; return ""; } -public String _writelist(anywheresoftware.b4a.objects.collections.List _parameters,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +public String _writeobject(reparto_intmex.keymon.lat.dbrequestmanager __ref,Object _o,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writeobject", false)) + {return ((String) Debug.delegate(ba, "writeobject", new Object[] {_o,_out}));} byte[] _data = null; -Object _o = null; - //BA.debugLineNum = 69;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; - //BA.debugLineNum = 70;BA.debugLine="Dim data() As Byte"; +boolean _b = false; +RDebugUtils.currentLine=58785792; + //BA.debugLineNum = 58785792;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; +RDebugUtils.currentLine=58785793; + //BA.debugLineNum = 58785793;BA.debugLine="Dim data() As Byte"; _data = new byte[(int) (0)]; ; - //BA.debugLineNum = 71;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; +RDebugUtils.currentLine=58785794; + //BA.debugLineNum = 58785794;BA.debugLine="tempArray(0) = o"; +__ref._temparray /*Object[]*/ [(int) (0)] = _o; +RDebugUtils.currentLine=58785795; + //BA.debugLineNum = 58785795;BA.debugLine="If tempArray(0) = Null Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)]== null) { +RDebugUtils.currentLine=58785796; + //BA.debugLineNum = 58785796;BA.debugLine="out.WriteBytes(Array As Byte(T_NULL), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_null /*byte*/ },(int) (0),(int) (1)); + }else +{RDebugUtils.currentLine=58785797; + //BA.debugLineNum = 58785797;BA.debugLine="Else If tempArray(0) Is Short Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Short) { +RDebugUtils.currentLine=58785798; + //BA.debugLineNum = 58785798;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_short /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=58785799; + //BA.debugLineNum = 58785799;BA.debugLine="data = bc.ShortsToBytes(Array As Short(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .ShortsToBytes(new short[]{(short)(BA.ObjectToNumber(_o))}); + }else +{RDebugUtils.currentLine=58785800; + //BA.debugLineNum = 58785800;BA.debugLine="Else If tempArray(0) Is Int Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Integer) { +RDebugUtils.currentLine=58785801; + //BA.debugLineNum = 58785801;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_int /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=58785802; + //BA.debugLineNum = 58785802;BA.debugLine="data = bc.IntsToBytes(Array As Int(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsToBytes(new int[]{(int)(BA.ObjectToNumber(_o))}); + }else +{RDebugUtils.currentLine=58785803; + //BA.debugLineNum = 58785803;BA.debugLine="Else If tempArray(0) Is Float Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Float) { +RDebugUtils.currentLine=58785804; + //BA.debugLineNum = 58785804;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_float /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=58785805; + //BA.debugLineNum = 58785805;BA.debugLine="data = bc.FloatsToBytes(Array As Float(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .FloatsToBytes(new float[]{(float)(BA.ObjectToNumber(_o))}); + }else +{RDebugUtils.currentLine=58785806; + //BA.debugLineNum = 58785806;BA.debugLine="Else If tempArray(0) Is Double Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Double) { +RDebugUtils.currentLine=58785807; + //BA.debugLineNum = 58785807;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_double /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=58785808; + //BA.debugLineNum = 58785808;BA.debugLine="data = bc.DoublesToBytes(Array As Double(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .DoublesToBytes(new double[]{(double)(BA.ObjectToNumber(_o))}); + }else +{RDebugUtils.currentLine=58785809; + //BA.debugLineNum = 58785809;BA.debugLine="Else If tempArray(0) Is Long Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Long) { +RDebugUtils.currentLine=58785810; + //BA.debugLineNum = 58785810;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_long /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=58785811; + //BA.debugLineNum = 58785811;BA.debugLine="data = bc.LongsToBytes(Array As Long(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .LongsToBytes(new long[]{BA.ObjectToLongNumber(_o)}); + }else +{RDebugUtils.currentLine=58785812; + //BA.debugLineNum = 58785812;BA.debugLine="Else If tempArray(0) Is Boolean Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Boolean) { +RDebugUtils.currentLine=58785813; + //BA.debugLineNum = 58785813;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_boolean /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=58785814; + //BA.debugLineNum = 58785814;BA.debugLine="Dim b As Boolean = 0"; +_b = BA.ObjectToBoolean(0); +RDebugUtils.currentLine=58785815; + //BA.debugLineNum = 58785815;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=58785816; + //BA.debugLineNum = 58785816;BA.debugLine="If b Then data(0) = 1 Else data(0) = 0"; +if (_b) { +_data[(int) (0)] = (byte) (1);} +else { +_data[(int) (0)] = (byte) (0);}; + }else +{RDebugUtils.currentLine=58785817; + //BA.debugLineNum = 58785817;BA.debugLine="Else If GetType(tempArray(0)) = \"[B\" Then"; +if ((__c.GetType(__ref._temparray /*Object[]*/ [(int) (0)])).equals("[B")) { +RDebugUtils.currentLine=58785818; + //BA.debugLineNum = 58785818;BA.debugLine="data = o"; +_data = (byte[])(_o); +RDebugUtils.currentLine=58785819; + //BA.debugLineNum = 58785819;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_blob /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=58785820; + //BA.debugLineNum = 58785820;BA.debugLine="WriteInt(data.Length, out)"; +__ref._writeint /*String*/ (null,_data.length,_out); + }else { +RDebugUtils.currentLine=58785822; + //BA.debugLineNum = 58785822;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_string /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=58785823; + //BA.debugLineNum = 58785823;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .StringToBytes(BA.ObjectToString(_o),"UTF8"); +RDebugUtils.currentLine=58785824; + //BA.debugLineNum = 58785824;BA.debugLine="WriteInt(data.Length, out)"; +__ref._writeint /*String*/ (null,_data.length,_out); + }}}}}}}} +; +RDebugUtils.currentLine=58785826; + //BA.debugLineNum = 58785826;BA.debugLine="If data.Length > 0 Then out.WriteBytes(data, 0, d"; +if (_data.length>0) { +_out.WriteBytes(_data,(int) (0),_data.length);}; +RDebugUtils.currentLine=58785827; + //BA.debugLineNum = 58785827;BA.debugLine="End Sub"; +return ""; +} +public String _writelist(reparto_intmex.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.objects.collections.List _parameters,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writelist", false)) + {return ((String) Debug.delegate(ba, "writelist", new Object[] {_parameters,_out}));} +byte[] _data = null; +Object _o = null; +RDebugUtils.currentLine=58720256; + //BA.debugLineNum = 58720256;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; +RDebugUtils.currentLine=58720257; + //BA.debugLineNum = 58720257;BA.debugLine="Dim data() As Byte"; +_data = new byte[(int) (0)]; +; +RDebugUtils.currentLine=58720258; + //BA.debugLineNum = 58720258;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; if (_parameters== null || _parameters.IsInitialized()==__c.False) { - //BA.debugLineNum = 72;BA.debugLine="Dim Parameters As List"; +RDebugUtils.currentLine=58720259; + //BA.debugLineNum = 58720259;BA.debugLine="Dim Parameters As List"; _parameters = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 73;BA.debugLine="Parameters.Initialize"; +RDebugUtils.currentLine=58720260; + //BA.debugLineNum = 58720260;BA.debugLine="Parameters.Initialize"; _parameters.Initialize(); }; - //BA.debugLineNum = 75;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; -_data = _bc.IntsToBytes(new int[]{_parameters.getSize()}); - //BA.debugLineNum = 76;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +RDebugUtils.currentLine=58720262; + //BA.debugLineNum = 58720262;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsToBytes(new int[]{_parameters.getSize()}); +RDebugUtils.currentLine=58720263; + //BA.debugLineNum = 58720263;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; _out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 77;BA.debugLine="For Each o As Object In Parameters"; +RDebugUtils.currentLine=58720264; + //BA.debugLineNum = 58720264;BA.debugLine="For Each o As Object In Parameters"; { final anywheresoftware.b4a.BA.IterableList group8 = _parameters; final int groupLen8 = group8.getSize() @@ -604,87 +657,330 @@ final int groupLen8 = group8.getSize() ; for (; index8 < groupLen8;index8++){ _o = group8.Get(index8); - //BA.debugLineNum = 78;BA.debugLine="WriteObject(o, out)"; -_writeobject(_o,_out); +RDebugUtils.currentLine=58720265; + //BA.debugLineNum = 58720265;BA.debugLine="WriteObject(o, out)"; +__ref._writeobject /*String*/ (null,_o,_out); } }; - //BA.debugLineNum = 80;BA.debugLine="End Sub"; +RDebugUtils.currentLine=58720267; + //BA.debugLineNum = 58720267;BA.debugLine="End Sub"; return ""; } -public String _writeobject(Object _o,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +public byte[] _filetobytes(reparto_intmex.keymon.lat.dbrequestmanager __ref,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "filetobytes", false)) + {return ((byte[]) Debug.delegate(ba, "filetobytes", new Object[] {_dir,_filename}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +RDebugUtils.currentLine=59244544; + //BA.debugLineNum = 59244544;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; +RDebugUtils.currentLine=59244545; + //BA.debugLineNum = 59244545;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=59244546; + //BA.debugLineNum = 59244546;BA.debugLine="out.InitializeToBytesArray(0)"; +_out.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=59244547; + //BA.debugLineNum = 59244547;BA.debugLine="Dim In As InputStream = File.OpenInput(Dir, FileN"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +_in = __c.File.OpenInput(_dir,_filename); +RDebugUtils.currentLine=59244548; + //BA.debugLineNum = 59244548;BA.debugLine="File.Copy2(In, out)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=59244549; + //BA.debugLineNum = 59244549;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=59244550; + //BA.debugLineNum = 59244550;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=59244551; + //BA.debugLineNum = 59244551;BA.debugLine="End Sub"; +return null; +} +public Object _readobject(reparto_intmex.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readobject", false)) + {return ((Object) Debug.delegate(ba, "readobject", new Object[] {_in}));} byte[] _data = null; -boolean _b = false; - //BA.debugLineNum = 82;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; - //BA.debugLineNum = 83;BA.debugLine="Dim data() As Byte"; -_data = new byte[(int) (0)]; -; - //BA.debugLineNum = 84;BA.debugLine="tempArray(0) = o"; -_temparray[(int) (0)] = _o; - //BA.debugLineNum = 85;BA.debugLine="If tempArray(0) = Null Then"; -if (_temparray[(int) (0)]== null) { - //BA.debugLineNum = 86;BA.debugLine="out.WriteBytes(Array As Byte(T_NULL), 0, 1)"; -_out.WriteBytes(new byte[]{_t_null},(int) (0),(int) (1)); - }else if(_temparray[(int) (0)] instanceof Short) { - //BA.debugLineNum = 88;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_short},(int) (0),(int) (1)); - //BA.debugLineNum = 89;BA.debugLine="data = bc.ShortsToBytes(Array As Short(o))"; -_data = _bc.ShortsToBytes(new short[]{(short)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Integer) { - //BA.debugLineNum = 91;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_int},(int) (0),(int) (1)); - //BA.debugLineNum = 92;BA.debugLine="data = bc.IntsToBytes(Array As Int(o))"; -_data = _bc.IntsToBytes(new int[]{(int)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Float) { - //BA.debugLineNum = 94;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_float},(int) (0),(int) (1)); - //BA.debugLineNum = 95;BA.debugLine="data = bc.FloatsToBytes(Array As Float(o))"; -_data = _bc.FloatsToBytes(new float[]{(float)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Double) { - //BA.debugLineNum = 97;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; -_out.WriteBytes(new byte[]{_t_double},(int) (0),(int) (1)); - //BA.debugLineNum = 98;BA.debugLine="data = bc.DoublesToBytes(Array As Double(o))"; -_data = _bc.DoublesToBytes(new double[]{(double)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Long) { - //BA.debugLineNum = 100;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; -_out.WriteBytes(new byte[]{_t_long},(int) (0),(int) (1)); - //BA.debugLineNum = 101;BA.debugLine="data = bc.LongsToBytes(Array As Long(o))"; -_data = _bc.LongsToBytes(new long[]{BA.ObjectToLongNumber(_o)}); - }else if(_temparray[(int) (0)] instanceof Boolean) { - //BA.debugLineNum = 103;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; -_out.WriteBytes(new byte[]{_t_boolean},(int) (0),(int) (1)); - //BA.debugLineNum = 104;BA.debugLine="Dim b As Boolean = 0"; -_b = BA.ObjectToBoolean(0); - //BA.debugLineNum = 105;BA.debugLine="Dim data(1) As Byte"; +byte _b = (byte)0; +int _len = 0; +RDebugUtils.currentLine=58851328; + //BA.debugLineNum = 58851328;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; +RDebugUtils.currentLine=58851329; + //BA.debugLineNum = 58851329;BA.debugLine="Dim data(1) As Byte"; _data = new byte[(int) (1)]; ; - //BA.debugLineNum = 106;BA.debugLine="If b Then data(0) = 1 Else data(0) = 0"; -if (_b) { -_data[(int) (0)] = (byte) (1);} -else { -_data[(int) (0)] = (byte) (0);}; - }else if((__c.GetType(_temparray[(int) (0)])).equals("[B")) { - //BA.debugLineNum = 108;BA.debugLine="data = o"; -_data = (byte[])(_o); - //BA.debugLineNum = 109;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; -_out.WriteBytes(new byte[]{_t_blob},(int) (0),(int) (1)); - //BA.debugLineNum = 110;BA.debugLine="WriteInt(data.Length, out)"; -_writeint(_data.length,_out); - }else { - //BA.debugLineNum = 112;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; -_out.WriteBytes(new byte[]{_t_string},(int) (0),(int) (1)); - //BA.debugLineNum = 113;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; -_data = _bc.StringToBytes(BA.ObjectToString(_o),"UTF8"); - //BA.debugLineNum = 114;BA.debugLine="WriteInt(data.Length, out)"; -_writeint(_data.length,_out); - }; - //BA.debugLineNum = 116;BA.debugLine="If data.Length > 0 Then out.WriteBytes(data, 0, d"; -if (_data.length>0) { -_out.WriteBytes(_data,(int) (0),_data.length);}; - //BA.debugLineNum = 117;BA.debugLine="End Sub"; +RDebugUtils.currentLine=58851330; + //BA.debugLineNum = 58851330;BA.debugLine="In.ReadBytes(data, 0, 1)"; +_in.ReadBytes(_data,(int) (0),(int) (1)); +RDebugUtils.currentLine=58851331; + //BA.debugLineNum = 58851331;BA.debugLine="Select data(0)"; +switch (BA.switchObjectToInt(_data[(int) (0)],__ref._t_null /*byte*/ ,__ref._t_short /*byte*/ ,__ref._t_int /*byte*/ ,__ref._t_long /*byte*/ ,__ref._t_float /*byte*/ ,__ref._t_double /*byte*/ ,__ref._t_boolean /*byte*/ ,__ref._t_blob /*byte*/ )) { +case 0: { +RDebugUtils.currentLine=58851333; + //BA.debugLineNum = 58851333;BA.debugLine="Return Null"; +if (true) return __c.Null; + break; } +case 1: { +RDebugUtils.currentLine=58851335; + //BA.debugLineNum = 58851335;BA.debugLine="Dim data(2) As Byte"; +_data = new byte[(int) (2)]; +; +RDebugUtils.currentLine=58851336; + //BA.debugLineNum = 58851336;BA.debugLine="Return bc.ShortsFromBytes(ReadBytesFully(In, da"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .ShortsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 2: { +RDebugUtils.currentLine=58851338; + //BA.debugLineNum = 58851338;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=58851339; + //BA.debugLineNum = 58851339;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 3: { +RDebugUtils.currentLine=58851341; + //BA.debugLineNum = 58851341;BA.debugLine="Dim data(8) As Byte"; +_data = new byte[(int) (8)]; +; +RDebugUtils.currentLine=58851342; + //BA.debugLineNum = 58851342;BA.debugLine="Return bc.LongsFromBytes(ReadBytesFully(In, dat"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .LongsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 4: { +RDebugUtils.currentLine=58851344; + //BA.debugLineNum = 58851344;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=58851345; + //BA.debugLineNum = 58851345;BA.debugLine="Return bc.FloatsFromBytes(ReadBytesFully(In, da"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .FloatsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 5: { +RDebugUtils.currentLine=58851347; + //BA.debugLineNum = 58851347;BA.debugLine="Dim data(8) As Byte"; +_data = new byte[(int) (8)]; +; +RDebugUtils.currentLine=58851348; + //BA.debugLineNum = 58851348;BA.debugLine="Return bc.DoublesFromBytes(ReadBytesFully(In, d"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .DoublesFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 6: { +RDebugUtils.currentLine=58851350; + //BA.debugLineNum = 58851350;BA.debugLine="Dim b As Byte = ReadByte(In)"; +_b = __ref._readbyte /*byte*/ (null,_in); +RDebugUtils.currentLine=58851351; + //BA.debugLineNum = 58851351;BA.debugLine="Return b = 1"; +if (true) return (Object)(_b==1); + break; } +case 7: { +RDebugUtils.currentLine=58851353; + //BA.debugLineNum = 58851353;BA.debugLine="Dim len As Int = ReadInt(In)"; +_len = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=58851354; + //BA.debugLineNum = 58851354;BA.debugLine="Dim data(len) As Byte"; +_data = new byte[_len]; +; +RDebugUtils.currentLine=58851355; + //BA.debugLineNum = 58851355;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; +if (true) return (Object)(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length)); + break; } +default: { +RDebugUtils.currentLine=58851357; + //BA.debugLineNum = 58851357;BA.debugLine="Dim len As Int = ReadInt(In)"; +_len = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=58851358; + //BA.debugLineNum = 58851358;BA.debugLine="Dim data(len) As Byte"; +_data = new byte[_len]; +; +RDebugUtils.currentLine=58851359; + //BA.debugLineNum = 58851359;BA.debugLine="ReadBytesFully(In, data, data.Length)"; +__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length); +RDebugUtils.currentLine=58851360; + //BA.debugLineNum = 58851360;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; +if (true) return (Object)(__c.BytesToString(_data,(int) (0),_data.length,"UTF8")); + break; } +} +; +RDebugUtils.currentLine=58851362; + //BA.debugLineNum = 58851362;BA.debugLine="End Sub"; +return null; +} +public int _readint(reparto_intmex.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readint", false)) + {return ((Integer) Debug.delegate(ba, "readint", new Object[] {_in}));} +byte[] _data = null; +RDebugUtils.currentLine=59047936; + //BA.debugLineNum = 59047936;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; +RDebugUtils.currentLine=59047937; + //BA.debugLineNum = 59047937;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=59047938; + //BA.debugLineNum = 59047938;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; +if (true) return __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]; +RDebugUtils.currentLine=59047939; + //BA.debugLineNum = 59047939;BA.debugLine="End Sub"; +return 0; +} +public byte _readbyte(reparto_intmex.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readbyte", false)) + {return ((Byte) Debug.delegate(ba, "readbyte", new Object[] {_in}));} +byte[] _data = null; +RDebugUtils.currentLine=59113472; + //BA.debugLineNum = 59113472;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; +RDebugUtils.currentLine=59113473; + //BA.debugLineNum = 59113473;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=59113474; + //BA.debugLineNum = 59113474;BA.debugLine="In.ReadBytes(data, 0, 1)"; +_in.ReadBytes(_data,(int) (0),(int) (1)); +RDebugUtils.currentLine=59113475; + //BA.debugLineNum = 59113475;BA.debugLine="Return data(0)"; +if (true) return _data[(int) (0)]; +RDebugUtils.currentLine=59113476; + //BA.debugLineNum = 59113476;BA.debugLine="End Sub"; +return (byte)0; +} +public byte[] _imagetobytes(reparto_intmex.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "imagetobytes", false)) + {return ((byte[]) Debug.delegate(ba, "imagetobytes", new Object[] {_image}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=59310080; + //BA.debugLineNum = 59310080;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; +RDebugUtils.currentLine=59310081; + //BA.debugLineNum = 59310081;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=59310082; + //BA.debugLineNum = 59310082;BA.debugLine="out.InitializeToBytesArray(0)"; +_out.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=59310083; + //BA.debugLineNum = 59310083;BA.debugLine="Image.WriteToStream(out, 100, \"JPEG\")"; +_image.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG")); +RDebugUtils.currentLine=59310084; + //BA.debugLineNum = 59310084;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=59310085; + //BA.debugLineNum = 59310085;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=59310086; + //BA.debugLineNum = 59310086;BA.debugLine="End Sub"; +return null; +} +public String _printtable(reparto_intmex.keymon.lat.dbrequestmanager __ref,reparto_intmex.keymon.lat.dbrequestmanager._dbresult _table) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "printtable", false)) + {return ((String) Debug.delegate(ba, "printtable", new Object[] {_table}));} +anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +Object _col = null; +Object[] _row = null; +Object _record = null; +RDebugUtils.currentLine=59441152; + //BA.debugLineNum = 59441152;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; +RDebugUtils.currentLine=59441153; + //BA.debugLineNum = 59441153;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; +__c.LogImpl("259441153","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); +RDebugUtils.currentLine=59441154; + //BA.debugLineNum = 59441154;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=59441155; + //BA.debugLineNum = 59441155;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=59441156; + //BA.debugLineNum = 59441156;BA.debugLine="For Each col In Table.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group4 = _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen4 = group4.getSize() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_col = group4.Get(index4); +RDebugUtils.currentLine=59441157; + //BA.debugLineNum = 59441157;BA.debugLine="sb.Append(col).Append(TAB)"; +_sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); + } +}; +RDebugUtils.currentLine=59441159; + //BA.debugLineNum = 59441159;BA.debugLine="Log(sb.ToString)"; +__c.LogImpl("259441159",_sb.ToString(),0); +RDebugUtils.currentLine=59441160; + //BA.debugLineNum = 59441160;BA.debugLine="For Each row() As Object In Table.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group8 = _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen8 = group8.getSize() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_row = (Object[])(group8.Get(index8)); +RDebugUtils.currentLine=59441161; + //BA.debugLineNum = 59441161;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=59441162; + //BA.debugLineNum = 59441162;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=59441163; + //BA.debugLineNum = 59441163;BA.debugLine="For Each record As Object In row"; +{ +final Object[] group11 = _row; +final int groupLen11 = group11.length +;int index11 = 0; +; +for (; index11 < groupLen11;index11++){ +_record = group11[index11]; +RDebugUtils.currentLine=59441164; + //BA.debugLineNum = 59441164;BA.debugLine="sb.Append(record).Append(TAB)"; +_sb.Append(BA.ObjectToString(_record)).Append(__c.TAB); + } +}; +RDebugUtils.currentLine=59441166; + //BA.debugLineNum = 59441166;BA.debugLine="ToastMessageShow(sb.ToString, True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_sb.ToString()),__c.True); + } +}; +RDebugUtils.currentLine=59441168; + //BA.debugLineNum = 59441168;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public byte[] _readbytesfully(reparto_intmex.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in,byte[] _data,int _len) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readbytesfully", false)) + {return ((byte[]) Debug.delegate(ba, "readbytesfully", new Object[] {_in,_data,_len}));} +int _count = 0; +int _read = 0; +RDebugUtils.currentLine=58916864; + //BA.debugLineNum = 58916864;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; +RDebugUtils.currentLine=58916865; + //BA.debugLineNum = 58916865;BA.debugLine="Dim count = 0, read As Int"; +_count = (int) (0); +_read = 0; +RDebugUtils.currentLine=58916866; + //BA.debugLineNum = 58916866;BA.debugLine="Do While count < Len And read > -1"; +while (_count<_len && _read>-1) { +RDebugUtils.currentLine=58916867; + //BA.debugLineNum = 58916867;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; +_read = _in.ReadBytes(_data,_count,(int) (_len-_count)); +RDebugUtils.currentLine=58916868; + //BA.debugLineNum = 58916868;BA.debugLine="count = count + read"; +_count = (int) (_count+_read); + } +; +RDebugUtils.currentLine=58916870; + //BA.debugLineNum = 58916870;BA.debugLine="Return Data"; +if (true) return _data; +RDebugUtils.currentLine=58916871; + //BA.debugLineNum = 58916871;BA.debugLine="End Sub"; +return null; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/escposprinter.java b/B4A/Objects/src/reparto_intmex/keymon/lat/escposprinter.java index 4c60dc3..426b4ea 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/escposprinter.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/escposprinter.java @@ -10,7 +10,7 @@ public class escposprinter extends B4AClass.ImplB4AClass implements BA.SubDelega private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.escposprinter"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.escposprinter"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,30 @@ public class escposprinter extends B4AClass.ImplB4AClass implements BA.SubDelega ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public static class _animage{ +public boolean IsInitialized; +public int Width; +public int Height; +public byte[] Data; +public void Initialize() { +IsInitialized = true; +Width = 0; +Height = 0; +Data = new byte[0]; +; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; public double _version = 0; public String _eventname = ""; public Object _callback = null; @@ -61,10 +84,10 @@ public String _defaults = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -72,255 +95,432 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static class _animage{ -public boolean IsInitialized; -public int Width; -public int Height; -public byte[] Data; -public void Initialize() { -IsInitialized = true; -Width = 0; -Height = 0; -Data = new byte[0]; -; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _astream_error() throws Exception{ - //BA.debugLineNum = 1141;BA.debugLine="Private Sub AStream_Error"; - //BA.debugLineNum = 1142;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; -if (__c.SubExists(ba,_callback,_eventname+"_Error")) { - //BA.debugLineNum = 1143;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; -__c.CallSubNew(ba,_callback,_eventname+"_Error"); - }; - //BA.debugLineNum = 1145;BA.debugLine="End Sub"; +public String _initialize(reparto_intmex.keymon.lat.escposprinter __ref,anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_vcallback,_veventname}));} +RDebugUtils.currentLine=59572224; + //BA.debugLineNum = 59572224;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; +RDebugUtils.currentLine=59572225; + //BA.debugLineNum = 59572225;BA.debugLine="EventName = vEventName"; +__ref._eventname /*String*/ = _veventname; +RDebugUtils.currentLine=59572226; + //BA.debugLineNum = 59572226;BA.debugLine="CallBack = vCallback"; +__ref._callback /*Object*/ = _vcallback; +RDebugUtils.currentLine=59572227; + //BA.debugLineNum = 59572227;BA.debugLine="Serial1.Initialize(\"Serial1\")"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Serial1"); +RDebugUtils.currentLine=59572228; + //BA.debugLineNum = 59572228;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=59572229; + //BA.debugLineNum = 59572229;BA.debugLine="ConnectedError = \"\""; +__ref._connectederror /*String*/ = ""; +RDebugUtils.currentLine=59572230; + //BA.debugLineNum = 59572230;BA.debugLine="End Sub"; return ""; } -public String _astream_newdata(byte[] _buffer) throws Exception{ - //BA.debugLineNum = 1134;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; - //BA.debugLineNum = 1135;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; -if (__c.SubExists(ba,_callback,_eventname+"_NewData")) { - //BA.debugLineNum = 1136;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; -__c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer)); - }; - //BA.debugLineNum = 1138;BA.debugLine="Log(\"Data \" & Buffer(0))"; -__c.LogImpl("828246020","Data "+BA.NumberToString(_buffer[(int) (0)]),0); - //BA.debugLineNum = 1139;BA.debugLine="End Sub"; +public boolean _isconnected(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "isconnected", false)) + {return ((Boolean) Debug.delegate(ba, "isconnected", null));} +RDebugUtils.currentLine=59703296; + //BA.debugLineNum = 59703296;BA.debugLine="Public Sub IsConnected As Boolean"; +RDebugUtils.currentLine=59703297; + //BA.debugLineNum = 59703297;BA.debugLine="Return Connected"; +if (true) return __ref._connected /*boolean*/ ; +RDebugUtils.currentLine=59703298; + //BA.debugLineNum = 59703298;BA.debugLine="End Sub"; +return false; +} +public String _disconnect(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "disconnect", false)) + {return ((String) Debug.delegate(ba, "disconnect", null));} +RDebugUtils.currentLine=59899904; + //BA.debugLineNum = 59899904;BA.debugLine="Public Sub DisConnect"; +RDebugUtils.currentLine=59899905; + //BA.debugLineNum = 59899905;BA.debugLine="Serial1.Disconnect"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); +RDebugUtils.currentLine=59899906; + //BA.debugLineNum = 59899906;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=59899907; + //BA.debugLineNum = 59899907;BA.debugLine="End Sub"; return ""; } -public String _astream_terminated() throws Exception{ - //BA.debugLineNum = 1147;BA.debugLine="Private Sub AStream_Terminated"; - //BA.debugLineNum = 1148;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 1149;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; -if (__c.SubExists(ba,_callback,_eventname+"_Terminated")) { - //BA.debugLineNum = 1150;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; -__c.CallSubNew(ba,_callback,_eventname+"_Terminated"); - }; - //BA.debugLineNum = 1152;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 11;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; -_version = 2.0; - //BA.debugLineNum = 13;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; -; - //BA.debugLineNum = 15;BA.debugLine="Private EventName As String 'ignore"; -_eventname = ""; - //BA.debugLineNum = 16;BA.debugLine="Private CallBack As Object 'ignore"; -_callback = new Object(); - //BA.debugLineNum = 18;BA.debugLine="Private Serial1 As Serial"; -_serial1 = new anywheresoftware.b4a.objects.Serial(); - //BA.debugLineNum = 19;BA.debugLine="Private Astream As AsyncStreams"; -_astream = new anywheresoftware.b4a.randomaccessfile.AsyncStreams(); - //BA.debugLineNum = 20;BA.debugLine="Private Connected As Boolean"; -_connected = false; - //BA.debugLineNum = 21;BA.debugLine="Private ConnectedError As String"; -_connectederror = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim ESC As String = Chr(27)"; -_esc = BA.ObjectToString(__c.Chr((int) (27))); - //BA.debugLineNum = 24;BA.debugLine="Dim FS As String = Chr(28)"; -_fs = BA.ObjectToString(__c.Chr((int) (28))); - //BA.debugLineNum = 25;BA.debugLine="Dim GS As String = Chr(29)"; -_gs = BA.ObjectToString(__c.Chr((int) (29))); - //BA.debugLineNum = 28;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; -_unreverse = _gs+"B"+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 29;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; -_reverse = _gs+"B"+BA.ObjectToString(__c.Chr((int) (1))); - //BA.debugLineNum = 32;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; -_uninvert = _esc+"{0"; - //BA.debugLineNum = 33;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; -_invert = _esc+"{1"; - //BA.debugLineNum = 36;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; -_unrotate = _esc+"V0"; - //BA.debugLineNum = 37;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; -_rotate = _esc+"V1"; - //BA.debugLineNum = 40;BA.debugLine="Dim HT As String = Chr(9)"; -_ht = BA.ObjectToString(__c.Chr((int) (9))); - //BA.debugLineNum = 43;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; -_uline0 = _esc+"-0"; - //BA.debugLineNum = 44;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; -_uline1 = _esc+"-1"; - //BA.debugLineNum = 45;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; -_uline2 = _esc+"-2"; - //BA.debugLineNum = 48;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; -_bold = _esc+"E1"; - //BA.debugLineNum = 49;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; -_nobold = _esc+"E0"; - //BA.debugLineNum = 52;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; -_single = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x00))); - //BA.debugLineNum = 53;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; -_high = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x01))); - //BA.debugLineNum = 54;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; -_wide = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x10))); - //BA.debugLineNum = 55;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; -_highwide = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x11))); - //BA.debugLineNum = 58;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; -_leftjustify = _esc+"a0"; - //BA.debugLineNum = 59;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; -_linedefault = _esc+"2"; - //BA.debugLineNum = 60;BA.debugLine="Private LINSET0 As String = ESC & \"$\" & Chr(0x0)"; -_linset0 = _esc+"$"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); - //BA.debugLineNum = 61;BA.debugLine="Private LMARGIN0 As String = GS & \"L\" & Chr(0x0)"; -_lmargin0 = _gs+"L"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); - //BA.debugLineNum = 62;BA.debugLine="Private WIDTH0 As String = GS & \"W\" & Chr(0xff) &"; -_width0 = _gs+"W"+BA.ObjectToString(__c.Chr(((int)0xff)))+BA.ObjectToString(__c.Chr(((int)0xff))); - //BA.debugLineNum = 63;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; -_charspacing0 = _esc+" "+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 64;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; -_charfont0 = _esc+"M"+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 65;BA.debugLine="Dim DEFAULTS As String = CHARSPACING0 & CHARFONT"; -_defaults = _charspacing0+_charfont0+_lmargin0+_width0+_linset0+_linedefault+_leftjustify+_uninvert+_unrotate+_unreverse+_nobold+_uline0; - //BA.debugLineNum = 68;BA.debugLine="End Sub"; -return ""; -} -public boolean _connect() throws Exception{ +public boolean _connect(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "connect", false)) + {return ((Boolean) Debug.delegate(ba, "connect", null));} anywheresoftware.b4a.objects.collections.Map _paireddevices = null; anywheresoftware.b4a.objects.collections.List _l = null; int _i = 0; int _res = 0; - //BA.debugLineNum = 100;BA.debugLine="Public Sub Connect As Boolean"; - //BA.debugLineNum = 104;BA.debugLine="Try"; -try { //BA.debugLineNum = 105;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; +RDebugUtils.currentLine=59834368; + //BA.debugLineNum = 59834368;BA.debugLine="Public Sub Connect As Boolean"; +RDebugUtils.currentLine=59834372; + //BA.debugLineNum = 59834372;BA.debugLine="Try"; +try {RDebugUtils.currentLine=59834373; + //BA.debugLineNum = 59834373;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; if ((_starter._mac_impresora /*String*/ ).equals("0")) { - //BA.debugLineNum = 106;BA.debugLine="Dim PairedDevices As Map"; +RDebugUtils.currentLine=59834374; + //BA.debugLineNum = 59834374;BA.debugLine="Dim PairedDevices As Map"; _paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 107;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; -_paireddevices = _serial1.GetPairedDevices(); - //BA.debugLineNum = 108;BA.debugLine="Dim l As List"; +RDebugUtils.currentLine=59834375; + //BA.debugLineNum = 59834375;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; +_paireddevices = __ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices(); +RDebugUtils.currentLine=59834376; + //BA.debugLineNum = 59834376;BA.debugLine="Dim l As List"; _l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 109;BA.debugLine="l.Initialize"; +RDebugUtils.currentLine=59834377; + //BA.debugLineNum = 59834377;BA.debugLine="l.Initialize"; _l.Initialize(); - //BA.debugLineNum = 110;BA.debugLine="Log(\"aqui 1\")"; -__c.LogImpl("825100298","aqui 1",0); - //BA.debugLineNum = 111;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +RDebugUtils.currentLine=59834378; + //BA.debugLineNum = 59834378;BA.debugLine="Log(\"aqui 1\")"; +__c.LogImpl("259834378","aqui 1",0); +RDebugUtils.currentLine=59834379; + //BA.debugLineNum = 59834379;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; { final int step8 = 1; final int limit8 = (int) (_paireddevices.getSize()-1); _i = (int) (0) ; for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 112;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; +RDebugUtils.currentLine=59834380; + //BA.debugLineNum = 59834380;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; _l.Add(_paireddevices.GetKeyAt(_i)); - //BA.debugLineNum = 113;BA.debugLine="Log(\"aqui 2\")"; -__c.LogImpl("825100301","aqui 2",0); - //BA.debugLineNum = 114;BA.debugLine="DisConnect"; -_disconnect(); +RDebugUtils.currentLine=59834381; + //BA.debugLineNum = 59834381;BA.debugLine="Log(\"aqui 2\")"; +__c.LogImpl("259834381","aqui 2",0); +RDebugUtils.currentLine=59834382; + //BA.debugLineNum = 59834382;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); } }; - //BA.debugLineNum = 116;BA.debugLine="Dim Res As Int"; +RDebugUtils.currentLine=59834384; + //BA.debugLineNum = 59834384;BA.debugLine="Dim Res As Int"; _res = 0; - //BA.debugLineNum = 117;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; +RDebugUtils.currentLine=59834385; + //BA.debugLineNum = 59834385;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; _res = __c.InputList(_l,BA.ObjectToCharSequence("Choose a printer"),(int) (-1),getActivityBA()); - //BA.debugLineNum = 118;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; +RDebugUtils.currentLine=59834386; + //BA.debugLineNum = 59834386;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; if (_res!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 119;BA.debugLine="Serial1.Connect(PairedDevices.Get(l.Get(Res)))"; -_serial1.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_res)))); - //BA.debugLineNum = 121;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; +RDebugUtils.currentLine=59834387; + //BA.debugLineNum = 59834387;BA.debugLine="Serial1.Connect(PairedDevices.Get(l.Get(Res)))"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_res)))); +RDebugUtils.currentLine=59834389; + //BA.debugLineNum = 59834389;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; _starter._mac_impresora /*String*/ = BA.ObjectToString(_paireddevices.Get(_l.Get(_res))); - //BA.debugLineNum = 122;BA.debugLine="Return True"; +RDebugUtils.currentLine=59834390; + //BA.debugLineNum = 59834390;BA.debugLine="Return True"; if (true) return __c.True; - //BA.debugLineNum = 123;BA.debugLine="DisConnect"; -_disconnect(); - //BA.debugLineNum = 124;BA.debugLine="Log(\"aqui 3\")"; -__c.LogImpl("825100312","aqui 3",0); +RDebugUtils.currentLine=59834391; + //BA.debugLineNum = 59834391;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); +RDebugUtils.currentLine=59834392; + //BA.debugLineNum = 59834392;BA.debugLine="Log(\"aqui 3\")"; +__c.LogImpl("259834392","aqui 3",0); }; - //BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")"; -__c.LogImpl("825100314","aqui 4",0); - //BA.debugLineNum = 127;BA.debugLine="Return False"; +RDebugUtils.currentLine=59834394; + //BA.debugLineNum = 59834394;BA.debugLine="Log(\"aqui 4\")"; +__c.LogImpl("259834394","aqui 4",0); +RDebugUtils.currentLine=59834395; + //BA.debugLineNum = 59834395;BA.debugLine="Return False"; if (true) return __c.False; }else { - //BA.debugLineNum = 129;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; -_serial1.Connect(ba,_starter._mac_impresora /*String*/ ); - //BA.debugLineNum = 131;BA.debugLine="Return True"; +RDebugUtils.currentLine=59834397; + //BA.debugLineNum = 59834397;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,_starter._mac_impresora /*String*/ ); +RDebugUtils.currentLine=59834399; + //BA.debugLineNum = 59834399;BA.debugLine="Return True"; if (true) return __c.True; - //BA.debugLineNum = 132;BA.debugLine="DisConnect"; -_disconnect(); - //BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")"; -__c.LogImpl("825100321","aqui 5",0); +RDebugUtils.currentLine=59834400; + //BA.debugLineNum = 59834400;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); +RDebugUtils.currentLine=59834401; + //BA.debugLineNum = 59834401;BA.debugLine="Log(\"aqui 5\")"; +__c.LogImpl("259834401","aqui 5",0); }; } catch (Exception e31) { - ba.setLastException(e31); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)"; -__c.LogImpl("825100324",BA.ObjectToString(__c.LastException(getActivityBA())),0); - //BA.debugLineNum = 137;BA.debugLine="Return False"; + ba.setLastException(e31);RDebugUtils.currentLine=59834404; + //BA.debugLineNum = 59834404;BA.debugLine="Log(LastException)"; +__c.LogImpl("259834404",BA.ObjectToString(__c.LastException(getActivityBA())),0); +RDebugUtils.currentLine=59834405; + //BA.debugLineNum = 59834405;BA.debugLine="Return False"; if (true) return __c.False; }; - //BA.debugLineNum = 139;BA.debugLine="End Sub"; +RDebugUtils.currentLine=59834407; + //BA.debugLineNum = 59834407;BA.debugLine="End Sub"; return false; } -public String _connectederrormsg() throws Exception{ - //BA.debugLineNum = 84;BA.debugLine="Public Sub ConnectedErrorMsg As String"; - //BA.debugLineNum = 85;BA.debugLine="Return ConnectedError"; -if (true) return _connectederror; - //BA.debugLineNum = 86;BA.debugLine="End Sub"; +public String _astream_error(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_error", false)) + {return ((String) Debug.delegate(ba, "astream_error", null));} +RDebugUtils.currentLine=63045632; + //BA.debugLineNum = 63045632;BA.debugLine="Private Sub AStream_Error"; +RDebugUtils.currentLine=63045633; + //BA.debugLineNum = 63045633;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Error")) { +RDebugUtils.currentLine=63045634; + //BA.debugLineNum = 63045634;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Error"); + }; +RDebugUtils.currentLine=63045636; + //BA.debugLineNum = 63045636;BA.debugLine="End Sub"; return ""; } -public int _createbox(int _x0,int _y0,int _x1,int _y1,boolean _fill) throws Exception{ +public String _astream_newdata(reparto_intmex.keymon.lat.escposprinter __ref,byte[] _buffer) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_newdata", false)) + {return ((String) Debug.delegate(ba, "astream_newdata", new Object[] {_buffer}));} +RDebugUtils.currentLine=62980096; + //BA.debugLineNum = 62980096;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; +RDebugUtils.currentLine=62980097; + //BA.debugLineNum = 62980097;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_NewData")) { +RDebugUtils.currentLine=62980098; + //BA.debugLineNum = 62980098;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_NewData",(Object)(_buffer)); + }; +RDebugUtils.currentLine=62980100; + //BA.debugLineNum = 62980100;BA.debugLine="Log(\"Data \" & Buffer(0))"; +__c.LogImpl("262980100","Data "+BA.NumberToString(_buffer[(int) (0)]),0); +RDebugUtils.currentLine=62980101; + //BA.debugLineNum = 62980101;BA.debugLine="End Sub"; +return ""; +} +public String _astream_terminated(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_terminated", false)) + {return ((String) Debug.delegate(ba, "astream_terminated", null));} +RDebugUtils.currentLine=63111168; + //BA.debugLineNum = 63111168;BA.debugLine="Private Sub AStream_Terminated"; +RDebugUtils.currentLine=63111169; + //BA.debugLineNum = 63111169;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=63111170; + //BA.debugLineNum = 63111170;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Terminated")) { +RDebugUtils.currentLine=63111171; + //BA.debugLineNum = 63111171;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Terminated"); + }; +RDebugUtils.currentLine=63111173; + //BA.debugLineNum = 63111173;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +RDebugUtils.currentLine=59506688; + //BA.debugLineNum = 59506688;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=59506695; + //BA.debugLineNum = 59506695;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; +_version = 2.0; +RDebugUtils.currentLine=59506697; + //BA.debugLineNum = 59506697;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; +; +RDebugUtils.currentLine=59506699; + //BA.debugLineNum = 59506699;BA.debugLine="Private EventName As String 'ignore"; +_eventname = ""; +RDebugUtils.currentLine=59506700; + //BA.debugLineNum = 59506700;BA.debugLine="Private CallBack As Object 'ignore"; +_callback = new Object(); +RDebugUtils.currentLine=59506702; + //BA.debugLineNum = 59506702;BA.debugLine="Private Serial1 As Serial"; +_serial1 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=59506703; + //BA.debugLineNum = 59506703;BA.debugLine="Private Astream As AsyncStreams"; +_astream = new anywheresoftware.b4a.randomaccessfile.AsyncStreams(); +RDebugUtils.currentLine=59506704; + //BA.debugLineNum = 59506704;BA.debugLine="Private Connected As Boolean"; +_connected = false; +RDebugUtils.currentLine=59506705; + //BA.debugLineNum = 59506705;BA.debugLine="Private ConnectedError As String"; +_connectederror = ""; +RDebugUtils.currentLine=59506707; + //BA.debugLineNum = 59506707;BA.debugLine="Dim ESC As String = Chr(27)"; +_esc = BA.ObjectToString(__c.Chr((int) (27))); +RDebugUtils.currentLine=59506708; + //BA.debugLineNum = 59506708;BA.debugLine="Dim FS As String = Chr(28)"; +_fs = BA.ObjectToString(__c.Chr((int) (28))); +RDebugUtils.currentLine=59506709; + //BA.debugLineNum = 59506709;BA.debugLine="Dim GS As String = Chr(29)"; +_gs = BA.ObjectToString(__c.Chr((int) (29))); +RDebugUtils.currentLine=59506712; + //BA.debugLineNum = 59506712;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; +_unreverse = __ref._gs /*String*/ +"B"+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=59506713; + //BA.debugLineNum = 59506713;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; +_reverse = __ref._gs /*String*/ +"B"+BA.ObjectToString(__c.Chr((int) (1))); +RDebugUtils.currentLine=59506716; + //BA.debugLineNum = 59506716;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; +_uninvert = __ref._esc /*String*/ +"{0"; +RDebugUtils.currentLine=59506717; + //BA.debugLineNum = 59506717;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; +_invert = __ref._esc /*String*/ +"{1"; +RDebugUtils.currentLine=59506720; + //BA.debugLineNum = 59506720;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; +_unrotate = __ref._esc /*String*/ +"V0"; +RDebugUtils.currentLine=59506721; + //BA.debugLineNum = 59506721;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; +_rotate = __ref._esc /*String*/ +"V1"; +RDebugUtils.currentLine=59506724; + //BA.debugLineNum = 59506724;BA.debugLine="Dim HT As String = Chr(9)"; +_ht = BA.ObjectToString(__c.Chr((int) (9))); +RDebugUtils.currentLine=59506727; + //BA.debugLineNum = 59506727;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; +_uline0 = __ref._esc /*String*/ +"-0"; +RDebugUtils.currentLine=59506728; + //BA.debugLineNum = 59506728;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; +_uline1 = __ref._esc /*String*/ +"-1"; +RDebugUtils.currentLine=59506729; + //BA.debugLineNum = 59506729;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; +_uline2 = __ref._esc /*String*/ +"-2"; +RDebugUtils.currentLine=59506732; + //BA.debugLineNum = 59506732;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; +_bold = __ref._esc /*String*/ +"E1"; +RDebugUtils.currentLine=59506733; + //BA.debugLineNum = 59506733;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; +_nobold = __ref._esc /*String*/ +"E0"; +RDebugUtils.currentLine=59506736; + //BA.debugLineNum = 59506736;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; +_single = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x00))); +RDebugUtils.currentLine=59506737; + //BA.debugLineNum = 59506737;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; +_high = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x01))); +RDebugUtils.currentLine=59506738; + //BA.debugLineNum = 59506738;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; +_wide = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x10))); +RDebugUtils.currentLine=59506739; + //BA.debugLineNum = 59506739;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; +_highwide = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x11))); +RDebugUtils.currentLine=59506742; + //BA.debugLineNum = 59506742;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; +_leftjustify = __ref._esc /*String*/ +"a0"; +RDebugUtils.currentLine=59506743; + //BA.debugLineNum = 59506743;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; +_linedefault = __ref._esc /*String*/ +"2"; +RDebugUtils.currentLine=59506744; + //BA.debugLineNum = 59506744;BA.debugLine="Private LINSET0 As String = ESC & \"$\" & Chr(0x0)"; +_linset0 = __ref._esc /*String*/ +"$"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); +RDebugUtils.currentLine=59506745; + //BA.debugLineNum = 59506745;BA.debugLine="Private LMARGIN0 As String = GS & \"L\" & Chr(0x0)"; +_lmargin0 = __ref._gs /*String*/ +"L"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); +RDebugUtils.currentLine=59506746; + //BA.debugLineNum = 59506746;BA.debugLine="Private WIDTH0 As String = GS & \"W\" & Chr(0xff) &"; +_width0 = __ref._gs /*String*/ +"W"+BA.ObjectToString(__c.Chr(((int)0xff)))+BA.ObjectToString(__c.Chr(((int)0xff))); +RDebugUtils.currentLine=59506747; + //BA.debugLineNum = 59506747;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; +_charspacing0 = __ref._esc /*String*/ +" "+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=59506748; + //BA.debugLineNum = 59506748;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; +_charfont0 = __ref._esc /*String*/ +"M"+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=59506749; + //BA.debugLineNum = 59506749;BA.debugLine="Dim DEFAULTS As String = CHARSPACING0 & CHARFONT"; +_defaults = __ref._charspacing0 /*String*/ +__ref._charfont0 /*String*/ +__ref._lmargin0 /*String*/ +__ref._width0 /*String*/ +__ref._linset0 /*String*/ +__ref._linedefault /*String*/ +__ref._leftjustify /*String*/ +__ref._uninvert /*String*/ +__ref._unrotate /*String*/ +__ref._unreverse /*String*/ +__ref._nobold /*String*/ +__ref._uline0 /*String*/ ; +RDebugUtils.currentLine=59506752; + //BA.debugLineNum = 59506752;BA.debugLine="End Sub"; +return ""; +} +public String _connectederrormsg(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "connectederrormsg", false)) + {return ((String) Debug.delegate(ba, "connectederrormsg", null));} +RDebugUtils.currentLine=59637760; + //BA.debugLineNum = 59637760;BA.debugLine="Public Sub ConnectedErrorMsg As String"; +RDebugUtils.currentLine=59637761; + //BA.debugLineNum = 59637761;BA.debugLine="Return ConnectedError"; +if (true) return __ref._connectederror /*String*/ ; +RDebugUtils.currentLine=59637762; + //BA.debugLineNum = 59637762;BA.debugLine="End Sub"; +return ""; +} +public int _createbox(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createbox", false)) + {return ((Integer) Debug.delegate(ba, "createbox", new Object[] {_x0,_y0,_x1,_y1,_fill}));} int _box = 0; - //BA.debugLineNum = 520;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; - //BA.debugLineNum = 521;BA.debugLine="Dim box As Int = 0x10000000"; +RDebugUtils.currentLine=61407232; + //BA.debugLineNum = 61407232;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; +RDebugUtils.currentLine=61407233; + //BA.debugLineNum = 61407233;BA.debugLine="Dim box As Int = 0x10000000"; _box = ((int)0x10000000); - //BA.debugLineNum = 522;BA.debugLine="If fill Then box = box + 0x80000000"; +RDebugUtils.currentLine=61407234; + //BA.debugLineNum = 61407234;BA.debugLine="If fill Then box = box + 0x80000000"; if (_fill) { _box = (int) (_box+((int)0x80000000));}; - //BA.debugLineNum = 523;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +RDebugUtils.currentLine=61407235; + //BA.debugLineNum = 61407235;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; _box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 524;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +RDebugUtils.currentLine=61407236; + //BA.debugLineNum = 61407236;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; _box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 525;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +RDebugUtils.currentLine=61407237; + //BA.debugLineNum = 61407237;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; _box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 526;BA.debugLine="box = box + Bit.And(0x1f,y1)"; +RDebugUtils.currentLine=61407238; + //BA.debugLineNum = 61407238;BA.debugLine="box = box + Bit.And(0x1f,y1)"; _box = (int) (_box+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 527;BA.debugLine="Return box"; +RDebugUtils.currentLine=61407239; + //BA.debugLineNum = 61407239;BA.debugLine="Return box"; if (true) return _box; - //BA.debugLineNum = 528;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61407240; + //BA.debugLineNum = 61407240;BA.debugLine="End Sub"; return 0; } -public int _createcircle(int _radius,int _quadrants,int _x1,int _y1,boolean _fill) throws Exception{ +public int _createcircle(reparto_intmex.keymon.lat.escposprinter __ref,int _radius,int _quadrants,int _x1,int _y1,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createcircle", false)) + {return ((Integer) Debug.delegate(ba, "createcircle", new Object[] {_radius,_quadrants,_x1,_y1,_fill}));} int _circle = 0; - //BA.debugLineNum = 490;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; - //BA.debugLineNum = 491;BA.debugLine="Dim circle As Int = 0x20000000"; +RDebugUtils.currentLine=61276160; + //BA.debugLineNum = 61276160;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; +RDebugUtils.currentLine=61276161; + //BA.debugLineNum = 61276161;BA.debugLine="Dim circle As Int = 0x20000000"; _circle = ((int)0x20000000); - //BA.debugLineNum = 492;BA.debugLine="If fill Then circle = circle + 0x80000000"; +RDebugUtils.currentLine=61276162; + //BA.debugLineNum = 61276162;BA.debugLine="If fill Then circle = circle + 0x80000000"; if (_fill) { _circle = (int) (_circle+((int)0x80000000));}; - //BA.debugLineNum = 493;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; +RDebugUtils.currentLine=61276163; + //BA.debugLineNum = 61276163;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; _circle = (int) (_circle+__c.Bit.ShiftLeft(_radius,(int) (24))); - //BA.debugLineNum = 494;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; +RDebugUtils.currentLine=61276164; + //BA.debugLineNum = 61276164;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; _circle = (int) (_circle+__c.Bit.ShiftLeft(_quadrants,(int) (16))); - //BA.debugLineNum = 495;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; +RDebugUtils.currentLine=61276165; + //BA.debugLineNum = 61276165;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; _circle = (int) (_circle+__c.Bit.ShiftLeft(_x1,(int) (8))); - //BA.debugLineNum = 496;BA.debugLine="circle = circle + y1"; +RDebugUtils.currentLine=61276166; + //BA.debugLineNum = 61276166;BA.debugLine="circle = circle + y1"; _circle = (int) (_circle+_y1); - //BA.debugLineNum = 497;BA.debugLine="Return circle"; +RDebugUtils.currentLine=61276167; + //BA.debugLineNum = 61276167;BA.debugLine="Return circle"; if (true) return _circle; - //BA.debugLineNum = 498;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61276168; + //BA.debugLineNum = 61276168;BA.debugLine="End Sub"; return 0; } -public byte[] _createcustomcharacter(int[] _shapes,int _characterfont) throws Exception{ +public byte[] _createcustomcharacter(reparto_intmex.keymon.lat.escposprinter __ref,int[] _shapes,int _characterfont) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createcustomcharacter", false)) + {return ((byte[]) Debug.delegate(ba, "createcustomcharacter", new Object[] {_shapes,_characterfont}));} byte[] _masks = null; byte[][] _points = null; int _x = 0; @@ -340,27 +540,38 @@ int _y2 = 0; String _logmsg = ""; byte _bits = (byte)0; int _b = 0; - //BA.debugLineNum = 404;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; - //BA.debugLineNum = 405;BA.debugLine="Dim masks(8) As Byte"; +RDebugUtils.currentLine=61145088; + //BA.debugLineNum = 61145088;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; +RDebugUtils.currentLine=61145089; + //BA.debugLineNum = 61145089;BA.debugLine="Dim masks(8) As Byte"; _masks = new byte[(int) (8)]; ; - //BA.debugLineNum = 406;BA.debugLine="masks(0) = 0x80"; +RDebugUtils.currentLine=61145090; + //BA.debugLineNum = 61145090;BA.debugLine="masks(0) = 0x80"; _masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 407;BA.debugLine="masks(1) = 0x40"; +RDebugUtils.currentLine=61145091; + //BA.debugLineNum = 61145091;BA.debugLine="masks(1) = 0x40"; _masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 408;BA.debugLine="masks(2) = 0x20"; +RDebugUtils.currentLine=61145092; + //BA.debugLineNum = 61145092;BA.debugLine="masks(2) = 0x20"; _masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 409;BA.debugLine="masks(3) = 0x10"; +RDebugUtils.currentLine=61145093; + //BA.debugLineNum = 61145093;BA.debugLine="masks(3) = 0x10"; _masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 410;BA.debugLine="masks(4) = 0x08"; +RDebugUtils.currentLine=61145094; + //BA.debugLineNum = 61145094;BA.debugLine="masks(4) = 0x08"; _masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 411;BA.debugLine="masks(5) = 0x04"; +RDebugUtils.currentLine=61145095; + //BA.debugLineNum = 61145095;BA.debugLine="masks(5) = 0x04"; _masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 412;BA.debugLine="masks(6) = 0x02"; +RDebugUtils.currentLine=61145096; + //BA.debugLineNum = 61145096;BA.debugLine="masks(6) = 0x02"; _masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 413;BA.debugLine="masks(7) = 0x01"; +RDebugUtils.currentLine=61145097; + //BA.debugLineNum = 61145097;BA.debugLine="masks(7) = 0x01"; _masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 416;BA.debugLine="Dim points(16,32) As Byte"; +RDebugUtils.currentLine=61145100; + //BA.debugLineNum = 61145100;BA.debugLine="Dim points(16,32) As Byte"; _points = new byte[(int) (16)][]; { int d0 = _points.length; @@ -370,116 +581,157 @@ _points[i0] = new byte[d1]; } } ; - //BA.debugLineNum = 418;BA.debugLine="For x = 0 To 15"; +RDebugUtils.currentLine=61145102; + //BA.debugLineNum = 61145102;BA.debugLine="For x = 0 To 15"; { final int step11 = 1; final int limit11 = (int) (15); _x = (int) (0) ; for (;_x <= limit11 ;_x = _x + step11 ) { - //BA.debugLineNum = 419;BA.debugLine="For y = 0 To 31"; +RDebugUtils.currentLine=61145103; + //BA.debugLineNum = 61145103;BA.debugLine="For y = 0 To 31"; { final int step12 = 1; final int limit12 = (int) (31); _y = (int) (0) ; for (;_y <= limit12 ;_y = _y + step12 ) { - //BA.debugLineNum = 420;BA.debugLine="points(x,y) = 0"; +RDebugUtils.currentLine=61145104; + //BA.debugLineNum = 61145104;BA.debugLine="points(x,y) = 0"; _points[_x][_y] = (byte) (0); } }; } }; - //BA.debugLineNum = 423;BA.debugLine="Dim size As Int = 12"; +RDebugUtils.currentLine=61145107; + //BA.debugLineNum = 61145107;BA.debugLine="Dim size As Int = 12"; _size = (int) (12); - //BA.debugLineNum = 424;BA.debugLine="If characterfont = 1 Then size = 9"; +RDebugUtils.currentLine=61145108; + //BA.debugLineNum = 61145108;BA.debugLine="If characterfont = 1 Then size = 9"; if (_characterfont==1) { _size = (int) (9);}; - //BA.debugLineNum = 425;BA.debugLine="Dim charbyes(size * 3) As Byte"; +RDebugUtils.currentLine=61145109; + //BA.debugLineNum = 61145109;BA.debugLine="Dim charbyes(size * 3) As Byte"; _charbyes = new byte[(int) (_size*3)]; ; - //BA.debugLineNum = 426;BA.debugLine="For c = 0 To charbyes.Length - 1"; +RDebugUtils.currentLine=61145110; + //BA.debugLineNum = 61145110;BA.debugLine="For c = 0 To charbyes.Length - 1"; { final int step19 = 1; final int limit19 = (int) (_charbyes.length-1); _c = (int) (0) ; for (;_c <= limit19 ;_c = _c + step19 ) { - //BA.debugLineNum = 427;BA.debugLine="charbyes(c) = 0"; +RDebugUtils.currentLine=61145111; + //BA.debugLineNum = 61145111;BA.debugLine="charbyes(c) = 0"; _charbyes[_c] = (byte) (0); } }; - //BA.debugLineNum = 430;BA.debugLine="For i = 0 To shapes.Length -1"; +RDebugUtils.currentLine=61145114; + //BA.debugLineNum = 61145114;BA.debugLine="For i = 0 To shapes.Length -1"; { final int step22 = 1; final int limit22 = (int) (_shapes.length-1); _i = (int) (0) ; for (;_i <= limit22 ;_i = _i + step22 ) { - //BA.debugLineNum = 431;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; +RDebugUtils.currentLine=61145115; + //BA.debugLineNum = 61145115;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; _fill = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x80000000),_shapes[_i]),(int) (31)); - //BA.debugLineNum = 432;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; +RDebugUtils.currentLine=61145116; + //BA.debugLineNum = 61145116;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; _shape = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x70000000),_shapes[_i]),(int) (28)); - //BA.debugLineNum = 433;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=61145117; + //BA.debugLineNum = 61145117;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _x0 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x0f000000),_shapes[_i]),(int) (24)); - //BA.debugLineNum = 434;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=61145118; + //BA.debugLineNum = 61145118;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _y0 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x001f0000),_shapes[_i]),(int) (16)); - //BA.debugLineNum = 435;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=61145119; + //BA.debugLineNum = 61145119;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _x1 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x00000f00),_shapes[_i]),(int) (8)); - //BA.debugLineNum = 436;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; +RDebugUtils.currentLine=61145120; + //BA.debugLineNum = 61145120;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; _y1 = __c.Bit.And(((int)0x0000001f),_shapes[_i]); - //BA.debugLineNum = 437;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=61145121; + //BA.debugLineNum = 61145121;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _x2 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x0000f000),_shapes[_i]),(int) (12)); - //BA.debugLineNum = 438;BA.debugLine="Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=61145122; + //BA.debugLineNum = 61145122;BA.debugLine="Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _y2 = (int) (__c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x00e00000),_shapes[_i]),(int) (18))+__c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x000000e0),_shapes[_i]),(int) (5))); - //BA.debugLineNum = 444;BA.debugLine="Dim logmsg As String = \": Fill=\" & fill & \" : Po"; +RDebugUtils.currentLine=61145128; + //BA.debugLineNum = 61145128;BA.debugLine="Dim logmsg As String = \": Fill=\" & fill & \" : Po"; _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0)+","+BA.NumberToString(_y0)+" "+BA.NumberToString(_x1)+","+BA.NumberToString(_y1)+" "+BA.NumberToString(_x2)+","+BA.NumberToString(_y2); - //BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then"; +RDebugUtils.currentLine=61145129; + //BA.debugLineNum = 61145129;BA.debugLine="If shape = 3 Then"; if (_shape==3) { - //BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)"; -__c.LogImpl("826411050","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("826411053","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("826411056","Box "+_logmsg,0); - //BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; -_plotbox(_x0,_y0,_x1,_y1,_points,_fill); +RDebugUtils.currentLine=61145130; + //BA.debugLineNum = 61145130;BA.debugLine="Log(\"Triangle \" & logmsg)"; +__c.LogImpl("261145130","Triangle "+_logmsg,0); +RDebugUtils.currentLine=61145131; + //BA.debugLineNum = 61145131;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi"; +__ref._plottriangle /*String*/ (null,_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill); + }else +{RDebugUtils.currentLine=61145132; + //BA.debugLineNum = 61145132;BA.debugLine="else If shape = 2 Then"; +if (_shape==2) { +RDebugUtils.currentLine=61145133; + //BA.debugLineNum = 61145133;BA.debugLine="Log(\"Circle \" & logmsg)"; +__c.LogImpl("261145133","Circle "+_logmsg,0); +RDebugUtils.currentLine=61145134; + //BA.debugLineNum = 61145134;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; +__ref._plotcircle /*String*/ (null,_x0,_y0,_x1,_y1,_points,_fill); + }else +{RDebugUtils.currentLine=61145135; + //BA.debugLineNum = 61145135;BA.debugLine="Else If shape = 1 Then"; +if (_shape==1) { +RDebugUtils.currentLine=61145136; + //BA.debugLineNum = 61145136;BA.debugLine="Log(\"Box \" & logmsg)"; +__c.LogImpl("261145136","Box "+_logmsg,0); +RDebugUtils.currentLine=61145137; + //BA.debugLineNum = 61145137;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; +__ref._plotbox /*String*/ (null,_x0,_y0,_x1,_y1,_points,_fill); }else { - //BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)"; -__c.LogImpl("826411059","Line "+_logmsg,0); - //BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; -_plotline(_x0,_y0,_x1,_y1,_points); - }; - //BA.debugLineNum = 459;BA.debugLine="For x = 0 To size -1 ' 9 or 12 horizontal bytes"; +RDebugUtils.currentLine=61145139; + //BA.debugLineNum = 61145139;BA.debugLine="Log(\"Line \" & logmsg)"; +__c.LogImpl("261145139","Line "+_logmsg,0); +RDebugUtils.currentLine=61145140; + //BA.debugLineNum = 61145140;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }}} +; +RDebugUtils.currentLine=61145143; + //BA.debugLineNum = 61145143;BA.debugLine="For x = 0 To size -1 ' 9 or 12 horizontal bytes"; { final int step45 = 1; final int limit45 = (int) (_size-1); _x = (int) (0) ; for (;_x <= limit45 ;_x = _x + step45 ) { - //BA.debugLineNum = 460;BA.debugLine="For y = 0 To 2 ' 3 vertical bytes"; +RDebugUtils.currentLine=61145144; + //BA.debugLineNum = 61145144;BA.debugLine="For y = 0 To 2 ' 3 vertical bytes"; { final int step46 = 1; final int limit46 = (int) (2); _y = (int) (0) ; for (;_y <= limit46 ;_y = _y + step46 ) { - //BA.debugLineNum = 461;BA.debugLine="Dim bits As Byte = 0"; +RDebugUtils.currentLine=61145145; + //BA.debugLineNum = 61145145;BA.debugLine="Dim bits As Byte = 0"; _bits = (byte) (0); - //BA.debugLineNum = 462;BA.debugLine="For b = 0 To 7 ' 8 vertical bits"; +RDebugUtils.currentLine=61145146; + //BA.debugLineNum = 61145146;BA.debugLine="For b = 0 To 7 ' 8 vertical bits"; { final int step48 = 1; final int limit48 = (int) (7); _b = (int) (0) ; for (;_b <= limit48 ;_b = _b + step48 ) { - //BA.debugLineNum = 463;BA.debugLine="If points(x, y*8+b) <> 0 Then"; +RDebugUtils.currentLine=61145147; + //BA.debugLineNum = 61145147;BA.debugLine="If points(x, y*8+b) <> 0 Then"; if (_points[_x][(int) (_y*8+_b)]!=0) { - //BA.debugLineNum = 464;BA.debugLine="bits = Bit.Or(bits, masks(b))"; +RDebugUtils.currentLine=61145148; + //BA.debugLineNum = 61145148;BA.debugLine="bits = Bit.Or(bits, masks(b))"; _bits = (byte) (__c.Bit.Or((int) (_bits),(int) (_masks[_b]))); }; } }; - //BA.debugLineNum = 467;BA.debugLine="charbyes(x*3+y) = bits"; +RDebugUtils.currentLine=61145151; + //BA.debugLineNum = 61145151;BA.debugLine="charbyes(x*3+y) = bits"; _charbyes[(int) (_x*3+_y)] = _bits; } }; @@ -487,177 +739,456 @@ _charbyes[(int) (_x*3+_y)] = _bits; }; } }; - //BA.debugLineNum = 471;BA.debugLine="Return charbyes"; +RDebugUtils.currentLine=61145155; + //BA.debugLineNum = 61145155;BA.debugLine="Return charbyes"; if (true) return _charbyes; - //BA.debugLineNum = 472;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61145156; + //BA.debugLineNum = 61145156;BA.debugLine="End Sub"; return null; } -public int _createline(int _x0,int _y0,int _x1,int _y1) throws Exception{ +public String _plottriangle(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plottriangle", false)) + {return ((String) Debug.delegate(ba, "plottriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill}));} +RDebugUtils.currentLine=61472768; + //BA.debugLineNum = 61472768;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=61472770; + //BA.debugLineNum = 61472770;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y1,_points); +RDebugUtils.currentLine=61472771; + //BA.debugLineNum = 61472771;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; +__ref._plotline /*String*/ (null,_x1,_y1,_x2,_y2,_points); +RDebugUtils.currentLine=61472772; + //BA.debugLineNum = 61472772;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; +__ref._plotline /*String*/ (null,_x2,_y2,_x0,_y0,_points); +RDebugUtils.currentLine=61472773; + //BA.debugLineNum = 61472773;BA.debugLine="If Fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=61472774; + //BA.debugLineNum = 61472774;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; +__ref._filltriangle /*String*/ (null,_x0,_y0,_x1,_y1,_x2,_y2,_points); + }; +RDebugUtils.currentLine=61472776; + //BA.debugLineNum = 61472776;BA.debugLine="End Sub"; +return ""; +} +public String _plotcircle(reparto_intmex.keymon.lat.escposprinter __ref,int _radius,int _quadrants,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotcircle", false)) + {return ((String) Debug.delegate(ba, "plotcircle", new Object[] {_radius,_quadrants,_x1,_y1,_points,_fill}));} +int _mask = 0; +int _q = 0; +int _i = 0; +double _x = 0; +double _y = 0; +RDebugUtils.currentLine=61669376; + //BA.debugLineNum = 61669376;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; +RDebugUtils.currentLine=61669378; + //BA.debugLineNum = 61669378;BA.debugLine="Dim mask As Int = 1"; +_mask = (int) (1); +RDebugUtils.currentLine=61669379; + //BA.debugLineNum = 61669379;BA.debugLine="For q = 3 To 0 Step -1"; +{ +final int step2 = -1; +final int limit2 = (int) (0); +_q = (int) (3) ; +for (;_q >= limit2 ;_q = _q + step2 ) { +RDebugUtils.currentLine=61669380; + //BA.debugLineNum = 61669380;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; +if (__c.Bit.And(_quadrants,_mask)!=0) { +RDebugUtils.currentLine=61669381; + //BA.debugLineNum = 61669381;BA.debugLine="For i = q*90 To q*90+90 Step 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_q*90+90); +_i = (int) (_q*90) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=61669382; + //BA.debugLineNum = 61669382;BA.debugLine="Dim x,y As Double"; +_x = 0; +_y = 0; +RDebugUtils.currentLine=61669383; + //BA.debugLineNum = 61669383;BA.debugLine="x = x1 - SinD(i)*radius"; +_x = _x1-__c.SinD(_i)*_radius; +RDebugUtils.currentLine=61669384; + //BA.debugLineNum = 61669384;BA.debugLine="y = y1 - CosD(i)*radius"; +_y = _y1-__c.CosD(_i)*_radius; +RDebugUtils.currentLine=61669385; + //BA.debugLineNum = 61669385;BA.debugLine="If fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=61669386; + //BA.debugLineNum = 61669386;BA.debugLine="PlotLine(x1, y1, x, y, points)"; +__ref._plotline /*String*/ (null,_x1,_y1,(int) (_x),(int) (_y),_points); + }else { +RDebugUtils.currentLine=61669388; + //BA.debugLineNum = 61669388;BA.debugLine="points(Round(x), Round(y)) = 1"; +_points[(int) (__c.Round(_x))][(int) (__c.Round(_y))] = (byte) (1); + }; + } +}; + }; +RDebugUtils.currentLine=61669392; + //BA.debugLineNum = 61669392;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; +_mask = __c.Bit.ShiftLeft(_mask,(int) (1)); + } +}; +RDebugUtils.currentLine=61669394; + //BA.debugLineNum = 61669394;BA.debugLine="End Sub"; +return ""; +} +public String _plotbox(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotbox", false)) + {return ((String) Debug.delegate(ba, "plotbox", new Object[] {_x0,_y0,_x1,_y1,_points,_fill}));} +int _x = 0; +RDebugUtils.currentLine=61603840; + //BA.debugLineNum = 61603840;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; +RDebugUtils.currentLine=61603842; + //BA.debugLineNum = 61603842;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x0,_y1,_points); +RDebugUtils.currentLine=61603843; + //BA.debugLineNum = 61603843;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y0,_points); +RDebugUtils.currentLine=61603844; + //BA.debugLineNum = 61603844;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x1,_y0,_x1,_y1,_points); +RDebugUtils.currentLine=61603845; + //BA.debugLineNum = 61603845;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y1,_x1,_y1,_points); +RDebugUtils.currentLine=61603846; + //BA.debugLineNum = 61603846;BA.debugLine="If Fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=61603847; + //BA.debugLineNum = 61603847;BA.debugLine="For x = x0 To x1"; +{ +final int step6 = 1; +final int limit6 = _x1; +_x = _x0 ; +for (;_x <= limit6 ;_x = _x + step6 ) { +RDebugUtils.currentLine=61603848; + //BA.debugLineNum = 61603848;BA.debugLine="PlotLine(x, y0, x, y1, points)"; +__ref._plotline /*String*/ (null,_x,_y0,_x,_y1,_points); + } +}; + }; +RDebugUtils.currentLine=61603851; + //BA.debugLineNum = 61603851;BA.debugLine="End Sub"; +return ""; +} +public String _plotline(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotline", false)) + {return ((String) Debug.delegate(ba, "plotline", new Object[] {_x0,_y0,_x1,_y1,_points}));} +RDebugUtils.currentLine=61734912; + //BA.debugLineNum = 61734912;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; +RDebugUtils.currentLine=61734913; + //BA.debugLineNum = 61734913;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; +if (__c.Abs(_y1-_y0)<__c.Abs(_x1-_x0)) { +RDebugUtils.currentLine=61734914; + //BA.debugLineNum = 61734914;BA.debugLine="If x0 > x1 Then"; +if (_x0>_x1) { +RDebugUtils.currentLine=61734915; + //BA.debugLineNum = 61734915;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; +__ref._plotlinelow /*String*/ (null,_x1,_y1,_x0,_y0,_points); + }else { +RDebugUtils.currentLine=61734917; + //BA.debugLineNum = 61734917;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; +__ref._plotlinelow /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }; + }else { +RDebugUtils.currentLine=61734920; + //BA.debugLineNum = 61734920;BA.debugLine="If y0 > y1 Then"; +if (_y0>_y1) { +RDebugUtils.currentLine=61734921; + //BA.debugLineNum = 61734921;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; +__ref._plotlinehigh /*String*/ (null,_x1,_y1,_x0,_y0,_points); + }else { +RDebugUtils.currentLine=61734923; + //BA.debugLineNum = 61734923;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; +__ref._plotlinehigh /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }; + }; +RDebugUtils.currentLine=61734926; + //BA.debugLineNum = 61734926;BA.debugLine="End Sub"; +return ""; +} +public int _createline(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createline", false)) + {return ((Integer) Debug.delegate(ba, "createline", new Object[] {_x0,_y0,_x1,_y1}));} int _line = 0; - //BA.debugLineNum = 477;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; - //BA.debugLineNum = 478;BA.debugLine="Dim line As Int = 0"; +RDebugUtils.currentLine=61210624; + //BA.debugLineNum = 61210624;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; +RDebugUtils.currentLine=61210625; + //BA.debugLineNum = 61210625;BA.debugLine="Dim line As Int = 0"; _line = (int) (0); - //BA.debugLineNum = 479;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +RDebugUtils.currentLine=61210626; + //BA.debugLineNum = 61210626;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; _line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 480;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +RDebugUtils.currentLine=61210627; + //BA.debugLineNum = 61210627;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; _line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 481;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +RDebugUtils.currentLine=61210628; + //BA.debugLineNum = 61210628;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; _line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 482;BA.debugLine="line = line + Bit.And(0x1f,y1)"; +RDebugUtils.currentLine=61210629; + //BA.debugLineNum = 61210629;BA.debugLine="line = line + Bit.And(0x1f,y1)"; _line = (int) (_line+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 483;BA.debugLine="Return line"; +RDebugUtils.currentLine=61210630; + //BA.debugLineNum = 61210630;BA.debugLine="Return line"; if (true) return _line; - //BA.debugLineNum = 484;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61210631; + //BA.debugLineNum = 61210631;BA.debugLine="End Sub"; return 0; } -public int _createtriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,boolean _fill) throws Exception{ +public int _createtriangle(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createtriangle", false)) + {return ((Integer) Debug.delegate(ba, "createtriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_fill}));} int _triangle = 0; - //BA.debugLineNum = 504;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 505;BA.debugLine="Dim triangle As Int = 0x30000000"; +RDebugUtils.currentLine=61341696; + //BA.debugLineNum = 61341696;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=61341697; + //BA.debugLineNum = 61341697;BA.debugLine="Dim triangle As Int = 0x30000000"; _triangle = ((int)0x30000000); - //BA.debugLineNum = 506;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; +RDebugUtils.currentLine=61341698; + //BA.debugLineNum = 61341698;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; if (_fill) { _triangle = (int) (_triangle+((int)0x80000000));}; - //BA.debugLineNum = 507;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +RDebugUtils.currentLine=61341699; + //BA.debugLineNum = 61341699;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 508;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; +RDebugUtils.currentLine=61341700; + //BA.debugLineNum = 61341700;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 509;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +RDebugUtils.currentLine=61341701; + //BA.debugLineNum = 61341701;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 510;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; +RDebugUtils.currentLine=61341702; + //BA.debugLineNum = 61341702;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; _triangle = (int) (_triangle+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 511;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +RDebugUtils.currentLine=61341703; + //BA.debugLineNum = 61341703;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x2),(int) (12))); - //BA.debugLineNum = 512;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; +RDebugUtils.currentLine=61341704; + //BA.debugLineNum = 61341704;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x7),_y2),(int) (5))); - //BA.debugLineNum = 513;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; +RDebugUtils.currentLine=61341705; + //BA.debugLineNum = 61341705;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x18),_y2),(int) (18))); - //BA.debugLineNum = 514;BA.debugLine="Return triangle"; +RDebugUtils.currentLine=61341706; + //BA.debugLineNum = 61341706;BA.debugLine="Return triangle"; if (true) return _triangle; - //BA.debugLineNum = 515;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61341707; + //BA.debugLineNum = 61341707;BA.debugLine="End Sub"; return 0; } -public int _definecustomcharacter(int _charcode,byte[] _bitdata) throws Exception{ +public int _definecustomcharacter(reparto_intmex.keymon.lat.escposprinter __ref,int _charcode,byte[] _bitdata) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "definecustomcharacter", false)) + {return ((Integer) Debug.delegate(ba, "definecustomcharacter", new Object[] {_charcode,_bitdata}));} int _excess = 0; int _size = 0; byte[] _params = null; - //BA.debugLineNum = 352;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; - //BA.debugLineNum = 353;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; +RDebugUtils.currentLine=61079552; + //BA.debugLineNum = 61079552;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; +RDebugUtils.currentLine=61079553; + //BA.debugLineNum = 61079553;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; _excess = (int) (_bitdata.length%3); - //BA.debugLineNum = 354;BA.debugLine="If excess <> 0 Then Return -1"; +RDebugUtils.currentLine=61079554; + //BA.debugLineNum = 61079554;BA.debugLine="If excess <> 0 Then Return -1"; if (_excess!=0) { if (true) return (int) (-1);}; - //BA.debugLineNum = 355;BA.debugLine="Dim size As Int = bitdata.Length / 3"; +RDebugUtils.currentLine=61079555; + //BA.debugLineNum = 61079555;BA.debugLine="Dim size As Int = bitdata.Length / 3"; _size = (int) (_bitdata.length/(double)3); - //BA.debugLineNum = 356;BA.debugLine="WriteString(ESC & \"&\")"; -_writestring(_esc+"&"); - //BA.debugLineNum = 357;BA.debugLine="Dim params(4) As Byte"; +RDebugUtils.currentLine=61079556; + //BA.debugLineNum = 61079556;BA.debugLine="WriteString(ESC & \"&\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"&"); +RDebugUtils.currentLine=61079557; + //BA.debugLineNum = 61079557;BA.debugLine="Dim params(4) As Byte"; _params = new byte[(int) (4)]; ; - //BA.debugLineNum = 358;BA.debugLine="params(0) = 3"; +RDebugUtils.currentLine=61079558; + //BA.debugLineNum = 61079558;BA.debugLine="params(0) = 3"; _params[(int) (0)] = (byte) (3); - //BA.debugLineNum = 359;BA.debugLine="params(1) = charcode"; +RDebugUtils.currentLine=61079559; + //BA.debugLineNum = 61079559;BA.debugLine="params(1) = charcode"; _params[(int) (1)] = (byte) (_charcode); - //BA.debugLineNum = 360;BA.debugLine="params(2) = charcode"; +RDebugUtils.currentLine=61079560; + //BA.debugLineNum = 61079560;BA.debugLine="params(2) = charcode"; _params[(int) (2)] = (byte) (_charcode); - //BA.debugLineNum = 361;BA.debugLine="params(3) = size"; +RDebugUtils.currentLine=61079561; + //BA.debugLineNum = 61079561;BA.debugLine="params(3) = size"; _params[(int) (3)] = (byte) (_size); - //BA.debugLineNum = 362;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 363;BA.debugLine="WriteBytes(bitdata)"; -_writebytes(_bitdata); - //BA.debugLineNum = 364;BA.debugLine="Return 0"; +RDebugUtils.currentLine=61079562; + //BA.debugLineNum = 61079562;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=61079563; + //BA.debugLineNum = 61079563;BA.debugLine="WriteBytes(bitdata)"; +__ref._writebytes /*String*/ (null,_bitdata); +RDebugUtils.currentLine=61079564; + //BA.debugLineNum = 61079564;BA.debugLine="Return 0"; if (true) return (int) (0); - //BA.debugLineNum = 365;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61079565; + //BA.debugLineNum = 61079565;BA.debugLine="End Sub"; return 0; } -public String _deletecustomcharacter(int _charcode) throws Exception{ +public String _writestring(reparto_intmex.keymon.lat.escposprinter __ref,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writestring", false)) + {return ((String) Debug.delegate(ba, "writestring", new Object[] {_data}));} +RDebugUtils.currentLine=60817408; + //BA.debugLineNum = 60817408;BA.debugLine="Public Sub WriteString(data As String)"; +RDebugUtils.currentLine=60817409; + //BA.debugLineNum = 60817409;BA.debugLine="WriteString2(data, \"IBM437\")"; +__ref._writestring2 /*String*/ (null,_data,"IBM437"); +RDebugUtils.currentLine=60817410; + //BA.debugLineNum = 60817410;BA.debugLine="End Sub"; +return ""; +} +public String _writebytes(reparto_intmex.keymon.lat.escposprinter __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writebytes", false)) + {return ((String) Debug.delegate(ba, "writebytes", new Object[] {_data}));} +RDebugUtils.currentLine=60751872; + //BA.debugLineNum = 60751872;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; +RDebugUtils.currentLine=60751873; + //BA.debugLineNum = 60751873;BA.debugLine="If Connected Then"; +if (__ref._connected /*boolean*/ ) { +RDebugUtils.currentLine=60751874; + //BA.debugLineNum = 60751874;BA.debugLine="Astream.Write(data)"; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Write(_data); + }; +RDebugUtils.currentLine=60751876; + //BA.debugLineNum = 60751876;BA.debugLine="End Sub"; +return ""; +} +public String _deletecustomcharacter(reparto_intmex.keymon.lat.escposprinter __ref,int _charcode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "deletecustomcharacter", false)) + {return ((String) Debug.delegate(ba, "deletecustomcharacter", new Object[] {_charcode}));} byte[] _params = null; - //BA.debugLineNum = 317;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; - //BA.debugLineNum = 318;BA.debugLine="WriteString(ESC & \"?\")"; -_writestring(_esc+"?"); - //BA.debugLineNum = 319;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=60948480; + //BA.debugLineNum = 60948480;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; +RDebugUtils.currentLine=60948481; + //BA.debugLineNum = 60948481;BA.debugLine="WriteString(ESC & \"?\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"?"); +RDebugUtils.currentLine=60948482; + //BA.debugLineNum = 60948482;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 320;BA.debugLine="params(0) = charcode"; +RDebugUtils.currentLine=60948483; + //BA.debugLineNum = 60948483;BA.debugLine="params(0) = charcode"; _params[(int) (0)] = (byte) (_charcode); - //BA.debugLineNum = 321;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 322;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60948484; + //BA.debugLineNum = 60948484;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=60948485; + //BA.debugLineNum = 60948485;BA.debugLine="End Sub"; return ""; } -public String _disconnect() throws Exception{ - //BA.debugLineNum = 143;BA.debugLine="Public Sub DisConnect"; - //BA.debugLineNum = 144;BA.debugLine="Serial1.Disconnect"; -_serial1.Disconnect(); - //BA.debugLineNum = 145;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return ""; -} -public reparto_intmex.keymon.lat.escposprinter._animage _ditherimage1d(reparto_intmex.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +public reparto_intmex.keymon.lat.escposprinter._animage _ditherimage1d(reparto_intmex.keymon.lat.escposprinter __ref,reparto_intmex.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "ditherimage1d", false)) + {return ((reparto_intmex.keymon.lat.escposprinter._animage) Debug.delegate(ba, "ditherimage1d", new Object[] {_img,_threshold}));} byte[] _pixels = null; int _error = 0; int _y = 0; int _x = 0; int _lum = 0; reparto_intmex.keymon.lat.escposprinter._animage _ret = null; - //BA.debugLineNum = 763;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; - //BA.debugLineNum = 764;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +RDebugUtils.currentLine=62062592; + //BA.debugLineNum = 62062592;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; +RDebugUtils.currentLine=62062593; + //BA.debugLineNum = 62062593;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; _pixels = new byte[_img.Data /*byte[]*/ .length]; ; - //BA.debugLineNum = 765;BA.debugLine="Dim error As Int"; +RDebugUtils.currentLine=62062594; + //BA.debugLineNum = 62062594;BA.debugLine="Dim error As Int"; _error = 0; - //BA.debugLineNum = 766;BA.debugLine="For y = 0 To img.Height - 1"; +RDebugUtils.currentLine=62062595; + //BA.debugLineNum = 62062595;BA.debugLine="For y = 0 To img.Height - 1"; { final int step3 = 1; final int limit3 = (int) (_img.Height /*int*/ -1); _y = (int) (0) ; for (;_y <= limit3 ;_y = _y + step3 ) { - //BA.debugLineNum = 767;BA.debugLine="error = 0 ' reset on each new line"; +RDebugUtils.currentLine=62062596; + //BA.debugLineNum = 62062596;BA.debugLine="error = 0 ' reset on each new line"; _error = (int) (0); - //BA.debugLineNum = 768;BA.debugLine="For x = 0 To img.Width - 1"; +RDebugUtils.currentLine=62062597; + //BA.debugLineNum = 62062597;BA.debugLine="For x = 0 To img.Width - 1"; { final int step5 = 1; final int limit5 = (int) (_img.Width /*int*/ -1); _x = (int) (0) ; for (;_x <= limit5 ;_x = _x + step5 ) { - //BA.debugLineNum = 769;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +RDebugUtils.currentLine=62062598; + //BA.debugLineNum = 62062598;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; _lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [(int) (_y*_img.Width /*int*/ +_x)]),((int)0xff)); - //BA.debugLineNum = 770;BA.debugLine="lum = lum + error"; +RDebugUtils.currentLine=62062599; + //BA.debugLineNum = 62062599;BA.debugLine="lum = lum + error"; _lum = (int) (_lum+_error); - //BA.debugLineNum = 771;BA.debugLine="If lum < threshold Then"; +RDebugUtils.currentLine=62062600; + //BA.debugLineNum = 62062600;BA.debugLine="If lum < threshold Then"; if (_lum<_threshold) { - //BA.debugLineNum = 772;BA.debugLine="error = lum"; +RDebugUtils.currentLine=62062601; + //BA.debugLineNum = 62062601;BA.debugLine="error = lum"; _error = _lum; - //BA.debugLineNum = 773;BA.debugLine="lum = 1"; +RDebugUtils.currentLine=62062602; + //BA.debugLineNum = 62062602;BA.debugLine="lum = 1"; _lum = (int) (1); }else { - //BA.debugLineNum = 775;BA.debugLine="error = lum - 255"; +RDebugUtils.currentLine=62062604; + //BA.debugLineNum = 62062604;BA.debugLine="error = lum - 255"; _error = (int) (_lum-255); - //BA.debugLineNum = 776;BA.debugLine="lum = 0"; +RDebugUtils.currentLine=62062605; + //BA.debugLineNum = 62062605;BA.debugLine="lum = 0"; _lum = (int) (0); }; - //BA.debugLineNum = 778;BA.debugLine="pixels(y*img.Width + x) = lum"; +RDebugUtils.currentLine=62062607; + //BA.debugLineNum = 62062607;BA.debugLine="pixels(y*img.Width + x) = lum"; _pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); } }; } }; - //BA.debugLineNum = 781;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=62062610; + //BA.debugLineNum = 62062610;BA.debugLine="Dim ret As AnImage"; _ret = new reparto_intmex.keymon.lat.escposprinter._animage(); - //BA.debugLineNum = 782;BA.debugLine="ret.Width = img.Width"; +RDebugUtils.currentLine=62062611; + //BA.debugLineNum = 62062611;BA.debugLine="ret.Width = img.Width"; _ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 783;BA.debugLine="ret.Height = img.Height"; +RDebugUtils.currentLine=62062612; + //BA.debugLineNum = 62062612;BA.debugLine="ret.Height = img.Height"; _ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 784;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=62062613; + //BA.debugLineNum = 62062613;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 785;BA.debugLine="Return ret"; +RDebugUtils.currentLine=62062614; + //BA.debugLineNum = 62062614;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 786;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62062615; + //BA.debugLineNum = 62062615;BA.debugLine="End Sub"; return null; } -public reparto_intmex.keymon.lat.escposprinter._animage _ditherimage2d(reparto_intmex.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +public reparto_intmex.keymon.lat.escposprinter._animage _ditherimage2d(reparto_intmex.keymon.lat.escposprinter __ref,reparto_intmex.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "ditherimage2d", false)) + {return ((reparto_intmex.keymon.lat.escposprinter._animage) Debug.delegate(ba, "ditherimage2d", new Object[] {_img,_threshold}));} byte[] _pixels = null; int _xerror = 0; int[] _yerrors = null; @@ -666,79 +1197,108 @@ int _y = 0; int _x = 0; int _lum = 0; reparto_intmex.keymon.lat.escposprinter._animage _ret = null; - //BA.debugLineNum = 794;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; - //BA.debugLineNum = 795;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +RDebugUtils.currentLine=62128128; + //BA.debugLineNum = 62128128;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; +RDebugUtils.currentLine=62128129; + //BA.debugLineNum = 62128129;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; _pixels = new byte[_img.Data /*byte[]*/ .length]; ; - //BA.debugLineNum = 796;BA.debugLine="Dim xerror As Int"; +RDebugUtils.currentLine=62128130; + //BA.debugLineNum = 62128130;BA.debugLine="Dim xerror As Int"; _xerror = 0; - //BA.debugLineNum = 797;BA.debugLine="Dim yerrors(img.Width) As Int"; +RDebugUtils.currentLine=62128131; + //BA.debugLineNum = 62128131;BA.debugLine="Dim yerrors(img.Width) As Int"; _yerrors = new int[_img.Width /*int*/ ]; ; - //BA.debugLineNum = 798;BA.debugLine="For i = 0 To yerrors.Length -1"; +RDebugUtils.currentLine=62128132; + //BA.debugLineNum = 62128132;BA.debugLine="For i = 0 To yerrors.Length -1"; { final int step4 = 1; final int limit4 = (int) (_yerrors.length-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 799;BA.debugLine="yerrors(0) = 0"; +RDebugUtils.currentLine=62128133; + //BA.debugLineNum = 62128133;BA.debugLine="yerrors(0) = 0"; _yerrors[(int) (0)] = (int) (0); } }; - //BA.debugLineNum = 801;BA.debugLine="For y = 0 To img.Height - 1"; +RDebugUtils.currentLine=62128135; + //BA.debugLineNum = 62128135;BA.debugLine="For y = 0 To img.Height - 1"; { final int step7 = 1; final int limit7 = (int) (_img.Height /*int*/ -1); _y = (int) (0) ; for (;_y <= limit7 ;_y = _y + step7 ) { - //BA.debugLineNum = 802;BA.debugLine="xerror = 0 ' reset on each new line"; +RDebugUtils.currentLine=62128136; + //BA.debugLineNum = 62128136;BA.debugLine="xerror = 0 ' reset on each new line"; _xerror = (int) (0); - //BA.debugLineNum = 803;BA.debugLine="For x = 0 To img.Width - 1"; +RDebugUtils.currentLine=62128137; + //BA.debugLineNum = 62128137;BA.debugLine="For x = 0 To img.Width - 1"; { final int step9 = 1; final int limit9 = (int) (_img.Width /*int*/ -1); _x = (int) (0) ; for (;_x <= limit9 ;_x = _x + step9 ) { - //BA.debugLineNum = 804;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +RDebugUtils.currentLine=62128138; + //BA.debugLineNum = 62128138;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; _lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [(int) (_y*_img.Width /*int*/ +_x)]),((int)0xff)); - //BA.debugLineNum = 805;BA.debugLine="lum = lum + xerror + yerrors(x)"; +RDebugUtils.currentLine=62128139; + //BA.debugLineNum = 62128139;BA.debugLine="lum = lum + xerror + yerrors(x)"; _lum = (int) (_lum+_xerror+_yerrors[_x]); - //BA.debugLineNum = 806;BA.debugLine="If lum < threshold Then"; +RDebugUtils.currentLine=62128140; + //BA.debugLineNum = 62128140;BA.debugLine="If lum < threshold Then"; if (_lum<_threshold) { - //BA.debugLineNum = 807;BA.debugLine="xerror = lum/2"; +RDebugUtils.currentLine=62128141; + //BA.debugLineNum = 62128141;BA.debugLine="xerror = lum/2"; _xerror = (int) (_lum/(double)2); - //BA.debugLineNum = 808;BA.debugLine="yerrors(x) = xerror"; +RDebugUtils.currentLine=62128142; + //BA.debugLineNum = 62128142;BA.debugLine="yerrors(x) = xerror"; _yerrors[_x] = _xerror; - //BA.debugLineNum = 809;BA.debugLine="lum = 1"; +RDebugUtils.currentLine=62128143; + //BA.debugLineNum = 62128143;BA.debugLine="lum = 1"; _lum = (int) (1); }else { - //BA.debugLineNum = 811;BA.debugLine="xerror = (lum - 255)/2"; +RDebugUtils.currentLine=62128145; + //BA.debugLineNum = 62128145;BA.debugLine="xerror = (lum - 255)/2"; _xerror = (int) ((_lum-255)/(double)2); - //BA.debugLineNum = 812;BA.debugLine="yerrors(x) = xerror"; +RDebugUtils.currentLine=62128146; + //BA.debugLineNum = 62128146;BA.debugLine="yerrors(x) = xerror"; _yerrors[_x] = _xerror; - //BA.debugLineNum = 813;BA.debugLine="lum = 0"; +RDebugUtils.currentLine=62128147; + //BA.debugLineNum = 62128147;BA.debugLine="lum = 0"; _lum = (int) (0); }; - //BA.debugLineNum = 815;BA.debugLine="pixels(y*img.Width + x) = lum"; +RDebugUtils.currentLine=62128149; + //BA.debugLineNum = 62128149;BA.debugLine="pixels(y*img.Width + x) = lum"; _pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); } }; } }; - //BA.debugLineNum = 818;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=62128152; + //BA.debugLineNum = 62128152;BA.debugLine="Dim ret As AnImage"; _ret = new reparto_intmex.keymon.lat.escposprinter._animage(); - //BA.debugLineNum = 819;BA.debugLine="ret.Width = img.Width"; +RDebugUtils.currentLine=62128153; + //BA.debugLineNum = 62128153;BA.debugLine="ret.Width = img.Width"; _ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 820;BA.debugLine="ret.Height = img.Height"; +RDebugUtils.currentLine=62128154; + //BA.debugLineNum = 62128154;BA.debugLine="ret.Height = img.Height"; _ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 821;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=62128155; + //BA.debugLineNum = 62128155;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 822;BA.debugLine="Return ret"; +RDebugUtils.currentLine=62128156; + //BA.debugLineNum = 62128156;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 823;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62128157; + //BA.debugLineNum = 62128157;BA.debugLine="End Sub"; return null; } -public String _filltriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points) throws Exception{ +public String _filltriangle(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "filltriangle", false)) + {return ((String) Debug.delegate(ba, "filltriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_points}));} int _tx = 0; int _ty = 0; double _dx0 = 0; @@ -750,217 +1310,294 @@ double _y3 = 0; double _y4 = 0; int _inc = 0; int _x = 0; - //BA.debugLineNum = 544;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 546;BA.debugLine="Dim tx, ty As Int"; +RDebugUtils.currentLine=61538304; + //BA.debugLineNum = 61538304;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=61538306; + //BA.debugLineNum = 61538306;BA.debugLine="Dim tx, ty As Int"; _tx = 0; _ty = 0; - //BA.debugLineNum = 547;BA.debugLine="If y0 > y1 Then"; +RDebugUtils.currentLine=61538307; + //BA.debugLineNum = 61538307;BA.debugLine="If y0 > y1 Then"; if (_y0>_y1) { - //BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; +RDebugUtils.currentLine=61538308; + //BA.debugLineNum = 61538308;BA.debugLine="tx = x0 : ty = y0"; _tx = _x0; - //BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; +RDebugUtils.currentLine=61538308; + //BA.debugLineNum = 61538308;BA.debugLine="tx = x0 : ty = y0"; _ty = _y0; - //BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; +RDebugUtils.currentLine=61538309; + //BA.debugLineNum = 61538309;BA.debugLine="x0 = x1 : y0 = y1"; _x0 = _x1; - //BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; +RDebugUtils.currentLine=61538309; + //BA.debugLineNum = 61538309;BA.debugLine="x0 = x1 : y0 = y1"; _y0 = _y1; - //BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; +RDebugUtils.currentLine=61538310; + //BA.debugLineNum = 61538310;BA.debugLine="x1 = tx : y1 = ty"; _x1 = _tx; - //BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; +RDebugUtils.currentLine=61538310; + //BA.debugLineNum = 61538310;BA.debugLine="x1 = tx : y1 = ty"; _y1 = _ty; }; - //BA.debugLineNum = 552;BA.debugLine="If y0 > y2 Then"; +RDebugUtils.currentLine=61538312; + //BA.debugLineNum = 61538312;BA.debugLine="If y0 > y2 Then"; if (_y0>_y2) { - //BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; +RDebugUtils.currentLine=61538313; + //BA.debugLineNum = 61538313;BA.debugLine="tx = x0 : ty = y0"; _tx = _x0; - //BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; +RDebugUtils.currentLine=61538313; + //BA.debugLineNum = 61538313;BA.debugLine="tx = x0 : ty = y0"; _ty = _y0; - //BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; +RDebugUtils.currentLine=61538314; + //BA.debugLineNum = 61538314;BA.debugLine="x0 = x2 : y0 = y2"; _x0 = _x2; - //BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; +RDebugUtils.currentLine=61538314; + //BA.debugLineNum = 61538314;BA.debugLine="x0 = x2 : y0 = y2"; _y0 = _y2; - //BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; +RDebugUtils.currentLine=61538315; + //BA.debugLineNum = 61538315;BA.debugLine="x2 = tx : y2 = ty"; _x2 = _tx; - //BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; +RDebugUtils.currentLine=61538315; + //BA.debugLineNum = 61538315;BA.debugLine="x2 = tx : y2 = ty"; _y2 = _ty; }; - //BA.debugLineNum = 557;BA.debugLine="If y1 > y2 Then"; +RDebugUtils.currentLine=61538317; + //BA.debugLineNum = 61538317;BA.debugLine="If y1 > y2 Then"; if (_y1>_y2) { - //BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; +RDebugUtils.currentLine=61538318; + //BA.debugLineNum = 61538318;BA.debugLine="tx = x1 : ty = y1"; _tx = _x1; - //BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; +RDebugUtils.currentLine=61538318; + //BA.debugLineNum = 61538318;BA.debugLine="tx = x1 : ty = y1"; _ty = _y1; - //BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; +RDebugUtils.currentLine=61538319; + //BA.debugLineNum = 61538319;BA.debugLine="x1 = x2 : y1 = y2"; _x1 = _x2; - //BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; +RDebugUtils.currentLine=61538319; + //BA.debugLineNum = 61538319;BA.debugLine="x1 = x2 : y1 = y2"; _y1 = _y2; - //BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; +RDebugUtils.currentLine=61538320; + //BA.debugLineNum = 61538320;BA.debugLine="x2 = tx : y2 = ty"; _x2 = _tx; - //BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; +RDebugUtils.currentLine=61538320; + //BA.debugLineNum = 61538320;BA.debugLine="x2 = tx : y2 = ty"; _y2 = _ty; }; - //BA.debugLineNum = 563;BA.debugLine="Dim dx0, dx1, dx2 As Double"; +RDebugUtils.currentLine=61538323; + //BA.debugLineNum = 61538323;BA.debugLine="Dim dx0, dx1, dx2 As Double"; _dx0 = 0; _dx1 = 0; _dx2 = 0; - //BA.debugLineNum = 564;BA.debugLine="Dim x3, x4, y3, y4 As Double"; +RDebugUtils.currentLine=61538324; + //BA.debugLineNum = 61538324;BA.debugLine="Dim x3, x4, y3, y4 As Double"; _x3 = 0; _x4 = 0; _y3 = 0; _y4 = 0; - //BA.debugLineNum = 565;BA.debugLine="Dim inc As Int"; +RDebugUtils.currentLine=61538325; + //BA.debugLineNum = 61538325;BA.debugLine="Dim inc As Int"; _inc = 0; - //BA.debugLineNum = 567;BA.debugLine="If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0="; +RDebugUtils.currentLine=61538327; + //BA.debugLineNum = 61538327;BA.debugLine="If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0="; if (_y1-_y0>0) { _dx0 = (_x1-_x0)/(double)(_y1-_y0);} else { _dx0 = 0;}; - //BA.debugLineNum = 568;BA.debugLine="If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1="; +RDebugUtils.currentLine=61538328; + //BA.debugLineNum = 61538328;BA.debugLine="If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1="; if (_y2-_y0>0) { _dx1 = (_x2-_x0)/(double)(_y2-_y0);} else { _dx1 = 0;}; - //BA.debugLineNum = 569;BA.debugLine="If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2="; +RDebugUtils.currentLine=61538329; + //BA.debugLineNum = 61538329;BA.debugLine="If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2="; if (_y2-_y1>0) { _dx2 = (_x2-_x1)/(double)(_y2-_y1);} else { _dx2 = 0;}; - //BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; +RDebugUtils.currentLine=61538330; + //BA.debugLineNum = 61538330;BA.debugLine="x3 = x0 : x4 = x0"; _x3 = _x0; - //BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; +RDebugUtils.currentLine=61538330; + //BA.debugLineNum = 61538330;BA.debugLine="x3 = x0 : x4 = x0"; _x4 = _x0; - //BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; +RDebugUtils.currentLine=61538331; + //BA.debugLineNum = 61538331;BA.debugLine="y3 = y0 : y4 = y0"; _y3 = _y0; - //BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; +RDebugUtils.currentLine=61538331; + //BA.debugLineNum = 61538331;BA.debugLine="y3 = y0 : y4 = y0"; _y4 = _y0; - //BA.debugLineNum = 572;BA.debugLine="If dx0 > dx1 Then"; +RDebugUtils.currentLine=61538332; + //BA.debugLineNum = 61538332;BA.debugLine="If dx0 > dx1 Then"; if (_dx0>_dx1) { - //BA.debugLineNum = 573;BA.debugLine="While"; +RDebugUtils.currentLine=61538333; + //BA.debugLineNum = 61538333;BA.debugLine="While"; __c.While(); - //BA.debugLineNum = 574;BA.debugLine="Do While y3 <= y1"; +RDebugUtils.currentLine=61538334; + //BA.debugLineNum = 61538334;BA.debugLine="Do While y3 <= y1"; while (_y3<=_y1) { - //BA.debugLineNum = 575;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +RDebugUtils.currentLine=61538335; + //BA.debugLineNum = 61538335;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; if (_x3>_x4) { _inc = (int) (-1);} else { _inc = (int) (1);}; - //BA.debugLineNum = 576;BA.debugLine="For x = x3 To x4 Step inc"; +RDebugUtils.currentLine=61538336; + //BA.debugLineNum = 61538336;BA.debugLine="For x = x3 To x4 Step inc"; { final int step40 = _inc; final int limit40 = (int) (_x4); _x = (int) (_x3) ; for (;(step40 > 0 && _x <= limit40) || (step40 < 0 && _x >= limit40) ;_x = ((int)(0 + _x + step40)) ) { - //BA.debugLineNum = 577;BA.debugLine="points(x, y3) = 1"; +RDebugUtils.currentLine=61538337; + //BA.debugLineNum = 61538337;BA.debugLine="points(x, y3) = 1"; _points[_x][(int) (_y3)] = (byte) (1); } }; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=61538339; + //BA.debugLineNum = 61538339;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _y3 = _y3+1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=61538339; + //BA.debugLineNum = 61538339;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _y4 = _y4+1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=61538339; + //BA.debugLineNum = 61538339;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _x3 = _x3+_dx1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=61538339; + //BA.debugLineNum = 61538339;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _x4 = _x4+_dx0; } ; - //BA.debugLineNum = 581;BA.debugLine="x4=x1"; +RDebugUtils.currentLine=61538341; + //BA.debugLineNum = 61538341;BA.debugLine="x4=x1"; _x4 = _x1; - //BA.debugLineNum = 582;BA.debugLine="y4=y1"; +RDebugUtils.currentLine=61538342; + //BA.debugLineNum = 61538342;BA.debugLine="y4=y1"; _y4 = _y1; - //BA.debugLineNum = 583;BA.debugLine="Do While y3 <= y2"; +RDebugUtils.currentLine=61538343; + //BA.debugLineNum = 61538343;BA.debugLine="Do While y3 <= y2"; while (_y3<=_y2) { - //BA.debugLineNum = 584;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +RDebugUtils.currentLine=61538344; + //BA.debugLineNum = 61538344;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; if (_x3>_x4) { _inc = (int) (-1);} else { _inc = (int) (1);}; - //BA.debugLineNum = 585;BA.debugLine="For x = x3 To x4 Step inc"; +RDebugUtils.currentLine=61538345; + //BA.debugLineNum = 61538345;BA.debugLine="For x = x3 To x4 Step inc"; { final int step52 = _inc; final int limit52 = (int) (_x4); _x = (int) (_x3) ; for (;(step52 > 0 && _x <= limit52) || (step52 < 0 && _x >= limit52) ;_x = ((int)(0 + _x + step52)) ) { - //BA.debugLineNum = 586;BA.debugLine="points(x ,y3) = 1"; +RDebugUtils.currentLine=61538346; + //BA.debugLineNum = 61538346;BA.debugLine="points(x ,y3) = 1"; _points[_x][(int) (_y3)] = (byte) (1); } }; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=61538348; + //BA.debugLineNum = 61538348;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _y3 = _y3+1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=61538348; + //BA.debugLineNum = 61538348;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _y4 = _y4+1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=61538348; + //BA.debugLineNum = 61538348;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _x3 = _x3+_dx1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=61538348; + //BA.debugLineNum = 61538348;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _x4 = _x4+_dx2; } ; }else { - //BA.debugLineNum = 591;BA.debugLine="While"; +RDebugUtils.currentLine=61538351; + //BA.debugLineNum = 61538351;BA.debugLine="While"; __c.While(); - //BA.debugLineNum = 592;BA.debugLine="Do While y3 <= y1"; +RDebugUtils.currentLine=61538352; + //BA.debugLineNum = 61538352;BA.debugLine="Do While y3 <= y1"; while (_y3<=_y1) { - //BA.debugLineNum = 593;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +RDebugUtils.currentLine=61538353; + //BA.debugLineNum = 61538353;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; if (_x3>_x4) { _inc = (int) (-1);} else { _inc = (int) (1);}; - //BA.debugLineNum = 594;BA.debugLine="For x = x3 To x4 Step inc"; +RDebugUtils.currentLine=61538354; + //BA.debugLineNum = 61538354;BA.debugLine="For x = x3 To x4 Step inc"; { final int step64 = _inc; final int limit64 = (int) (_x4); _x = (int) (_x3) ; for (;(step64 > 0 && _x <= limit64) || (step64 < 0 && _x >= limit64) ;_x = ((int)(0 + _x + step64)) ) { - //BA.debugLineNum = 595;BA.debugLine="points(x, y3) = 1"; +RDebugUtils.currentLine=61538355; + //BA.debugLineNum = 61538355;BA.debugLine="points(x, y3) = 1"; _points[_x][(int) (_y3)] = (byte) (1); } }; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +RDebugUtils.currentLine=61538357; + //BA.debugLineNum = 61538357;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; _y3 = _y3+1; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +RDebugUtils.currentLine=61538357; + //BA.debugLineNum = 61538357;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; _y4 = _y4+1; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +RDebugUtils.currentLine=61538357; + //BA.debugLineNum = 61538357;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; _x3 = _x3+_dx0; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +RDebugUtils.currentLine=61538357; + //BA.debugLineNum = 61538357;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; _x4 = _x4+_dx1; } ; - //BA.debugLineNum = 599;BA.debugLine="x3=x1"; +RDebugUtils.currentLine=61538359; + //BA.debugLineNum = 61538359;BA.debugLine="x3=x1"; _x3 = _x1; - //BA.debugLineNum = 600;BA.debugLine="y3=y1"; +RDebugUtils.currentLine=61538360; + //BA.debugLineNum = 61538360;BA.debugLine="y3=y1"; _y3 = _y1; - //BA.debugLineNum = 601;BA.debugLine="Do While y3<=y2"; +RDebugUtils.currentLine=61538361; + //BA.debugLineNum = 61538361;BA.debugLine="Do While y3<=y2"; while (_y3<=_y2) { - //BA.debugLineNum = 602;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +RDebugUtils.currentLine=61538362; + //BA.debugLineNum = 61538362;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; if (_x3>_x4) { _inc = (int) (-1);} else { _inc = (int) (1);}; - //BA.debugLineNum = 603;BA.debugLine="For x = x3 To x4 Step inc"; +RDebugUtils.currentLine=61538363; + //BA.debugLineNum = 61538363;BA.debugLine="For x = x3 To x4 Step inc"; { final int step76 = _inc; final int limit76 = (int) (_x4); _x = (int) (_x3) ; for (;(step76 > 0 && _x <= limit76) || (step76 < 0 && _x >= limit76) ;_x = ((int)(0 + _x + step76)) ) { - //BA.debugLineNum = 604;BA.debugLine="points(x, y3) = 1"; +RDebugUtils.currentLine=61538364; + //BA.debugLineNum = 61538364;BA.debugLine="points(x, y3) = 1"; _points[_x][(int) (_y3)] = (byte) (1); } }; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +RDebugUtils.currentLine=61538366; + //BA.debugLineNum = 61538366;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; _y3 = _y3+1; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +RDebugUtils.currentLine=61538366; + //BA.debugLineNum = 61538366;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; _y4 = _y4+1; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +RDebugUtils.currentLine=61538366; + //BA.debugLineNum = 61538366;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; _x3 = _x3+_dx2; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +RDebugUtils.currentLine=61538366; + //BA.debugLineNum = 61538366;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; _x4 = _x4+_dx1; } ; }; - //BA.debugLineNum = 609;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61538369; + //BA.debugLineNum = 61538369;BA.debugLine="End Sub"; return ""; } -public reparto_intmex.keymon.lat.escposprinter._animage _imagetobwimage(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{ +public reparto_intmex.keymon.lat.escposprinter._animage _imagetobwimage(reparto_intmex.keymon.lat.escposprinter __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "imagetobwimage", false)) + {return ((reparto_intmex.keymon.lat.escposprinter._animage) Debug.delegate(ba, "imagetobwimage", new Object[] {_bmp}));} b4a.example.bitmapcreator _bc = null; int _w = 0; int _h = 0; @@ -971,89 +1608,96 @@ int _j = 0; b4a.example.bitmapcreator._argbcolor _col = null; int _lum = 0; reparto_intmex.keymon.lat.escposprinter._animage _ret = null; - //BA.debugLineNum = 713;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; - //BA.debugLineNum = 714;BA.debugLine="Dim BC As BitmapCreator 'ignore"; +RDebugUtils.currentLine=61931520; + //BA.debugLineNum = 61931520;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; +RDebugUtils.currentLine=61931521; + //BA.debugLineNum = 61931521;BA.debugLine="Dim BC As BitmapCreator 'ignore"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 715;BA.debugLine="Dim W As Int = bmp.Width"; +RDebugUtils.currentLine=61931522; + //BA.debugLineNum = 61931522;BA.debugLine="Dim W As Int = bmp.Width"; _w = _bmp.getWidth(); - //BA.debugLineNum = 716;BA.debugLine="Dim H As Int = bmp.Height"; +RDebugUtils.currentLine=61931523; + //BA.debugLineNum = 61931523;BA.debugLine="Dim H As Int = bmp.Height"; _h = _bmp.getHeight(); - //BA.debugLineNum = 717;BA.debugLine="Dim pixels(W * H) As Byte"; +RDebugUtils.currentLine=61931524; + //BA.debugLineNum = 61931524;BA.debugLine="Dim pixels(W * H) As Byte"; _pixels = new byte[(int) (_w*_h)]; ; - //BA.debugLineNum = 719;BA.debugLine="For y = 0 To H - 1"; +RDebugUtils.currentLine=61931526; + //BA.debugLineNum = 61931526;BA.debugLine="For y = 0 To H - 1"; { final int step5 = 1; final int limit5 = (int) (_h-1); _y = (int) (0) ; for (;_y <= limit5 ;_y = _y + step5 ) { - //BA.debugLineNum = 720;BA.debugLine="For x = 0 To W - 1"; +RDebugUtils.currentLine=61931527; + //BA.debugLineNum = 61931527;BA.debugLine="For x = 0 To W - 1"; { final int step6 = 1; final int limit6 = (int) (_w-1); _x = (int) (0) ; for (;_x <= limit6 ;_x = _x + step6 ) { - //BA.debugLineNum = 721;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; +RDebugUtils.currentLine=61931528; + //BA.debugLineNum = 61931528;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; _j = _bmp.GetPixel(_x,_y); - //BA.debugLineNum = 723;BA.debugLine="Dim col As ARGBColor"; +RDebugUtils.currentLine=61931530; + //BA.debugLineNum = 61931530;BA.debugLine="Dim col As ARGBColor"; _col = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 724;BA.debugLine="BC.ColorToARGB(j, col )"; +RDebugUtils.currentLine=61931531; + //BA.debugLineNum = 61931531;BA.debugLine="BC.ColorToARGB(j, col )"; _bc._colortoargb(_j,_col); - //BA.debugLineNum = 725;BA.debugLine="Dim lum As Int = col.r * 0.2 + col.b*0.1 + col."; +RDebugUtils.currentLine=61931532; + //BA.debugLineNum = 61931532;BA.debugLine="Dim lum As Int = col.r * 0.2 + col.b*0.1 + col."; _lum = (int) (_col.r*0.2+_col.b*0.1+_col.g*0.7); - //BA.debugLineNum = 726;BA.debugLine="If lum> 255 Then lum = 255"; +RDebugUtils.currentLine=61931533; + //BA.debugLineNum = 61931533;BA.debugLine="If lum> 255 Then lum = 255"; if (_lum>255) { _lum = (int) (255);}; - //BA.debugLineNum = 728;BA.debugLine="pixels(y*W + x) = lum"; +RDebugUtils.currentLine=61931535; + //BA.debugLineNum = 61931535;BA.debugLine="pixels(y*W + x) = lum"; _pixels[(int) (_y*_w+_x)] = (byte) (_lum); } }; } }; - //BA.debugLineNum = 731;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=61931538; + //BA.debugLineNum = 61931538;BA.debugLine="Dim ret As AnImage"; _ret = new reparto_intmex.keymon.lat.escposprinter._animage(); - //BA.debugLineNum = 732;BA.debugLine="ret.Width = bmp.Width"; +RDebugUtils.currentLine=61931539; + //BA.debugLineNum = 61931539;BA.debugLine="ret.Width = bmp.Width"; _ret.Width /*int*/ = _bmp.getWidth(); - //BA.debugLineNum = 733;BA.debugLine="ret.Height = bmp.Height"; +RDebugUtils.currentLine=61931540; + //BA.debugLineNum = 61931540;BA.debugLine="ret.Height = bmp.Height"; _ret.Height /*int*/ = _bmp.getHeight(); - //BA.debugLineNum = 734;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=61931541; + //BA.debugLineNum = 61931541;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 735;BA.debugLine="Return ret"; +RDebugUtils.currentLine=61931542; + //BA.debugLineNum = 61931542;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 736;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61931543; + //BA.debugLineNum = 61931543;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 75;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; - //BA.debugLineNum = 76;BA.debugLine="EventName = vEventName"; -_eventname = _veventname; - //BA.debugLineNum = 77;BA.debugLine="CallBack = vCallback"; -_callback = _vcallback; - //BA.debugLineNum = 78;BA.debugLine="Serial1.Initialize(\"Serial1\")"; -_serial1.Initialize("Serial1"); - //BA.debugLineNum = 79;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 80;BA.debugLine="ConnectedError = \"\""; -_connectederror = ""; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; -return ""; -} -public boolean _isbluetoothon() throws Exception{ - //BA.debugLineNum = 94;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; - //BA.debugLineNum = 95;BA.debugLine="Return Serial1.IsEnabled"; -if (true) return _serial1.IsEnabled(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; +public boolean _isbluetoothon(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "isbluetoothon", false)) + {return ((Boolean) Debug.delegate(ba, "isbluetoothon", null));} +RDebugUtils.currentLine=59768832; + //BA.debugLineNum = 59768832;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; +RDebugUtils.currentLine=59768833; + //BA.debugLineNum = 59768833;BA.debugLine="Return Serial1.IsEnabled"; +if (true) return __ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .IsEnabled(); +RDebugUtils.currentLine=59768834; + //BA.debugLineNum = 59768834;BA.debugLine="End Sub"; return false; } -public boolean _isconnected() throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Public Sub IsConnected As Boolean"; - //BA.debugLineNum = 90;BA.debugLine="Return Connected"; -if (true) return _connected; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return false; -} -public reparto_intmex.keymon.lat.escposprinter._animage _packimage(reparto_intmex.keymon.lat.escposprinter._animage _imagedata) throws Exception{ +public reparto_intmex.keymon.lat.escposprinter._animage _packimage(reparto_intmex.keymon.lat.escposprinter __ref,reparto_intmex.keymon.lat.escposprinter._animage _imagedata) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "packimage", false)) + {return ((reparto_intmex.keymon.lat.escposprinter._animage) Debug.delegate(ba, "packimage", new Object[] {_imagedata}));} int _xbytes = 0; byte[] _pixels = null; byte[] _masks = null; @@ -1064,84 +1708,116 @@ byte _xbyte = (byte)0; int _b = 0; byte _pix = (byte)0; reparto_intmex.keymon.lat.escposprinter._animage _ret = null; - //BA.debugLineNum = 865;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; - //BA.debugLineNum = 866;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; +RDebugUtils.currentLine=62259200; + //BA.debugLineNum = 62259200;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; +RDebugUtils.currentLine=62259201; + //BA.debugLineNum = 62259201;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; _xbytes = (int) (_imagedata.Width /*int*/ /(double)8); - //BA.debugLineNum = 867;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; +RDebugUtils.currentLine=62259202; + //BA.debugLineNum = 62259202;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; _pixels = new byte[(int) (_xbytes*_imagedata.Height /*int*/ )]; ; - //BA.debugLineNum = 868;BA.debugLine="Dim masks(8) As Byte"; +RDebugUtils.currentLine=62259203; + //BA.debugLineNum = 62259203;BA.debugLine="Dim masks(8) As Byte"; _masks = new byte[(int) (8)]; ; - //BA.debugLineNum = 869;BA.debugLine="masks(0) = 0x80"; +RDebugUtils.currentLine=62259204; + //BA.debugLineNum = 62259204;BA.debugLine="masks(0) = 0x80"; _masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 870;BA.debugLine="masks(1) = 0x40"; +RDebugUtils.currentLine=62259205; + //BA.debugLineNum = 62259205;BA.debugLine="masks(1) = 0x40"; _masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 871;BA.debugLine="masks(2) = 0x20"; +RDebugUtils.currentLine=62259206; + //BA.debugLineNum = 62259206;BA.debugLine="masks(2) = 0x20"; _masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 872;BA.debugLine="masks(3) = 0x10"; +RDebugUtils.currentLine=62259207; + //BA.debugLineNum = 62259207;BA.debugLine="masks(3) = 0x10"; _masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 873;BA.debugLine="masks(4) = 0x08"; +RDebugUtils.currentLine=62259208; + //BA.debugLineNum = 62259208;BA.debugLine="masks(4) = 0x08"; _masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 874;BA.debugLine="masks(5) = 0x04"; +RDebugUtils.currentLine=62259209; + //BA.debugLineNum = 62259209;BA.debugLine="masks(5) = 0x04"; _masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 875;BA.debugLine="masks(6) = 0x02"; +RDebugUtils.currentLine=62259210; + //BA.debugLineNum = 62259210;BA.debugLine="masks(6) = 0x02"; _masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 876;BA.debugLine="masks(7) = 0x01"; +RDebugUtils.currentLine=62259211; + //BA.debugLineNum = 62259211;BA.debugLine="masks(7) = 0x01"; _masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 877;BA.debugLine="Dim index As Int = 0"; +RDebugUtils.currentLine=62259212; + //BA.debugLineNum = 62259212;BA.debugLine="Dim index As Int = 0"; _index = (int) (0); - //BA.debugLineNum = 878;BA.debugLine="For y = 0 To imagedata.Height - 1"; +RDebugUtils.currentLine=62259213; + //BA.debugLineNum = 62259213;BA.debugLine="For y = 0 To imagedata.Height - 1"; { final int step13 = 1; final int limit13 = (int) (_imagedata.Height /*int*/ -1); _y = (int) (0) ; for (;_y <= limit13 ;_y = _y + step13 ) { - //BA.debugLineNum = 879;BA.debugLine="For x = 0 To xbytes - 1"; +RDebugUtils.currentLine=62259214; + //BA.debugLineNum = 62259214;BA.debugLine="For x = 0 To xbytes - 1"; { final int step14 = 1; final int limit14 = (int) (_xbytes-1); _x = (int) (0) ; for (;_x <= limit14 ;_x = _x + step14 ) { - //BA.debugLineNum = 880;BA.debugLine="Dim xbyte As Byte = 0"; +RDebugUtils.currentLine=62259215; + //BA.debugLineNum = 62259215;BA.debugLine="Dim xbyte As Byte = 0"; _xbyte = (byte) (0); - //BA.debugLineNum = 881;BA.debugLine="For b = 0 To 7"; +RDebugUtils.currentLine=62259216; + //BA.debugLineNum = 62259216;BA.debugLine="For b = 0 To 7"; { final int step16 = 1; final int limit16 = (int) (7); _b = (int) (0) ; for (;_b <= limit16 ;_b = _b + step16 ) { - //BA.debugLineNum = 883;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; +RDebugUtils.currentLine=62259218; + //BA.debugLineNum = 62259218;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; _pix = _imagedata.Data /*byte[]*/ [_index]; - //BA.debugLineNum = 884;BA.debugLine="If pix <> 0 Then"; +RDebugUtils.currentLine=62259219; + //BA.debugLineNum = 62259219;BA.debugLine="If pix <> 0 Then"; if (_pix!=0) { - //BA.debugLineNum = 885;BA.debugLine="xbyte = xbyte + masks(b)"; +RDebugUtils.currentLine=62259220; + //BA.debugLineNum = 62259220;BA.debugLine="xbyte = xbyte + masks(b)"; _xbyte = (byte) (_xbyte+_masks[_b]); }; - //BA.debugLineNum = 887;BA.debugLine="index = index + 1"; +RDebugUtils.currentLine=62259222; + //BA.debugLineNum = 62259222;BA.debugLine="index = index + 1"; _index = (int) (_index+1); } }; - //BA.debugLineNum = 889;BA.debugLine="pixels(y*xbytes + x) = xbyte"; +RDebugUtils.currentLine=62259224; + //BA.debugLineNum = 62259224;BA.debugLine="pixels(y*xbytes + x) = xbyte"; _pixels[(int) (_y*_xbytes+_x)] = _xbyte; } }; } }; - //BA.debugLineNum = 892;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=62259227; + //BA.debugLineNum = 62259227;BA.debugLine="Dim ret As AnImage"; _ret = new reparto_intmex.keymon.lat.escposprinter._animage(); - //BA.debugLineNum = 893;BA.debugLine="ret.Width = xbytes"; +RDebugUtils.currentLine=62259228; + //BA.debugLineNum = 62259228;BA.debugLine="ret.Width = xbytes"; _ret.Width /*int*/ = _xbytes; - //BA.debugLineNum = 894;BA.debugLine="ret.Height = imagedata.Height"; +RDebugUtils.currentLine=62259229; + //BA.debugLineNum = 62259229;BA.debugLine="ret.Height = imagedata.Height"; _ret.Height /*int*/ = _imagedata.Height /*int*/ ; - //BA.debugLineNum = 895;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=62259230; + //BA.debugLineNum = 62259230;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 896;BA.debugLine="Return ret"; +RDebugUtils.currentLine=62259231; + //BA.debugLineNum = 62259231;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 897;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62259232; + //BA.debugLineNum = 62259232;BA.debugLine="End Sub"; return null; } -public byte[] _packimageslice(reparto_intmex.keymon.lat.escposprinter._animage _img,int _slice,boolean _dots24) throws Exception{ +public byte[] _packimageslice(reparto_intmex.keymon.lat.escposprinter __ref,reparto_intmex.keymon.lat.escposprinter._animage _img,int _slice,boolean _dots24) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "packimageslice", false)) + {return ((byte[]) Debug.delegate(ba, "packimageslice", new Object[] {_img,_slice,_dots24}));} int _bytes = 0; byte[] _pixels = null; int _slicestart = 0; @@ -1151,890 +1827,1146 @@ int _s = 0; byte _xbyte = (byte)0; int _b = 0; byte _pix = (byte)0; - //BA.debugLineNum = 963;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; - //BA.debugLineNum = 964;BA.debugLine="Dim bytes As Int = img.width"; +RDebugUtils.currentLine=62390272; + //BA.debugLineNum = 62390272;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; +RDebugUtils.currentLine=62390273; + //BA.debugLineNum = 62390273;BA.debugLine="Dim bytes As Int = img.width"; _bytes = _img.Width /*int*/ ; - //BA.debugLineNum = 965;BA.debugLine="If dots24 Then"; +RDebugUtils.currentLine=62390274; + //BA.debugLineNum = 62390274;BA.debugLine="If dots24 Then"; if (_dots24) { - //BA.debugLineNum = 966;BA.debugLine="Dim pixels(bytes * 3) As Byte"; +RDebugUtils.currentLine=62390275; + //BA.debugLineNum = 62390275;BA.debugLine="Dim pixels(bytes * 3) As Byte"; _pixels = new byte[(int) (_bytes*3)]; ; - //BA.debugLineNum = 967;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; +RDebugUtils.currentLine=62390276; + //BA.debugLineNum = 62390276;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; _slicestart = (int) (_slice*_bytes*8*3); }else { - //BA.debugLineNum = 969;BA.debugLine="Dim pixels(bytes) As Byte"; +RDebugUtils.currentLine=62390278; + //BA.debugLineNum = 62390278;BA.debugLine="Dim pixels(bytes) As Byte"; _pixels = new byte[_bytes]; ; - //BA.debugLineNum = 970;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; +RDebugUtils.currentLine=62390279; + //BA.debugLineNum = 62390279;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; _slicestart = (int) (_slice*_bytes*8); }; - //BA.debugLineNum = 973;BA.debugLine="Dim masks(8) As Byte"; +RDebugUtils.currentLine=62390282; + //BA.debugLineNum = 62390282;BA.debugLine="Dim masks(8) As Byte"; _masks = new byte[(int) (8)]; ; - //BA.debugLineNum = 974;BA.debugLine="masks(0) = 0x80"; +RDebugUtils.currentLine=62390283; + //BA.debugLineNum = 62390283;BA.debugLine="masks(0) = 0x80"; _masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 975;BA.debugLine="masks(1) = 0x40"; +RDebugUtils.currentLine=62390284; + //BA.debugLineNum = 62390284;BA.debugLine="masks(1) = 0x40"; _masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 976;BA.debugLine="masks(2) = 0x20"; +RDebugUtils.currentLine=62390285; + //BA.debugLineNum = 62390285;BA.debugLine="masks(2) = 0x20"; _masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 977;BA.debugLine="masks(3) = 0x10"; +RDebugUtils.currentLine=62390286; + //BA.debugLineNum = 62390286;BA.debugLine="masks(3) = 0x10"; _masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 978;BA.debugLine="masks(4) = 0x08"; +RDebugUtils.currentLine=62390287; + //BA.debugLineNum = 62390287;BA.debugLine="masks(4) = 0x08"; _masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 979;BA.debugLine="masks(5) = 0x04"; +RDebugUtils.currentLine=62390288; + //BA.debugLineNum = 62390288;BA.debugLine="masks(5) = 0x04"; _masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 980;BA.debugLine="masks(6) = 0x02"; +RDebugUtils.currentLine=62390289; + //BA.debugLineNum = 62390289;BA.debugLine="masks(6) = 0x02"; _masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 981;BA.debugLine="masks(7) = 0x01"; +RDebugUtils.currentLine=62390290; + //BA.debugLineNum = 62390290;BA.debugLine="masks(7) = 0x01"; _masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 983;BA.debugLine="If dots24 Then"; +RDebugUtils.currentLine=62390292; + //BA.debugLineNum = 62390292;BA.debugLine="If dots24 Then"; if (_dots24) { - //BA.debugLineNum = 984;BA.debugLine="For x = 0 To bytes - 1"; +RDebugUtils.currentLine=62390293; + //BA.debugLineNum = 62390293;BA.debugLine="For x = 0 To bytes - 1"; { final int step19 = 1; final int limit19 = (int) (_bytes-1); _x = (int) (0) ; for (;_x <= limit19 ;_x = _x + step19 ) { - //BA.debugLineNum = 985;BA.debugLine="For s = 0 To 2"; +RDebugUtils.currentLine=62390294; + //BA.debugLineNum = 62390294;BA.debugLine="For s = 0 To 2"; { final int step20 = 1; final int limit20 = (int) (2); _s = (int) (0) ; for (;_s <= limit20 ;_s = _s + step20 ) { - //BA.debugLineNum = 986;BA.debugLine="Dim xbyte As Byte = 0"; +RDebugUtils.currentLine=62390295; + //BA.debugLineNum = 62390295;BA.debugLine="Dim xbyte As Byte = 0"; _xbyte = (byte) (0); - //BA.debugLineNum = 987;BA.debugLine="For b = 0 To 7"; +RDebugUtils.currentLine=62390296; + //BA.debugLineNum = 62390296;BA.debugLine="For b = 0 To 7"; { final int step22 = 1; final int limit22 = (int) (7); _b = (int) (0) ; for (;_b <= limit22 ;_b = _b + step22 ) { - //BA.debugLineNum = 989;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; +RDebugUtils.currentLine=62390298; + //BA.debugLineNum = 62390298;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; _pix = _img.Data /*byte[]*/ [(int) (_slicestart+((_b+_s*8)*_bytes)+_x)]; - //BA.debugLineNum = 990;BA.debugLine="If pix <> 0 Then"; +RDebugUtils.currentLine=62390299; + //BA.debugLineNum = 62390299;BA.debugLine="If pix <> 0 Then"; if (_pix!=0) { - //BA.debugLineNum = 991;BA.debugLine="xbyte = xbyte + masks(b)"; +RDebugUtils.currentLine=62390300; + //BA.debugLineNum = 62390300;BA.debugLine="xbyte = xbyte + masks(b)"; _xbyte = (byte) (_xbyte+_masks[_b]); }; } }; - //BA.debugLineNum = 994;BA.debugLine="pixels(x*3+s) = xbyte"; +RDebugUtils.currentLine=62390303; + //BA.debugLineNum = 62390303;BA.debugLine="pixels(x*3+s) = xbyte"; _pixels[(int) (_x*3+_s)] = _xbyte; } }; } }; }else { - //BA.debugLineNum = 998;BA.debugLine="For x = 0 To bytes - 1"; +RDebugUtils.currentLine=62390307; + //BA.debugLineNum = 62390307;BA.debugLine="For x = 0 To bytes - 1"; { final int step32 = 1; final int limit32 = (int) (_bytes-1); _x = (int) (0) ; for (;_x <= limit32 ;_x = _x + step32 ) { - //BA.debugLineNum = 999;BA.debugLine="Dim xbyte As Byte = 0"; +RDebugUtils.currentLine=62390308; + //BA.debugLineNum = 62390308;BA.debugLine="Dim xbyte As Byte = 0"; _xbyte = (byte) (0); - //BA.debugLineNum = 1000;BA.debugLine="For b = 0 To 7"; +RDebugUtils.currentLine=62390309; + //BA.debugLineNum = 62390309;BA.debugLine="For b = 0 To 7"; { final int step34 = 1; final int limit34 = (int) (7); _b = (int) (0) ; for (;_b <= limit34 ;_b = _b + step34 ) { - //BA.debugLineNum = 1002;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; +RDebugUtils.currentLine=62390311; + //BA.debugLineNum = 62390311;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; _pix = _img.Data /*byte[]*/ [(int) (_slicestart+(_b*_bytes)+_x)]; - //BA.debugLineNum = 1003;BA.debugLine="If pix <> 0 Then"; +RDebugUtils.currentLine=62390312; + //BA.debugLineNum = 62390312;BA.debugLine="If pix <> 0 Then"; if (_pix!=0) { - //BA.debugLineNum = 1004;BA.debugLine="xbyte = xbyte + masks(b)"; +RDebugUtils.currentLine=62390313; + //BA.debugLineNum = 62390313;BA.debugLine="xbyte = xbyte + masks(b)"; _xbyte = (byte) (_xbyte+_masks[_b]); }; } }; - //BA.debugLineNum = 1007;BA.debugLine="pixels(x) = xbyte"; +RDebugUtils.currentLine=62390316; + //BA.debugLineNum = 62390316;BA.debugLine="pixels(x) = xbyte"; _pixels[_x] = _xbyte; } }; }; - //BA.debugLineNum = 1010;BA.debugLine="Return pixels"; +RDebugUtils.currentLine=62390319; + //BA.debugLineNum = 62390319;BA.debugLine="Return pixels"; if (true) return _pixels; - //BA.debugLineNum = 1011;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62390320; + //BA.debugLineNum = 62390320;BA.debugLine="End Sub"; return null; } -public String _plotbox(int _x0,int _y0,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ -int _x = 0; - //BA.debugLineNum = 611;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; - //BA.debugLineNum = 613;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; -_plotline(_x0,_y0,_x0,_y1,_points); - //BA.debugLineNum = 614;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; -_plotline(_x0,_y0,_x1,_y0,_points); - //BA.debugLineNum = 615;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; -_plotline(_x1,_y0,_x1,_y1,_points); - //BA.debugLineNum = 616;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; -_plotline(_x0,_y1,_x1,_y1,_points); - //BA.debugLineNum = 617;BA.debugLine="If Fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 618;BA.debugLine="For x = x0 To x1"; -{ -final int step6 = 1; -final int limit6 = _x1; -_x = _x0 ; -for (;_x <= limit6 ;_x = _x + step6 ) { - //BA.debugLineNum = 619;BA.debugLine="PlotLine(x, y0, x, y1, points)"; -_plotline(_x,_y0,_x,_y1,_points); - } -}; - }; - //BA.debugLineNum = 622;BA.debugLine="End Sub"; -return ""; -} -public String _plotcircle(int _radius,int _quadrants,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ -int _mask = 0; -int _q = 0; -int _i = 0; -double _x = 0; -double _y = 0; - //BA.debugLineNum = 625;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; - //BA.debugLineNum = 627;BA.debugLine="Dim mask As Int = 1"; -_mask = (int) (1); - //BA.debugLineNum = 628;BA.debugLine="For q = 3 To 0 Step -1"; -{ -final int step2 = -1; -final int limit2 = (int) (0); -_q = (int) (3) ; -for (;_q >= limit2 ;_q = _q + step2 ) { - //BA.debugLineNum = 629;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; -if (__c.Bit.And(_quadrants,_mask)!=0) { - //BA.debugLineNum = 630;BA.debugLine="For i = q*90 To q*90+90 Step 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_q*90+90); -_i = (int) (_q*90) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 631;BA.debugLine="Dim x,y As Double"; -_x = 0; -_y = 0; - //BA.debugLineNum = 632;BA.debugLine="x = x1 - SinD(i)*radius"; -_x = _x1-__c.SinD(_i)*_radius; - //BA.debugLineNum = 633;BA.debugLine="y = y1 - CosD(i)*radius"; -_y = _y1-__c.CosD(_i)*_radius; - //BA.debugLineNum = 634;BA.debugLine="If fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 635;BA.debugLine="PlotLine(x1, y1, x, y, points)"; -_plotline(_x1,_y1,(int) (_x),(int) (_y),_points); - }else { - //BA.debugLineNum = 637;BA.debugLine="points(Round(x), Round(y)) = 1"; -_points[(int) (__c.Round(_x))][(int) (__c.Round(_y))] = (byte) (1); - }; - } -}; - }; - //BA.debugLineNum = 641;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; -_mask = __c.Bit.ShiftLeft(_mask,(int) (1)); - } -}; - //BA.debugLineNum = 643;BA.debugLine="End Sub"; -return ""; -} -public String _plotline(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ - //BA.debugLineNum = 646;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; - //BA.debugLineNum = 647;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; -if (__c.Abs(_y1-_y0)<__c.Abs(_x1-_x0)) { - //BA.debugLineNum = 648;BA.debugLine="If x0 > x1 Then"; -if (_x0>_x1) { - //BA.debugLineNum = 649;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; -_plotlinelow(_x1,_y1,_x0,_y0,_points); - }else { - //BA.debugLineNum = 651;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; -_plotlinelow(_x0,_y0,_x1,_y1,_points); - }; - }else { - //BA.debugLineNum = 654;BA.debugLine="If y0 > y1 Then"; -if (_y0>_y1) { - //BA.debugLineNum = 655;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; -_plotlinehigh(_x1,_y1,_x0,_y0,_points); - }else { - //BA.debugLineNum = 657;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; -_plotlinehigh(_x0,_y0,_x1,_y1,_points); - }; - }; - //BA.debugLineNum = 660;BA.debugLine="End Sub"; -return ""; -} -public String _plotlinehigh(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ -int _dx = 0; -int _dy = 0; -int _xi = 0; -int _d = 0; -int _x = 0; -int _y = 0; - //BA.debugLineNum = 662;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 663;BA.debugLine="Dim dx As Int = x1 - x0"; -_dx = (int) (_x1-_x0); - //BA.debugLineNum = 664;BA.debugLine="Dim dy As Int = y1 - y0"; -_dy = (int) (_y1-_y0); - //BA.debugLineNum = 665;BA.debugLine="Dim xi As Int = 1"; -_xi = (int) (1); - //BA.debugLineNum = 666;BA.debugLine="If dx < 0 Then"; -if (_dx<0) { - //BA.debugLineNum = 667;BA.debugLine="xi = -1"; -_xi = (int) (-1); - //BA.debugLineNum = 668;BA.debugLine="dx = -dx"; -_dx = (int) (-_dx); - }; - //BA.debugLineNum = 670;BA.debugLine="Dim D As Int = 2*dx - dy"; -_d = (int) (2*_dx-_dy); - //BA.debugLineNum = 671;BA.debugLine="Dim x As Int = x0"; -_x = _x0; - //BA.debugLineNum = 672;BA.debugLine="For y = y0 To y1"; -{ -final int step10 = 1; -final int limit10 = _y1; -_y = _y0 ; -for (;_y <= limit10 ;_y = _y + step10 ) { - //BA.debugLineNum = 673;BA.debugLine="points(x,y) = 1"; -_points[_x][_y] = (byte) (1); - //BA.debugLineNum = 674;BA.debugLine="If D > 0 Then"; -if (_d>0) { - //BA.debugLineNum = 675;BA.debugLine="x = x + xi"; -_x = (int) (_x+_xi); - //BA.debugLineNum = 676;BA.debugLine="D = D - 2*dy"; -_d = (int) (_d-2*_dy); - }; - //BA.debugLineNum = 678;BA.debugLine="D = D + 2*dx"; -_d = (int) (_d+2*_dx); - } -}; - //BA.debugLineNum = 680;BA.debugLine="End Sub"; -return ""; -} -public String _plotlinelow(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +public String _plotlinelow(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotlinelow", false)) + {return ((String) Debug.delegate(ba, "plotlinelow", new Object[] {_x0,_y0,_x1,_y1,_points}));} int _dx = 0; int _dy = 0; int _yi = 0; int _d = 0; int _y = 0; int _x = 0; - //BA.debugLineNum = 682;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; - //BA.debugLineNum = 683;BA.debugLine="Dim dx As Int = x1 - x0"; +RDebugUtils.currentLine=61865984; + //BA.debugLineNum = 61865984;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; +RDebugUtils.currentLine=61865985; + //BA.debugLineNum = 61865985;BA.debugLine="Dim dx As Int = x1 - x0"; _dx = (int) (_x1-_x0); - //BA.debugLineNum = 684;BA.debugLine="Dim dy As Int = y1 - y0"; +RDebugUtils.currentLine=61865986; + //BA.debugLineNum = 61865986;BA.debugLine="Dim dy As Int = y1 - y0"; _dy = (int) (_y1-_y0); - //BA.debugLineNum = 685;BA.debugLine="Dim yi As Int = 1"; +RDebugUtils.currentLine=61865987; + //BA.debugLineNum = 61865987;BA.debugLine="Dim yi As Int = 1"; _yi = (int) (1); - //BA.debugLineNum = 686;BA.debugLine="If dy < 0 Then"; +RDebugUtils.currentLine=61865988; + //BA.debugLineNum = 61865988;BA.debugLine="If dy < 0 Then"; if (_dy<0) { - //BA.debugLineNum = 687;BA.debugLine="yi = -1"; +RDebugUtils.currentLine=61865989; + //BA.debugLineNum = 61865989;BA.debugLine="yi = -1"; _yi = (int) (-1); - //BA.debugLineNum = 688;BA.debugLine="dy = -dy"; +RDebugUtils.currentLine=61865990; + //BA.debugLineNum = 61865990;BA.debugLine="dy = -dy"; _dy = (int) (-_dy); }; - //BA.debugLineNum = 690;BA.debugLine="Dim D As Int = 2*dy - dx"; +RDebugUtils.currentLine=61865992; + //BA.debugLineNum = 61865992;BA.debugLine="Dim D As Int = 2*dy - dx"; _d = (int) (2*_dy-_dx); - //BA.debugLineNum = 691;BA.debugLine="Dim y As Int = y0"; +RDebugUtils.currentLine=61865993; + //BA.debugLineNum = 61865993;BA.debugLine="Dim y As Int = y0"; _y = _y0; - //BA.debugLineNum = 692;BA.debugLine="For x = x0 To x1"; +RDebugUtils.currentLine=61865994; + //BA.debugLineNum = 61865994;BA.debugLine="For x = x0 To x1"; { final int step10 = 1; final int limit10 = _x1; _x = _x0 ; for (;_x <= limit10 ;_x = _x + step10 ) { - //BA.debugLineNum = 693;BA.debugLine="points(x,y) = 1"; +RDebugUtils.currentLine=61865995; + //BA.debugLineNum = 61865995;BA.debugLine="points(x,y) = 1"; _points[_x][_y] = (byte) (1); - //BA.debugLineNum = 694;BA.debugLine="If D > 0 Then"; +RDebugUtils.currentLine=61865996; + //BA.debugLineNum = 61865996;BA.debugLine="If D > 0 Then"; if (_d>0) { - //BA.debugLineNum = 695;BA.debugLine="y = y + yi"; +RDebugUtils.currentLine=61865997; + //BA.debugLineNum = 61865997;BA.debugLine="y = y + yi"; _y = (int) (_y+_yi); - //BA.debugLineNum = 696;BA.debugLine="D = D - 2*dx"; +RDebugUtils.currentLine=61865998; + //BA.debugLineNum = 61865998;BA.debugLine="D = D - 2*dx"; _d = (int) (_d-2*_dx); }; - //BA.debugLineNum = 698;BA.debugLine="D = D + 2*dy"; +RDebugUtils.currentLine=61866000; + //BA.debugLineNum = 61866000;BA.debugLine="D = D + 2*dy"; _d = (int) (_d+2*_dy); } }; - //BA.debugLineNum = 700;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61866002; + //BA.debugLineNum = 61866002;BA.debugLine="End Sub"; return ""; } -public String _plottriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points,int _fill) throws Exception{ - //BA.debugLineNum = 534;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 536;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; -_plotline(_x0,_y0,_x1,_y1,_points); - //BA.debugLineNum = 537;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; -_plotline(_x1,_y1,_x2,_y2,_points); - //BA.debugLineNum = 538;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; -_plotline(_x2,_y2,_x0,_y0,_points); - //BA.debugLineNum = 539;BA.debugLine="If Fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 540;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; -_filltriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points); +public String _plotlinehigh(reparto_intmex.keymon.lat.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotlinehigh", false)) + {return ((String) Debug.delegate(ba, "plotlinehigh", new Object[] {_x0,_y0,_x1,_y1,_points}));} +int _dx = 0; +int _dy = 0; +int _xi = 0; +int _d = 0; +int _x = 0; +int _y = 0; +RDebugUtils.currentLine=61800448; + //BA.debugLineNum = 61800448;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=61800449; + //BA.debugLineNum = 61800449;BA.debugLine="Dim dx As Int = x1 - x0"; +_dx = (int) (_x1-_x0); +RDebugUtils.currentLine=61800450; + //BA.debugLineNum = 61800450;BA.debugLine="Dim dy As Int = y1 - y0"; +_dy = (int) (_y1-_y0); +RDebugUtils.currentLine=61800451; + //BA.debugLineNum = 61800451;BA.debugLine="Dim xi As Int = 1"; +_xi = (int) (1); +RDebugUtils.currentLine=61800452; + //BA.debugLineNum = 61800452;BA.debugLine="If dx < 0 Then"; +if (_dx<0) { +RDebugUtils.currentLine=61800453; + //BA.debugLineNum = 61800453;BA.debugLine="xi = -1"; +_xi = (int) (-1); +RDebugUtils.currentLine=61800454; + //BA.debugLineNum = 61800454;BA.debugLine="dx = -dx"; +_dx = (int) (-_dx); }; - //BA.debugLineNum = 542;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61800456; + //BA.debugLineNum = 61800456;BA.debugLine="Dim D As Int = 2*dx - dy"; +_d = (int) (2*_dx-_dy); +RDebugUtils.currentLine=61800457; + //BA.debugLineNum = 61800457;BA.debugLine="Dim x As Int = x0"; +_x = _x0; +RDebugUtils.currentLine=61800458; + //BA.debugLineNum = 61800458;BA.debugLine="For y = y0 To y1"; +{ +final int step10 = 1; +final int limit10 = _y1; +_y = _y0 ; +for (;_y <= limit10 ;_y = _y + step10 ) { +RDebugUtils.currentLine=61800459; + //BA.debugLineNum = 61800459;BA.debugLine="points(x,y) = 1"; +_points[_x][_y] = (byte) (1); +RDebugUtils.currentLine=61800460; + //BA.debugLineNum = 61800460;BA.debugLine="If D > 0 Then"; +if (_d>0) { +RDebugUtils.currentLine=61800461; + //BA.debugLineNum = 61800461;BA.debugLine="x = x + xi"; +_x = (int) (_x+_xi); +RDebugUtils.currentLine=61800462; + //BA.debugLineNum = 61800462;BA.debugLine="D = D - 2*dy"; +_d = (int) (_d-2*_dy); + }; +RDebugUtils.currentLine=61800464; + //BA.debugLineNum = 61800464;BA.debugLine="D = D + 2*dx"; +_d = (int) (_d+2*_dx); + } +}; +RDebugUtils.currentLine=61800466; + //BA.debugLineNum = 61800466;BA.debugLine="End Sub"; return ""; } -public String _printandfeedpaper(int _units) throws Exception{ +public String _printandfeedpaper(reparto_intmex.keymon.lat.escposprinter __ref,int _units) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printandfeedpaper", false)) + {return ((String) Debug.delegate(ba, "printandfeedpaper", new Object[] {_units}));} byte[] _params = null; - //BA.debugLineNum = 160;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; - //BA.debugLineNum = 161;BA.debugLine="WriteString(ESC & \"J\")"; -_writestring(_esc+"J"); - //BA.debugLineNum = 162;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=60030976; + //BA.debugLineNum = 60030976;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; +RDebugUtils.currentLine=60030977; + //BA.debugLineNum = 60030977;BA.debugLine="WriteString(ESC & \"J\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"J"); +RDebugUtils.currentLine=60030978; + //BA.debugLineNum = 60030978;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 163;BA.debugLine="params(0) = units"; +RDebugUtils.currentLine=60030979; + //BA.debugLineNum = 60030979;BA.debugLine="params(0) = units"; _params[(int) (0)] = (byte) (_units); - //BA.debugLineNum = 164;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 165;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60030980; + //BA.debugLineNum = 60030980;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=60030981; + //BA.debugLineNum = 60030981;BA.debugLine="End Sub"; return ""; } -public int _printimage(reparto_intmex.keymon.lat.escposprinter._animage _img) throws Exception{ +public int _printimage(reparto_intmex.keymon.lat.escposprinter __ref,reparto_intmex.keymon.lat.escposprinter._animage _img) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printimage", false)) + {return ((Integer) Debug.delegate(ba, "printimage", new Object[] {_img}));} int _xh = 0; int _xl = 0; int _yh = 0; int _yl = 0; byte[] _params = null; - //BA.debugLineNum = 837;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; - //BA.debugLineNum = 840;BA.debugLine="If img.width > 72 Then Return -1"; +RDebugUtils.currentLine=62193664; + //BA.debugLineNum = 62193664;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; +RDebugUtils.currentLine=62193667; + //BA.debugLineNum = 62193667;BA.debugLine="If img.width > 72 Then Return -1"; if (_img.Width /*int*/ >72) { if (true) return (int) (-1);}; - //BA.debugLineNum = 841;BA.debugLine="If img.height > 512 Then Return -2"; +RDebugUtils.currentLine=62193668; + //BA.debugLineNum = 62193668;BA.debugLine="If img.height > 512 Then Return -2"; if (_img.Height /*int*/ >512) { if (true) return (int) (-2);}; - //BA.debugLineNum = 842;BA.debugLine="If img.data.Length < img.width * img.height Then"; +RDebugUtils.currentLine=62193669; + //BA.debugLineNum = 62193669;BA.debugLine="If img.data.Length < img.width * img.height Then"; if (_img.Data /*byte[]*/ .length<_img.Width /*int*/ *_img.Height /*int*/ ) { if (true) return (int) (-3);}; - //BA.debugLineNum = 843;BA.debugLine="Dim xh As Int = img.width / 256"; +RDebugUtils.currentLine=62193670; + //BA.debugLineNum = 62193670;BA.debugLine="Dim xh As Int = img.width / 256"; _xh = (int) (_img.Width /*int*/ /(double)256); - //BA.debugLineNum = 844;BA.debugLine="Dim xl As Int = img.width - xh * 256"; +RDebugUtils.currentLine=62193671; + //BA.debugLineNum = 62193671;BA.debugLine="Dim xl As Int = img.width - xh * 256"; _xl = (int) (_img.Width /*int*/ -_xh*256); - //BA.debugLineNum = 845;BA.debugLine="Dim yh As Int = img.height / 256"; +RDebugUtils.currentLine=62193672; + //BA.debugLineNum = 62193672;BA.debugLine="Dim yh As Int = img.height / 256"; _yh = (int) (_img.Height /*int*/ /(double)256); - //BA.debugLineNum = 846;BA.debugLine="Dim yl As Int = img.height - yh * 256"; +RDebugUtils.currentLine=62193673; + //BA.debugLineNum = 62193673;BA.debugLine="Dim yl As Int = img.height - yh * 256"; _yl = (int) (_img.Height /*int*/ -_yh*256); - //BA.debugLineNum = 847;BA.debugLine="Dim params(5) As Byte"; +RDebugUtils.currentLine=62193674; + //BA.debugLineNum = 62193674;BA.debugLine="Dim params(5) As Byte"; _params = new byte[(int) (5)]; ; - //BA.debugLineNum = 848;BA.debugLine="params(0) = 0 '"; +RDebugUtils.currentLine=62193675; + //BA.debugLineNum = 62193675;BA.debugLine="params(0) = 0 '"; _params[(int) (0)] = (byte) (0); - //BA.debugLineNum = 849;BA.debugLine="params(1) = xl"; +RDebugUtils.currentLine=62193676; + //BA.debugLineNum = 62193676;BA.debugLine="params(1) = xl"; _params[(int) (1)] = (byte) (_xl); - //BA.debugLineNum = 850;BA.debugLine="params(2) = xh"; +RDebugUtils.currentLine=62193677; + //BA.debugLineNum = 62193677;BA.debugLine="params(2) = xh"; _params[(int) (2)] = (byte) (_xh); - //BA.debugLineNum = 851;BA.debugLine="params(3) = yl"; +RDebugUtils.currentLine=62193678; + //BA.debugLineNum = 62193678;BA.debugLine="params(3) = yl"; _params[(int) (3)] = (byte) (_yl); - //BA.debugLineNum = 852;BA.debugLine="params(4) = yh"; +RDebugUtils.currentLine=62193679; + //BA.debugLineNum = 62193679;BA.debugLine="params(4) = yh"; _params[(int) (4)] = (byte) (_yh); - //BA.debugLineNum = 853;BA.debugLine="WriteString(GS & \"v0\")"; -_writestring(_gs+"v0"); - //BA.debugLineNum = 854;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 855;BA.debugLine="WriteBytes(img.data)"; -_writebytes(_img.Data /*byte[]*/ ); - //BA.debugLineNum = 856;BA.debugLine="WriteString(CRLF)"; -_writestring(__c.CRLF); - //BA.debugLineNum = 857;BA.debugLine="Return 0"; +RDebugUtils.currentLine=62193680; + //BA.debugLineNum = 62193680;BA.debugLine="WriteString(GS & \"v0\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"v0"); +RDebugUtils.currentLine=62193681; + //BA.debugLineNum = 62193681;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=62193682; + //BA.debugLineNum = 62193682;BA.debugLine="WriteBytes(img.data)"; +__ref._writebytes /*String*/ (null,_img.Data /*byte[]*/ ); +RDebugUtils.currentLine=62193683; + //BA.debugLineNum = 62193683;BA.debugLine="WriteString(CRLF)"; +__ref._writestring /*String*/ (null,__c.CRLF); +RDebugUtils.currentLine=62193684; + //BA.debugLineNum = 62193684;BA.debugLine="Return 0"; if (true) return (int) (0); - //BA.debugLineNum = 858;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62193685; + //BA.debugLineNum = 62193685;BA.debugLine="End Sub"; return 0; } -public int _printimage2(int _width,byte[] _data,boolean _highdensity,boolean _dotds24) throws Exception{ +public int _printimage2(reparto_intmex.keymon.lat.escposprinter __ref,int _width,byte[] _data,boolean _highdensity,boolean _dotds24) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printimage2", false)) + {return ((Integer) Debug.delegate(ba, "printimage2", new Object[] {_width,_data,_highdensity,_dotds24}));} String _d = ""; int _xh = 0; int _xl = 0; byte[] _params = null; - //BA.debugLineNum = 927;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; - //BA.debugLineNum = 928;BA.debugLine="Dim d As String = Chr(0)"; +RDebugUtils.currentLine=62324736; + //BA.debugLineNum = 62324736;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; +RDebugUtils.currentLine=62324737; + //BA.debugLineNum = 62324737;BA.debugLine="Dim d As String = Chr(0)"; _d = BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 929;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; +RDebugUtils.currentLine=62324738; + //BA.debugLineNum = 62324738;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; if (__c.Not(_highdensity) && __c.Not(_dotds24)) { - //BA.debugLineNum = 930;BA.debugLine="d = Chr(0)"; +RDebugUtils.currentLine=62324739; + //BA.debugLineNum = 62324739;BA.debugLine="d = Chr(0)"; _d = BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 931;BA.debugLine="If width > 288 Then Return -1"; +RDebugUtils.currentLine=62324740; + //BA.debugLineNum = 62324740;BA.debugLine="If width > 288 Then Return -1"; if (_width>288) { if (true) return (int) (-1);}; - //BA.debugLineNum = 932;BA.debugLine="If data.Length <> width Then Return -3"; +RDebugUtils.currentLine=62324741; + //BA.debugLineNum = 62324741;BA.debugLine="If data.Length <> width Then Return -3"; if (_data.length!=_width) { if (true) return (int) (-3);}; - }else if(_highdensity && __c.Not(_dotds24)) { - //BA.debugLineNum = 934;BA.debugLine="d = Chr(1)"; + }else +{RDebugUtils.currentLine=62324742; + //BA.debugLineNum = 62324742;BA.debugLine="Else If highdensity And Not(dotds24) Then"; +if (_highdensity && __c.Not(_dotds24)) { +RDebugUtils.currentLine=62324743; + //BA.debugLineNum = 62324743;BA.debugLine="d = Chr(1)"; _d = BA.ObjectToString(__c.Chr((int) (1))); - //BA.debugLineNum = 935;BA.debugLine="If width > 576 Then Return -1"; +RDebugUtils.currentLine=62324744; + //BA.debugLineNum = 62324744;BA.debugLine="If width > 576 Then Return -1"; if (_width>576) { if (true) return (int) (-1);}; - //BA.debugLineNum = 936;BA.debugLine="If data.Length <> width Then Return -3"; +RDebugUtils.currentLine=62324745; + //BA.debugLineNum = 62324745;BA.debugLine="If data.Length <> width Then Return -3"; if (_data.length!=_width) { if (true) return (int) (-3);}; - }else if(__c.Not(_highdensity) && _dotds24) { - //BA.debugLineNum = 938;BA.debugLine="d = Chr(32)"; + }else +{RDebugUtils.currentLine=62324746; + //BA.debugLineNum = 62324746;BA.debugLine="Else If Not(highdensity) And dotds24 Then"; +if (__c.Not(_highdensity) && _dotds24) { +RDebugUtils.currentLine=62324747; + //BA.debugLineNum = 62324747;BA.debugLine="d = Chr(32)"; _d = BA.ObjectToString(__c.Chr((int) (32))); - //BA.debugLineNum = 939;BA.debugLine="If width > 288 Then Return -1"; +RDebugUtils.currentLine=62324748; + //BA.debugLineNum = 62324748;BA.debugLine="If width > 288 Then Return -1"; if (_width>288) { if (true) return (int) (-1);}; - //BA.debugLineNum = 940;BA.debugLine="If data.Length <> width*3 Then Return -3"; +RDebugUtils.currentLine=62324749; + //BA.debugLineNum = 62324749;BA.debugLine="If data.Length <> width*3 Then Return -3"; if (_data.length!=_width*3) { if (true) return (int) (-3);}; }else { - //BA.debugLineNum = 942;BA.debugLine="d = Chr(33)"; +RDebugUtils.currentLine=62324751; + //BA.debugLineNum = 62324751;BA.debugLine="d = Chr(33)"; _d = BA.ObjectToString(__c.Chr((int) (33))); - //BA.debugLineNum = 943;BA.debugLine="If width > 576 Then Return -1"; +RDebugUtils.currentLine=62324752; + //BA.debugLineNum = 62324752;BA.debugLine="If width > 576 Then Return -1"; if (_width>576) { if (true) return (int) (-1);}; - //BA.debugLineNum = 944;BA.debugLine="If data.Length <> width*3 Then Return -3"; +RDebugUtils.currentLine=62324753; + //BA.debugLineNum = 62324753;BA.debugLine="If data.Length <> width*3 Then Return -3"; if (_data.length!=_width*3) { if (true) return (int) (-3);}; - }; - //BA.debugLineNum = 946;BA.debugLine="Dim xh As Int = width / 256"; + }}} +; +RDebugUtils.currentLine=62324755; + //BA.debugLineNum = 62324755;BA.debugLine="Dim xh As Int = width / 256"; _xh = (int) (_width/(double)256); - //BA.debugLineNum = 947;BA.debugLine="Dim xl As Int = width - xh * 256"; +RDebugUtils.currentLine=62324756; + //BA.debugLineNum = 62324756;BA.debugLine="Dim xl As Int = width - xh * 256"; _xl = (int) (_width-_xh*256); - //BA.debugLineNum = 948;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=62324757; + //BA.debugLineNum = 62324757;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 949;BA.debugLine="params(0) = xl"; +RDebugUtils.currentLine=62324758; + //BA.debugLineNum = 62324758;BA.debugLine="params(0) = xl"; _params[(int) (0)] = (byte) (_xl); - //BA.debugLineNum = 950;BA.debugLine="params(1) = xh"; +RDebugUtils.currentLine=62324759; + //BA.debugLineNum = 62324759;BA.debugLine="params(1) = xh"; _params[(int) (1)] = (byte) (_xh); - //BA.debugLineNum = 951;BA.debugLine="WriteString(ESC & \"*\" & d)"; -_writestring(_esc+"*"+_d); - //BA.debugLineNum = 952;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 953;BA.debugLine="WriteBytes(data)"; -_writebytes(_data); - //BA.debugLineNum = 954;BA.debugLine="WriteString(CRLF)"; -_writestring(__c.CRLF); - //BA.debugLineNum = 955;BA.debugLine="Return 0"; +RDebugUtils.currentLine=62324760; + //BA.debugLineNum = 62324760;BA.debugLine="WriteString(ESC & \"*\" & d)"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"*"+_d); +RDebugUtils.currentLine=62324761; + //BA.debugLineNum = 62324761;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=62324762; + //BA.debugLineNum = 62324762;BA.debugLine="WriteBytes(data)"; +__ref._writebytes /*String*/ (null,_data); +RDebugUtils.currentLine=62324763; + //BA.debugLineNum = 62324763;BA.debugLine="WriteString(CRLF)"; +__ref._writestring /*String*/ (null,__c.CRLF); +RDebugUtils.currentLine=62324764; + //BA.debugLineNum = 62324764;BA.debugLine="Return 0"; if (true) return (int) (0); - //BA.debugLineNum = 956;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62324765; + //BA.debugLineNum = 62324765;BA.debugLine="End Sub"; return 0; } -public String _reset() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Public Sub Reset"; - //BA.debugLineNum = 150;BA.debugLine="WriteString(ESC & \"@\")"; -_writestring(_esc+"@"); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +public String _reset(reparto_intmex.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "reset", false)) + {return ((String) Debug.delegate(ba, "reset", null));} +RDebugUtils.currentLine=59965440; + //BA.debugLineNum = 59965440;BA.debugLine="Public Sub Reset"; +RDebugUtils.currentLine=59965441; + //BA.debugLineNum = 59965441;BA.debugLine="WriteString(ESC & \"@\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"@"); +RDebugUtils.currentLine=59965442; + //BA.debugLineNum = 59965442;BA.debugLine="End Sub"; return ""; } -public String _serial1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 1115;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; - //BA.debugLineNum = 1116;BA.debugLine="If Success Then"; +public String _serial1_connected(reparto_intmex.keymon.lat.escposprinter __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "serial1_connected", false)) + {return ((String) Debug.delegate(ba, "serial1_connected", new Object[] {_success}));} +RDebugUtils.currentLine=62914560; + //BA.debugLineNum = 62914560;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=62914561; + //BA.debugLineNum = 62914561;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 1117;BA.debugLine="Astream.Initialize(Serial1.InputStream, Serial1."; -_astream.Initialize(ba,_serial1.getInputStream(),_serial1.getOutputStream(),"astream"); - //BA.debugLineNum = 1118;BA.debugLine="Connected = True"; -_connected = __c.True; - //BA.debugLineNum = 1119;BA.debugLine="ConnectedError = \"\""; -_connectederror = ""; - //BA.debugLineNum = 1120;BA.debugLine="Serial1.Listen"; -_serial1.Listen(ba); +RDebugUtils.currentLine=62914562; + //BA.debugLineNum = 62914562;BA.debugLine="Astream.Initialize(Serial1.InputStream, Serial1."; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Initialize(ba,__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .getInputStream(),__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .getOutputStream(),"astream"); +RDebugUtils.currentLine=62914563; + //BA.debugLineNum = 62914563;BA.debugLine="Connected = True"; +__ref._connected /*boolean*/ = __c.True; +RDebugUtils.currentLine=62914564; + //BA.debugLineNum = 62914564;BA.debugLine="ConnectedError = \"\""; +__ref._connectederror /*String*/ = ""; +RDebugUtils.currentLine=62914565; + //BA.debugLineNum = 62914565;BA.debugLine="Serial1.Listen"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Listen(ba); }else { - //BA.debugLineNum = 1122;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 1123;BA.debugLine="ConnectedError = LastException.Message"; -_connectederror = __c.LastException(getActivityBA()).getMessage(); +RDebugUtils.currentLine=62914567; + //BA.debugLineNum = 62914567;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=62914568; + //BA.debugLineNum = 62914568;BA.debugLine="ConnectedError = LastException.Message"; +__ref._connectederror /*String*/ = __c.LastException(getActivityBA()).getMessage(); }; - //BA.debugLineNum = 1125;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; -if (__c.SubExists(ba,_callback,_eventname+"_Connected")) { - //BA.debugLineNum = 1126;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; -__c.CallSubNew2(ba,_callback,_eventname+"_Connected",(Object)(_success)); +RDebugUtils.currentLine=62914570; + //BA.debugLineNum = 62914570;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Connected")) { +RDebugUtils.currentLine=62914571; + //BA.debugLineNum = 62914571;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Connected",(Object)(_success)); }; - //BA.debugLineNum = 1128;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62914573; + //BA.debugLineNum = 62914573;BA.debugLine="End Sub"; return ""; } -public String _setbarcodeheight(int _height) throws Exception{ +public String _setbarcodeheight(reparto_intmex.keymon.lat.escposprinter __ref,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodeheight", false)) + {return ((String) Debug.delegate(ba, "setbarcodeheight", new Object[] {_height}));} byte[] _params = null; - //BA.debugLineNum = 1019;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; - //BA.debugLineNum = 1020;BA.debugLine="WriteString(GS & \"h\")"; -_writestring(_gs+"h"); - //BA.debugLineNum = 1021;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=62455808; + //BA.debugLineNum = 62455808;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; +RDebugUtils.currentLine=62455809; + //BA.debugLineNum = 62455809;BA.debugLine="WriteString(GS & \"h\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"h"); +RDebugUtils.currentLine=62455810; + //BA.debugLineNum = 62455810;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1022;BA.debugLine="params(0) = height"; +RDebugUtils.currentLine=62455811; + //BA.debugLineNum = 62455811;BA.debugLine="params(0) = height"; _params[(int) (0)] = (byte) (_height); - //BA.debugLineNum = 1023;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1024;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62455812; + //BA.debugLineNum = 62455812;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=62455813; + //BA.debugLineNum = 62455813;BA.debugLine="End Sub"; return ""; } -public String _setbarcodeleft(int _left) throws Exception{ +public String _setbarcodeleft(reparto_intmex.keymon.lat.escposprinter __ref,int _left) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodeleft", false)) + {return ((String) Debug.delegate(ba, "setbarcodeleft", new Object[] {_left}));} byte[] _params = null; - //BA.debugLineNum = 1028;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; - //BA.debugLineNum = 1029;BA.debugLine="WriteString(GS & \"x\")"; -_writestring(_gs+"x"); - //BA.debugLineNum = 1030;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=62521344; + //BA.debugLineNum = 62521344;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; +RDebugUtils.currentLine=62521345; + //BA.debugLineNum = 62521345;BA.debugLine="WriteString(GS & \"x\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"x"); +RDebugUtils.currentLine=62521346; + //BA.debugLineNum = 62521346;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1031;BA.debugLine="params(0) = left"; +RDebugUtils.currentLine=62521347; + //BA.debugLineNum = 62521347;BA.debugLine="params(0) = left"; _params[(int) (0)] = (byte) (_left); - //BA.debugLineNum = 1032;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1033;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62521348; + //BA.debugLineNum = 62521348;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=62521349; + //BA.debugLineNum = 62521349;BA.debugLine="End Sub"; return ""; } -public String _setbarcodewidth(int _width) throws Exception{ +public String _setbarcodewidth(reparto_intmex.keymon.lat.escposprinter __ref,int _width) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodewidth", false)) + {return ((String) Debug.delegate(ba, "setbarcodewidth", new Object[] {_width}));} byte[] _params = null; - //BA.debugLineNum = 1038;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; - //BA.debugLineNum = 1039;BA.debugLine="WriteString(GS & \"w\")"; -_writestring(_gs+"w"); - //BA.debugLineNum = 1040;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=62586880; + //BA.debugLineNum = 62586880;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; +RDebugUtils.currentLine=62586881; + //BA.debugLineNum = 62586881;BA.debugLine="WriteString(GS & \"w\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"w"); +RDebugUtils.currentLine=62586882; + //BA.debugLineNum = 62586882;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1041;BA.debugLine="params(0) = width"; +RDebugUtils.currentLine=62586883; + //BA.debugLineNum = 62586883;BA.debugLine="params(0) = width"; _params[(int) (0)] = (byte) (_width); - //BA.debugLineNum = 1042;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1043;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62586884; + //BA.debugLineNum = 62586884;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=62586885; + //BA.debugLineNum = 62586885;BA.debugLine="End Sub"; return ""; } -public String _setcharacterfont(int _font) throws Exception{ - //BA.debugLineNum = 247;BA.debugLine="Public Sub setCharacterFont(font As Int)"; - //BA.debugLineNum = 248;BA.debugLine="WriteString(ESC & \"M\" & Chr(Bit.And(1,font)))"; -_writestring(_esc+"M"+BA.ObjectToString(__c.Chr(__c.Bit.And((int) (1),_font)))); - //BA.debugLineNum = 249;BA.debugLine="End Sub"; +public String _setcharacterfont(reparto_intmex.keymon.lat.escposprinter __ref,int _font) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcharacterfont", false)) + {return ((String) Debug.delegate(ba, "setcharacterfont", new Object[] {_font}));} +RDebugUtils.currentLine=60555264; + //BA.debugLineNum = 60555264;BA.debugLine="Public Sub setCharacterFont(font As Int)"; +RDebugUtils.currentLine=60555265; + //BA.debugLineNum = 60555265;BA.debugLine="WriteString(ESC & \"M\" & Chr(Bit.And(1,font)))"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"M"+BA.ObjectToString(__c.Chr(__c.Bit.And((int) (1),_font)))); +RDebugUtils.currentLine=60555266; + //BA.debugLineNum = 60555266;BA.debugLine="End Sub"; return ""; } -public String _setcharacterspacing(int _spacing) throws Exception{ +public String _setcharacterspacing(reparto_intmex.keymon.lat.escposprinter __ref,int _spacing) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcharacterspacing", false)) + {return ((String) Debug.delegate(ba, "setcharacterspacing", new Object[] {_spacing}));} byte[] _params = null; - //BA.debugLineNum = 168;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; - //BA.debugLineNum = 169;BA.debugLine="WriteString(ESC & \" \")"; -_writestring(_esc+" "); - //BA.debugLineNum = 170;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=60096512; + //BA.debugLineNum = 60096512;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; +RDebugUtils.currentLine=60096513; + //BA.debugLineNum = 60096513;BA.debugLine="WriteString(ESC & \" \")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +" "); +RDebugUtils.currentLine=60096514; + //BA.debugLineNum = 60096514;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 171;BA.debugLine="params(0) = spacing"; +RDebugUtils.currentLine=60096515; + //BA.debugLineNum = 60096515;BA.debugLine="params(0) = spacing"; _params[(int) (0)] = (byte) (_spacing); - //BA.debugLineNum = 172;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60096516; + //BA.debugLineNum = 60096516;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=60096517; + //BA.debugLineNum = 60096517;BA.debugLine="End Sub"; return ""; } -public String _setcodepage(int _codepage) throws Exception{ +public String _setcodepage(reparto_intmex.keymon.lat.escposprinter __ref,int _codepage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcodepage", false)) + {return ((String) Debug.delegate(ba, "setcodepage", new Object[] {_codepage}));} byte[] _params = null; - //BA.debugLineNum = 236;BA.debugLine="Public Sub setCodePage(codepage As Int)"; - //BA.debugLineNum = 237;BA.debugLine="WriteString(ESC & \"t\")"; -_writestring(_esc+"t"); - //BA.debugLineNum = 238;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=60489728; + //BA.debugLineNum = 60489728;BA.debugLine="Public Sub setCodePage(codepage As Int)"; +RDebugUtils.currentLine=60489729; + //BA.debugLineNum = 60489729;BA.debugLine="WriteString(ESC & \"t\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"t"); +RDebugUtils.currentLine=60489730; + //BA.debugLineNum = 60489730;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 239;BA.debugLine="params(0) = codepage"; +RDebugUtils.currentLine=60489731; + //BA.debugLineNum = 60489731;BA.debugLine="params(0) = codepage"; _params[(int) (0)] = (byte) (_codepage); - //BA.debugLineNum = 240;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 241;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60489732; + //BA.debugLineNum = 60489732;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=60489733; + //BA.debugLineNum = 60489733;BA.debugLine="End Sub"; return ""; } -public String _sethrifont(int _font) throws Exception{ - //BA.debugLineNum = 1060;BA.debugLine="Public Sub setHriFont(font As Int)"; - //BA.debugLineNum = 1061;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; -_writestring(_gs+"f"+BA.ObjectToString(__c.Chr(_font))); - //BA.debugLineNum = 1062;BA.debugLine="End Sub"; +public String _sethrifont(reparto_intmex.keymon.lat.escposprinter __ref,int _font) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "sethrifont", false)) + {return ((String) Debug.delegate(ba, "sethrifont", new Object[] {_font}));} +RDebugUtils.currentLine=62717952; + //BA.debugLineNum = 62717952;BA.debugLine="Public Sub setHriFont(font As Int)"; +RDebugUtils.currentLine=62717953; + //BA.debugLineNum = 62717953;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"f"+BA.ObjectToString(__c.Chr(_font))); +RDebugUtils.currentLine=62717954; + //BA.debugLineNum = 62717954;BA.debugLine="End Sub"; return ""; } -public String _sethriposn(int _posn) throws Exception{ +public String _sethriposn(reparto_intmex.keymon.lat.escposprinter __ref,int _posn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "sethriposn", false)) + {return ((String) Debug.delegate(ba, "sethriposn", new Object[] {_posn}));} byte[] _params = null; - //BA.debugLineNum = 1049;BA.debugLine="Public Sub setHriPosn(posn As Int)"; - //BA.debugLineNum = 1050;BA.debugLine="WriteString(GS & \"H\")"; -_writestring(_gs+"H"); - //BA.debugLineNum = 1051;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=62652416; + //BA.debugLineNum = 62652416;BA.debugLine="Public Sub setHriPosn(posn As Int)"; +RDebugUtils.currentLine=62652417; + //BA.debugLineNum = 62652417;BA.debugLine="WriteString(GS & \"H\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"H"); +RDebugUtils.currentLine=62652418; + //BA.debugLineNum = 62652418;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1052;BA.debugLine="params(0) = posn"; +RDebugUtils.currentLine=62652419; + //BA.debugLineNum = 62652419;BA.debugLine="params(0) = posn"; _params[(int) (0)] = (byte) (_posn); - //BA.debugLineNum = 1053;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1054;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62652420; + //BA.debugLineNum = 62652420;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=62652421; + //BA.debugLineNum = 62652421;BA.debugLine="End Sub"; return ""; } -public String _setjustify(int _justify) throws Exception{ - //BA.debugLineNum = 230;BA.debugLine="Public Sub setJustify(justify As Int)"; - //BA.debugLineNum = 231;BA.debugLine="WriteString(ESC & \"a\" & Chr(justify + 48))"; -_writestring(_esc+"a"+BA.ObjectToString(__c.Chr((int) (_justify+48)))); - //BA.debugLineNum = 232;BA.debugLine="End Sub"; +public String _setjustify(reparto_intmex.keymon.lat.escposprinter __ref,int _justify) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setjustify", false)) + {return ((String) Debug.delegate(ba, "setjustify", new Object[] {_justify}));} +RDebugUtils.currentLine=60424192; + //BA.debugLineNum = 60424192;BA.debugLine="Public Sub setJustify(justify As Int)"; +RDebugUtils.currentLine=60424193; + //BA.debugLineNum = 60424193;BA.debugLine="WriteString(ESC & \"a\" & Chr(justify + 48))"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"a"+BA.ObjectToString(__c.Chr((int) (_justify+48)))); +RDebugUtils.currentLine=60424194; + //BA.debugLineNum = 60424194;BA.debugLine="End Sub"; return ""; } -public String _setleftinset(int _inset) throws Exception{ +public String _setleftinset(reparto_intmex.keymon.lat.escposprinter __ref,int _inset) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setleftinset", false)) + {return ((String) Debug.delegate(ba, "setleftinset", new Object[] {_inset}));} int _dh = 0; int _dl = 0; byte[] _params = null; - //BA.debugLineNum = 178;BA.debugLine="Public Sub setLeftInset(inset As Int)"; - //BA.debugLineNum = 179;BA.debugLine="Dim dh As Int = inset / 256"; +RDebugUtils.currentLine=60162048; + //BA.debugLineNum = 60162048;BA.debugLine="Public Sub setLeftInset(inset As Int)"; +RDebugUtils.currentLine=60162049; + //BA.debugLineNum = 60162049;BA.debugLine="Dim dh As Int = inset / 256"; _dh = (int) (_inset/(double)256); - //BA.debugLineNum = 180;BA.debugLine="Dim dl As Int = inset - dh"; +RDebugUtils.currentLine=60162050; + //BA.debugLineNum = 60162050;BA.debugLine="Dim dl As Int = inset - dh"; _dl = (int) (_inset-_dh); - //BA.debugLineNum = 181;BA.debugLine="WriteString(ESC & \"$\" & Chr(dl) & Chr(dh))"; -_writestring(_esc+"$"+BA.ObjectToString(__c.Chr(_dl))+BA.ObjectToString(__c.Chr(_dh))); - //BA.debugLineNum = 182;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=60162051; + //BA.debugLineNum = 60162051;BA.debugLine="WriteString(ESC & \"$\" & Chr(dl) & Chr(dh))"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"$"+BA.ObjectToString(__c.Chr(_dl))+BA.ObjectToString(__c.Chr(_dh))); +RDebugUtils.currentLine=60162052; + //BA.debugLineNum = 60162052;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 183;BA.debugLine="params(0) = dl"; +RDebugUtils.currentLine=60162053; + //BA.debugLineNum = 60162053;BA.debugLine="params(0) = dl"; _params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 184;BA.debugLine="params(1) = dh"; +RDebugUtils.currentLine=60162054; + //BA.debugLineNum = 60162054;BA.debugLine="params(1) = dh"; _params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 185;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 186;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60162055; + //BA.debugLineNum = 60162055;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=60162056; + //BA.debugLineNum = 60162056;BA.debugLine="End Sub"; return ""; } -public String _setleftmargin(int _margin) throws Exception{ +public String _setleftmargin(reparto_intmex.keymon.lat.escposprinter __ref,int _margin) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setleftmargin", false)) + {return ((String) Debug.delegate(ba, "setleftmargin", new Object[] {_margin}));} int _dh = 0; int _dl = 0; byte[] _params = null; - //BA.debugLineNum = 191;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; - //BA.debugLineNum = 192;BA.debugLine="Dim dh As Int = margin / 256"; +RDebugUtils.currentLine=60227584; + //BA.debugLineNum = 60227584;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; +RDebugUtils.currentLine=60227585; + //BA.debugLineNum = 60227585;BA.debugLine="Dim dh As Int = margin / 256"; _dh = (int) (_margin/(double)256); - //BA.debugLineNum = 193;BA.debugLine="Dim dl As Int = margin - dh"; +RDebugUtils.currentLine=60227586; + //BA.debugLineNum = 60227586;BA.debugLine="Dim dl As Int = margin - dh"; _dl = (int) (_margin-_dh); - //BA.debugLineNum = 194;BA.debugLine="WriteString(GS & \"L\")"; -_writestring(_gs+"L"); - //BA.debugLineNum = 195;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=60227587; + //BA.debugLineNum = 60227587;BA.debugLine="WriteString(GS & \"L\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"L"); +RDebugUtils.currentLine=60227588; + //BA.debugLineNum = 60227588;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 196;BA.debugLine="params(0) = dl"; +RDebugUtils.currentLine=60227589; + //BA.debugLineNum = 60227589;BA.debugLine="params(0) = dl"; _params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 197;BA.debugLine="params(1) = dh"; +RDebugUtils.currentLine=60227590; + //BA.debugLineNum = 60227590;BA.debugLine="params(1) = dh"; _params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 198;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 199;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60227591; + //BA.debugLineNum = 60227591;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=60227592; + //BA.debugLineNum = 60227592;BA.debugLine="End Sub"; return ""; } -public String _setlinespacing(int _spacing) throws Exception{ +public String _setlinespacing(reparto_intmex.keymon.lat.escposprinter __ref,int _spacing) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setlinespacing", false)) + {return ((String) Debug.delegate(ba, "setlinespacing", new Object[] {_spacing}));} byte[] _params = null; - //BA.debugLineNum = 217;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; - //BA.debugLineNum = 218;BA.debugLine="If spacing < 0 Then"; +RDebugUtils.currentLine=60358656; + //BA.debugLineNum = 60358656;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; +RDebugUtils.currentLine=60358657; + //BA.debugLineNum = 60358657;BA.debugLine="If spacing < 0 Then"; if (_spacing<0) { - //BA.debugLineNum = 219;BA.debugLine="WriteString(ESC & \"2\")"; -_writestring(_esc+"2"); +RDebugUtils.currentLine=60358658; + //BA.debugLineNum = 60358658;BA.debugLine="WriteString(ESC & \"2\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"2"); }else { - //BA.debugLineNum = 221;BA.debugLine="WriteString(ESC & \"3\")"; -_writestring(_esc+"3"); - //BA.debugLineNum = 222;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=60358660; + //BA.debugLineNum = 60358660;BA.debugLine="WriteString(ESC & \"3\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"3"); +RDebugUtils.currentLine=60358661; + //BA.debugLineNum = 60358661;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 223;BA.debugLine="params(0) = spacing"; +RDebugUtils.currentLine=60358662; + //BA.debugLineNum = 60358662;BA.debugLine="params(0) = spacing"; _params[(int) (0)] = (byte) (_spacing); - //BA.debugLineNum = 224;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); +RDebugUtils.currentLine=60358663; + //BA.debugLineNum = 60358663;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); }; - //BA.debugLineNum = 226;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60358665; + //BA.debugLineNum = 60358665;BA.debugLine="End Sub"; return ""; } -public String _setprintwidth(int _width) throws Exception{ +public String _setprintwidth(reparto_intmex.keymon.lat.escposprinter __ref,int _width) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setprintwidth", false)) + {return ((String) Debug.delegate(ba, "setprintwidth", new Object[] {_width}));} int _dh = 0; int _dl = 0; byte[] _params = null; - //BA.debugLineNum = 205;BA.debugLine="Public Sub setPrintWidth(width As Int)"; - //BA.debugLineNum = 206;BA.debugLine="Dim dh As Int = width / 256"; +RDebugUtils.currentLine=60293120; + //BA.debugLineNum = 60293120;BA.debugLine="Public Sub setPrintWidth(width As Int)"; +RDebugUtils.currentLine=60293121; + //BA.debugLineNum = 60293121;BA.debugLine="Dim dh As Int = width / 256"; _dh = (int) (_width/(double)256); - //BA.debugLineNum = 207;BA.debugLine="Dim dl As Int = width - dh"; +RDebugUtils.currentLine=60293122; + //BA.debugLineNum = 60293122;BA.debugLine="Dim dl As Int = width - dh"; _dl = (int) (_width-_dh); - //BA.debugLineNum = 208;BA.debugLine="WriteString(GS & \"W\")"; -_writestring(_gs+"W"); - //BA.debugLineNum = 209;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=60293123; + //BA.debugLineNum = 60293123;BA.debugLine="WriteString(GS & \"W\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"W"); +RDebugUtils.currentLine=60293124; + //BA.debugLineNum = 60293124;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 210;BA.debugLine="params(0) = dl"; +RDebugUtils.currentLine=60293125; + //BA.debugLineNum = 60293125;BA.debugLine="params(0) = dl"; _params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 211;BA.debugLine="params(1) = dh"; +RDebugUtils.currentLine=60293126; + //BA.debugLineNum = 60293126;BA.debugLine="params(1) = dh"; _params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 212;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 213;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60293127; + //BA.debugLineNum = 60293127;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=60293128; + //BA.debugLineNum = 60293128;BA.debugLine="End Sub"; return ""; } -public String _setrelativeprintposn(int _relposn) throws Exception{ +public String _setrelativeprintposn(reparto_intmex.keymon.lat.escposprinter __ref,int _relposn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setrelativeprintposn", false)) + {return ((String) Debug.delegate(ba, "setrelativeprintposn", new Object[] {_relposn}));} int _dh = 0; int _dl = 0; byte[] _params = null; - //BA.debugLineNum = 269;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; - //BA.debugLineNum = 270;BA.debugLine="Dim dh As Int = relposn / 256"; +RDebugUtils.currentLine=60686336; + //BA.debugLineNum = 60686336;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; +RDebugUtils.currentLine=60686337; + //BA.debugLineNum = 60686337;BA.debugLine="Dim dh As Int = relposn / 256"; _dh = (int) (_relposn/(double)256); - //BA.debugLineNum = 271;BA.debugLine="Dim dl As Int = relposn - dh"; +RDebugUtils.currentLine=60686338; + //BA.debugLineNum = 60686338;BA.debugLine="Dim dl As Int = relposn - dh"; _dl = (int) (_relposn-_dh); - //BA.debugLineNum = 272;BA.debugLine="WriteString(ESC & \"\\\")"; -_writestring(_esc+"\\"); - //BA.debugLineNum = 273;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=60686339; + //BA.debugLineNum = 60686339;BA.debugLine="WriteString(ESC & \"\\\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"\\"); +RDebugUtils.currentLine=60686340; + //BA.debugLineNum = 60686340;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 274;BA.debugLine="params(0) = dl"; +RDebugUtils.currentLine=60686341; + //BA.debugLineNum = 60686341;BA.debugLine="params(0) = dl"; _params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 275;BA.debugLine="params(1) = dh"; +RDebugUtils.currentLine=60686342; + //BA.debugLineNum = 60686342;BA.debugLine="params(1) = dh"; _params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 276;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 277;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60686343; + //BA.debugLineNum = 60686343;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=60686344; + //BA.debugLineNum = 60686344;BA.debugLine="End Sub"; return ""; } -public String _settabpositions(int[] _tabs) throws Exception{ +public String _settabpositions(reparto_intmex.keymon.lat.escposprinter __ref,int[] _tabs) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "settabpositions", false)) + {return ((String) Debug.delegate(ba, "settabpositions", new Object[] {_tabs}));} byte[] _data = null; int _i = 0; - //BA.debugLineNum = 255;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; - //BA.debugLineNum = 256;BA.debugLine="WriteString(ESC & \"D\")"; -_writestring(_esc+"D"); - //BA.debugLineNum = 257;BA.debugLine="Dim data(tabs.Length+1) As Byte"; +RDebugUtils.currentLine=60620800; + //BA.debugLineNum = 60620800;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; +RDebugUtils.currentLine=60620801; + //BA.debugLineNum = 60620801;BA.debugLine="WriteString(ESC & \"D\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"D"); +RDebugUtils.currentLine=60620802; + //BA.debugLineNum = 60620802;BA.debugLine="Dim data(tabs.Length+1) As Byte"; _data = new byte[(int) (_tabs.length+1)]; ; - //BA.debugLineNum = 258;BA.debugLine="For i = 0 To tabs.Length - 1"; +RDebugUtils.currentLine=60620803; + //BA.debugLineNum = 60620803;BA.debugLine="For i = 0 To tabs.Length - 1"; { final int step3 = 1; final int limit3 = (int) (_tabs.length-1); _i = (int) (0) ; for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 259;BA.debugLine="data(i) = tabs(i)"; +RDebugUtils.currentLine=60620804; + //BA.debugLineNum = 60620804;BA.debugLine="data(i) = tabs(i)"; _data[_i] = (byte) (_tabs[_i]); } }; - //BA.debugLineNum = 261;BA.debugLine="data(tabs.Length) = 0"; +RDebugUtils.currentLine=60620806; + //BA.debugLineNum = 60620806;BA.debugLine="data(tabs.Length) = 0"; _data[_tabs.length] = (byte) (0); - //BA.debugLineNum = 262;BA.debugLine="WriteBytes(data)"; -_writebytes(_data); - //BA.debugLineNum = 263;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60620807; + //BA.debugLineNum = 60620807;BA.debugLine="WriteBytes(data)"; +__ref._writebytes /*String*/ (null,_data); +RDebugUtils.currentLine=60620808; + //BA.debugLineNum = 60620808;BA.debugLine="End Sub"; return ""; } -public String _setusecustomcharacters(boolean _custom) throws Exception{ - //BA.debugLineNum = 329;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; - //BA.debugLineNum = 330;BA.debugLine="If custom Then"; +public String _setusecustomcharacters(reparto_intmex.keymon.lat.escposprinter __ref,boolean _custom) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setusecustomcharacters", false)) + {return ((String) Debug.delegate(ba, "setusecustomcharacters", new Object[] {_custom}));} +RDebugUtils.currentLine=61014016; + //BA.debugLineNum = 61014016;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; +RDebugUtils.currentLine=61014017; + //BA.debugLineNum = 61014017;BA.debugLine="If custom Then"; if (_custom) { - //BA.debugLineNum = 331;BA.debugLine="WriteString(ESC & \"%1\")"; -_writestring(_esc+"%1"); +RDebugUtils.currentLine=61014018; + //BA.debugLineNum = 61014018;BA.debugLine="WriteString(ESC & \"%1\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"%1"); }else { - //BA.debugLineNum = 333;BA.debugLine="WriteString(ESC & \"%0\")"; -_writestring(_esc+"%0"); +RDebugUtils.currentLine=61014020; + //BA.debugLineNum = 61014020;BA.debugLine="WriteString(ESC & \"%0\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"%0"); }; - //BA.debugLineNum = 335;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61014022; + //BA.debugLineNum = 61014022;BA.debugLine="End Sub"; return ""; } -public reparto_intmex.keymon.lat.escposprinter._animage _thresholdimage(reparto_intmex.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +public reparto_intmex.keymon.lat.escposprinter._animage _thresholdimage(reparto_intmex.keymon.lat.escposprinter __ref,reparto_intmex.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "thresholdimage", false)) + {return ((reparto_intmex.keymon.lat.escposprinter._animage) Debug.delegate(ba, "thresholdimage", new Object[] {_img,_threshold}));} byte[] _pixels = null; int _i = 0; int _lum = 0; reparto_intmex.keymon.lat.escposprinter._animage _ret = null; - //BA.debugLineNum = 740;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; - //BA.debugLineNum = 741;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +RDebugUtils.currentLine=61997056; + //BA.debugLineNum = 61997056;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; +RDebugUtils.currentLine=61997057; + //BA.debugLineNum = 61997057;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; _pixels = new byte[_img.Data /*byte[]*/ .length]; ; - //BA.debugLineNum = 742;BA.debugLine="For i = 0 To pixels.Length - 1"; +RDebugUtils.currentLine=61997058; + //BA.debugLineNum = 61997058;BA.debugLine="For i = 0 To pixels.Length - 1"; { final int step2 = 1; final int limit2 = (int) (_pixels.length-1); _i = (int) (0) ; for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 743;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; +RDebugUtils.currentLine=61997059; + //BA.debugLineNum = 61997059;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; _lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [_i]),((int)0xff)); - //BA.debugLineNum = 744;BA.debugLine="If lum < threshold Then"; +RDebugUtils.currentLine=61997060; + //BA.debugLineNum = 61997060;BA.debugLine="If lum < threshold Then"; if (_lum<_threshold) { - //BA.debugLineNum = 745;BA.debugLine="lum = 1"; +RDebugUtils.currentLine=61997061; + //BA.debugLineNum = 61997061;BA.debugLine="lum = 1"; _lum = (int) (1); }else { - //BA.debugLineNum = 747;BA.debugLine="lum = 0"; +RDebugUtils.currentLine=61997063; + //BA.debugLineNum = 61997063;BA.debugLine="lum = 0"; _lum = (int) (0); }; - //BA.debugLineNum = 749;BA.debugLine="pixels(i) = lum"; +RDebugUtils.currentLine=61997065; + //BA.debugLineNum = 61997065;BA.debugLine="pixels(i) = lum"; _pixels[_i] = (byte) (_lum); } }; - //BA.debugLineNum = 751;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=61997067; + //BA.debugLineNum = 61997067;BA.debugLine="Dim ret As AnImage"; _ret = new reparto_intmex.keymon.lat.escposprinter._animage(); - //BA.debugLineNum = 752;BA.debugLine="ret.Width = img.Width"; +RDebugUtils.currentLine=61997068; + //BA.debugLineNum = 61997068;BA.debugLine="ret.Width = img.Width"; _ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 753;BA.debugLine="ret.Height = img.Height"; +RDebugUtils.currentLine=61997069; + //BA.debugLineNum = 61997069;BA.debugLine="ret.Height = img.Height"; _ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 754;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=61997070; + //BA.debugLineNum = 61997070;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 755;BA.debugLine="Return ret"; +RDebugUtils.currentLine=61997071; + //BA.debugLineNum = 61997071;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 756;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61997072; + //BA.debugLineNum = 61997072;BA.debugLine="End Sub"; return null; } -public String _writebarcode(String _bartype,String _data) throws Exception{ +public String _writebarcode(reparto_intmex.keymon.lat.escposprinter __ref,String _bartype,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writebarcode", false)) + {return ((String) Debug.delegate(ba, "writebarcode", new Object[] {_bartype,_data}));} byte[] _databytes = null; int _dlow = 0; byte[] _params = null; - //BA.debugLineNum = 1076;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; - //BA.debugLineNum = 1077;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; +RDebugUtils.currentLine=62783488; + //BA.debugLineNum = 62783488;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; +RDebugUtils.currentLine=62783489; + //BA.debugLineNum = 62783489;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; _databytes = _data.getBytes("ASCII"); - //BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length"; +RDebugUtils.currentLine=62783490; + //BA.debugLineNum = 62783490;BA.debugLine="Dim dlow As Int = databytes.Length"; _dlow = _databytes.length; - //BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; -__c.LogImpl("828049411","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); - //BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; -_writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0)))); - //BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=62783491; + //BA.debugLineNum = 62783491;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; +__c.LogImpl("262783491","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); +RDebugUtils.currentLine=62783492; + //BA.debugLineNum = 62783492;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0)))); +RDebugUtils.currentLine=62783493; + //BA.debugLineNum = 62783493;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1082;BA.debugLine="params(0) = dlow"; +RDebugUtils.currentLine=62783494; + //BA.debugLineNum = 62783494;BA.debugLine="params(0) = dlow"; _params[(int) (0)] = (byte) (_dlow); - //BA.debugLineNum = 1083;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1084;BA.debugLine="WriteBytes(databytes)"; -_writebytes(_databytes); - //BA.debugLineNum = 1085;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62783495; + //BA.debugLineNum = 62783495;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=62783496; + //BA.debugLineNum = 62783496;BA.debugLine="WriteBytes(databytes)"; +__ref._writebytes /*String*/ (null,_databytes); +RDebugUtils.currentLine=62783497; + //BA.debugLineNum = 62783497;BA.debugLine="End Sub"; return ""; } -public String _writebytes(byte[] _data) throws Exception{ - //BA.debugLineNum = 281;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; - //BA.debugLineNum = 282;BA.debugLine="If Connected Then"; -if (_connected) { - //BA.debugLineNum = 283;BA.debugLine="Astream.Write(data)"; -_astream.Write(_data); - }; - //BA.debugLineNum = 285;BA.debugLine="End Sub"; -return ""; -} -public String _writeqrcode(int _size,String _ec,int _scale,String _data) throws Exception{ +public String _writeqrcode(reparto_intmex.keymon.lat.escposprinter __ref,int _size,String _ec,int _scale,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writeqrcode", false)) + {return ((String) Debug.delegate(ba, "writeqrcode", new Object[] {_size,_ec,_scale,_data}));} byte[] _databytes = null; int _dhigh = 0; int _dlow = 0; byte[] _params = null; - //BA.debugLineNum = 1092;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; - //BA.debugLineNum = 1093;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; +RDebugUtils.currentLine=62849024; + //BA.debugLineNum = 62849024;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; +RDebugUtils.currentLine=62849025; + //BA.debugLineNum = 62849025;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; _databytes = _data.getBytes("ISO-8859-1"); - //BA.debugLineNum = 1094;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; +RDebugUtils.currentLine=62849026; + //BA.debugLineNum = 62849026;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; _dhigh = (int) (_databytes.length/(double)256); - //BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; +RDebugUtils.currentLine=62849027; + //BA.debugLineNum = 62849027;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("828114948","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); - //BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte"; +RDebugUtils.currentLine=62849028; + //BA.debugLineNum = 62849028;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; +__c.LogImpl("262849028","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); +RDebugUtils.currentLine=62849029; + //BA.debugLineNum = 62849029;BA.debugLine="Dim params(3) As Byte"; _params = new byte[(int) (3)]; ; - //BA.debugLineNum = 1098;BA.debugLine="params(0) = scale"; +RDebugUtils.currentLine=62849030; + //BA.debugLineNum = 62849030;BA.debugLine="params(0) = scale"; _params[(int) (0)] = (byte) (_scale); - //BA.debugLineNum = 1099;BA.debugLine="params(1) = dlow"; +RDebugUtils.currentLine=62849031; + //BA.debugLineNum = 62849031;BA.debugLine="params(1) = dlow"; _params[(int) (1)] = (byte) (_dlow); - //BA.debugLineNum = 1100;BA.debugLine="params(2) = dhigh"; +RDebugUtils.currentLine=62849032; + //BA.debugLineNum = 62849032;BA.debugLine="params(2) = dhigh"; _params[(int) (2)] = (byte) (_dhigh); - //BA.debugLineNum = 1101;BA.debugLine="WriteString(ESC & \"Z\" & Chr(size) & EC.ToUpperCas"; -_writestring(_esc+"Z"+BA.ObjectToString(__c.Chr(_size))+BA.ObjectToString(_ec.toUpperCase().charAt((int) (0)))); - //BA.debugLineNum = 1102;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1103;BA.debugLine="WriteBytes(databytes)"; -_writebytes(_databytes); - //BA.debugLineNum = 1104;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62849033; + //BA.debugLineNum = 62849033;BA.debugLine="WriteString(ESC & \"Z\" & Chr(size) & EC.ToUpperCas"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"Z"+BA.ObjectToString(__c.Chr(_size))+BA.ObjectToString(_ec.toUpperCase().charAt((int) (0)))); +RDebugUtils.currentLine=62849034; + //BA.debugLineNum = 62849034;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=62849035; + //BA.debugLineNum = 62849035;BA.debugLine="WriteBytes(databytes)"; +__ref._writebytes /*String*/ (null,_databytes); +RDebugUtils.currentLine=62849036; + //BA.debugLineNum = 62849036;BA.debugLine="End Sub"; return ""; } -public String _writestring(String _data) throws Exception{ - //BA.debugLineNum = 291;BA.debugLine="Public Sub WriteString(data As String)"; - //BA.debugLineNum = 292;BA.debugLine="WriteString2(data, \"IBM437\")"; -_writestring2(_data,"IBM437"); - //BA.debugLineNum = 293;BA.debugLine="End Sub"; -return ""; -} -public String _writestring2(String _data,String _encoding) throws Exception{ - //BA.debugLineNum = 299;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; - //BA.debugLineNum = 300;BA.debugLine="Try"; -try { //BA.debugLineNum = 301;BA.debugLine="If Connected Then"; -if (_connected) { - //BA.debugLineNum = 302;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; -_astream.Write(_data.getBytes(_encoding)); +public String _writestring2(reparto_intmex.keymon.lat.escposprinter __ref,String _data,String _encoding) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writestring2", false)) + {return ((String) Debug.delegate(ba, "writestring2", new Object[] {_data,_encoding}));} +RDebugUtils.currentLine=60882944; + //BA.debugLineNum = 60882944;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; +RDebugUtils.currentLine=60882945; + //BA.debugLineNum = 60882945;BA.debugLine="Try"; +try {RDebugUtils.currentLine=60882946; + //BA.debugLineNum = 60882946;BA.debugLine="If Connected Then"; +if (__ref._connected /*boolean*/ ) { +RDebugUtils.currentLine=60882947; + //BA.debugLineNum = 60882947;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Write(_data.getBytes(_encoding)); }; } catch (Exception e6) { - ba.setLastException(e6); //BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; -__c.LogImpl("826148870","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); - //BA.debugLineNum = 306;BA.debugLine="AStream_Error"; -_astream_error(); + ba.setLastException(e6);RDebugUtils.currentLine=60882950; + //BA.debugLineNum = 60882950;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; +__c.LogImpl("260882950","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); +RDebugUtils.currentLine=60882951; + //BA.debugLineNum = 60882951;BA.debugLine="AStream_Error"; +__ref._astream_error /*String*/ (null); }; - //BA.debugLineNum = 308;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60882953; + //BA.debugLineNum = 60882953;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/fileprovider.java b/B4A/Objects/src/reparto_intmex/keymon/lat/fileprovider.java index daf22b9..b005449 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/fileprovider.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/fileprovider.java @@ -10,7 +10,7 @@ public class fileprovider extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.fileprovider"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.fileprovider"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,17 +23,24 @@ public class fileprovider extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _sharedfolder = ""; public boolean _usefileprovider = false; public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -41,88 +48,130 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Public SharedFolder As String"; -_sharedfolder = ""; - //BA.debugLineNum = 4;BA.debugLine="Public UseFileProvider As Boolean"; -_usefileprovider = false; - //BA.debugLineNum = 5;BA.debugLine="Private rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 6;BA.debugLine="End Sub"; -return ""; -} -public Object _getfileuri(String _filename) throws Exception{ +public Object _getfileuri(reparto_intmex.keymon.lat.fileprovider __ref,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "getfileuri", true)) + {return ((Object) Debug.delegate(ba, "getfileuri", new Object[] {_filename}));} anywheresoftware.b4j.object.JavaObject _uri = null; anywheresoftware.b4j.object.JavaObject _f = null; anywheresoftware.b4j.object.JavaObject _fp = null; anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 22;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; - //BA.debugLineNum = 24;BA.debugLine="If UseFileProvider = False Then"; -if (_usefileprovider==__c.False) { - //BA.debugLineNum = 25;BA.debugLine="Dim uri As JavaObject"; +RDebugUtils.currentLine=11862016; + //BA.debugLineNum = 11862016;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; +RDebugUtils.currentLine=11862018; + //BA.debugLineNum = 11862018;BA.debugLine="If UseFileProvider = False Then"; +if (__ref._usefileprovider /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=11862019; + //BA.debugLineNum = 11862019;BA.debugLine="Dim uri As JavaObject"; _uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 26;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; -if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(_sharedfolder,_filename))}); +RDebugUtils.currentLine=11862020; + //BA.debugLineNum = 11862020;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; +if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(__ref._sharedfolder /*String*/ ,_filename))}); }else { - //BA.debugLineNum = 28;BA.debugLine="Dim f As JavaObject"; +RDebugUtils.currentLine=11862022; + //BA.debugLineNum = 11862022;BA.debugLine="Dim f As JavaObject"; _f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 29;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 30;BA.debugLine="Dim fp As JavaObject"; +RDebugUtils.currentLine=11862023; + //BA.debugLineNum = 11862023;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ ),(Object)(_filename)}); +RDebugUtils.currentLine=11862024; + //BA.debugLineNum = 11862024;BA.debugLine="Dim fp As JavaObject"; _fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 31;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=11862025; + //BA.debugLineNum = 11862025;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 32;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=11862026; + //BA.debugLineNum = 11862026;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 33;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +RDebugUtils.currentLine=11862027; + //BA.debugLineNum = 11862027;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; _fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 34;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +RDebugUtils.currentLine=11862028; + //BA.debugLineNum = 11862028;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(__c.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); }; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11862030; + //BA.debugLineNum = 11862030;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.fileprovider __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; +RDebugUtils.currentLine=11796480; + //BA.debugLineNum = 11796480;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=11796481; + //BA.debugLineNum = 11796481;BA.debugLine="Dim p As Phone"; _p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 10;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +RDebugUtils.currentLine=11796482; + //BA.debugLineNum = 11796482;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { - //BA.debugLineNum = 11;BA.debugLine="UseFileProvider = True"; -_usefileprovider = __c.True; - //BA.debugLineNum = 12;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; -_sharedfolder = __c.File.Combine(__c.File.getDirInternal(),"shared"); - //BA.debugLineNum = 13;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; -__c.File.MakeDir("",_sharedfolder); +RDebugUtils.currentLine=11796483; + //BA.debugLineNum = 11796483;BA.debugLine="UseFileProvider = True"; +__ref._usefileprovider /*boolean*/ = __c.True; +RDebugUtils.currentLine=11796484; + //BA.debugLineNum = 11796484;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +__ref._sharedfolder /*String*/ = __c.File.Combine(__c.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=11796485; + //BA.debugLineNum = 11796485;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +__c.File.MakeDir("",__ref._sharedfolder /*String*/ ); }else { - //BA.debugLineNum = 15;BA.debugLine="UseFileProvider = False"; -_usefileprovider = __c.False; - //BA.debugLineNum = 16;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; -_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); +RDebugUtils.currentLine=11796487; + //BA.debugLineNum = 11796487;BA.debugLine="UseFileProvider = False"; +__ref._usefileprovider /*boolean*/ = __c.False; +RDebugUtils.currentLine=11796488; + //BA.debugLineNum = 11796488;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +__ref._sharedfolder /*String*/ = __ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .GetSafeDirDefaultExternal("shared"); }; - //BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; -__c.LogImpl("948562186",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); - //BA.debugLineNum = 19;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11796490; + //BA.debugLineNum = 11796490;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +__c.LogImpl("911796490",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(__ref._usefileprovider /*boolean*/ ))+""),0); +RDebugUtils.currentLine=11796491; + //BA.debugLineNum = 11796491;BA.debugLine="End Sub"; return ""; } -public String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +public String _class_globals(reparto_intmex.keymon.lat.fileprovider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +RDebugUtils.currentLine=11730944; + //BA.debugLineNum = 11730944;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=11730945; + //BA.debugLineNum = 11730945;BA.debugLine="Public SharedFolder As String"; +_sharedfolder = ""; +RDebugUtils.currentLine=11730946; + //BA.debugLineNum = 11730946;BA.debugLine="Public UseFileProvider As Boolean"; +_usefileprovider = false; +RDebugUtils.currentLine=11730947; + //BA.debugLineNum = 11730947;BA.debugLine="Private rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=11730948; + //BA.debugLineNum = 11730948;BA.debugLine="End Sub"; +return ""; +} +public String _setfileuriasintentdata(reparto_intmex.keymon.lat.fileprovider __ref,anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "setfileuriasintentdata", true)) + {return ((String) Debug.delegate(ba, "setfileuriasintentdata", new Object[] {_intent,_filename}));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 40;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; - //BA.debugLineNum = 41;BA.debugLine="Dim jo As JavaObject = Intent"; +RDebugUtils.currentLine=11927552; + //BA.debugLineNum = 11927552;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; +RDebugUtils.currentLine=11927553; + //BA.debugLineNum = 11927553;BA.debugLine="Dim jo As JavaObject = Intent"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 42;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 43;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +RDebugUtils.currentLine=11927554; + //BA.debugLineNum = 11927554;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{__ref._getfileuri /*Object*/ (null,_filename)}); +RDebugUtils.currentLine=11927555; + //BA.debugLineNum = 11927555;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; _intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11927556; + //BA.debugLineNum = 11927556;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/foto.java b/B4A/Objects/src/reparto_intmex/keymon/lat/foto.java index de76d5d..c36fcd5 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/foto.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/foto.java @@ -34,7 +34,7 @@ public class foto extends Activity implements B4AActivity{ super.onCreate(savedInstanceState); mostCurrent = this; if (processBA == null) { - processBA = new BA(this.getApplicationContext(), null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.foto"); + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.foto"); processBA.loadHtSubs(this.getClass()); float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; BALayout.setDeviceScale(deviceScale); @@ -335,6 +335,15 @@ public class foto extends Activity implements B4AActivity{ } + + +public static void initializeProcessGlobals() { + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } +} public anywheresoftware.b4a.keywords.Common __c = null; public static boolean _frontcamera = false; public static anywheresoftware.b4a.gps.GPS _g = null; @@ -349,9 +358,9 @@ public static String _motivo = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -359,312 +368,423 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; - -public static void initializeProcessGlobals() { - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } -} public static String _activity_create(boolean _firsttime) throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 28;BA.debugLine="If(FirstTime) Then"; +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}));} +RDebugUtils.currentLine=63307776; + //BA.debugLineNum = 63307776;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=63307777; + //BA.debugLineNum = 63307777;BA.debugLine="If(FirstTime) Then"; if ((_firsttime)) { - //BA.debugLineNum = 29;BA.debugLine="g.Initialize(\"GPS\")"; +RDebugUtils.currentLine=63307778; + //BA.debugLineNum = 63307778;BA.debugLine="g.Initialize(\"GPS\")"; _g.Initialize("GPS"); }; - //BA.debugLineNum = 31;BA.debugLine="Activity.LoadLayout(\"foto\")"; +RDebugUtils.currentLine=63307780; + //BA.debugLineNum = 63307780;BA.debugLine="Activity.LoadLayout(\"foto\")"; mostCurrent._activity.LoadLayout("foto",mostCurrent.activityBA); - //BA.debugLineNum = 32;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; +RDebugUtils.currentLine=63307781; + //BA.debugLineNum = 63307781;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; mostCurrent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select cuenta from cuentaa"))); - //BA.debugLineNum = 33;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=63307782; + //BA.debugLineNum = 63307782;BA.debugLine="c.Position = 0"; mostCurrent._c.setPosition((int) (0)); - //BA.debugLineNum = 34;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +RDebugUtils.currentLine=63307783; + //BA.debugLineNum = 63307783;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; mostCurrent._cuenta = mostCurrent._c.GetString("CUENTA"); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63307784; + //BA.debugLineNum = 63307784;BA.debugLine="End Sub"; return ""; } public static boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 174;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; - //BA.debugLineNum = 176;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(mostCurrent.activityBA, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=64159744; + //BA.debugLineNum = 64159744;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +RDebugUtils.currentLine=64159746; + //BA.debugLineNum = 64159746;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; if (_key==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 178;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=64159748; + //BA.debugLineNum = 64159748;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); }; - //BA.debugLineNum = 182;BA.debugLine="Return False"; +RDebugUtils.currentLine=64159752; + //BA.debugLineNum = 64159752;BA.debugLine="Return False"; if (true) return anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 183;BA.debugLine="End Sub"; +RDebugUtils.currentLine=64159753; + //BA.debugLineNum = 64159753;BA.debugLine="End Sub"; return false; } public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 46;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 47;BA.debugLine="camEx.Release"; -mostCurrent._camex._release /*String*/ (); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +RDebugUtils.currentModule="foto"; +RDebugUtils.currentLine=63504384; + //BA.debugLineNum = 63504384;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=63504385; + //BA.debugLineNum = 63504385;BA.debugLine="camEx.Release"; +mostCurrent._camex._release /*String*/ (null); +RDebugUtils.currentLine=63504386; + //BA.debugLineNum = 63504386;BA.debugLine="End Sub"; return ""; } public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 38;BA.debugLine="InitializeCamera"; +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=63373312; + //BA.debugLineNum = 63373312;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=63373313; + //BA.debugLineNum = 63373313;BA.debugLine="InitializeCamera"; _initializecamera(); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63373314; + //BA.debugLineNum = 63373314;BA.debugLine="End Sub"; +return ""; +} +public static String _initializecamera() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "initializecamera", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "initializecamera", null));} +RDebugUtils.currentLine=63438848; + //BA.debugLineNum = 63438848;BA.debugLine="Private Sub InitializeCamera"; +RDebugUtils.currentLine=63438849; + //BA.debugLineNum = 63438849;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; +mostCurrent._camex._initialize /*String*/ (null,mostCurrent.activityBA,mostCurrent._p_camara,_frontcamera,foto.getObject(),"Camera1"); +RDebugUtils.currentLine=63438850; + //BA.debugLineNum = 63438850;BA.debugLine="frontCamera = camEx.Front"; +_frontcamera = mostCurrent._camex._front /*boolean*/ ; +RDebugUtils.currentLine=63438851; + //BA.debugLineNum = 63438851;BA.debugLine="End Sub"; return ""; } public static String _btneffect_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btneffect_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btneffect_click", null));} anywheresoftware.b4a.objects.collections.List _effects = null; String _effect = ""; - //BA.debugLineNum = 138;BA.debugLine="Sub btnEffect_Click"; - //BA.debugLineNum = 139;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; +RDebugUtils.currentLine=63963136; + //BA.debugLineNum = 63963136;BA.debugLine="Sub btnEffect_Click"; +RDebugUtils.currentLine=63963137; + //BA.debugLineNum = 63963137;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; _effects = new anywheresoftware.b4a.objects.collections.List(); -_effects = mostCurrent._camex._getsupportedcoloreffects /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 140;BA.debugLine="If effects.IsInitialized = False Then"; +_effects = mostCurrent._camex._getsupportedcoloreffects /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=63963138; + //BA.debugLineNum = 63963138;BA.debugLine="If effects.IsInitialized = False Then"; if (_effects.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 141;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; +RDebugUtils.currentLine=63963139; + //BA.debugLineNum = 63963139;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Effects not supported."),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 142;BA.debugLine="Return"; +RDebugUtils.currentLine=63963140; + //BA.debugLineNum = 63963140;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 144;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; -_effect = BA.ObjectToString(_effects.Get((int) ((_effects.IndexOf((Object)(mostCurrent._camex._getcoloreffect /*String*/ ()))+1)%_effects.getSize()))); - //BA.debugLineNum = 145;BA.debugLine="camEx.SetColorEffect(effect)"; -mostCurrent._camex._setcoloreffect /*String*/ (_effect); - //BA.debugLineNum = 146;BA.debugLine="ToastMessageShow(effect, False)"; +RDebugUtils.currentLine=63963142; + //BA.debugLineNum = 63963142;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; +_effect = BA.ObjectToString(_effects.Get((int) ((_effects.IndexOf((Object)(mostCurrent._camex._getcoloreffect /*String*/ (null)))+1)%_effects.getSize()))); +RDebugUtils.currentLine=63963143; + //BA.debugLineNum = 63963143;BA.debugLine="camEx.SetColorEffect(effect)"; +mostCurrent._camex._setcoloreffect /*String*/ (null,_effect); +RDebugUtils.currentLine=63963144; + //BA.debugLineNum = 63963144;BA.debugLine="ToastMessageShow(effect, False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(_effect),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 147;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 148;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63963145; + //BA.debugLineNum = 63963145;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=63963146; + //BA.debugLineNum = 63963146;BA.debugLine="End Sub"; return ""; } public static String _btnflash_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btnflash_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btnflash_click", null));} float[] _f = null; anywheresoftware.b4a.objects.collections.List _flashmodes = null; String _flash = ""; - //BA.debugLineNum = 150;BA.debugLine="Sub btnFlash_Click"; - //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("829294594",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"; +RDebugUtils.currentLine=64028672; + //BA.debugLineNum = 64028672;BA.debugLine="Sub btnFlash_Click"; +RDebugUtils.currentLine=64028673; + //BA.debugLineNum = 64028673;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; +_f = mostCurrent._camex._getfocusdistances /*float[]*/ (null); +RDebugUtils.currentLine=64028674; + //BA.debugLineNum = 64028674;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; +anywheresoftware.b4a.keywords.Common.LogImpl("264028674",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); +RDebugUtils.currentLine=64028675; + //BA.debugLineNum = 64028675;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; _flashmodes = new anywheresoftware.b4a.objects.collections.List(); -_flashmodes = mostCurrent._camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 154;BA.debugLine="If flashModes.IsInitialized = False Then"; +_flashmodes = mostCurrent._camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=64028676; + //BA.debugLineNum = 64028676;BA.debugLine="If flashModes.IsInitialized = False Then"; if (_flashmodes.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 155;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; +RDebugUtils.currentLine=64028677; + //BA.debugLineNum = 64028677;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Flash not supported."),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 156;BA.debugLine="Return"; +RDebugUtils.currentLine=64028678; + //BA.debugLineNum = 64028678;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 158;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; -_flash = BA.ObjectToString(_flashmodes.Get((int) ((_flashmodes.IndexOf((Object)(mostCurrent._camex._getflashmode /*String*/ ()))+1)%_flashmodes.getSize()))); - //BA.debugLineNum = 159;BA.debugLine="camEx.SetFlashMode(flash)"; -mostCurrent._camex._setflashmode /*String*/ (_flash); - //BA.debugLineNum = 160;BA.debugLine="ToastMessageShow(flash, False)"; +RDebugUtils.currentLine=64028680; + //BA.debugLineNum = 64028680;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; +_flash = BA.ObjectToString(_flashmodes.Get((int) ((_flashmodes.IndexOf((Object)(mostCurrent._camex._getflashmode /*String*/ (null)))+1)%_flashmodes.getSize()))); +RDebugUtils.currentLine=64028681; + //BA.debugLineNum = 64028681;BA.debugLine="camEx.SetFlashMode(flash)"; +mostCurrent._camex._setflashmode /*String*/ (null,_flash); +RDebugUtils.currentLine=64028682; + //BA.debugLineNum = 64028682;BA.debugLine="ToastMessageShow(flash, False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(_flash),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 161;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 162;BA.debugLine="End Sub"; +RDebugUtils.currentLine=64028683; + //BA.debugLineNum = 64028683;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=64028684; + //BA.debugLineNum = 64028684;BA.debugLine="End Sub"; return ""; } public static String _btnfocus_click() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Sub btnFocus_Click"; - //BA.debugLineNum = 79;BA.debugLine="camEx.FocusAndTakePicture"; -mostCurrent._camex._focusandtakepicture /*String*/ (); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btnfocus_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btnfocus_click", null));} +RDebugUtils.currentLine=63766528; + //BA.debugLineNum = 63766528;BA.debugLine="Sub btnFocus_Click"; +RDebugUtils.currentLine=63766529; + //BA.debugLineNum = 63766529;BA.debugLine="camEx.FocusAndTakePicture"; +mostCurrent._camex._focusandtakepicture /*String*/ (null); +RDebugUtils.currentLine=63766530; + //BA.debugLineNum = 63766530;BA.debugLine="End Sub"; return ""; } public static String _btnpicturesize_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btnpicturesize_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btnpicturesize_click", null));} reparto_intmex.keymon.lat.cameraexclass._camerasize[] _picturesizes = null; reparto_intmex.keymon.lat.cameraexclass._camerasize _current = null; int _i = 0; reparto_intmex.keymon.lat.cameraexclass._camerasize _ps = null; - //BA.debugLineNum = 163;BA.debugLine="Sub btnPictureSize_Click"; - //BA.debugLineNum = 164;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; -_picturesizes = mostCurrent._camex._getsupportedpicturessizes /*reparto_intmex.keymon.lat.cameraexclass._camerasize[]*/ (); - //BA.debugLineNum = 165;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; -_current = mostCurrent._camex._getpicturesize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ (); - //BA.debugLineNum = 166;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; +RDebugUtils.currentLine=64094208; + //BA.debugLineNum = 64094208;BA.debugLine="Sub btnPictureSize_Click"; +RDebugUtils.currentLine=64094209; + //BA.debugLineNum = 64094209;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; +_picturesizes = mostCurrent._camex._getsupportedpicturessizes /*reparto_intmex.keymon.lat.cameraexclass._camerasize[]*/ (null); +RDebugUtils.currentLine=64094210; + //BA.debugLineNum = 64094210;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; +_current = mostCurrent._camex._getpicturesize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ (null); +RDebugUtils.currentLine=64094211; + //BA.debugLineNum = 64094211;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; { final int step3 = 1; final int limit3 = (int) (_picturesizes.length /*int*/ -1); _i = (int) (0) ; for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 167;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; +RDebugUtils.currentLine=64094212; + //BA.debugLineNum = 64094212;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; if (_picturesizes[_i].Width /*int*/ ==_current.Width /*int*/ && _picturesizes[_i].Height /*int*/ ==_current.Height /*int*/ ) { if (true) break;}; } }; - //BA.debugLineNum = 169;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; +RDebugUtils.currentLine=64094214; + //BA.debugLineNum = 64094214;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; _ps = _picturesizes[(int) ((_i+1)%_picturesizes.length /*int*/ )]; - //BA.debugLineNum = 170;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; -mostCurrent._camex._setpicturesize /*String*/ (_ps.Width /*int*/ ,_ps.Height /*int*/ ); - //BA.debugLineNum = 171;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; +RDebugUtils.currentLine=64094215; + //BA.debugLineNum = 64094215;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +mostCurrent._camex._setpicturesize /*String*/ (null,_ps.Width /*int*/ ,_ps.Height /*int*/ ); +RDebugUtils.currentLine=64094216; + //BA.debugLineNum = 64094216;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(BA.NumberToString(_ps.Width /*int*/ )+"x"+BA.NumberToString(_ps.Height /*int*/ )+BA.NumberToString(_i)),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 172;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +RDebugUtils.currentLine=64094217; + //BA.debugLineNum = 64094217;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=64094218; + //BA.debugLineNum = 64094218;BA.debugLine="End Sub"; return ""; } public static String _btntakepicture_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btntakepicture_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btntakepicture_click", null));} reparto_intmex.keymon.lat.cameraexclass._camerasize _ps = null; - //BA.debugLineNum = 68;BA.debugLine="Sub btnTakePicture_Click"; - //BA.debugLineNum = 69;BA.debugLine="Dim ps As CameraSize"; +RDebugUtils.currentLine=63700992; + //BA.debugLineNum = 63700992;BA.debugLine="Sub btnTakePicture_Click"; +RDebugUtils.currentLine=63700993; + //BA.debugLineNum = 63700993;BA.debugLine="Dim ps As CameraSize"; _ps = new reparto_intmex.keymon.lat.cameraexclass._camerasize(); - //BA.debugLineNum = 70;BA.debugLine="ps.Width =640"; +RDebugUtils.currentLine=63700994; + //BA.debugLineNum = 63700994;BA.debugLine="ps.Width =640"; _ps.Width /*int*/ = (int) (640); - //BA.debugLineNum = 71;BA.debugLine="ps.Height =480"; +RDebugUtils.currentLine=63700995; + //BA.debugLineNum = 63700995;BA.debugLine="ps.Height =480"; _ps.Height /*int*/ = (int) (480); - //BA.debugLineNum = 72;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; -mostCurrent._camex._setpicturesize /*String*/ (_ps.Width /*int*/ ,_ps.Height /*int*/ ); - //BA.debugLineNum = 74;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 75;BA.debugLine="camEx.TakePicture"; -mostCurrent._camex._takepicture /*String*/ (); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63700996; + //BA.debugLineNum = 63700996;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +mostCurrent._camex._setpicturesize /*String*/ (null,_ps.Width /*int*/ ,_ps.Height /*int*/ ); +RDebugUtils.currentLine=63700998; + //BA.debugLineNum = 63700998;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=63700999; + //BA.debugLineNum = 63700999;BA.debugLine="camEx.TakePicture"; +mostCurrent._camex._takepicture /*String*/ (null); +RDebugUtils.currentLine=63701000; + //BA.debugLineNum = 63701000;BA.debugLine="End Sub"; return ""; } public static String _camera1_picturetaken(byte[] _data) throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "camera1_picturetaken", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "camera1_picturetaken", new Object[] {_data}));} String _filename = ""; String _dir = ""; String _sdate = ""; String _stime = ""; int _i = 0; - //BA.debugLineNum = 82;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 83;BA.debugLine="Dim filename As String = \"1.jpg\""; +RDebugUtils.currentLine=63832064; + //BA.debugLineNum = 63832064;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; +RDebugUtils.currentLine=63832065; + //BA.debugLineNum = 63832065;BA.debugLine="Dim filename As String = \"1.jpg\""; _filename = "1.jpg"; - //BA.debugLineNum = 84;BA.debugLine="Dim dir As String = File.DirInternal"; +RDebugUtils.currentLine=63832066; + //BA.debugLineNum = 63832066;BA.debugLine="Dim dir As String = File.DirInternal"; _dir = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - //BA.debugLineNum = 86;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; -mostCurrent._camex._savepicturetofile /*String*/ (_data,_dir,_filename); - //BA.debugLineNum = 87;BA.debugLine="camEx.StartPreview 'restart preview"; -mostCurrent._camex._startpreview /*String*/ (); - //BA.debugLineNum = 91;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=63832068; + //BA.debugLineNum = 63832068;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; +mostCurrent._camex._savepicturetofile /*String*/ (null,_data,_dir,_filename); +RDebugUtils.currentLine=63832069; + //BA.debugLineNum = 63832069;BA.debugLine="camEx.StartPreview 'restart preview"; +mostCurrent._camex._startpreview /*String*/ (null); +RDebugUtils.currentLine=63832073; + //BA.debugLineNum = 63832073;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 94;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=63832076; + //BA.debugLineNum = 63832076;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 95;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +RDebugUtils.currentLine=63832077; + //BA.debugLineNum = 63832077;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 96;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +RDebugUtils.currentLine=63832078; + //BA.debugLineNum = 63832078;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 97;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +RDebugUtils.currentLine=63832079; + //BA.debugLineNum = 63832079;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; mostCurrent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); - //BA.debugLineNum = 98;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=63832080; + //BA.debugLineNum = 63832080;BA.debugLine="c.Position = 0"; mostCurrent._c.setPosition((int) (0)); - //BA.debugLineNum = 99;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +RDebugUtils.currentLine=63832081; + //BA.debugLineNum = 63832081;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; mostCurrent._cuenta = mostCurrent._c.GetString("CUENTA"); - //BA.debugLineNum = 100;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +RDebugUtils.currentLine=63832082; + //BA.debugLineNum = 63832082;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; mostCurrent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 101;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=63832083; + //BA.debugLineNum = 63832083;BA.debugLine="c.Position = 0"; mostCurrent._c.setPosition((int) (0)); - //BA.debugLineNum = 102;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; +RDebugUtils.currentLine=63832084; + //BA.debugLineNum = 63832084;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; mostCurrent._usuario = mostCurrent._c.GetString("USUARIO"); - //BA.debugLineNum = 103;BA.debugLine="c.Close"; +RDebugUtils.currentLine=63832085; + //BA.debugLineNum = 63832085;BA.debugLine="c.Close"; mostCurrent._c.Close(); - //BA.debugLineNum = 104;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +RDebugUtils.currentLine=63832086; + //BA.debugLineNum = 63832086;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); - //BA.debugLineNum = 106;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; +RDebugUtils.currentLine=63832088; + //BA.debugLineNum = 63832088;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; mostCurrent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 108;BA.debugLine="If c.RowCount>0 Then"; +RDebugUtils.currentLine=63832090; + //BA.debugLineNum = 63832090;BA.debugLine="If c.RowCount>0 Then"; if (mostCurrent._c.getRowCount()>0) { - //BA.debugLineNum = 109;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=63832091; + //BA.debugLineNum = 63832091;BA.debugLine="For i=0 To c.RowCount -1"; { final int step19 = 1; final int limit19 = (int) (mostCurrent._c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit19 ;_i = _i + step19 ) { - //BA.debugLineNum = 110;BA.debugLine="c.Position=i"; +RDebugUtils.currentLine=63832092; + //BA.debugLineNum = 63832092;BA.debugLine="c.Position=i"; mostCurrent._c.setPosition(_i); - //BA.debugLineNum = 111;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +RDebugUtils.currentLine=63832093; + //BA.debugLineNum = 63832093;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{mostCurrent._c.GetString("HVD_PRONOMBRE")})); - //BA.debugLineNum = 113;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +RDebugUtils.currentLine=63832095; + //BA.debugLineNum = 63832095;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._c.GetString("HVD_CANT")),(Object)(mostCurrent._c.GetString("HVD_PRONOMBRE"))})); } }; }; - //BA.debugLineNum = 124;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +RDebugUtils.currentLine=63832106; + //BA.debugLineNum = 63832106;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._cuenta),(Object)(_sdate+_stime),(Object)(mostCurrent._usuario),(Object)("CERRADO"),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._noventa /*reparto_intmex.keymon.lat.c_noventa*/ ._comentario /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._lon_gps /*String*/ ),(Object)(_data)})); - //BA.debugLineNum = 125;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +RDebugUtils.currentLine=63832107; + //BA.debugLineNum = 63832107;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); - //BA.debugLineNum = 126;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +RDebugUtils.currentLine=63832108; + //BA.debugLineNum = 63832108;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 127;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=63832109; + //BA.debugLineNum = 63832109;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); - //BA.debugLineNum = 130;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63832112; + //BA.debugLineNum = 63832112;BA.debugLine="End Sub"; return ""; } public static String _camera1_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; - //BA.debugLineNum = 58;BA.debugLine="If Success Then"; +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "camera1_ready", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "camera1_ready", new Object[] {_success}));} +RDebugUtils.currentLine=63635456; + //BA.debugLineNum = 63635456;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +RDebugUtils.currentLine=63635457; + //BA.debugLineNum = 63635457;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 59;BA.debugLine="camEx.SetJpegQuality(90)"; -mostCurrent._camex._setjpegquality /*String*/ ((int) (90)); - //BA.debugLineNum = 60;BA.debugLine="camEx.CommitParameters"; -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("828901381",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ ()),0); +RDebugUtils.currentLine=63635458; + //BA.debugLineNum = 63635458;BA.debugLine="camEx.SetJpegQuality(90)"; +mostCurrent._camex._setjpegquality /*String*/ (null,(int) (90)); +RDebugUtils.currentLine=63635459; + //BA.debugLineNum = 63635459;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=63635460; + //BA.debugLineNum = 63635460;BA.debugLine="camEx.StartPreview"; +mostCurrent._camex._startpreview /*String*/ (null); +RDebugUtils.currentLine=63635461; + //BA.debugLineNum = 63635461;BA.debugLine="Log(camEx.GetPreviewSize)"; +anywheresoftware.b4a.keywords.Common.LogImpl("263635461",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_intmex.keymon.lat.cameraexclass._camerasize*/ (null)),0); }else { - //BA.debugLineNum = 64;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +RDebugUtils.currentLine=63635463; + //BA.debugLineNum = 63635463;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),anywheresoftware.b4a.keywords.Common.True); }; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63635465; + //BA.debugLineNum = 63635465;BA.debugLine="End Sub"; return ""; } public static String _changecamera_click() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Sub ChangeCamera_Click"; - //BA.debugLineNum = 133;BA.debugLine="camEx.Release"; -mostCurrent._camex._release /*String*/ (); - //BA.debugLineNum = 134;BA.debugLine="frontCamera = Not(frontCamera)"; +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "changecamera_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "changecamera_click", null));} +RDebugUtils.currentLine=63897600; + //BA.debugLineNum = 63897600;BA.debugLine="Sub ChangeCamera_Click"; +RDebugUtils.currentLine=63897601; + //BA.debugLineNum = 63897601;BA.debugLine="camEx.Release"; +mostCurrent._camex._release /*String*/ (null); +RDebugUtils.currentLine=63897602; + //BA.debugLineNum = 63897602;BA.debugLine="frontCamera = Not(frontCamera)"; _frontcamera = anywheresoftware.b4a.keywords.Common.Not(_frontcamera); - //BA.debugLineNum = 135;BA.debugLine="InitializeCamera"; +RDebugUtils.currentLine=63897603; + //BA.debugLineNum = 63897603;BA.debugLine="InitializeCamera"; _initializecamera(); - //BA.debugLineNum = 136;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 15;BA.debugLine="Private p_camara As Panel"; -mostCurrent._p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private camEx As CameraExClass"; -mostCurrent._camex = new reparto_intmex.keymon.lat.cameraexclass(); - //BA.debugLineNum = 17;BA.debugLine="Dim btnTakePicture As Button"; -mostCurrent._btntakepicture = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim c As Cursor"; -mostCurrent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim cuenta As String"; -mostCurrent._cuenta = ""; - //BA.debugLineNum = 21;BA.debugLine="Dim lat_gps As String"; -mostCurrent._lat_gps = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim USUARIO As String"; -mostCurrent._usuario = ""; - //BA.debugLineNum = 24;BA.debugLine="Dim MOTIVO As String"; -mostCurrent._motivo = ""; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63897604; + //BA.debugLineNum = 63897604;BA.debugLine="End Sub"; return ""; } public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "gps_locationchanged", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=63569920; + //BA.debugLineNum = 63569920;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=63569925; + //BA.debugLineNum = 63569925;BA.debugLine="End Sub"; return ""; } -public static String _initializecamera() throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Private Sub InitializeCamera"; - //BA.debugLineNum = 42;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; -mostCurrent._camex._initialize /*String*/ (mostCurrent.activityBA,mostCurrent._p_camara,_frontcamera,foto.getObject(),"Camera1"); - //BA.debugLineNum = 43;BA.debugLine="frontCamera = camEx.Front"; -_frontcamera = mostCurrent._camex._front /*boolean*/ ; - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private frontCamera As Boolean = False"; -_frontcamera = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 10;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 12;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/httpjob.java b/B4A/Objects/src/reparto_intmex/keymon/lat/httpjob.java index 83e7f64..6638844 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/httpjob.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/httpjob.java @@ -10,7 +10,7 @@ public class httpjob extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.httpjob"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.httpjob"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,34 +23,13 @@ public class httpjob extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public String _jobname = ""; -public boolean _success = false; -public String _username = ""; -public String _password = ""; -public String _errormessage = ""; -public Object _target = null; -public String _taskid = ""; -public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _req = null; -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response = null; -public Object _tag = null; -public String _invalidurl = ""; -public String _defaultscheme = ""; -public b4a.example.dateutils _dateutils = null; -public reparto_intmex.keymon.lat.main _main = null; -public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; -public reparto_intmex.keymon.lat.foto _foto = null; -public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_intmex.keymon.lat.subs _subs = null; -public reparto_intmex.keymon.lat.tracker _tracker = null; -public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; -public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; -public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _multipartfiledata{ public boolean IsInitialized; public String Dir; @@ -68,378 +47,650 @@ ContentType = ""; public String toString() { return BA.TypeToString(this, false); }} -public String _addscheme(String _link) throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Private Sub AddScheme (Link As String) As String"; - //BA.debugLineNum = 53;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; -if ((_defaultscheme).equals("") || _link.contains(":")) { -if (true) return _link;}; - //BA.debugLineNum = 54;BA.debugLine="Return DefaultScheme & \"://\" & Link"; -if (true) return _defaultscheme+"://"+_link; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; +public anywheresoftware.b4a.keywords.Common __c = null; +public String _jobname = ""; +public boolean _success = false; +public String _username = ""; +public String _password = ""; +public String _errormessage = ""; +public Object _target = null; +public String _taskid = ""; +public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _req = null; +public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response = null; +public Object _tag = null; +public String _invalidurl = ""; +public String _defaultscheme = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_intmex.keymon.lat.main _main = null; +public reparto_intmex.keymon.lat.appupdater _appupdater = null; +public reparto_intmex.keymon.lat.foto _foto = null; +public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; +public reparto_intmex.keymon.lat.subs _subs = null; +public reparto_intmex.keymon.lat.tracker _tracker = null; +public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; +public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; +public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; +public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _initialize(reparto_intmex.keymon.lat.httpjob __ref,anywheresoftware.b4a.BA _ba,String _name,Object _targetmodule) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_name,_targetmodule}));} +RDebugUtils.currentLine=12713984; + //BA.debugLineNum = 12713984;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; +RDebugUtils.currentLine=12713985; + //BA.debugLineNum = 12713985;BA.debugLine="JobName = Name"; +__ref._jobname /*String*/ = _name; +RDebugUtils.currentLine=12713986; + //BA.debugLineNum = 12713986;BA.debugLine="target = TargetModule"; +__ref._target /*Object*/ = _targetmodule; +RDebugUtils.currentLine=12713994; + //BA.debugLineNum = 12713994;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Public JobName As String"; +public String _download(reparto_intmex.keymon.lat.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "download", true)) + {return ((String) Debug.delegate(ba, "download", new Object[] {_link}));} +RDebugUtils.currentLine=13500416; + //BA.debugLineNum = 13500416;BA.debugLine="Public Sub Download(Link As String)"; +RDebugUtils.currentLine=13500417; + //BA.debugLineNum = 13500417;BA.debugLine="Try"; +try {RDebugUtils.currentLine=13500418; + //BA.debugLineNum = 13500418;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=13500419; + //BA.debugLineNum = 13500419;BA.debugLine="req.InitializeGet(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=13500421; + //BA.debugLineNum = 13500421;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("913500421",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=13500422; + //BA.debugLineNum = 13500422;BA.debugLine="req.InitializeGet(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=13500424; + //BA.debugLineNum = 13500424;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=13500425; + //BA.debugLineNum = 13500425;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _getinputstream(reparto_intmex.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getinputstream", true)) + {return ((anywheresoftware.b4a.objects.streams.File.InputStreamWrapper) Debug.delegate(ba, "getinputstream", null));} +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +RDebugUtils.currentLine=14352384; + //BA.debugLineNum = 14352384;BA.debugLine="Public Sub GetInputStream As InputStream"; +RDebugUtils.currentLine=14352385; + //BA.debugLineNum = 14352385;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=14352386; + //BA.debugLineNum = 14352386;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; +_in = __c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=14352387; + //BA.debugLineNum = 14352387;BA.debugLine="Return In"; +if (true) return _in; +RDebugUtils.currentLine=14352388; + //BA.debugLineNum = 14352388;BA.debugLine="End Sub"; +return null; +} +public String _release(reparto_intmex.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "release", true)) + {return ((String) Debug.delegate(ba, "release", null));} +RDebugUtils.currentLine=13828096; + //BA.debugLineNum = 13828096;BA.debugLine="Public Sub Release"; +RDebugUtils.currentLine=13828098; + //BA.debugLineNum = 13828098;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; +__c.File.Delete(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=13828100; + //BA.debugLineNum = 13828100;BA.debugLine="End Sub"; +return ""; +} +public String _getstring(reparto_intmex.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getstring", true)) + {return ((String) Debug.delegate(ba, "getstring", null));} +RDebugUtils.currentLine=13893632; + //BA.debugLineNum = 13893632;BA.debugLine="Public Sub GetString As String"; +RDebugUtils.currentLine=13893633; + //BA.debugLineNum = 13893633;BA.debugLine="Return GetString2(\"UTF8\")"; +if (true) return __ref._getstring2 /*String*/ (null,"UTF8"); +RDebugUtils.currentLine=13893634; + //BA.debugLineNum = 13893634;BA.debugLine="End Sub"; +return ""; +} +public String _postbytes(reparto_intmex.keymon.lat.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postbytes", true)) + {return ((String) Debug.delegate(ba, "postbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=12910592; + //BA.debugLineNum = 12910592;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; +RDebugUtils.currentLine=12910593; + //BA.debugLineNum = 12910593;BA.debugLine="Try"; +try {RDebugUtils.currentLine=12910594; + //BA.debugLineNum = 12910594;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=12910595; + //BA.debugLineNum = 12910595;BA.debugLine="req.InitializePost2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=12910597; + //BA.debugLineNum = 12910597;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("912910597",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=12910598; + //BA.debugLineNum = 12910598;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=12910600; + //BA.debugLineNum = 12910600;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=12910601; + //BA.debugLineNum = 12910601;BA.debugLine="End Sub"; +return ""; +} +public String _complete(reparto_intmex.keymon.lat.httpjob __ref,int _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "complete", true)) + {return ((String) Debug.delegate(ba, "complete", new Object[] {_id}));} +RDebugUtils.currentLine=14090240; + //BA.debugLineNum = 14090240;BA.debugLine="Public Sub Complete (id As Int)"; +RDebugUtils.currentLine=14090241; + //BA.debugLineNum = 14090241;BA.debugLine="taskId = id"; +__ref._taskid /*String*/ = BA.NumberToString(_id); +RDebugUtils.currentLine=14090242; + //BA.debugLineNum = 14090242;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; +__c.CallSubDelayed2(ba,__ref._target /*Object*/ ,"JobDone",this); +RDebugUtils.currentLine=14090243; + //BA.debugLineNum = 14090243;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _getrequest(reparto_intmex.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getrequest", true)) + {return ((anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest) Debug.delegate(ba, "getrequest", null));} +RDebugUtils.currentLine=14024704; + //BA.debugLineNum = 14024704;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; +RDebugUtils.currentLine=14024705; + //BA.debugLineNum = 14024705;BA.debugLine="Return req"; +if (true) return __ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ; +RDebugUtils.currentLine=14024706; + //BA.debugLineNum = 14024706;BA.debugLine="End Sub"; +return null; +} +public String _addscheme(reparto_intmex.keymon.lat.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "addscheme", true)) + {return ((String) Debug.delegate(ba, "addscheme", new Object[] {_link}));} +RDebugUtils.currentLine=12779520; + //BA.debugLineNum = 12779520;BA.debugLine="Private Sub AddScheme (Link As String) As String"; +RDebugUtils.currentLine=12779521; + //BA.debugLineNum = 12779521;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; +if ((__ref._defaultscheme /*String*/ ).equals("") || _link.contains(":")) { +if (true) return _link;}; +RDebugUtils.currentLine=12779522; + //BA.debugLineNum = 12779522;BA.debugLine="Return DefaultScheme & \"://\" & Link"; +if (true) return __ref._defaultscheme /*String*/ +"://"+_link; +RDebugUtils.currentLine=12779523; + //BA.debugLineNum = 12779523;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_intmex.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +RDebugUtils.currentLine=12648448; + //BA.debugLineNum = 12648448;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=12648449; + //BA.debugLineNum = 12648449;BA.debugLine="Public JobName As String"; _jobname = ""; - //BA.debugLineNum = 4;BA.debugLine="Public Success As Boolean"; +RDebugUtils.currentLine=12648450; + //BA.debugLineNum = 12648450;BA.debugLine="Public Success As Boolean"; _success = false; - //BA.debugLineNum = 5;BA.debugLine="Public Username, Password As String"; +RDebugUtils.currentLine=12648451; + //BA.debugLineNum = 12648451;BA.debugLine="Public Username, Password As String"; _username = ""; _password = ""; - //BA.debugLineNum = 6;BA.debugLine="Public ErrorMessage As String"; +RDebugUtils.currentLine=12648452; + //BA.debugLineNum = 12648452;BA.debugLine="Public ErrorMessage As String"; _errormessage = ""; - //BA.debugLineNum = 7;BA.debugLine="Private target As Object"; +RDebugUtils.currentLine=12648453; + //BA.debugLineNum = 12648453;BA.debugLine="Private target As Object"; _target = new Object(); - //BA.debugLineNum = 10;BA.debugLine="Public taskId As String"; +RDebugUtils.currentLine=12648456; + //BA.debugLineNum = 12648456;BA.debugLine="Public taskId As String"; _taskid = ""; - //BA.debugLineNum = 11;BA.debugLine="Public Out As OutputStream"; +RDebugUtils.currentLine=12648457; + //BA.debugLineNum = 12648457;BA.debugLine="Public Out As OutputStream"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private req As OkHttpRequest"; +RDebugUtils.currentLine=12648461; + //BA.debugLineNum = 12648461;BA.debugLine="Private req As OkHttpRequest"; _req = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest(); - //BA.debugLineNum = 16;BA.debugLine="Public Response As OkHttpResponse"; +RDebugUtils.currentLine=12648462; + //BA.debugLineNum = 12648462;BA.debugLine="Public Response As OkHttpResponse"; _response = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse(); - //BA.debugLineNum = 25;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=12648471; + //BA.debugLineNum = 12648471;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 26;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; +RDebugUtils.currentLine=12648472; + //BA.debugLineNum = 12648472;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; ; - //BA.debugLineNum = 30;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; +RDebugUtils.currentLine=12648476; + //BA.debugLineNum = 12648476;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; _invalidurl = "https://invalid-url/"; - //BA.debugLineNum = 31;BA.debugLine="Public DefaultScheme As String = \"https\""; +RDebugUtils.currentLine=12648477; + //BA.debugLineNum = 12648477;BA.debugLine="Public DefaultScheme As String = \"https\""; _defaultscheme = "https"; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12648478; + //BA.debugLineNum = 12648478;BA.debugLine="End Sub"; return ""; } -public String _complete(int _id) throws Exception{ - //BA.debugLineNum = 315;BA.debugLine="Public Sub Complete (id As Int)"; - //BA.debugLineNum = 316;BA.debugLine="taskId = id"; -_taskid = BA.NumberToString(_id); - //BA.debugLineNum = 317;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; -__c.CallSubDelayed2(ba,_target,"JobDone",this); - //BA.debugLineNum = 318;BA.debugLine="End Sub"; -return ""; -} -public String _delete(String _link) throws Exception{ - //BA.debugLineNum = 261;BA.debugLine="Public Sub Delete(Link As String)"; - //BA.debugLineNum = 262;BA.debugLine="Try"; -try { //BA.debugLineNum = 263;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 264;BA.debugLine="req.InitializeDelete(Link)"; -_req.InitializeDelete(_link); +public String _delete(reparto_intmex.keymon.lat.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "delete", true)) + {return ((String) Debug.delegate(ba, "delete", new Object[] {_link}));} +RDebugUtils.currentLine=13697024; + //BA.debugLineNum = 13697024;BA.debugLine="Public Sub Delete(Link As String)"; +RDebugUtils.currentLine=13697025; + //BA.debugLineNum = 13697025;BA.debugLine="Try"; +try {RDebugUtils.currentLine=13697026; + //BA.debugLineNum = 13697026;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=13697027; + //BA.debugLineNum = 13697027;BA.debugLine="req.InitializeDelete(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(_link); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("950462725",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)"; -_req.InitializeDelete(_invalidurl); + ba.setLastException(e5);RDebugUtils.currentLine=13697029; + //BA.debugLineNum = 13697029;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("913697029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=13697030; + //BA.debugLineNum = 13697030;BA.debugLine="req.InitializeDelete(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(__ref._invalidurl /*String*/ ); }; - //BA.debugLineNum = 269;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +RDebugUtils.currentLine=13697032; + //BA.debugLineNum = 13697032;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; __c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 270;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13697033; + //BA.debugLineNum = 13697033;BA.debugLine="End Sub"; return ""; } -public String _delete2(String _link,String[] _parameters) throws Exception{ - //BA.debugLineNum = 272;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; - //BA.debugLineNum = 273;BA.debugLine="Try"; -try { //BA.debugLineNum = 274;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 275;BA.debugLine="req.InitializeDelete(escapeLink(Link, Parameters"; -_req.InitializeDelete(_escapelink(_link,_parameters)); +public String _delete2(reparto_intmex.keymon.lat.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "delete2", true)) + {return ((String) Debug.delegate(ba, "delete2", new Object[] {_link,_parameters}));} +RDebugUtils.currentLine=13762560; + //BA.debugLineNum = 13762560;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; +RDebugUtils.currentLine=13762561; + //BA.debugLineNum = 13762561;BA.debugLine="Try"; +try {RDebugUtils.currentLine=13762562; + //BA.debugLineNum = 13762562;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=13762563; + //BA.debugLineNum = 13762563;BA.debugLine="req.InitializeDelete(escapeLink(Link, Parameters"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(__ref._escapelink /*String*/ (null,_link,_parameters)); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("950528261",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para"; -_req.InitializeDelete(_escapelink(_invalidurl,_parameters)); + ba.setLastException(e5);RDebugUtils.currentLine=13762565; + //BA.debugLineNum = 13762565;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("913762565",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=13762566; + //BA.debugLineNum = 13762566;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(__ref._escapelink /*String*/ (null,__ref._invalidurl /*String*/ ,_parameters)); }; - //BA.debugLineNum = 280;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +RDebugUtils.currentLine=13762568; + //BA.debugLineNum = 13762568;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; __c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 281;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13762569; + //BA.debugLineNum = 13762569;BA.debugLine="End Sub"; return ""; } -public String _download(String _link) throws Exception{ - //BA.debugLineNum = 219;BA.debugLine="Public Sub Download(Link As String)"; - //BA.debugLineNum = 220;BA.debugLine="Try"; -try { //BA.debugLineNum = 221;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 222;BA.debugLine="req.InitializeGet(Link)"; -_req.InitializeGet(_link); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("950266117",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)"; -_req.InitializeGet(_invalidurl); - }; - //BA.debugLineNum = 227;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 228;BA.debugLine="End Sub"; -return ""; -} -public String _download2(String _link,String[] _parameters) throws Exception{ - //BA.debugLineNum = 235;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; - //BA.debugLineNum = 236;BA.debugLine="Try"; -try { //BA.debugLineNum = 237;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 238;BA.debugLine="req.InitializeGet(escapeLink(Link, Parameters))"; -_req.InitializeGet(_escapelink(_link,_parameters)); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("950331653",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet"; -_req.InitializeGet(_escapelink(_invalidurl,_parameters)); - }; - //BA.debugLineNum = 243;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 244;BA.debugLine="End Sub"; -return ""; -} -public String _escapelink(String _link,String[] _parameters) throws Exception{ +public String _escapelink(reparto_intmex.keymon.lat.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "escapelink", true)) + {return ((String) Debug.delegate(ba, "escapelink", new Object[] {_link,_parameters}));} anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; anywheresoftware.b4a.objects.StringUtils _su = null; int _i = 0; - //BA.debugLineNum = 246;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; - //BA.debugLineNum = 247;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=13631488; + //BA.debugLineNum = 13631488;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; +RDebugUtils.currentLine=13631489; + //BA.debugLineNum = 13631489;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 248;BA.debugLine="sb.Initialize"; +RDebugUtils.currentLine=13631490; + //BA.debugLineNum = 13631490;BA.debugLine="sb.Initialize"; _sb.Initialize(); - //BA.debugLineNum = 249;BA.debugLine="sb.Append(Link)"; +RDebugUtils.currentLine=13631491; + //BA.debugLineNum = 13631491;BA.debugLine="sb.Append(Link)"; _sb.Append(_link); - //BA.debugLineNum = 250;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; +RDebugUtils.currentLine=13631492; + //BA.debugLineNum = 13631492;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; if (_parameters.length>0) { _sb.Append("?");}; - //BA.debugLineNum = 251;BA.debugLine="Dim su As StringUtils"; +RDebugUtils.currentLine=13631493; + //BA.debugLineNum = 13631493;BA.debugLine="Dim su As StringUtils"; _su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 252;BA.debugLine="For i = 0 To Parameters.Length - 1 Step 2"; +RDebugUtils.currentLine=13631494; + //BA.debugLineNum = 13631494;BA.debugLine="For i = 0 To Parameters.Length - 1 Step 2"; { final int step6 = 2; final int limit6 = (int) (_parameters.length-1); _i = (int) (0) ; for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 253;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; +RDebugUtils.currentLine=13631495; + //BA.debugLineNum = 13631495;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; if (_i>0) { _sb.Append("&");}; - //BA.debugLineNum = 254;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; +RDebugUtils.currentLine=13631496; + //BA.debugLineNum = 13631496;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; _sb.Append(_su.EncodeUrl(_parameters[_i],"UTF8")).Append("="); - //BA.debugLineNum = 255;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; +RDebugUtils.currentLine=13631497; + //BA.debugLineNum = 13631497;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; _sb.Append(_su.EncodeUrl(_parameters[(int) (_i+1)],"UTF8")); } }; - //BA.debugLineNum = 257;BA.debugLine="Return sb.ToString"; +RDebugUtils.currentLine=13631499; + //BA.debugLineNum = 13631499;BA.debugLine="Return sb.ToString"; if (true) return _sb.ToString(); - //BA.debugLineNum = 258;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13631500; + //BA.debugLineNum = 13631500;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmap() throws Exception{ +public String _download2(reparto_intmex.keymon.lat.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "download2", true)) + {return ((String) Debug.delegate(ba, "download2", new Object[] {_link,_parameters}));} +RDebugUtils.currentLine=13565952; + //BA.debugLineNum = 13565952;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; +RDebugUtils.currentLine=13565953; + //BA.debugLineNum = 13565953;BA.debugLine="Try"; +try {RDebugUtils.currentLine=13565954; + //BA.debugLineNum = 13565954;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=13565955; + //BA.debugLineNum = 13565955;BA.debugLine="req.InitializeGet(escapeLink(Link, Parameters))"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(__ref._escapelink /*String*/ (null,_link,_parameters)); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=13565957; + //BA.debugLineNum = 13565957;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("913565957",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=13565958; + //BA.debugLineNum = 13565958;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(__ref._escapelink /*String*/ (null,__ref._invalidurl /*String*/ ,_parameters)); + }; +RDebugUtils.currentLine=13565960; + //BA.debugLineNum = 13565960;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=13565961; + //BA.debugLineNum = 13565961;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmap(reparto_intmex.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmap", null));} anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _b = null; - //BA.debugLineNum = 330;BA.debugLine="Public Sub GetBitmap As Bitmap"; - //BA.debugLineNum = 331;BA.debugLine="Dim b As Bitmap"; +RDebugUtils.currentLine=14155776; + //BA.debugLineNum = 14155776;BA.debugLine="Public Sub GetBitmap As Bitmap"; +RDebugUtils.currentLine=14155777; + //BA.debugLineNum = 14155777;BA.debugLine="Dim b As Bitmap"; _b = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 332;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; -_b = __c.LoadBitmap(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 333;BA.debugLine="Return b"; +RDebugUtils.currentLine=14155778; + //BA.debugLineNum = 14155778;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; +_b = __c.LoadBitmap(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=14155779; + //BA.debugLineNum = 14155779;BA.debugLine="Return b"; if (true) return _b; - //BA.debugLineNum = 334;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14155780; + //BA.debugLineNum = 14155780;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapresize(int _width,int _height,boolean _keepaspectratio) throws Exception{ - //BA.debugLineNum = 341;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; - //BA.debugLineNum = 342;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; -if (true) return __c.LoadBitmapResize(_httputils2service._tempfolder /*String*/ ,_taskid,_width,_height,_keepaspectratio); - //BA.debugLineNum = 343;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapresize(reparto_intmex.keymon.lat.httpjob __ref,int _width,int _height,boolean _keepaspectratio) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmapresize", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmapresize", new Object[] {_width,_height,_keepaspectratio}));} +RDebugUtils.currentLine=14286848; + //BA.debugLineNum = 14286848;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; +RDebugUtils.currentLine=14286849; + //BA.debugLineNum = 14286849;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; +if (true) return __c.LoadBitmapResize(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ,_width,_height,_keepaspectratio); +RDebugUtils.currentLine=14286850; + //BA.debugLineNum = 14286850;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapsample(int _width,int _height) throws Exception{ - //BA.debugLineNum = 337;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; - //BA.debugLineNum = 338;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; -if (true) return __c.LoadBitmapSample(_httputils2service._tempfolder /*String*/ ,_taskid,_width,_height); - //BA.debugLineNum = 339;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapsample(reparto_intmex.keymon.lat.httpjob __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmapsample", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmapsample", new Object[] {_width,_height}));} +RDebugUtils.currentLine=14221312; + //BA.debugLineNum = 14221312;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; +RDebugUtils.currentLine=14221313; + //BA.debugLineNum = 14221313;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; +if (true) return __c.LoadBitmapSample(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ,_width,_height); +RDebugUtils.currentLine=14221314; + //BA.debugLineNum = 14221314;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _getinputstream() throws Exception{ -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 347;BA.debugLine="Public Sub GetInputStream As InputStream"; - //BA.debugLineNum = 348;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 349;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; -_in = __c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 350;BA.debugLine="Return In"; -if (true) return _in; - //BA.debugLineNum = 351;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _getrequest() throws Exception{ - //BA.debugLineNum = 310;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; - //BA.debugLineNum = 311;BA.debugLine="Return req"; -if (true) return _req; - //BA.debugLineNum = 312;BA.debugLine="End Sub"; -return null; -} -public String _getstring() throws Exception{ - //BA.debugLineNum = 291;BA.debugLine="Public Sub GetString As String"; - //BA.debugLineNum = 292;BA.debugLine="Return GetString2(\"UTF8\")"; -if (true) return _getstring2("UTF8"); - //BA.debugLineNum = 293;BA.debugLine="End Sub"; -return ""; -} -public String _getstring2(String _encoding) throws Exception{ +public String _getstring2(reparto_intmex.keymon.lat.httpjob __ref,String _encoding) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getstring2", true)) + {return ((String) Debug.delegate(ba, "getstring2", new Object[] {_encoding}));} anywheresoftware.b4a.objects.streams.File.TextReaderWrapper _tr = null; String _res = ""; - //BA.debugLineNum = 296;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; - //BA.debugLineNum = 300;BA.debugLine="Dim tr As TextReader"; +RDebugUtils.currentLine=13959168; + //BA.debugLineNum = 13959168;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; +RDebugUtils.currentLine=13959172; + //BA.debugLineNum = 13959172;BA.debugLine="Dim tr As TextReader"; _tr = new anywheresoftware.b4a.objects.streams.File.TextReaderWrapper(); - //BA.debugLineNum = 301;BA.debugLine="tr.Initialize2(File.OpenInput(HttpUtils2Service.T"; -_tr.Initialize2((java.io.InputStream)(__c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,_taskid).getObject()),_encoding); - //BA.debugLineNum = 302;BA.debugLine="Dim res As String = tr.ReadAll"; +RDebugUtils.currentLine=13959173; + //BA.debugLineNum = 13959173;BA.debugLine="tr.Initialize2(File.OpenInput(HttpUtils2Service.T"; +_tr.Initialize2((java.io.InputStream)(__c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ).getObject()),_encoding); +RDebugUtils.currentLine=13959174; + //BA.debugLineNum = 13959174;BA.debugLine="Dim res As String = tr.ReadAll"; _res = _tr.ReadAll(); - //BA.debugLineNum = 303;BA.debugLine="tr.Close"; +RDebugUtils.currentLine=13959175; + //BA.debugLineNum = 13959175;BA.debugLine="tr.Close"; _tr.Close(); - //BA.debugLineNum = 304;BA.debugLine="Return res"; +RDebugUtils.currentLine=13959176; + //BA.debugLineNum = 13959176;BA.debugLine="Return res"; if (true) return _res; - //BA.debugLineNum = 306;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13959178; + //BA.debugLineNum = 13959178;BA.debugLine="End Sub"; return ""; } -public String _head(String _link) throws Exception{ - //BA.debugLineNum = 119;BA.debugLine="Public Sub Head(Link As String)"; - //BA.debugLineNum = 120;BA.debugLine="Try"; -try { //BA.debugLineNum = 121;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 122;BA.debugLine="req.InitializeHead(Link)"; -_req.InitializeHead(_link); +public String _head(reparto_intmex.keymon.lat.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "head", true)) + {return ((String) Debug.delegate(ba, "head", new Object[] {_link}));} +RDebugUtils.currentLine=13238272; + //BA.debugLineNum = 13238272;BA.debugLine="Public Sub Head(Link As String)"; +RDebugUtils.currentLine=13238273; + //BA.debugLineNum = 13238273;BA.debugLine="Try"; +try {RDebugUtils.currentLine=13238274; + //BA.debugLineNum = 13238274;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=13238275; + //BA.debugLineNum = 13238275;BA.debugLine="req.InitializeHead(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeHead(_link); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("950003973",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)"; -_req.InitializeHead(_invalidurl); + ba.setLastException(e5);RDebugUtils.currentLine=13238277; + //BA.debugLineNum = 13238277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("913238277",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=13238278; + //BA.debugLineNum = 13238278;BA.debugLine="req.InitializeHead(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeHead(__ref._invalidurl /*String*/ ); }; - //BA.debugLineNum = 127;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +RDebugUtils.currentLine=13238280; + //BA.debugLineNum = 13238280;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; __c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13238281; + //BA.debugLineNum = 13238281;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba,String _name,Object _targetmodule) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; - //BA.debugLineNum = 39;BA.debugLine="JobName = Name"; -_jobname = _name; - //BA.debugLineNum = 40;BA.debugLine="target = TargetModule"; -_target = _targetmodule; - //BA.debugLineNum = 42;BA.debugLine="If HttpUtils2Service.TempFolder = \"\" Then"; -if ((_httputils2service._tempfolder /*String*/ ).equals("")) { - //BA.debugLineNum = 43;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 44;BA.debugLine="jo.InitializeNewInstance(Application.PackageName"; -_jo.InitializeNewInstance(__c.Application.getPackageName()+".httputils2service",(Object[])(__c.Null)); - //BA.debugLineNum = 45;BA.debugLine="jo.RunMethod(\"onReceive\", Array(Null, Null))"; -_jo.RunMethod("onReceive",new Object[]{__c.Null,__c.Null}); - }; - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public boolean _multipartstartsection(anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream,boolean _empty) throws Exception{ - //BA.debugLineNum = 179;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; - //BA.debugLineNum = 180;BA.debugLine="If empty = False Then"; +public boolean _multipartstartsection(reparto_intmex.keymon.lat.httpjob __ref,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream,boolean _empty) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "multipartstartsection", true)) + {return ((Boolean) Debug.delegate(ba, "multipartstartsection", new Object[] {_stream,_empty}));} +RDebugUtils.currentLine=13369344; + //BA.debugLineNum = 13369344;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; +RDebugUtils.currentLine=13369345; + //BA.debugLineNum = 13369345;BA.debugLine="If empty = False Then"; if (_empty==__c.False) { - //BA.debugLineNum = 181;BA.debugLine="stream.WriteBytes(Array As Byte(13, 10), 0, 2)"; +RDebugUtils.currentLine=13369346; + //BA.debugLineNum = 13369346;BA.debugLine="stream.WriteBytes(Array As Byte(13, 10), 0, 2)"; _stream.WriteBytes(new byte[]{(byte) (13),(byte) (10)},(int) (0),(int) (2)); }else { - //BA.debugLineNum = 183;BA.debugLine="empty = False"; +RDebugUtils.currentLine=13369348; + //BA.debugLineNum = 13369348;BA.debugLine="empty = False"; _empty = __c.False; }; - //BA.debugLineNum = 185;BA.debugLine="Return empty"; +RDebugUtils.currentLine=13369350; + //BA.debugLineNum = 13369350;BA.debugLine="Return empty"; if (true) return _empty; - //BA.debugLineNum = 186;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13369351; + //BA.debugLineNum = 13369351;BA.debugLine="End Sub"; return false; } -public String _patchbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; - //BA.debugLineNum = 98;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 106;BA.debugLine="Try"; -try { //BA.debugLineNum = 107;BA.debugLine="req.InitializePatch2(Link, Data)"; -_req.InitializePatch2(_link,_data); +public String _patchbytes(reparto_intmex.keymon.lat.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "patchbytes", true)) + {return ((String) Debug.delegate(ba, "patchbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=13172736; + //BA.debugLineNum = 13172736;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; +RDebugUtils.currentLine=13172737; + //BA.debugLineNum = 13172737;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=13172745; + //BA.debugLineNum = 13172745;BA.debugLine="Try"; +try {RDebugUtils.currentLine=13172746; + //BA.debugLineNum = 13172746;BA.debugLine="req.InitializePatch2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePatch2(_link,_data); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("949938444",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; -_req.InitializePatch2(_invalidurl,_data); + ba.setLastException(e5);RDebugUtils.currentLine=13172748; + //BA.debugLineNum = 13172748;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("913172748",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=13172749; + //BA.debugLineNum = 13172749;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePatch2(__ref._invalidurl /*String*/ ,_data); }; - //BA.debugLineNum = 114;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +RDebugUtils.currentLine=13172753; + //BA.debugLineNum = 13172753;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; __c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13172754; + //BA.debugLineNum = 13172754;BA.debugLine="End Sub"; return ""; } -public String _patchstring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 92;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; - //BA.debugLineNum = 93;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; -_patchbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 94;BA.debugLine="End Sub"; +public String _patchstring(reparto_intmex.keymon.lat.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "patchstring", true)) + {return ((String) Debug.delegate(ba, "patchstring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=13107200; + //BA.debugLineNum = 13107200;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; +RDebugUtils.currentLine=13107201; + //BA.debugLineNum = 13107201;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._patchbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=13107202; + //BA.debugLineNum = 13107202;BA.debugLine="End Sub"; return ""; } -public String _postbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; - //BA.debugLineNum = 64;BA.debugLine="Try"; -try { //BA.debugLineNum = 65;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 66;BA.debugLine="req.InitializePost2(Link, Data)"; -_req.InitializePost2(_link,_data); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("949676293",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; -_req.InitializePost2(_invalidurl,_data); - }; - //BA.debugLineNum = 71;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 72;BA.debugLine="End Sub"; -return ""; -} -public String _postfile(String _link,String _dir,String _filename) throws Exception{ +public String _postfile(reparto_intmex.keymon.lat.httpjob __ref,String _link,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postfile", true)) + {return ((String) Debug.delegate(ba, "postfile", new Object[] {_link,_dir,_filename}));} int _length = 0; anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 190;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; - //BA.debugLineNum = 191;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 196;BA.debugLine="Dim length As Int"; +RDebugUtils.currentLine=13434880; + //BA.debugLineNum = 13434880;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; +RDebugUtils.currentLine=13434881; + //BA.debugLineNum = 13434881;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=13434886; + //BA.debugLineNum = 13434886;BA.debugLine="Dim length As Int"; _length = 0; - //BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then"; +RDebugUtils.currentLine=13434887; + //BA.debugLineNum = 13434887;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("950200584","Cannot send files from the assets folder.",0); - //BA.debugLineNum = 199;BA.debugLine="Return"; +RDebugUtils.currentLine=13434888; + //BA.debugLineNum = 13434888;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; +__c.LogImpl("913434888","Cannot send files from the assets folder.",0); +RDebugUtils.currentLine=13434889; + //BA.debugLineNum = 13434889;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 201;BA.debugLine="length = File.Size(Dir, FileName)"; +RDebugUtils.currentLine=13434891; + //BA.debugLineNum = 13434891;BA.debugLine="length = File.Size(Dir, FileName)"; _length = (int) (__c.File.Size(_dir,_filename)); - //BA.debugLineNum = 202;BA.debugLine="Dim In As InputStream"; +RDebugUtils.currentLine=13434892; + //BA.debugLineNum = 13434892;BA.debugLine="Dim In As InputStream"; _in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 203;BA.debugLine="In = File.OpenInput(Dir, FileName)"; +RDebugUtils.currentLine=13434893; + //BA.debugLineNum = 13434893;BA.debugLine="In = File.OpenInput(Dir, FileName)"; _in = __c.File.OpenInput(_dir,_filename); - //BA.debugLineNum = 204;BA.debugLine="If length < 1000000 Then '1mb"; +RDebugUtils.currentLine=13434894; + //BA.debugLineNum = 13434894;BA.debugLine="If length < 1000000 Then '1mb"; if (_length<1000000) { - //BA.debugLineNum = 207;BA.debugLine="Dim out As OutputStream"; +RDebugUtils.currentLine=13434897; + //BA.debugLineNum = 13434897;BA.debugLine="Dim out As OutputStream"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 208;BA.debugLine="out.InitializeToBytesArray(length)"; -_out.InitializeToBytesArray(_length); - //BA.debugLineNum = 209;BA.debugLine="File.Copy2(In, out)"; -__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 210;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; -_postbytes(_link,_out.ToBytesArray()); +RDebugUtils.currentLine=13434898; + //BA.debugLineNum = 13434898;BA.debugLine="out.InitializeToBytesArray(length)"; +__ref._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ .InitializeToBytesArray(_length); +RDebugUtils.currentLine=13434899; + //BA.debugLineNum = 13434899;BA.debugLine="File.Copy2(In, out)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(__ref._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ .getObject())); +RDebugUtils.currentLine=13434900; + //BA.debugLineNum = 13434900;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; +__ref._postbytes /*String*/ (null,_link,__ref._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ .ToBytesArray()); }else { - //BA.debugLineNum = 212;BA.debugLine="req.InitializePost(Link, In, length)"; -_req.InitializePost(_link,(java.io.InputStream)(_in.getObject()),_length); - //BA.debugLineNum = 213;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; +RDebugUtils.currentLine=13434902; + //BA.debugLineNum = 13434902;BA.debugLine="req.InitializePost(Link, In, length)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost(_link,(java.io.InputStream)(_in.getObject()),_length); +RDebugUtils.currentLine=13434903; + //BA.debugLineNum = 13434903;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; __c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); }; - //BA.debugLineNum = 216;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13434906; + //BA.debugLineNum = 13434906;BA.debugLine="End Sub"; return ""; } -public String _postmultipart(String _link,anywheresoftware.b4a.objects.collections.Map _namevalues,anywheresoftware.b4a.objects.collections.List _files) throws Exception{ +public String _postmultipart(reparto_intmex.keymon.lat.httpjob __ref,String _link,anywheresoftware.b4a.objects.collections.Map _namevalues,anywheresoftware.b4a.objects.collections.List _files) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postmultipart", true)) + {return ((String) Debug.delegate(ba, "postmultipart", new Object[] {_link,_namevalues,_files}));} String _boundary = ""; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream = null; byte[] _b = null; @@ -450,23 +701,32 @@ String _value = ""; String _s = ""; reparto_intmex.keymon.lat.httpjob._multipartfiledata _fd = null; anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 133;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; - //BA.debugLineNum = 134;BA.debugLine="Dim boundary As String = \"-----------------------"; +RDebugUtils.currentLine=13303808; + //BA.debugLineNum = 13303808;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; +RDebugUtils.currentLine=13303809; + //BA.debugLineNum = 13303809;BA.debugLine="Dim boundary As String = \"-----------------------"; _boundary = "---------------------------1461124740692"; - //BA.debugLineNum = 135;BA.debugLine="Dim stream As OutputStream"; +RDebugUtils.currentLine=13303810; + //BA.debugLineNum = 13303810;BA.debugLine="Dim stream As OutputStream"; _stream = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 136;BA.debugLine="stream.InitializeToBytesArray(0)"; +RDebugUtils.currentLine=13303811; + //BA.debugLineNum = 13303811;BA.debugLine="stream.InitializeToBytesArray(0)"; _stream.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 137;BA.debugLine="Dim b() As Byte"; +RDebugUtils.currentLine=13303812; + //BA.debugLineNum = 13303812;BA.debugLine="Dim b() As Byte"; _b = new byte[(int) (0)]; ; - //BA.debugLineNum = 138;BA.debugLine="Dim eol As String = Chr(13) & Chr(10)"; +RDebugUtils.currentLine=13303813; + //BA.debugLineNum = 13303813;BA.debugLine="Dim eol As String = Chr(13) & Chr(10)"; _eol = BA.ObjectToString(__c.Chr((int) (13)))+BA.ObjectToString(__c.Chr((int) (10))); - //BA.debugLineNum = 139;BA.debugLine="Dim empty As Boolean = True"; +RDebugUtils.currentLine=13303814; + //BA.debugLineNum = 13303814;BA.debugLine="Dim empty As Boolean = True"; _empty = __c.True; - //BA.debugLineNum = 140;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; +RDebugUtils.currentLine=13303815; + //BA.debugLineNum = 13303815;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; if (_namevalues!= null && _namevalues.IsInitialized()) { - //BA.debugLineNum = 141;BA.debugLine="For Each key As String In NameValues.Keys"; +RDebugUtils.currentLine=13303816; + //BA.debugLineNum = 13303816;BA.debugLine="For Each key As String In NameValues.Keys"; { final anywheresoftware.b4a.BA.IterableList group8 = _namevalues.Keys(); final int groupLen8 = group8.getSize() @@ -474,22 +734,29 @@ final int groupLen8 = group8.getSize() ; for (; index8 < groupLen8;index8++){ _key = BA.ObjectToString(group8.Get(index8)); - //BA.debugLineNum = 142;BA.debugLine="Dim value As String = NameValues.Get(key)"; +RDebugUtils.currentLine=13303817; + //BA.debugLineNum = 13303817;BA.debugLine="Dim value As String = NameValues.Get(key)"; _value = BA.ObjectToString(_namevalues.Get((Object)(_key))); - //BA.debugLineNum = 143;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 144;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; +RDebugUtils.currentLine=13303818; + //BA.debugLineNum = 13303818;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=13303819; + //BA.debugLineNum = 13303819;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; _s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"\n"+"Content-Disposition: form-data; name=\""+__c.SmartStringFormatter("",(Object)(_key))+"\"\n"+"\n"+""+__c.SmartStringFormatter("",(Object)(_value))+""); - //BA.debugLineNum = 149;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +RDebugUtils.currentLine=13303824; + //BA.debugLineNum = 13303824;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; _b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 150;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +RDebugUtils.currentLine=13303825; + //BA.debugLineNum = 13303825;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; _stream.WriteBytes(_b,(int) (0),_b.length); } }; }; - //BA.debugLineNum = 153;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; +RDebugUtils.currentLine=13303828; + //BA.debugLineNum = 13303828;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; if (_files!= null && _files.IsInitialized()) { - //BA.debugLineNum = 154;BA.debugLine="For Each fd As MultipartFileData In Files"; +RDebugUtils.currentLine=13303829; + //BA.debugLineNum = 13303829;BA.debugLine="For Each fd As MultipartFileData In Files"; { final anywheresoftware.b4a.BA.IterableList group17 = _files; final int groupLen17 = group17.getSize() @@ -497,81 +764,110 @@ final int groupLen17 = group17.getSize() ; for (; index17 < groupLen17;index17++){ _fd = (reparto_intmex.keymon.lat.httpjob._multipartfiledata)(group17.Get(index17)); - //BA.debugLineNum = 155;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 156;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; +RDebugUtils.currentLine=13303830; + //BA.debugLineNum = 13303830;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=13303831; + //BA.debugLineNum = 13303831;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; _s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"\n"+"Content-Disposition: form-data; name=\""+__c.SmartStringFormatter("",(Object)(_fd.KeyName /*String*/ ))+"\"; filename=\""+__c.SmartStringFormatter("",(Object)(_fd.FileName /*String*/ ))+"\"\n"+"Content-Type: "+__c.SmartStringFormatter("",(Object)(_fd.ContentType /*String*/ ))+"\n"+"\n"+""); - //BA.debugLineNum = 162;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +RDebugUtils.currentLine=13303837; + //BA.debugLineNum = 13303837;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; _b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 163;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +RDebugUtils.currentLine=13303838; + //BA.debugLineNum = 13303838;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; _stream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 164;BA.debugLine="Dim in As InputStream = File.OpenInput(fd.Dir,"; +RDebugUtils.currentLine=13303839; + //BA.debugLineNum = 13303839;BA.debugLine="Dim in As InputStream = File.OpenInput(fd.Dir,"; _in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); _in = __c.File.OpenInput(_fd.Dir /*String*/ ,_fd.FileName /*String*/ ); - //BA.debugLineNum = 165;BA.debugLine="File.Copy2(in, stream)"; +RDebugUtils.currentLine=13303840; + //BA.debugLineNum = 13303840;BA.debugLine="File.Copy2(in, stream)"; __c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_stream.getObject())); } }; }; - //BA.debugLineNum = 168;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 169;BA.debugLine="s = _ $\"--${boundary}-- \"$"; +RDebugUtils.currentLine=13303843; + //BA.debugLineNum = 13303843;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=13303844; + //BA.debugLineNum = 13303844;BA.debugLine="s = _ $\"--${boundary}-- \"$"; _s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"--\n"+""); - //BA.debugLineNum = 172;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +RDebugUtils.currentLine=13303847; + //BA.debugLineNum = 13303847;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; _b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 173;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +RDebugUtils.currentLine=13303848; + //BA.debugLineNum = 13303848;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; _stream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 174;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; -_postbytes(_link,_stream.ToBytesArray()); - //BA.debugLineNum = 175;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; -_req.SetContentType("multipart/form-data; boundary="+_boundary); - //BA.debugLineNum = 176;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; -_req.SetContentEncoding("UTF8"); - //BA.debugLineNum = 177;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13303849; + //BA.debugLineNum = 13303849;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; +__ref._postbytes /*String*/ (null,_link,_stream.ToBytesArray()); +RDebugUtils.currentLine=13303850; + //BA.debugLineNum = 13303850;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .SetContentType("multipart/form-data; boundary="+_boundary); +RDebugUtils.currentLine=13303851; + //BA.debugLineNum = 13303851;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .SetContentEncoding("UTF8"); +RDebugUtils.currentLine=13303852; + //BA.debugLineNum = 13303852;BA.debugLine="End Sub"; return ""; } -public String _poststring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 58;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; - //BA.debugLineNum = 59;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; -_postbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +public String _poststring(reparto_intmex.keymon.lat.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "poststring", true)) + {return ((String) Debug.delegate(ba, "poststring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=12845056; + //BA.debugLineNum = 12845056;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; +RDebugUtils.currentLine=12845057; + //BA.debugLineNum = 12845057;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._postbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=12845058; + //BA.debugLineNum = 12845058;BA.debugLine="End Sub"; return ""; } -public String _putbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; - //BA.debugLineNum = 81;BA.debugLine="Try"; -try { //BA.debugLineNum = 82;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 83;BA.debugLine="req.InitializePut2(Link, Data)"; -_req.InitializePut2(_link,_data); +public String _putbytes(reparto_intmex.keymon.lat.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "putbytes", true)) + {return ((String) Debug.delegate(ba, "putbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=13041664; + //BA.debugLineNum = 13041664;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; +RDebugUtils.currentLine=13041665; + //BA.debugLineNum = 13041665;BA.debugLine="Try"; +try {RDebugUtils.currentLine=13041666; + //BA.debugLineNum = 13041666;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=13041667; + //BA.debugLineNum = 13041667;BA.debugLine="req.InitializePut2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePut2(_link,_data); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("949807365",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; -_req.InitializePut2(_invalidurl,_data); + ba.setLastException(e5);RDebugUtils.currentLine=13041669; + //BA.debugLineNum = 13041669;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("913041669",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=13041670; + //BA.debugLineNum = 13041670;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePut2(__ref._invalidurl /*String*/ ,_data); }; - //BA.debugLineNum = 88;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +RDebugUtils.currentLine=13041672; + //BA.debugLineNum = 13041672;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; __c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13041673; + //BA.debugLineNum = 13041673;BA.debugLine="End Sub"; return ""; } -public String _putstring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 75;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; - //BA.debugLineNum = 76;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; -_putbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 77;BA.debugLine="End Sub"; +public String _putstring(reparto_intmex.keymon.lat.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "putstring", true)) + {return ((String) Debug.delegate(ba, "putstring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=12976128; + //BA.debugLineNum = 12976128;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; +RDebugUtils.currentLine=12976129; + //BA.debugLineNum = 12976129;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._putbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=12976130; + //BA.debugLineNum = 12976130;BA.debugLine="End Sub"; return ""; } -public String _release() throws Exception{ - //BA.debugLineNum = 284;BA.debugLine="Public Sub Release"; - //BA.debugLineNum = 286;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; -__c.File.Delete(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 288;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/httputils2service.java b/B4A/Objects/src/reparto_intmex/keymon/lat/httputils2service.java index 339c6d1..9e4082b 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/httputils2service.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/httputils2service.java @@ -20,7 +20,7 @@ public class httputils2service extends android.content.BroadcastReceiver{ if (processBA == null) { - processBA = new BA(context, null, null, anywheresoftware.b4a.BA.SharedProcessBA.ModuleType.RECEIVER, "reparto_intmex.keymon.lat.httputils2service"); + processBA = new anywheresoftware.b4a.ShellBA(context, null, null, anywheresoftware.b4a.BA.SharedProcessBA.ModuleType.RECEIVER, "reparto_intmex.keymon.lat.httputils2service"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -43,6 +43,7 @@ public class httputils2service extends android.content.BroadcastReceiver{ firstTime = false; } + public anywheresoftware.b4a.keywords.Common __c = null; public static anywheresoftware.b4h.okhttp.OkHttpClientWrapper _hc = null; public static anywheresoftware.b4a.objects.collections.Map _taskidtojob = null; @@ -51,10 +52,10 @@ public static int _taskcounter = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -62,177 +63,257 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; public static String _completejob(int _taskid,boolean _success,String _errormessage) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "completejob", false)) + {return ((String) Debug.delegate(processBA, "completejob", new Object[] {_taskid,_success,_errormessage}));} reparto_intmex.keymon.lat.httpjob _job = null; - //BA.debugLineNum = 152;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; - //BA.debugLineNum = 156;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +RDebugUtils.currentLine=12582912; + //BA.debugLineNum = 12582912;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; +RDebugUtils.currentLine=12582916; + //BA.debugLineNum = 12582916;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; _job = (reparto_intmex.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 157;BA.debugLine="If job = Null Then"; +RDebugUtils.currentLine=12582917; + //BA.debugLineNum = 12582917;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("849348614","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 159;BA.debugLine="Return"; +RDebugUtils.currentLine=12582918; + //BA.debugLineNum = 12582918;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; +anywheresoftware.b4a.keywords.Common.LogImpl("212582918","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=12582919; + //BA.debugLineNum = 12582919;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 161;BA.debugLine="TaskIdToJob.Remove(TaskId)"; +RDebugUtils.currentLine=12582921; + //BA.debugLineNum = 12582921;BA.debugLine="TaskIdToJob.Remove(TaskId)"; _taskidtojob.Remove((Object)(_taskid)); - //BA.debugLineNum = 162;BA.debugLine="job.success = success"; +RDebugUtils.currentLine=12582922; + //BA.debugLineNum = 12582922;BA.debugLine="job.success = success"; _job._success /*boolean*/ = _success; - //BA.debugLineNum = 163;BA.debugLine="job.errorMessage = errorMessage"; +RDebugUtils.currentLine=12582923; + //BA.debugLineNum = 12582923;BA.debugLine="job.errorMessage = errorMessage"; _job._errormessage /*String*/ = _errormessage; - //BA.debugLineNum = 165;BA.debugLine="job.Complete(TaskId)"; -_job._complete /*String*/ (_taskid); - //BA.debugLineNum = 169;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12582925; + //BA.debugLineNum = 12582925;BA.debugLine="job.Complete(TaskId)"; +_job._complete /*String*/ (null,_taskid); +RDebugUtils.currentLine=12582929; + //BA.debugLineNum = 12582929;BA.debugLine="End Sub"; return ""; } public static String _hc_responseerror(anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response,String _reason,int _statuscode,int _taskid) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "hc_responseerror", false)) + {return ((String) Debug.delegate(processBA, "hc_responseerror", new Object[] {_response,_reason,_statuscode,_taskid}));} reparto_intmex.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("849283074",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); - //BA.debugLineNum = 119;BA.debugLine="Response.Release"; +RDebugUtils.currentLine=12517376; + //BA.debugLineNum = 12517376;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; +RDebugUtils.currentLine=12517378; + //BA.debugLineNum = 12517378;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; +anywheresoftware.b4a.keywords.Common.LogImpl("212517378",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); +RDebugUtils.currentLine=12517380; + //BA.debugLineNum = 12517380;BA.debugLine="Response.Release"; _response.Release(); - //BA.debugLineNum = 120;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +RDebugUtils.currentLine=12517381; + //BA.debugLineNum = 12517381;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; _job = (reparto_intmex.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 121;BA.debugLine="If job = Null Then"; +RDebugUtils.currentLine=12517382; + //BA.debugLineNum = 12517382;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("849283079","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 123;BA.debugLine="Return"; +RDebugUtils.currentLine=12517383; + //BA.debugLineNum = 12517383;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c"; +anywheresoftware.b4a.keywords.Common.LogImpl("212517383","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=12517384; + //BA.debugLineNum = 12517384;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 125;BA.debugLine="job.Response = Response"; +RDebugUtils.currentLine=12517386; + //BA.debugLineNum = 12517386;BA.debugLine="job.Response = Response"; _job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; - //BA.debugLineNum = 126;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; +RDebugUtils.currentLine=12517387; + //BA.debugLineNum = 12517387;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; if ((_response.getErrorResponse()).equals("") == false) { - //BA.debugLineNum = 127;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; +RDebugUtils.currentLine=12517388; + //BA.debugLineNum = 12517388;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; _completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_response.getErrorResponse()); }else { - //BA.debugLineNum = 129;BA.debugLine="CompleteJob(TaskId, False, Reason)"; +RDebugUtils.currentLine=12517390; + //BA.debugLineNum = 12517390;BA.debugLine="CompleteJob(TaskId, False, Reason)"; _completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_reason); }; - //BA.debugLineNum = 131;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12517392; + //BA.debugLineNum = 12517392;BA.debugLine="End Sub"; return ""; } public static String _hc_responsesuccess(anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response,int _taskid) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "hc_responsesuccess", false)) + {return ((String) Debug.delegate(processBA, "hc_responsesuccess", new Object[] {_response,_taskid}));} reparto_intmex.keymon.lat.httpjob _job = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 92;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; - //BA.debugLineNum = 93;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +RDebugUtils.currentLine=12386304; + //BA.debugLineNum = 12386304;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; +RDebugUtils.currentLine=12386305; + //BA.debugLineNum = 12386305;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; _job = (reparto_intmex.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 94;BA.debugLine="If job = Null Then"; +RDebugUtils.currentLine=12386306; + //BA.debugLineNum = 12386306;BA.debugLine="If job = Null Then"; if (_job== null) { - //BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; -anywheresoftware.b4a.keywords.Common.LogImpl("849152003","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 96;BA.debugLine="Return"; +RDebugUtils.currentLine=12386307; + //BA.debugLineNum = 12386307;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; +anywheresoftware.b4a.keywords.Common.LogImpl("212386307","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=12386308; + //BA.debugLineNum = 12386308;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 98;BA.debugLine="job.Response = Response"; +RDebugUtils.currentLine=12386310; + //BA.debugLineNum = 12386310;BA.debugLine="job.Response = Response"; _job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; - //BA.debugLineNum = 99;BA.debugLine="Dim out As OutputStream = File.OpenOutput(TempFol"; +RDebugUtils.currentLine=12386311; + //BA.debugLineNum = 12386311;BA.debugLine="Dim out As OutputStream = File.OpenOutput(TempFol"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(_tempfolder,BA.NumberToString(_taskid),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 101;BA.debugLine="job.Out = out"; +RDebugUtils.currentLine=12386313; + //BA.debugLineNum = 12386313;BA.debugLine="job.Out = out"; _job._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ = _out; - //BA.debugLineNum = 103;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; +RDebugUtils.currentLine=12386315; + //BA.debugLineNum = 12386315;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; _response.GetAsynchronously(processBA,"response",(java.io.OutputStream)(_out.getObject()),anywheresoftware.b4a.keywords.Common.True,_taskid); - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Public hc As OkHttpClient"; -_hc = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Public TaskIdToJob As Map"; -_taskidtojob = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 19;BA.debugLine="Public TempFolder As String"; -_tempfolder = ""; - //BA.debugLineNum = 23;BA.debugLine="Private taskCounter As Int"; -_taskcounter = 0; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12386317; + //BA.debugLineNum = 12386317;BA.debugLine="End Sub"; return ""; } public static String _receiver_receive(boolean _firsttime,anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 58;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; - //BA.debugLineNum = 59;BA.debugLine="If FirstTime Then"; +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "receiver_receive", false)) + {return ((String) Debug.delegate(processBA, "receiver_receive", new Object[] {_firsttime,_startingintent}));} +RDebugUtils.currentLine=12124160; + //BA.debugLineNum = 12124160;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; +RDebugUtils.currentLine=12124161; + //BA.debugLineNum = 12124161;BA.debugLine="If FirstTime Then"; if (_firsttime) { - //BA.debugLineNum = 60;BA.debugLine="Service_Create"; +RDebugUtils.currentLine=12124162; + //BA.debugLineNum = 12124162;BA.debugLine="Service_Create"; _service_create(); }; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return ""; -} -public static String _response_streamfinish(boolean _success,int _taskid) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; - //BA.debugLineNum = 108;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 109;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; -_completejob(_taskid,_success,""); - }else { - //BA.debugLineNum = 111;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; -_completejob(_taskid,_success,anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage()); - }; - //BA.debugLineNum = 113;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12124164; + //BA.debugLineNum = 12124164;BA.debugLine="End Sub"; return ""; } public static String _service_create() throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 29;BA.debugLine="TempFolder = File.DirInternalCache"; +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=12058624; + //BA.debugLineNum = 12058624;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=12058626; + //BA.debugLineNum = 12058626;BA.debugLine="TempFolder = File.DirInternalCache"; _tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternalCache(); - //BA.debugLineNum = 30;BA.debugLine="Try"; -try { //BA.debugLineNum = 31;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; +RDebugUtils.currentLine=12058627; + //BA.debugLineNum = 12058627;BA.debugLine="Try"; +try {RDebugUtils.currentLine=12058628; + //BA.debugLineNum = 12058628;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; anywheresoftware.b4a.keywords.Common.File.WriteString(_tempfolder,"~test.test","test"); - //BA.debugLineNum = 32;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; +RDebugUtils.currentLine=12058629; + //BA.debugLineNum = 12058629;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; anywheresoftware.b4a.keywords.Common.File.Delete(_tempfolder,"~test.test"); } catch (Exception e6) { - processBA.setLastException(e6); //BA.debugLineNum = 34;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("848824327",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); - //BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("848824328","Switching to File.DirInternal",0); - //BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal"; + processBA.setLastException(e6);RDebugUtils.currentLine=12058631; + //BA.debugLineNum = 12058631;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("212058631",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); +RDebugUtils.currentLine=12058632; + //BA.debugLineNum = 12058632;BA.debugLine="Log(\"Switching to File.DirInternal\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("212058632","Switching to File.DirInternal",0); +RDebugUtils.currentLine=12058633; + //BA.debugLineNum = 12058633;BA.debugLine="TempFolder = File.DirInternal"; _tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); }; - //BA.debugLineNum = 41;BA.debugLine="If hc.IsInitialized = False Then"; +RDebugUtils.currentLine=12058638; + //BA.debugLineNum = 12058638;BA.debugLine="If hc.IsInitialized = False Then"; if (_hc.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 46;BA.debugLine="hc.Initialize(\"hc\")"; +RDebugUtils.currentLine=12058643; + //BA.debugLineNum = 12058643;BA.debugLine="hc.Initialize(\"hc\")"; _hc.Initialize("hc"); }; - //BA.debugLineNum = 54;BA.debugLine="TaskIdToJob.Initialize"; +RDebugUtils.currentLine=12058651; + //BA.debugLineNum = 12058651;BA.debugLine="TaskIdToJob.Initialize"; _taskidtojob.Initialize(); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12058653; + //BA.debugLineNum = 12058653;BA.debugLine="End Sub"; +return ""; +} +public static String _response_streamfinish(boolean _success,int _taskid) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "response_streamfinish", false)) + {return ((String) Debug.delegate(processBA, "response_streamfinish", new Object[] {_success,_taskid}));} +RDebugUtils.currentLine=12451840; + //BA.debugLineNum = 12451840;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; +RDebugUtils.currentLine=12451841; + //BA.debugLineNum = 12451841;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=12451842; + //BA.debugLineNum = 12451842;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; +_completejob(_taskid,_success,""); + }else { +RDebugUtils.currentLine=12451844; + //BA.debugLineNum = 12451844;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; +_completejob(_taskid,_success,anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage()); + }; +RDebugUtils.currentLine=12451846; + //BA.debugLineNum = 12451846;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 68;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=12255232; + //BA.debugLineNum = 12255232;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=12255234; + //BA.debugLineNum = 12255234;BA.debugLine="End Sub"; return ""; } public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 64;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=12189696; + //BA.debugLineNum = 12189696;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=12189698; + //BA.debugLineNum = 12189698;BA.debugLine="End Sub"; return ""; } public static String _submitjob(reparto_intmex.keymon.lat.httpjob _job) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "submitjob", false)) + {return ((String) Debug.delegate(processBA, "submitjob", new Object[] {_job}));} int _taskid = 0; - //BA.debugLineNum = 74;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; - //BA.debugLineNum = 75;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; +RDebugUtils.currentLine=12320768; + //BA.debugLineNum = 12320768;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; +RDebugUtils.currentLine=12320769; + //BA.debugLineNum = 12320769;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; if (_taskidtojob.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { _service_create();}; - //BA.debugLineNum = 79;BA.debugLine="taskCounter = taskCounter + 1"; +RDebugUtils.currentLine=12320773; + //BA.debugLineNum = 12320773;BA.debugLine="taskCounter = taskCounter + 1"; _taskcounter = (int) (_taskcounter+1); - //BA.debugLineNum = 80;BA.debugLine="Dim TaskId As Int = taskCounter"; +RDebugUtils.currentLine=12320774; + //BA.debugLineNum = 12320774;BA.debugLine="Dim TaskId As Int = taskCounter"; _taskid = _taskcounter; - //BA.debugLineNum = 82;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; +RDebugUtils.currentLine=12320776; + //BA.debugLineNum = 12320776;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; _taskidtojob.Put((Object)(_taskid),(Object)(_job)); - //BA.debugLineNum = 83;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; +RDebugUtils.currentLine=12320777; + //BA.debugLineNum = 12320777;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; if ((_job._username /*String*/ ).equals("") == false && (_job._password /*String*/ ).equals("") == false) { - //BA.debugLineNum = 84;BA.debugLine="hc.ExecuteCredentials(job.GetRequest, TaskId, jo"; -_hc.ExecuteCredentials(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (),_taskid,_job._username /*String*/ ,_job._password /*String*/ ); +RDebugUtils.currentLine=12320778; + //BA.debugLineNum = 12320778;BA.debugLine="hc.ExecuteCredentials(job.GetRequest, TaskId, jo"; +_hc.ExecuteCredentials(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null),_taskid,_job._username /*String*/ ,_job._password /*String*/ ); }else { - //BA.debugLineNum = 86;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; -_hc.Execute(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (),_taskid); +RDebugUtils.currentLine=12320780; + //BA.debugLineNum = 12320780;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; +_hc.Execute(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null),_taskid); }; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12320782; + //BA.debugLineNum = 12320782;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/madewithlove.java b/B4A/Objects/src/reparto_intmex/keymon/lat/madewithlove.java index 21dd1cf..87b2e2e 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/madewithlove.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/madewithlove.java @@ -10,7 +10,7 @@ public class madewithlove extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.madewithlove"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.madewithlove"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class madewithlove extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -32,10 +39,10 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -43,66 +50,101 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 47;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Wid"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.madewithlove __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=32178176; + //BA.debugLineNum = 32178176;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=32178177; + //BA.debugLineNum = 32178177;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Wid"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=32178178; + //BA.debugLineNum = 32178178;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mEventName As String 'ignore"; +public String _class_globals(reparto_intmex.keymon.lat.madewithlove __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +RDebugUtils.currentLine=31981568; + //BA.debugLineNum = 31981568;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=31981569; + //BA.debugLineNum = 31981569;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 3;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=31981570; + //BA.debugLineNum = 31981570;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 4;BA.debugLine="Public mBase As B4XView"; +RDebugUtils.currentLine=31981571; + //BA.debugLineNum = 31981571;BA.debugLine="Public mBase As B4XView"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=31981572; + //BA.debugLineNum = 31981572;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=31981573; + //BA.debugLineNum = 31981573;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 7;BA.debugLine="End Sub"; +RDebugUtils.currentLine=31981574; + //BA.debugLineNum = 31981574;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _designercreateview(reparto_intmex.keymon.lat.madewithlove __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 15;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 16;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 17;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 17;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 18;BA.debugLine="Dim xlbl As B4XView = Lbl"; +RDebugUtils.currentLine=32112640; + //BA.debugLineNum = 32112640;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=32112641; + //BA.debugLineNum = 32112641;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=32112642; + //BA.debugLineNum = 32112642;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=32112642; + //BA.debugLineNum = 32112642;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=32112643; + //BA.debugLineNum = 32112643;BA.debugLine="Dim xlbl As B4XView = Lbl"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 33;BA.debugLine="Dim cs As CSBuilder"; +RDebugUtils.currentLine=32112658; + //BA.debugLineNum = 32112658;BA.debugLine="Dim cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 34;BA.debugLine="cs.Initialize.Append(\"Made with \").Typeface(Typef"; -_cs.Initialize().Append(BA.ObjectToCharSequence("Made with ")).Typeface(__c.Typeface.getFONTAWESOME()).Color(_xui.Color_Red).Append(BA.ObjectToCharSequence(__c.Chr(((int)0xf004)))).Pop().Pop().Append(BA.ObjectToCharSequence(" in B4X")).PopAll(); - //BA.debugLineNum = 35;BA.debugLine="xlbl.Text = cs"; +RDebugUtils.currentLine=32112659; + //BA.debugLineNum = 32112659;BA.debugLine="cs.Initialize.Append(\"Made with \").Typeface(Typef"; +_cs.Initialize().Append(BA.ObjectToCharSequence("Made with ")).Typeface(__c.Typeface.getFONTAWESOME()).Color(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Red).Append(BA.ObjectToCharSequence(__c.Chr(((int)0xf004)))).Pop().Pop().Append(BA.ObjectToCharSequence(" in B4X")).PopAll(); +RDebugUtils.currentLine=32112660; + //BA.debugLineNum = 32112660;BA.debugLine="xlbl.Text = cs"; _xlbl.setText(BA.ObjectToCharSequence(_cs.getObject())); - //BA.debugLineNum = 36;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +RDebugUtils.currentLine=32112661; + //BA.debugLineNum = 32112661;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; _xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 37;BA.debugLine="mBase.AddView(xlbl, 0, 0, mBase.Width, mBase.Heig"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 45;BA.debugLine="End Sub"; +RDebugUtils.currentLine=32112662; + //BA.debugLineNum = 32112662;BA.debugLine="mBase.AddView(xlbl, 0, 0, mBase.Width, mBase.Heig"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=32112670; + //BA.debugLineNum = 32112670;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.madewithlove __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 10;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 11;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 12;BA.debugLine="End Sub"; +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=32047104; + //BA.debugLineNum = 32047104;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=32047105; + //BA.debugLineNum = 32047105;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=32047106; + //BA.debugLineNum = 32047106;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=32047107; + //BA.debugLineNum = 32047107;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/main.java b/B4A/Objects/src/reparto_intmex/keymon/lat/main.java index bd5a0a9..3999237 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/main.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/main.java @@ -34,7 +34,7 @@ public class main extends Activity implements B4AActivity{ super.onCreate(savedInstanceState); mostCurrent = this; if (processBA == null) { - processBA = new BA(this.getApplicationContext(), null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.main"); + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.main"); processBA.loadHtSubs(this.getClass()); float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; BALayout.setDeviceScale(deviceScale); @@ -335,90 +335,7 @@ public class main extends Activity implements B4AActivity{ } -public anywheresoftware.b4a.keywords.Common __c = null; -public static boolean _actionbarhomeclicked = false; -public b4a.example.dateutils _dateutils = null; -public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; -public reparto_intmex.keymon.lat.foto _foto = null; -public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_intmex.keymon.lat.subs _subs = null; -public reparto_intmex.keymon.lat.tracker _tracker = null; -public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; -public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; -public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static boolean isAnyActivityVisible() { - boolean vis = false; -vis = vis | (main.mostCurrent != null); -vis = vis | (foto.mostCurrent != null); -vis = vis | (mapa_cliente.mostCurrent != null); -vis = vis | (mapa_rutas.mostCurrent != null); -return vis;} -public static String _activity_actionbarhomeclick() throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 35;BA.debugLine="ActionBarHomeClicked = True"; -_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 36;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; -mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_actionbarhomeclick /*String*/ (); - //BA.debugLineNum = 37;BA.debugLine="ActionBarHomeClicked = False"; -_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_create(boolean _firsttime) throws Exception{ -reparto_intmex.keymon.lat.b4xpagesmanager _pm = null; - //BA.debugLineNum = 26;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 27;BA.debugLine="Dim pm As B4XPagesManager"; -_pm = new reparto_intmex.keymon.lat.b4xpagesmanager(); - //BA.debugLineNum = 28;BA.debugLine="pm.Initialize(Activity)"; -_pm._initialize /*String*/ (mostCurrent.activityBA,mostCurrent._activity); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return ""; -} -public static boolean _activity_keypress(int _keycode) throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; - //BA.debugLineNum = 41;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; -if (true) return mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_keypress /*boolean*/ (_keycode); - //BA.debugLineNum = 42;BA.debugLine="End Sub"; -return false; -} -public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 48;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 49;BA.debugLine="B4XPages.Delegate.Activity_Pause"; -mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_pause /*String*/ (); - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_permissionresult(String _permission,boolean _result) throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; - //BA.debugLineNum = 53;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; -mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_permissionresult /*String*/ (_permission,_result); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 44;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 45;BA.debugLine="B4XPages.Delegate.Activity_Resume"; -mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_resume /*String*/ (); - //BA.debugLineNum = 46;BA.debugLine="End Sub"; -return ""; -} -public static String _create_menu(Object _menu) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Sub Create_Menu (Menu As Object)"; - //BA.debugLineNum = 57;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; -mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._create_menu /*String*/ (_menu); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 24;BA.debugLine="End Sub"; -return ""; -} public static void initializeProcessGlobals() { @@ -426,33 +343,198 @@ public static void initializeProcessGlobals() { main.processGlobalsRun = true; try { b4a.example.dateutils._process_globals(); -main._process_globals(); -appupdater._process_globals(); -starter._process_globals(); -foto._process_globals(); -mapa_cliente._process_globals(); -mapa_rutas._process_globals(); -subs._process_globals(); -tracker._process_globals(); -newinst2._process_globals(); -b4xpages._process_globals(); -b4xcollections._process_globals(); -httputils2service._process_globals(); -xuiviewsutils._process_globals(); } catch (Exception e) { throw new RuntimeException(e); } } -}public static String _process_globals() throws Exception{ - //BA.debugLineNum = 18;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 19;BA.debugLine="Public ActionBarHomeClicked As Boolean"; -_actionbarhomeclicked = false; - //BA.debugLineNum = 20;BA.debugLine="End Sub"; +} +public static boolean isAnyActivityVisible() { + boolean vis = false; +vis = vis | (main.mostCurrent != null); +vis = vis | (foto.mostCurrent != null); +vis = vis | (mapa_cliente.mostCurrent != null); +vis = vis | (mapa_rutas.mostCurrent != null); +return vis;} + +private static BA killProgramHelper(BA ba) { + if (ba == null) + return null; + anywheresoftware.b4a.BA.SharedProcessBA sharedProcessBA = ba.sharedProcessBA; + if (sharedProcessBA == null || sharedProcessBA.activityBA == null) + return null; + return sharedProcessBA.activityBA.get(); +} +public static void killProgram() { + { + Activity __a = null; + if (main.previousOne != null) { + __a = main.previousOne.get(); + } + else { + BA ba = killProgramHelper(main.mostCurrent == null ? null : main.mostCurrent.processBA); + if (ba != null) __a = ba.activity; + } + if (__a != null) + __a.finish();} + +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, appupdater.class)); + { + Activity __a = null; + if (foto.previousOne != null) { + __a = foto.previousOne.get(); + } + else { + BA ba = killProgramHelper(foto.mostCurrent == null ? null : foto.mostCurrent.processBA); + if (ba != null) __a = ba.activity; + } + if (__a != null) + __a.finish();} + + { + Activity __a = null; + if (mapa_cliente.previousOne != null) { + __a = mapa_cliente.previousOne.get(); + } + else { + BA ba = killProgramHelper(mapa_cliente.mostCurrent == null ? null : mapa_cliente.mostCurrent.processBA); + if (ba != null) __a = ba.activity; + } + if (__a != null) + __a.finish();} + + { + Activity __a = null; + if (mapa_rutas.previousOne != null) { + __a = mapa_rutas.previousOne.get(); + } + else { + BA ba = killProgramHelper(mapa_rutas.mostCurrent == null ? null : mapa_rutas.mostCurrent.processBA); + if (ba != null) __a = ba.activity; + } + if (__a != null) + __a.finish();} + +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, starter.class)); +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, tracker.class)); +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, newinst2.class)); +} +public anywheresoftware.b4a.keywords.Common __c = null; +public static boolean _actionbarhomeclicked = false; +public b4a.example.dateutils _dateutils = null; +public reparto_intmex.keymon.lat.appupdater _appupdater = null; +public reparto_intmex.keymon.lat.foto _foto = null; +public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; +public reparto_intmex.keymon.lat.subs _subs = null; +public reparto_intmex.keymon.lat.tracker _tracker = null; +public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; +public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; +public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; +public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static String _activity_actionbarhomeclick() throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_actionbarhomeclick", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_actionbarhomeclick", null));} +RDebugUtils.currentLine=35717120; + //BA.debugLineNum = 35717120;BA.debugLine="Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=35717121; + //BA.debugLineNum = 35717121;BA.debugLine="ActionBarHomeClicked = True"; +_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=35717122; + //BA.debugLineNum = 35717122;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; +mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_actionbarhomeclick /*String*/ (null); +RDebugUtils.currentLine=35717123; + //BA.debugLineNum = 35717123;BA.debugLine="ActionBarHomeClicked = False"; +_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=35717124; + //BA.debugLineNum = 35717124;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_create(boolean _firsttime) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}));} +reparto_intmex.keymon.lat.b4xpagesmanager _pm = null; +RDebugUtils.currentLine=131072; + //BA.debugLineNum = 131072;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=131073; + //BA.debugLineNum = 131073;BA.debugLine="Dim pm As B4XPagesManager"; +_pm = new reparto_intmex.keymon.lat.b4xpagesmanager(); +RDebugUtils.currentLine=131074; + //BA.debugLineNum = 131074;BA.debugLine="pm.Initialize(Activity)"; +_pm._initialize /*String*/ (null,mostCurrent.activityBA,mostCurrent._activity); +RDebugUtils.currentLine=131075; + //BA.debugLineNum = 131075;BA.debugLine="End Sub"; +return ""; +} +public static boolean _activity_keypress(int _keycode) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(mostCurrent.activityBA, "activity_keypress", new Object[] {_keycode}));} +RDebugUtils.currentLine=35782656; + //BA.debugLineNum = 35782656;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; +RDebugUtils.currentLine=35782657; + //BA.debugLineNum = 35782657;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; +if (true) return mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_keypress /*boolean*/ (null,_keycode); +RDebugUtils.currentLine=35782658; + //BA.debugLineNum = 35782658;BA.debugLine="End Sub"; +return false; +} +public static String _activity_pause(boolean _userclosed) throws Exception{ +RDebugUtils.currentModule="main"; +RDebugUtils.currentLine=262144; + //BA.debugLineNum = 262144;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=262145; + //BA.debugLineNum = 262145;BA.debugLine="B4XPages.Delegate.Activity_Pause"; +mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_pause /*String*/ (null); +RDebugUtils.currentLine=262146; + //BA.debugLineNum = 262146;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_permissionresult(String _permission,boolean _result) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_permissionresult", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_permissionresult", new Object[] {_permission,_result}));} +RDebugUtils.currentLine=35848192; + //BA.debugLineNum = 35848192;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +RDebugUtils.currentLine=35848193; + //BA.debugLineNum = 35848193;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; +mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_permissionresult /*String*/ (null,_permission,_result); +RDebugUtils.currentLine=35848194; + //BA.debugLineNum = 35848194;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_resume() throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=196608; + //BA.debugLineNum = 196608;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=196609; + //BA.debugLineNum = 196609;BA.debugLine="B4XPages.Delegate.Activity_Resume"; +mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._activity_resume /*String*/ (null); +RDebugUtils.currentLine=196610; + //BA.debugLineNum = 196610;BA.debugLine="End Sub"; +return ""; +} +public static String _create_menu(Object _menu) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "create_menu", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "create_menu", new Object[] {_menu}));} +RDebugUtils.currentLine=35913728; + //BA.debugLineNum = 35913728;BA.debugLine="Sub Create_Menu (Menu As Object)"; +RDebugUtils.currentLine=35913729; + //BA.debugLineNum = 35913729;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; +mostCurrent._b4xpages._delegate /*reparto_intmex.keymon.lat.b4xpagesdelegator*/ ._create_menu /*String*/ (null,_menu); +RDebugUtils.currentLine=35913730; + //BA.debugLineNum = 35913730;BA.debugLine="End Sub"; return ""; } public boolean _onCreateOptionsMenu(android.view.Menu menu) { processBA.raiseEvent(null, "create_menu", menu); return true; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/manageexternalstorage.java b/B4A/Objects/src/reparto_intmex/keymon/lat/manageexternalstorage.java index a26c559..f687eac 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/manageexternalstorage.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/manageexternalstorage.java @@ -10,7 +10,7 @@ public class manageexternalstorage extends B4AClass.ImplB4AClass implements BA.S private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.manageexternalstorage"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.manageexternalstorage"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,17 +23,24 @@ public class manageexternalstorage extends B4AClass.ImplB4AClass implements BA.S ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public Object _ion = null; public Object _mcallback = null; public String _meventname = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -41,107 +48,174 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 3;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 4;BA.debugLine="Private ion As Object"; -_ion = new Object(); - //BA.debugLineNum = 5;BA.debugLine="Private mCallback As Object"; -_mcallback = new Object(); - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="End Sub"; +public String _initialize(reparto_intmex.keymon.lat.manageexternalstorage __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=64290816; + //BA.debugLineNum = 64290816;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=64290817; + //BA.debugLineNum = 64290817;BA.debugLine="mCallback = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=64290818; + //BA.debugLineNum = 64290818;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=64290819; + //BA.debugLineNum = 64290819;BA.debugLine="End Sub"; return ""; } -public Object _getba() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 71;BA.debugLine="Private Sub GetBA As Object"; - //BA.debugLineNum = 72;BA.debugLine="Dim jo As JavaObject = Me"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 73;BA.debugLine="Return jo.RunMethod(\"getBA\", Null)"; -if (true) return _jo.RunMethod("getBA",(Object[])(__c.Null)); - //BA.debugLineNum = 74;BA.debugLine="End Sub"; -return null; -} -public String _getpermission() throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _in = null; - //BA.debugLineNum = 41;BA.debugLine="Public Sub GetPermission"; - //BA.debugLineNum = 42;BA.debugLine="If HasPermission Then"; -if (_haspermission()) { - //BA.debugLineNum = 43;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 44;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 46;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 48;BA.debugLine="in.Initialize(\"android.settings.MANAGE_APP_ALL_FI"; -_in.Initialize("android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION",("package:"+__c.SmartStringFormatter("",(Object)(__c.Application.getPackageName()))+"")); - //BA.debugLineNum = 49;BA.debugLine="StartActivityForResult(in)"; -_startactivityforresult(_in); - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public boolean _haspermission() throws Exception{ +public boolean _haspermission(reparto_intmex.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "haspermission", false)) + {return ((Boolean) Debug.delegate(ba, "haspermission", null));} boolean _has = false; anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 30;BA.debugLine="Public Sub HasPermission As Boolean"; - //BA.debugLineNum = 31;BA.debugLine="Dim has As Boolean"; +RDebugUtils.currentLine=64356352; + //BA.debugLineNum = 64356352;BA.debugLine="Public Sub HasPermission As Boolean"; +RDebugUtils.currentLine=64356353; + //BA.debugLineNum = 64356353;BA.debugLine="Dim has As Boolean"; _has = false; - //BA.debugLineNum = 32;BA.debugLine="Dim jo As JavaObject"; +RDebugUtils.currentLine=64356354; + //BA.debugLineNum = 64356354;BA.debugLine="Dim jo As JavaObject"; _jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 33;BA.debugLine="jo.InitializeStatic(\"android.os.Environment\")"; +RDebugUtils.currentLine=64356355; + //BA.debugLineNum = 64356355;BA.debugLine="jo.InitializeStatic(\"android.os.Environment\")"; _jo.InitializeStatic("android.os.Environment"); - //BA.debugLineNum = 34;BA.debugLine="has = jo.RunMethod(\"isExternalStorageManager\", Nu"; +RDebugUtils.currentLine=64356356; + //BA.debugLineNum = 64356356;BA.debugLine="has = jo.RunMethod(\"isExternalStorageManager\", Nu"; _has = BA.ObjectToBoolean(_jo.RunMethod("isExternalStorageManager",(Object[])(__c.Null))); - //BA.debugLineNum = 35;BA.debugLine="Return has"; +RDebugUtils.currentLine=64356357; + //BA.debugLineNum = 64356357;BA.debugLine="Return has"; if (true) return _has; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentLine=64356358; + //BA.debugLineNum = 64356358;BA.debugLine="End Sub"; return false; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 22;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 23;BA.debugLine="mCallback = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 24;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +public String _getpermission(reparto_intmex.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "getpermission", false)) + {return ((String) Debug.delegate(ba, "getpermission", null));} +anywheresoftware.b4a.objects.IntentWrapper _in = null; +RDebugUtils.currentLine=64421888; + //BA.debugLineNum = 64421888;BA.debugLine="Public Sub GetPermission"; +RDebugUtils.currentLine=64421889; + //BA.debugLineNum = 64421889;BA.debugLine="If HasPermission Then"; +if (__ref._haspermission /*boolean*/ (null)) { +RDebugUtils.currentLine=64421890; + //BA.debugLineNum = 64421890;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*String*/ (null); +RDebugUtils.currentLine=64421891; + //BA.debugLineNum = 64421891;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=64421893; + //BA.debugLineNum = 64421893;BA.debugLine="Dim in As Intent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=64421895; + //BA.debugLineNum = 64421895;BA.debugLine="in.Initialize(\"android.settings.MANAGE_APP_ALL_FI"; +_in.Initialize("android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION",("package:"+__c.SmartStringFormatter("",(Object)(__c.Application.getPackageName()))+"")); +RDebugUtils.currentLine=64421896; + //BA.debugLineNum = 64421896;BA.debugLine="StartActivityForResult(in)"; +__ref._startactivityforresult /*String*/ (null,_in); +RDebugUtils.currentLine=64421897; + //BA.debugLineNum = 64421897;BA.debugLine="End Sub"; return ""; } -public Object _ion_event(String _methodname,Object[] _args) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Private Sub ion_Event (MethodName As String, Args("; - //BA.debugLineNum = 60;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 61;BA.debugLine="Return Null"; -if (true) return __c.Null; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +RDebugUtils.currentLine=64225280; + //BA.debugLineNum = 64225280;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=64225281; + //BA.debugLineNum = 64225281;BA.debugLine="Private ion As Object"; +_ion = new Object(); +RDebugUtils.currentLine=64225282; + //BA.debugLineNum = 64225282;BA.debugLine="Private mCallback As Object"; +_mcallback = new Object(); +RDebugUtils.currentLine=64225283; + //BA.debugLineNum = 64225283;BA.debugLine="Private mEventName As String"; +_meventname = ""; +RDebugUtils.currentLine=64225285; + //BA.debugLineNum = 64225285;BA.debugLine="End Sub"; +return ""; +} +public Object _getba(reparto_intmex.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "getba", false)) + {return ((Object) Debug.delegate(ba, "getba", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=64684032; + //BA.debugLineNum = 64684032;BA.debugLine="Private Sub GetBA As Object"; +RDebugUtils.currentLine=64684033; + //BA.debugLineNum = 64684033;BA.debugLine="Dim jo As JavaObject = Me"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=64684034; + //BA.debugLineNum = 64684034;BA.debugLine="Return jo.RunMethod(\"getBA\", Null)"; +if (true) return _jo.RunMethod("getBA",(Object[])(__c.Null)); +RDebugUtils.currentLine=64684035; + //BA.debugLineNum = 64684035;BA.debugLine="End Sub"; 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("829753345","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"; +public String _raiseevent(reparto_intmex.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "raiseevent", false)) + {return ((String) Debug.delegate(ba, "raiseevent", null));} +RDebugUtils.currentLine=64487424; + //BA.debugLineNum = 64487424;BA.debugLine="Private Sub RaiseEvent"; +RDebugUtils.currentLine=64487425; + //BA.debugLineNum = 64487425;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab"; +__c.LogImpl("264487425","Calling : "+__ref._meventname /*String*/ +"_StorageAvailable",0); +RDebugUtils.currentLine=64487426; + //BA.debugLineNum = 64487426;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_StorageAvailable"); +RDebugUtils.currentLine=64487427; + //BA.debugLineNum = 64487427;BA.debugLine="End Sub"; return ""; } -public String _startactivityforresult(anywheresoftware.b4a.objects.IntentWrapper _i) throws Exception{ +public String _startactivityforresult(reparto_intmex.keymon.lat.manageexternalstorage __ref,anywheresoftware.b4a.objects.IntentWrapper _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "startactivityforresult", false)) + {return ((String) Debug.delegate(ba, "startactivityforresult", new Object[] {_i}));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 65;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; - //BA.debugLineNum = 66;BA.debugLine="Dim jo As JavaObject = GetBA"; +RDebugUtils.currentLine=64618496; + //BA.debugLineNum = 64618496;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; +RDebugUtils.currentLine=64618497; + //BA.debugLineNum = 64618497;BA.debugLine="Dim jo As JavaObject = GetBA"; _jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_getba())); - //BA.debugLineNum = 67;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; -_ion = _jo.CreateEvent(ba,"anywheresoftware.b4a.IOnActivityResult","ion",__c.Null); - //BA.debugLineNum = 68;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array As O"; -_jo.RunMethod("startActivityForResult",new Object[]{_ion,(Object)(_i.getObject())}); - //BA.debugLineNum = 69;BA.debugLine="End Sub"; +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._getba /*Object*/ (null))); +RDebugUtils.currentLine=64618498; + //BA.debugLineNum = 64618498;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; +__ref._ion /*Object*/ = _jo.CreateEvent(ba,"anywheresoftware.b4a.IOnActivityResult","ion",__c.Null); +RDebugUtils.currentLine=64618499; + //BA.debugLineNum = 64618499;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array As O"; +_jo.RunMethod("startActivityForResult",new Object[]{__ref._ion /*Object*/ ,(Object)(_i.getObject())}); +RDebugUtils.currentLine=64618500; + //BA.debugLineNum = 64618500;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public Object _ion_event(reparto_intmex.keymon.lat.manageexternalstorage __ref,String _methodname,Object[] _args) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "ion_event", false)) + {return ((Object) Debug.delegate(ba, "ion_event", new Object[] {_methodname,_args}));} +RDebugUtils.currentLine=64552960; + //BA.debugLineNum = 64552960;BA.debugLine="Private Sub ion_Event (MethodName As String, Args("; +RDebugUtils.currentLine=64552961; + //BA.debugLineNum = 64552961;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*String*/ (null); +RDebugUtils.currentLine=64552962; + //BA.debugLineNum = 64552962;BA.debugLine="Return Null"; +if (true) return __c.Null; +RDebugUtils.currentLine=64552963; + //BA.debugLineNum = 64552963;BA.debugLine="End Sub"; +return null; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/mapa_cliente.java b/B4A/Objects/src/reparto_intmex/keymon/lat/mapa_cliente.java index 9d93951..a47fda0 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/mapa_cliente.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/mapa_cliente.java @@ -34,7 +34,7 @@ public class mapa_cliente extends Activity implements B4AActivity{ super.onCreate(savedInstanceState); mostCurrent = this; if (processBA == null) { - processBA = new BA(this.getApplicationContext(), null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.mapa_cliente"); + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.mapa_cliente"); processBA.loadHtSubs(this.getClass()); float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; BALayout.setDeviceScale(deviceScale); @@ -335,6 +335,15 @@ public class mapa_cliente extends Activity implements B4AActivity{ } + + +public static void initializeProcessGlobals() { + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } +} public anywheresoftware.b4a.keywords.Common __c = null; public static anywheresoftware.b4a.gps.GPS _gps = null; public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; @@ -361,9 +370,9 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -371,119 +380,115 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; - -public static void initializeProcessGlobals() { - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } -} public static String _activity_create(boolean _firsttime) throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 35;BA.debugLine="Activity.LoadLayout(\"mapa_cliente\")"; +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}));} +RDebugUtils.currentLine=64880640; + //BA.debugLineNum = 64880640;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=64880641; + //BA.debugLineNum = 64880641;BA.debugLine="Activity.LoadLayout(\"mapa_cliente\")"; mostCurrent._activity.LoadLayout("mapa_cliente",mostCurrent.activityBA); - //BA.debugLineNum = 36;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +RDebugUtils.currentLine=64880642; + //BA.debugLineNum = 64880642;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 37;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; +RDebugUtils.currentLine=64880643; + //BA.debugLineNum = 64880643;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Please install Google Play Services."),anywheresoftware.b4a.keywords.Common.True); }; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +RDebugUtils.currentLine=64880645; + //BA.debugLineNum = 64880645;BA.debugLine="End Sub"; return ""; } public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 96;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 97;BA.debugLine="GPS.Stop"; +RDebugUtils.currentModule="mapa_cliente"; +RDebugUtils.currentLine=65142784; + //BA.debugLineNum = 65142784;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=65142785; + //BA.debugLineNum = 65142785;BA.debugLine="GPS.Stop"; _gps.Stop(); - //BA.debugLineNum = 98;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65142786; + //BA.debugLineNum = 65142786;BA.debugLine="End Sub"; return ""; } public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 81;BA.debugLine="Subs.centraBoton(b_regresar, Activity.Width)"; +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=65077248; + //BA.debugLineNum = 65077248;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=65077249; + //BA.debugLineNum = 65077249;BA.debugLine="Subs.centraBoton(b_regresar, Activity.Width)"; mostCurrent._subs._centraboton /*String*/ (mostCurrent.activityBA,mostCurrent._b_regresar,mostCurrent._activity.getWidth()); - //BA.debugLineNum = 82;BA.debugLine="GPS.Initialize(\"GPS\")"; +RDebugUtils.currentLine=65077250; + //BA.debugLineNum = 65077250;BA.debugLine="GPS.Initialize(\"GPS\")"; _gps.Initialize("GPS"); - //BA.debugLineNum = 83;BA.debugLine="If GPS.GPSEnabled = False Then"; +RDebugUtils.currentLine=65077251; + //BA.debugLineNum = 65077251;BA.debugLine="If GPS.GPSEnabled = False Then"; if (_gps.getGPSEnabled()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 84;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +RDebugUtils.currentLine=65077252; + //BA.debugLineNum = 65077252;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 85;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; +RDebugUtils.currentLine=65077253; + //BA.debugLineNum = 65077253;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_gps.getLocationSettingsIntent())); }else { - //BA.debugLineNum = 87;BA.debugLine="GPS.Start(0, 0)"; +RDebugUtils.currentLine=65077255; + //BA.debugLineNum = 65077255;BA.debugLine="GPS.Start(0, 0)"; _gps.Start(processBA,(long) (0),(float) (0)); }; - //BA.debugLineNum = 89;BA.debugLine="Subs.centraPanel(p_principal, Activity.Width)"; +RDebugUtils.currentLine=65077257; + //BA.debugLineNum = 65077257;BA.debugLine="Subs.centraPanel(p_principal, Activity.Width)"; mostCurrent._subs._centrapanel /*String*/ (mostCurrent.activityBA,mostCurrent._p_principal,mostCurrent._activity.getWidth()); - //BA.debugLineNum = 90;BA.debugLine="p_principal.Height = Activity.Height * 0.95"; +RDebugUtils.currentLine=65077258; + //BA.debugLineNum = 65077258;BA.debugLine="p_principal.Height = Activity.Height * 0.95"; mostCurrent._p_principal.setHeight((int) (mostCurrent._activity.getHeight()*0.95)); - //BA.debugLineNum = 91;BA.debugLine="latmarker = B4XPages.MainPage.cliente.LATITUD"; +RDebugUtils.currentLine=65077259; + //BA.debugLineNum = 65077259;BA.debugLine="latmarker = B4XPages.MainPage.cliente.LATITUD"; mostCurrent._latmarker = mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_intmex.keymon.lat.c_cliente*/ ._latitud /*String*/ ; - //BA.debugLineNum = 92;BA.debugLine="longmarker = B4XPages.MainPage.cliente.LONGITUD"; +RDebugUtils.currentLine=65077260; + //BA.debugLineNum = 65077260;BA.debugLine="longmarker = B4XPages.MainPage.cliente.LONGITUD"; mostCurrent._longmarker = mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_intmex.keymon.lat.c_cliente*/ ._longitud /*String*/ ; - //BA.debugLineNum = 93;BA.debugLine="NOMBRE_TIENDA = B4XPages.MainPage.cliente.NOMBRE"; +RDebugUtils.currentLine=65077261; + //BA.debugLineNum = 65077261;BA.debugLine="NOMBRE_TIENDA = B4XPages.MainPage.cliente.NOMBRE"; mostCurrent._nombre_tienda = mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_intmex.keymon.lat.c_cliente*/ ._nombre /*String*/ ; - //BA.debugLineNum = 94;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65077262; + //BA.debugLineNum = 65077262;BA.debugLine="End Sub"; 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("830539777","Pressed",0); - //BA.debugLineNum = 107;BA.debugLine="Activity.Finish"; +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_regresar_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_regresar_click", null));} +RDebugUtils.currentLine=65273856; + //BA.debugLineNum = 65273856;BA.debugLine="Private Sub b_regresar_Click"; +RDebugUtils.currentLine=65273857; + //BA.debugLineNum = 65273857;BA.debugLine="Log(\"Pressed\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("265273857","Pressed",0); +RDebugUtils.currentLine=65273858; + //BA.debugLineNum = 65273858;BA.debugLine="Activity.Finish"; mostCurrent._activity.Finish(); - //BA.debugLineNum = 108;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=65273859; + //BA.debugLineNum = 65273859;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 15;BA.debugLine="Private gmap As GoogleMap"; -mostCurrent._gmap = new anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private MapFragment1 As MapFragment"; -mostCurrent._mapfragment1 = new anywheresoftware.b4a.objects.MapFragmentWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim Latitud As Double = 0"; -_latitud = 0; - //BA.debugLineNum = 18;BA.debugLine="Dim Longitud As Double = 0"; -_longitud = 0; - //BA.debugLineNum = 19;BA.debugLine="Dim Lat2 As Double = 0"; -_lat2 = 0; - //BA.debugLineNum = 20;BA.debugLine="Dim Lon2 As Double = 0"; -_lon2 = 0; - //BA.debugLineNum = 21;BA.debugLine="Dim p1, p2 As Location"; -mostCurrent._p1 = new anywheresoftware.b4a.gps.LocationWrapper(); -mostCurrent._p2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim Distance As Float"; -_distance = 0f; - //BA.debugLineNum = 23;BA.debugLine="Dim boton1 As Button"; -mostCurrent._boton1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim c As Cursor"; -mostCurrent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim latmarker As String"; -mostCurrent._latmarker = ""; - //BA.debugLineNum = 26;BA.debugLine="Dim longmarker As String"; -mostCurrent._longmarker = ""; - //BA.debugLineNum = 27;BA.debugLine="Private l_long As Label"; -mostCurrent._l_long = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private l_lat As Label"; -mostCurrent._l_lat = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private NOMBRE_TIENDA As String"; -mostCurrent._nombre_tienda = ""; - //BA.debugLineNum = 30;BA.debugLine="Private p_principal As Panel"; -mostCurrent._p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private b_regresar As Button"; -mostCurrent._b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65273860; + //BA.debugLineNum = 65273860;BA.debugLine="End Sub"; return ""; } public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; - //BA.debugLineNum = 78;BA.debugLine="End Sub"; +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "gps_locationchanged", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "gps_locationchanged", new Object[] {_parametro}));} +RDebugUtils.currentLine=65011712; + //BA.debugLineNum = 65011712;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +RDebugUtils.currentLine=65011731; + //BA.debugLineNum = 65011731;BA.debugLine="End Sub"; return ""; } public static void _mapfragment1_ready() throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "mapfragment1_ready", false)) + {Debug.delegate(mostCurrent.activityBA, "mapfragment1_ready", null); return;} ResumableSub_MapFragment1_Ready rsub = new ResumableSub_MapFragment1_Ready(null); rsub.resume(processBA, null); } @@ -500,6 +505,7 @@ anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = null @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; while (true) { switch (state) { @@ -509,12 +515,15 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 42;BA.debugLine="gmap = MapFragment1.GetMap"; +RDebugUtils.currentLine=64946177; + //BA.debugLineNum = 64946177;BA.debugLine="gmap = MapFragment1.GetMap"; parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); - //BA.debugLineNum = 44;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +RDebugUtils.currentLine=64946179; + //BA.debugLineNum = 64946179;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 45;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; -anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); +RDebugUtils.currentLine=64946180; + //BA.debugLineNum = 64946180;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "mapa_cliente", "mapfragment1_ready"), null); this.state = 1; return; case 1: @@ -523,52 +532,53 @@ this.state = -1; _permission = (String) result[0]; _result = (Boolean) result[1]; ; - //BA.debugLineNum = 46;BA.debugLine="gmap.MyLocationEnabled = Result"; +RDebugUtils.currentLine=64946181; + //BA.debugLineNum = 64946181;BA.debugLine="gmap.MyLocationEnabled = Result"; parent.mostCurrent._gmap.setMyLocationEnabled(_result); - //BA.debugLineNum = 48;BA.debugLine="Dim JavaMapsObject As JavaObject"; +RDebugUtils.currentLine=64946183; + //BA.debugLineNum = 64946183;BA.debugLine="Dim JavaMapsObject As JavaObject"; _javamapsobject = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 49;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; +RDebugUtils.currentLine=64946184; + //BA.debugLineNum = 64946184;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; _javamapsobject = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(parent.mostCurrent._gmap.GetUiSettings().getObject())); - //BA.debugLineNum = 50;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +RDebugUtils.currentLine=64946185; + //BA.debugLineNum = 64946185;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; _javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); - //BA.debugLineNum = 51;BA.debugLine="Dim marcador1 As Marker = gmap.AddMarker (latmark"; +RDebugUtils.currentLine=64946186; + //BA.debugLineNum = 64946186;BA.debugLine="Dim marcador1 As Marker = gmap.AddMarker (latmark"; _marcador1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); _marcador1 = parent.mostCurrent._gmap.AddMarker((double)(Double.parseDouble(parent.mostCurrent._latmarker)),(double)(Double.parseDouble(parent.mostCurrent._longmarker)),"TIENDA"); - //BA.debugLineNum = 52;BA.debugLine="marcador1.Snippet = B4XPages.MainPage.cliente.NOM"; +RDebugUtils.currentLine=64946187; + //BA.debugLineNum = 64946187;BA.debugLine="marcador1.Snippet = B4XPages.MainPage.cliente.NOM"; _marcador1.setSnippet(parent.mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_intmex.keymon.lat.c_cliente*/ ._nombre /*String*/ ); - //BA.debugLineNum = 54;BA.debugLine="Dim aa As CameraPosition"; +RDebugUtils.currentLine=64946189; + //BA.debugLineNum = 64946189;BA.debugLine="Dim aa As CameraPosition"; _aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); - //BA.debugLineNum = 55;BA.debugLine="aa.Initialize(latmarker,longmarker,15)''' RECOMEN"; +RDebugUtils.currentLine=64946190; + //BA.debugLineNum = 64946190;BA.debugLine="aa.Initialize(latmarker,longmarker,15)''' RECOMEN"; _aa.Initialize((double)(Double.parseDouble(parent.mostCurrent._latmarker)),(double)(Double.parseDouble(parent.mostCurrent._longmarker)),(float) (15)); - //BA.debugLineNum = 56;BA.debugLine="gmap.AnimateCamera(aa)"; +RDebugUtils.currentLine=64946191; + //BA.debugLineNum = 64946191;BA.debugLine="gmap.AnimateCamera(aa)"; parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +RDebugUtils.currentLine=64946192; + //BA.debugLineNum = 64946192;BA.debugLine="End Sub"; if (true) break; } } } } -public static void _activity_permissionresult(String _permission,boolean _result) throws Exception{ -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Dim GPS As GPS"; -_gps = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 9;BA.debugLine="Dim rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 10;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="End Sub"; -return ""; -} public static String _reg_click() throws Exception{ - //BA.debugLineNum = 100;BA.debugLine="Sub reg_Click"; - //BA.debugLineNum = 102;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "reg_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "reg_click", null));} +RDebugUtils.currentLine=65208320; + //BA.debugLineNum = 65208320;BA.debugLine="Sub reg_Click"; +RDebugUtils.currentLine=65208322; + //BA.debugLineNum = 65208322;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 103;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65208323; + //BA.debugLineNum = 65208323;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/mapa_rutas.java b/B4A/Objects/src/reparto_intmex/keymon/lat/mapa_rutas.java index 9fb4414..0911420 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/mapa_rutas.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/mapa_rutas.java @@ -34,7 +34,7 @@ public class mapa_rutas extends Activity implements B4AActivity{ super.onCreate(savedInstanceState); mostCurrent = this; if (processBA == null) { - processBA = new BA(this.getApplicationContext(), null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.mapa_rutas"); + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.mapa_rutas"); processBA.loadHtSubs(this.getClass()); float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; BALayout.setDeviceScale(deviceScale); @@ -335,6 +335,15 @@ public class mapa_rutas extends Activity implements B4AActivity{ } + + +public static void initializeProcessGlobals() { + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } +} public anywheresoftware.b4a.keywords.Common __c = null; public static anywheresoftware.b4a.gps.GPS _gps = null; public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; @@ -383,9 +392,9 @@ public static String _semana = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -393,221 +402,129 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; - -public static void initializeProcessGlobals() { - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } -} public static String _activity_create(boolean _firsttime) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 59;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}));} +RDebugUtils.currentLine=65470464; + //BA.debugLineNum = 65470464;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=65470466; + //BA.debugLineNum = 65470466;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; mostCurrent._activity.LoadLayout("MAPA_RUTAS",mostCurrent.activityBA); - //BA.debugLineNum = 70;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +RDebugUtils.currentLine=65470477; + //BA.debugLineNum = 65470477;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 71;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; +RDebugUtils.currentLine=65470478; + //BA.debugLineNum = 65470478;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Please install Google Play Services."),anywheresoftware.b4a.keywords.Common.True); }; - //BA.debugLineNum = 82;BA.debugLine="MARK_AZUL.IsInitialized"; +RDebugUtils.currentLine=65470489; + //BA.debugLineNum = 65470489;BA.debugLine="MARK_AZUL.IsInitialized"; mostCurrent._mark_azul.IsInitialized(); - //BA.debugLineNum = 83;BA.debugLine="MARK_ROJO.IsInitialized"; +RDebugUtils.currentLine=65470490; + //BA.debugLineNum = 65470490;BA.debugLine="MARK_ROJO.IsInitialized"; mostCurrent._mark_rojo.IsInitialized(); - //BA.debugLineNum = 84;BA.debugLine="MARK_VERDE.IsInitialized"; +RDebugUtils.currentLine=65470491; + //BA.debugLineNum = 65470491;BA.debugLine="MARK_VERDE.IsInitialized"; mostCurrent._mark_verde.IsInitialized(); - //BA.debugLineNum = 86;BA.debugLine="LIST_AZUL.Initialize"; +RDebugUtils.currentLine=65470493; + //BA.debugLineNum = 65470493;BA.debugLine="LIST_AZUL.Initialize"; mostCurrent._list_azul.Initialize(); - //BA.debugLineNum = 87;BA.debugLine="LIST_ROJO.Initialize"; +RDebugUtils.currentLine=65470494; + //BA.debugLineNum = 65470494;BA.debugLine="LIST_ROJO.Initialize"; mostCurrent._list_rojo.Initialize(); - //BA.debugLineNum = 88;BA.debugLine="LIST_VERDE.Initialize"; +RDebugUtils.currentLine=65470495; + //BA.debugLineNum = 65470495;BA.debugLine="LIST_VERDE.Initialize"; mostCurrent._list_verde.Initialize(); - //BA.debugLineNum = 90;BA.debugLine="verde = 0"; +RDebugUtils.currentLine=65470497; + //BA.debugLineNum = 65470497;BA.debugLine="verde = 0"; mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 91;BA.debugLine="azul = 0"; +RDebugUtils.currentLine=65470498; + //BA.debugLineNum = 65470498;BA.debugLine="azul = 0"; mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 92;BA.debugLine="rojo = 0"; +RDebugUtils.currentLine=65470499; + //BA.debugLineNum = 65470499;BA.debugLine="rojo = 0"; mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 93;BA.debugLine="todos = 1"; +RDebugUtils.currentLine=65470500; + //BA.debugLineNum = 65470500;BA.debugLine="todos = 1"; mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65470514; + //BA.debugLineNum = 65470514;BA.debugLine="End Sub"; return ""; } public static boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 352;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; - //BA.debugLineNum = 354;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(mostCurrent.activityBA, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=66125824; + //BA.debugLineNum = 66125824;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; +RDebugUtils.currentLine=66125826; + //BA.debugLineNum = 66125826;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; if (_key==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 356;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=66125828; + //BA.debugLineNum = 66125828;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); - //BA.debugLineNum = 357;BA.debugLine="Return False"; +RDebugUtils.currentLine=66125829; + //BA.debugLineNum = 66125829;BA.debugLine="Return False"; if (true) return anywheresoftware.b4a.keywords.Common.False; }; - //BA.debugLineNum = 361;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66125833; + //BA.debugLineNum = 66125833;BA.debugLine="End Sub"; return false; } public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 312;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 313;BA.debugLine="GPS.Stop"; +RDebugUtils.currentModule="mapa_rutas"; +RDebugUtils.currentLine=65798144; + //BA.debugLineNum = 65798144;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=65798145; + //BA.debugLineNum = 65798145;BA.debugLine="GPS.Stop"; _gps.Stop(); - //BA.debugLineNum = 314;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65798146; + //BA.debugLineNum = 65798146;BA.debugLine="End Sub"; return ""; } public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 303;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 310;BA.debugLine="End Sub"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=65732608; + //BA.debugLineNum = 65732608;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=65732615; + //BA.debugLineNum = 65732615;BA.debugLine="End Sub"; return ""; } public static String _b_azul_click() throws Exception{ - //BA.debugLineNum = 342;BA.debugLine="Sub B_AZUL_Click"; - //BA.debugLineNum = 343;BA.debugLine="azul = 1"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_azul_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_azul_click", null));} +RDebugUtils.currentLine=66060288; + //BA.debugLineNum = 66060288;BA.debugLine="Sub B_AZUL_Click"; +RDebugUtils.currentLine=66060289; + //BA.debugLineNum = 66060289;BA.debugLine="azul = 1"; mostCurrent._azul = BA.NumberToString(1); - //BA.debugLineNum = 344;BA.debugLine="verde = 0"; +RDebugUtils.currentLine=66060290; + //BA.debugLineNum = 66060290;BA.debugLine="verde = 0"; mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 345;BA.debugLine="rojo = 0"; +RDebugUtils.currentLine=66060291; + //BA.debugLineNum = 66060291;BA.debugLine="rojo = 0"; mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 346;BA.debugLine="todos = 0"; +RDebugUtils.currentLine=66060292; + //BA.debugLineNum = 66060292;BA.debugLine="todos = 0"; mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 347;BA.debugLine="gmap.Clear"; +RDebugUtils.currentLine=66060293; + //BA.debugLineNum = 66060293;BA.debugLine="gmap.Clear"; mostCurrent._gmap.Clear(); - //BA.debugLineNum = 348;BA.debugLine="MapFragment1_Ready"; +RDebugUtils.currentLine=66060294; + //BA.debugLineNum = 66060294;BA.debugLine="MapFragment1_Ready"; _mapfragment1_ready(); - //BA.debugLineNum = 349;BA.debugLine="End Sub"; -return ""; -} -public static String _b_rojo_click() throws Exception{ - //BA.debugLineNum = 333;BA.debugLine="Sub B_ROJO_Click"; - //BA.debugLineNum = 334;BA.debugLine="rojo = 1"; -mostCurrent._rojo = BA.NumberToString(1); - //BA.debugLineNum = 335;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 336;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 337;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 338;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 339;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 340;BA.debugLine="End Sub"; -return ""; -} -public static String _b_todos_click() throws Exception{ - //BA.debugLineNum = 316;BA.debugLine="Sub B_TODOS_Click"; - //BA.debugLineNum = 317;BA.debugLine="todos =1"; -mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 318;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 319;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 320;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 321;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 322;BA.debugLine="End Sub"; -return ""; -} -public static String _b_verde_click() throws Exception{ - //BA.debugLineNum = 324;BA.debugLine="Sub B_VERDE_Click"; - //BA.debugLineNum = 325;BA.debugLine="verde = 1"; -mostCurrent._verde = BA.NumberToString(1); - //BA.debugLineNum = 326;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 327;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 328;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 329;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 330;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 331;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 17;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 18;BA.debugLine="Private gmap As GoogleMap"; -mostCurrent._gmap = new anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Private MapFragment1 As MapFragment"; -mostCurrent._mapfragment1 = new anywheresoftware.b4a.objects.MapFragmentWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim Latitud As Double = 0"; -_latitud = 0; - //BA.debugLineNum = 21;BA.debugLine="Dim Longitud As Double = 0"; -_longitud = 0; - //BA.debugLineNum = 22;BA.debugLine="Dim Lat2 As Double = 0"; -_lat2 = 0; - //BA.debugLineNum = 23;BA.debugLine="Dim Lon2 As Double = 0"; -_lon2 = 0; - //BA.debugLineNum = 24;BA.debugLine="Dim p1, p2 As Location"; -mostCurrent._p1 = new anywheresoftware.b4a.gps.LocationWrapper(); -mostCurrent._p2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim Distance As Float"; -_distance = 0f; - //BA.debugLineNum = 26;BA.debugLine="Dim boton1 As Button"; -mostCurrent._boton1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Dim HUE_BLUE As Float"; -_hue_blue = 0f; - //BA.debugLineNum = 28;BA.debugLine="Dim HUE_RED As Float"; -_hue_red = 0f; - //BA.debugLineNum = 29;BA.debugLine="Dim HUE_GREEN As Float"; -_hue_green = 0f; - //BA.debugLineNum = 30;BA.debugLine="Private B_AZUL As Button"; -mostCurrent._b_azul = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private B_ROJO As Button"; -mostCurrent._b_rojo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private B_VERDE As Button"; -mostCurrent._b_verde = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private B_TODOS As Button"; -mostCurrent._b_todos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim Tienda As String"; -mostCurrent._tienda = ""; - //BA.debugLineNum = 35;BA.debugLine="Dim ruta, rutaAnt As String"; -mostCurrent._ruta = ""; -mostCurrent._rutaant = ""; - //BA.debugLineNum = 36;BA.debugLine="Dim LatitudRu As Double"; -_latitudru = 0; - //BA.debugLineNum = 37;BA.debugLine="Dim LongitudRU As Double"; -_longitudru = 0; - //BA.debugLineNum = 38;BA.debugLine="Dim LIST_AZUL As List"; -mostCurrent._list_azul = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 39;BA.debugLine="Dim LIST_ROJO As List"; -mostCurrent._list_rojo = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 40;BA.debugLine="Dim LIST_VERDE As List"; -mostCurrent._list_verde = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 41;BA.debugLine="Dim MARK_AZUL As Marker"; -mostCurrent._mark_azul = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim MARK_ROJO As Marker"; -mostCurrent._mark_rojo = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim MARK_VERDE As Marker"; -mostCurrent._mark_verde = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim MARK_CEDIS As Marker"; -mostCurrent._mark_cedis = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim rojo As String"; -mostCurrent._rojo = ""; - //BA.debugLineNum = 46;BA.debugLine="Dim azul As String"; -mostCurrent._azul = ""; - //BA.debugLineNum = 47;BA.debugLine="Dim verde As String"; -mostCurrent._verde = ""; - //BA.debugLineNum = 48;BA.debugLine="Dim todos As String"; -mostCurrent._todos = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim NumSerie As Int"; -_numserie = 0; - //BA.debugLineNum = 50;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; -mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); - //BA.debugLineNum = 51;BA.debugLine="Dim GoogleMapEXTRA As GoogleMapsExtras"; -mostCurrent._googlemapextra = new uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras(); - //BA.debugLineNum = 52;BA.debugLine="Dim CODIGO As String"; -mostCurrent._codigo = ""; - //BA.debugLineNum = 53;BA.debugLine="Private SEMANA As String"; -mostCurrent._semana = ""; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ - //BA.debugLineNum = 282;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; - //BA.debugLineNum = 301;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66060295; + //BA.debugLineNum = 66060295;BA.debugLine="End Sub"; return ""; } public static void _mapfragment1_ready() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "mapfragment1_ready", false)) + {Debug.delegate(mostCurrent.activityBA, "mapfragment1_ready", null); return;} ResumableSub_MapFragment1_Ready rsub = new ResumableSub_MapFragment1_Ready(null); rsub.resume(processBA, null); } @@ -639,6 +556,7 @@ int limit119; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; while (true) { switch (state) { @@ -648,14 +566,18 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 110;BA.debugLine="gmap = MapFragment1.GetMap"; +RDebugUtils.currentLine=65536001; + //BA.debugLineNum = 65536001;BA.debugLine="gmap = MapFragment1.GetMap"; parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); - //BA.debugLineNum = 111;BA.debugLine="gmap.IsInitialized"; +RDebugUtils.currentLine=65536002; + //BA.debugLineNum = 65536002;BA.debugLine="gmap.IsInitialized"; parent.mostCurrent._gmap.IsInitialized(); - //BA.debugLineNum = 112;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +RDebugUtils.currentLine=65536003; + //BA.debugLineNum = 65536003;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 113;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; -anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); +RDebugUtils.currentLine=65536004; + //BA.debugLineNum = 65536004;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "mapa_rutas", "mapfragment1_ready"), null); this.state = 126; return; case 126: @@ -664,19 +586,26 @@ this.state = 1; _permission = (String) result[0]; _result = (Boolean) result[1]; ; - //BA.debugLineNum = 114;BA.debugLine="gmap.MyLocationEnabled = Result"; +RDebugUtils.currentLine=65536005; + //BA.debugLineNum = 65536005;BA.debugLine="gmap.MyLocationEnabled = Result"; parent.mostCurrent._gmap.setMyLocationEnabled(_result); - //BA.debugLineNum = 116;BA.debugLine="Dim JavaMapsObject As JavaObject"; +RDebugUtils.currentLine=65536007; + //BA.debugLineNum = 65536007;BA.debugLine="Dim JavaMapsObject As JavaObject"; _javamapsobject = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 117;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; +RDebugUtils.currentLine=65536008; + //BA.debugLineNum = 65536008;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; _javamapsobject = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(parent.mostCurrent._gmap.GetUiSettings().getObject())); - //BA.debugLineNum = 118;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +RDebugUtils.currentLine=65536009; + //BA.debugLineNum = 65536009;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; _javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); - //BA.debugLineNum = 120;BA.debugLine="Private esteAzul As Int = 0"; +RDebugUtils.currentLine=65536011; + //BA.debugLineNum = 65536011;BA.debugLine="Private esteAzul As Int = 0"; _esteazul = (int) (0); - //BA.debugLineNum = 121;BA.debugLine="Private esteAzul2 As String"; +RDebugUtils.currentLine=65536012; + //BA.debugLineNum = 65536012;BA.debugLine="Private esteAzul2 As String"; _esteazul2 = ""; - //BA.debugLineNum = 122;BA.debugLine="If azul = 1 Or todos = 1 Then"; +RDebugUtils.currentLine=65536013; + //BA.debugLineNum = 65536013;BA.debugLine="If azul = 1 Or todos = 1 Then"; if (true) break; case 1: @@ -689,13 +618,17 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 123;BA.debugLine="c.IsInitialized"; +RDebugUtils.currentLine=65536014; + //BA.debugLineNum = 65536014;BA.debugLine="c.IsInitialized"; parent._c.IsInitialized(); - //BA.debugLineNum = 124;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +RDebugUtils.currentLine=65536015; + //BA.debugLineNum = 65536015;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA from kmt_info where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 125;BA.debugLine="rutaAnt = \"\""; +RDebugUtils.currentLine=65536016; + //BA.debugLineNum = 65536016;BA.debugLine="rutaAnt = \"\""; parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 126;BA.debugLine="For i = 0 To c.RowCount -1"; +RDebugUtils.currentLine=65536017; + //BA.debugLineNum = 65536017;BA.debugLine="For i = 0 To c.RowCount -1"; if (true) break; case 4: @@ -722,19 +655,26 @@ if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 127;BA.debugLine="c.Position = i"; +RDebugUtils.currentLine=65536018; + //BA.debugLineNum = 65536018;BA.debugLine="c.Position = i"; parent._c.setPosition(_i); - //BA.debugLineNum = 128;BA.debugLine="LatitudRu = c.GetString(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=65536019; + //BA.debugLineNum = 65536019;BA.debugLine="LatitudRu = c.GetString(\"CAT_CL_LAT\")"; parent._latitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 129;BA.debugLine="LongitudRU = c.GetString(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=65536020; + //BA.debugLineNum = 65536020;BA.debugLine="LongitudRU = c.GetString(\"CAT_CL_LONG\")"; parent._longitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 130;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=65536021; + //BA.debugLineNum = 65536021;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 131;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=65536022; + //BA.debugLineNum = 65536022;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 132;BA.debugLine="ruta = c.GetString(\"CAT_CL_RUTA\")"; +RDebugUtils.currentLine=65536023; + //BA.debugLineNum = 65536023;BA.debugLine="ruta = c.GetString(\"CAT_CL_RUTA\")"; parent.mostCurrent._ruta = parent._c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 133;BA.debugLine="If c.GetString(\"SECUENCIA\") = \"null\" Then"; +RDebugUtils.currentLine=65536024; + //BA.debugLineNum = 65536024;BA.debugLine="If c.GetString(\"SECUENCIA\") = \"null\" Then"; if (true) break; case 7: @@ -749,14 +689,16 @@ this.state = 11; case 9: //C this.state = 12; - //BA.debugLineNum = 134;BA.debugLine="NumSerie = 0"; +RDebugUtils.currentLine=65536025; + //BA.debugLineNum = 65536025;BA.debugLine="NumSerie = 0"; parent._numserie = (int) (0); if (true) break; case 11: //C this.state = 12; - //BA.debugLineNum = 136;BA.debugLine="NumSerie = c.GetString(\"SECUENCIA\")"; +RDebugUtils.currentLine=65536027; + //BA.debugLineNum = 65536027;BA.debugLine="NumSerie = c.GetString(\"SECUENCIA\")"; parent._numserie = (int)(Double.parseDouble(parent._c.GetString("SECUENCIA"))); if (true) break; @@ -764,10 +706,12 @@ case 12: //C this.state = 13; ; - //BA.debugLineNum = 138;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=65536029; + //BA.debugLineNum = 65536029;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 139;BA.debugLine="If s.RowCount > 0 Then"; +RDebugUtils.currentLine=65536030; + //BA.debugLineNum = 65536030;BA.debugLine="If s.RowCount > 0 Then"; if (true) break; case 13: @@ -780,13 +724,16 @@ this.state = 15; case 15: //C this.state = 16; - //BA.debugLineNum = 140;BA.debugLine="s.Position = 0"; +RDebugUtils.currentLine=65536031; + //BA.debugLineNum = 65536031;BA.debugLine="s.Position = 0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 141;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +RDebugUtils.currentLine=65536032; + //BA.debugLineNum = 65536032;BA.debugLine="NumSerie = s.GetString(\"indice\")"; parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); if (true) break; ; - //BA.debugLineNum = 143;BA.debugLine="If rutaAnt <> ruta Then esteAzul = esteAzul + 1"; +RDebugUtils.currentLine=65536034; + //BA.debugLineNum = 65536034;BA.debugLine="If rutaAnt <> ruta Then esteAzul = esteAzul + 1"; case 16: //if @@ -805,7 +752,8 @@ case 21: //C this.state = 22; ; - //BA.debugLineNum = 150;BA.debugLine="If esteAzul = 1 Then esteAzul2= \"marker-azul.pn"; +RDebugUtils.currentLine=65536041; + //BA.debugLineNum = 65536041;BA.debugLine="If esteAzul = 1 Then esteAzul2= \"marker-azul.pn"; if (true) break; case 22: @@ -825,7 +773,8 @@ case 27: //C this.state = 28; ; - //BA.debugLineNum = 151;BA.debugLine="If esteAzul = 2 Then esteAzul2= \"marker-azul1.p"; +RDebugUtils.currentLine=65536042; + //BA.debugLineNum = 65536042;BA.debugLine="If esteAzul = 2 Then esteAzul2= \"marker-azul1.p"; if (true) break; case 28: @@ -845,7 +794,8 @@ case 33: //C this.state = 34; ; - //BA.debugLineNum = 152;BA.debugLine="If esteAzul = 3 Then esteAzul2= \"marker-azul2.p"; +RDebugUtils.currentLine=65536043; + //BA.debugLineNum = 65536043;BA.debugLine="If esteAzul = 3 Then esteAzul2= \"marker-azul2.p"; if (true) break; case 34: @@ -865,7 +815,8 @@ case 39: //C this.state = 40; ; - //BA.debugLineNum = 153;BA.debugLine="If esteAzul = 4 Then esteAzul2= \"marker-azul3.p"; +RDebugUtils.currentLine=65536044; + //BA.debugLineNum = 65536044;BA.debugLine="If esteAzul = 4 Then esteAzul2= \"marker-azul3.p"; if (true) break; case 40: @@ -885,7 +836,8 @@ case 45: //C this.state = 46; ; - //BA.debugLineNum = 154;BA.debugLine="If esteAzul = 5 Then esteAzul2= \"marker-azul4.p"; +RDebugUtils.currentLine=65536045; + //BA.debugLineNum = 65536045;BA.debugLine="If esteAzul = 5 Then esteAzul2= \"marker-azul4.p"; if (true) break; case 46: @@ -905,11 +857,14 @@ case 51: //C this.state = 128; ; - //BA.debugLineNum = 159;BA.debugLine="MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudR"; +RDebugUtils.currentLine=65536050; + //BA.debugLineNum = 65536050;BA.debugLine="MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudR"; parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),_esteazul2),parent._numserie).getObject())); - //BA.debugLineNum = 160;BA.debugLine="MARK_AZUL.Snippet = \"R: \" & ruta & \" - \" & Tien"; +RDebugUtils.currentLine=65536051; + //BA.debugLineNum = 65536051;BA.debugLine="MARK_AZUL.Snippet = \"R: \" & ruta & \" - \" & Tien"; parent.mostCurrent._mark_azul.setSnippet("R: "+parent.mostCurrent._ruta+" - "+parent.mostCurrent._tienda); - //BA.debugLineNum = 161;BA.debugLine="rutaAnt = ruta"; +RDebugUtils.currentLine=65536052; + //BA.debugLineNum = 65536052;BA.debugLine="rutaAnt = ruta"; parent.mostCurrent._rutaant = parent.mostCurrent._ruta; if (true) break; if (true) break; @@ -918,9 +873,11 @@ case 52: //C this.state = 53; ; - //BA.debugLineNum = 163;BA.debugLine="c .Close"; +RDebugUtils.currentLine=65536054; + //BA.debugLineNum = 65536054;BA.debugLine="c .Close"; parent._c.Close(); - //BA.debugLineNum = 164;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; +RDebugUtils.currentLine=65536055; + //BA.debugLineNum = 65536055;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; if (true) break; case 53: @@ -942,7 +899,8 @@ this.state = 59; ; if (true) break; ; - //BA.debugLineNum = 167;BA.debugLine="If verde = 1 Or todos = 1 Then"; +RDebugUtils.currentLine=65536058; + //BA.debugLineNum = 65536058;BA.debugLine="If verde = 1 Or todos = 1 Then"; case 59: //if @@ -956,13 +914,17 @@ this.state = 77; case 61: //C this.state = 62; - //BA.debugLineNum = 168;BA.debugLine="rutaAnt = \"\""; +RDebugUtils.currentLine=65536059; + //BA.debugLineNum = 65536059;BA.debugLine="rutaAnt = \"\""; parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 169;BA.debugLine="c2.IsInitialized"; +RDebugUtils.currentLine=65536060; + //BA.debugLineNum = 65536060;BA.debugLine="c2.IsInitialized"; parent._c2.IsInitialized(); - //BA.debugLineNum = 170;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; +RDebugUtils.currentLine=65536061; + //BA.debugLineNum = 65536061;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 171;BA.debugLine="For i = 0 To c2.RowCount -1"; +RDebugUtils.currentLine=65536062; + //BA.debugLineNum = 65536062;BA.debugLine="For i = 0 To c2.RowCount -1"; if (true) break; case 62: @@ -989,19 +951,26 @@ if (true) break; case 64: //C this.state = 65; - //BA.debugLineNum = 172;BA.debugLine="c2.Position = i"; +RDebugUtils.currentLine=65536063; + //BA.debugLineNum = 65536063;BA.debugLine="c2.Position = i"; parent._c2.setPosition(_i); - //BA.debugLineNum = 173;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=65536064; + //BA.debugLineNum = 65536064;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 174;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=65536065; + //BA.debugLineNum = 65536065;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 175;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=65536066; + //BA.debugLineNum = 65536066;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 176;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=65536067; + //BA.debugLineNum = 65536067;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 177;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +RDebugUtils.currentLine=65536068; + //BA.debugLineNum = 65536068;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 178;BA.debugLine="If c2.GetString(\"SECUENCIA\") = \"null\" Then"; +RDebugUtils.currentLine=65536069; + //BA.debugLineNum = 65536069;BA.debugLine="If c2.GetString(\"SECUENCIA\") = \"null\" Then"; if (true) break; case 65: @@ -1016,14 +985,16 @@ this.state = 69; case 67: //C this.state = 70; - //BA.debugLineNum = 179;BA.debugLine="NumSerie = 0"; +RDebugUtils.currentLine=65536070; + //BA.debugLineNum = 65536070;BA.debugLine="NumSerie = 0"; parent._numserie = (int) (0); if (true) break; case 69: //C this.state = 70; - //BA.debugLineNum = 181;BA.debugLine="NumSerie = c2.GetString(\"SECUENCIA\")"; +RDebugUtils.currentLine=65536072; + //BA.debugLineNum = 65536072;BA.debugLine="NumSerie = c2.GetString(\"SECUENCIA\")"; parent._numserie = (int)(Double.parseDouble(parent._c2.GetString("SECUENCIA"))); if (true) break; @@ -1031,10 +1002,12 @@ case 70: //C this.state = 71; ; - //BA.debugLineNum = 183;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=65536074; + //BA.debugLineNum = 65536074;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 184;BA.debugLine="If s.RowCount > 0 Then"; +RDebugUtils.currentLine=65536075; + //BA.debugLineNum = 65536075;BA.debugLine="If s.RowCount > 0 Then"; if (true) break; case 71: @@ -1047,9 +1020,11 @@ this.state = 73; case 73: //C this.state = 74; - //BA.debugLineNum = 185;BA.debugLine="s.Position = 0"; +RDebugUtils.currentLine=65536076; + //BA.debugLineNum = 65536076;BA.debugLine="s.Position = 0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 186;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +RDebugUtils.currentLine=65536077; + //BA.debugLineNum = 65536077;BA.debugLine="NumSerie = s.GetString(\"indice\")"; parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); if (true) break; @@ -1057,9 +1032,11 @@ case 74: //C this.state = 130; ; - //BA.debugLineNum = 188;BA.debugLine="MARK_VERDE = gmap.AddMarker3(LatitudRu,Longitud"; +RDebugUtils.currentLine=65536079; + //BA.debugLineNum = 65536079;BA.debugLine="MARK_VERDE = gmap.AddMarker3(LatitudRu,Longitud"; parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"marker-verde.png"),parent._numserie).getObject())); - //BA.debugLineNum = 190;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tiend"; +RDebugUtils.currentLine=65536081; + //BA.debugLineNum = 65536081;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tiend"; parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); if (true) break; if (true) break; @@ -1073,7 +1050,8 @@ this.state = 92; case 77: //C this.state = 78; - //BA.debugLineNum = 193;BA.debugLine="If verde = 1 Or todos = 1 Then"; +RDebugUtils.currentLine=65536084; + //BA.debugLineNum = 65536084;BA.debugLine="If verde = 1 Or todos = 1 Then"; if (true) break; case 78: @@ -1086,13 +1064,17 @@ this.state = 80; case 80: //C this.state = 81; - //BA.debugLineNum = 194;BA.debugLine="rutaAnt = \"\""; +RDebugUtils.currentLine=65536085; + //BA.debugLineNum = 65536085;BA.debugLine="rutaAnt = \"\""; parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 195;BA.debugLine="c2.IsInitialized"; +RDebugUtils.currentLine=65536086; + //BA.debugLineNum = 65536086;BA.debugLine="c2.IsInitialized"; parent._c2.IsInitialized(); - //BA.debugLineNum = 196;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +RDebugUtils.currentLine=65536087; + //BA.debugLineNum = 65536087;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 197;BA.debugLine="For i = 0 To c2.RowCount -1"; +RDebugUtils.currentLine=65536088; + //BA.debugLineNum = 65536088;BA.debugLine="For i = 0 To c2.RowCount -1"; if (true) break; case 81: @@ -1119,21 +1101,29 @@ if (true) break; case 83: //C this.state = 132; - //BA.debugLineNum = 198;BA.debugLine="c2.Position = i"; +RDebugUtils.currentLine=65536089; + //BA.debugLineNum = 65536089;BA.debugLine="c2.Position = i"; parent._c2.setPosition(_i); - //BA.debugLineNum = 199;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=65536090; + //BA.debugLineNum = 65536090;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 200;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=65536091; + //BA.debugLineNum = 65536091;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 201;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=65536092; + //BA.debugLineNum = 65536092;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 202;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=65536093; + //BA.debugLineNum = 65536093;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 203;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +RDebugUtils.currentLine=65536094; + //BA.debugLineNum = 65536094;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 204;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu,Longitu"; +RDebugUtils.currentLine=65536095; + //BA.debugLineNum = 65536095;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu,Longitu"; parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); - //BA.debugLineNum = 205;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tien"; +RDebugUtils.currentLine=65536096; + //BA.debugLineNum = 65536096;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tien"; parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); if (true) break; if (true) break; @@ -1142,9 +1132,11 @@ case 84: //C this.state = 85; ; - //BA.debugLineNum = 207;BA.debugLine="c2 .Close"; +RDebugUtils.currentLine=65536098; + //BA.debugLineNum = 65536098;BA.debugLine="c2 .Close"; parent._c2.Close(); - //BA.debugLineNum = 208;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; +RDebugUtils.currentLine=65536099; + //BA.debugLineNum = 65536099;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; if (true) break; case 85: @@ -1176,11 +1168,14 @@ case 92: //C this.state = 93; ; - //BA.debugLineNum = 212;BA.debugLine="Private esteRojo As Int = 0"; +RDebugUtils.currentLine=65536103; + //BA.debugLineNum = 65536103;BA.debugLine="Private esteRojo As Int = 0"; _esterojo = (int) (0); - //BA.debugLineNum = 213;BA.debugLine="Private esteRojo2 As String"; +RDebugUtils.currentLine=65536104; + //BA.debugLineNum = 65536104;BA.debugLine="Private esteRojo2 As String"; _esterojo2 = ""; - //BA.debugLineNum = 214;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +RDebugUtils.currentLine=65536105; + //BA.debugLineNum = 65536105;BA.debugLine="If rojo = 1 Or todos = 1 Then"; if (true) break; case 93: @@ -1195,13 +1190,17 @@ this.state = 111; case 95: //C this.state = 96; - //BA.debugLineNum = 215;BA.debugLine="rutaAnt = \"\""; +RDebugUtils.currentLine=65536106; + //BA.debugLineNum = 65536106;BA.debugLine="rutaAnt = \"\""; parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 216;BA.debugLine="c3.IsInitialized"; +RDebugUtils.currentLine=65536107; + //BA.debugLineNum = 65536107;BA.debugLine="c3.IsInitialized"; parent._c3.IsInitialized(); - //BA.debugLineNum = 217;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; +RDebugUtils.currentLine=65536108; + //BA.debugLineNum = 65536108;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 218;BA.debugLine="For i = 0 To c3.RowCount -1"; +RDebugUtils.currentLine=65536109; + //BA.debugLineNum = 65536109;BA.debugLine="For i = 0 To c3.RowCount -1"; if (true) break; case 96: @@ -1228,19 +1227,26 @@ if (true) break; case 98: //C this.state = 99; - //BA.debugLineNum = 219;BA.debugLine="c3.Position = i"; +RDebugUtils.currentLine=65536110; + //BA.debugLineNum = 65536110;BA.debugLine="c3.Position = i"; parent._c3.setPosition(_i); - //BA.debugLineNum = 220;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=65536111; + //BA.debugLineNum = 65536111;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 221;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=65536112; + //BA.debugLineNum = 65536112;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 222;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=65536113; + //BA.debugLineNum = 65536113;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 223;BA.debugLine="ruta = c3.GetString(\"CAT_CL_RUTA\")"; +RDebugUtils.currentLine=65536114; + //BA.debugLineNum = 65536114;BA.debugLine="ruta = c3.GetString(\"CAT_CL_RUTA\")"; parent.mostCurrent._ruta = parent._c3.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 224;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=65536115; + //BA.debugLineNum = 65536115;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 225;BA.debugLine="If c3.GetString(\"SECUENCIA\") = \"null\" Then"; +RDebugUtils.currentLine=65536116; + //BA.debugLineNum = 65536116;BA.debugLine="If c3.GetString(\"SECUENCIA\") = \"null\" Then"; if (true) break; case 99: @@ -1255,14 +1261,16 @@ this.state = 103; case 101: //C this.state = 104; - //BA.debugLineNum = 226;BA.debugLine="NumSerie = 0"; +RDebugUtils.currentLine=65536117; + //BA.debugLineNum = 65536117;BA.debugLine="NumSerie = 0"; parent._numserie = (int) (0); if (true) break; case 103: //C this.state = 104; - //BA.debugLineNum = 228;BA.debugLine="NumSerie = c3.GetString(\"SECUENCIA\")"; +RDebugUtils.currentLine=65536119; + //BA.debugLineNum = 65536119;BA.debugLine="NumSerie = c3.GetString(\"SECUENCIA\")"; parent._numserie = (int)(Double.parseDouble(parent._c3.GetString("SECUENCIA"))); if (true) break; @@ -1270,10 +1278,12 @@ case 104: //C this.state = 105; ; - //BA.debugLineNum = 230;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=65536121; + //BA.debugLineNum = 65536121;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 231;BA.debugLine="If s.RowCount > 0 Then"; +RDebugUtils.currentLine=65536122; + //BA.debugLineNum = 65536122;BA.debugLine="If s.RowCount > 0 Then"; if (true) break; case 105: @@ -1286,9 +1296,11 @@ this.state = 107; case 107: //C this.state = 108; - //BA.debugLineNum = 232;BA.debugLine="s.Position = 0"; +RDebugUtils.currentLine=65536123; + //BA.debugLineNum = 65536123;BA.debugLine="s.Position = 0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 233;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +RDebugUtils.currentLine=65536124; + //BA.debugLineNum = 65536124;BA.debugLine="NumSerie = s.GetString(\"indice\")"; parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); if (true) break; @@ -1296,9 +1308,11 @@ case 108: //C this.state = 134; ; - //BA.debugLineNum = 235;BA.debugLine="MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudR"; +RDebugUtils.currentLine=65536126; + //BA.debugLineNum = 65536126;BA.debugLine="MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudR"; parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"marker-rojo.png"),parent._numserie).getObject())); - //BA.debugLineNum = 238;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; +RDebugUtils.currentLine=65536129; + //BA.debugLineNum = 65536129;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); if (true) break; if (true) break; @@ -1312,7 +1326,8 @@ this.state = 125; case 111: //C this.state = 112; - //BA.debugLineNum = 241;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +RDebugUtils.currentLine=65536132; + //BA.debugLineNum = 65536132;BA.debugLine="If rojo = 1 Or todos = 1 Then"; if (true) break; case 112: @@ -1325,13 +1340,17 @@ this.state = 114; case 114: //C this.state = 115; - //BA.debugLineNum = 242;BA.debugLine="rutaAnt = \"\""; +RDebugUtils.currentLine=65536133; + //BA.debugLineNum = 65536133;BA.debugLine="rutaAnt = \"\""; parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 243;BA.debugLine="c3.IsInitialized"; +RDebugUtils.currentLine=65536134; + //BA.debugLineNum = 65536134;BA.debugLine="c3.IsInitialized"; parent._c3.IsInitialized(); - //BA.debugLineNum = 244;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +RDebugUtils.currentLine=65536135; + //BA.debugLineNum = 65536135;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 245;BA.debugLine="For i = 0 To c3.RowCount -1"; +RDebugUtils.currentLine=65536136; + //BA.debugLineNum = 65536136;BA.debugLine="For i = 0 To c3.RowCount -1"; if (true) break; case 115: @@ -1358,26 +1377,35 @@ if (true) break; case 117: //C this.state = 136; - //BA.debugLineNum = 246;BA.debugLine="c3.Position = i"; +RDebugUtils.currentLine=65536137; + //BA.debugLineNum = 65536137;BA.debugLine="c3.Position = i"; parent._c3.setPosition(_i); - //BA.debugLineNum = 247;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=65536138; + //BA.debugLineNum = 65536138;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 248;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=65536139; + //BA.debugLineNum = 65536139;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 249;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=65536140; + //BA.debugLineNum = 65536140;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 250;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +RDebugUtils.currentLine=65536141; + //BA.debugLineNum = 65536141;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 251;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=65536142; + //BA.debugLineNum = 65536142;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 252;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu,Longitud"; +RDebugUtils.currentLine=65536143; + //BA.debugLineNum = 65536143;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu,Longitud"; parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED); - //BA.debugLineNum = 253;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; +RDebugUtils.currentLine=65536144; + //BA.debugLineNum = 65536144;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); if (true) break; if (true) break; ; - //BA.debugLineNum = 255;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; +RDebugUtils.currentLine=65536146; + //BA.debugLineNum = 65536146;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; case 118: //if @@ -1396,7 +1424,8 @@ case 123: //C this.state = 124; ; - //BA.debugLineNum = 256;BA.debugLine="c3.Close"; +RDebugUtils.currentLine=65536147; + //BA.debugLineNum = 65536147;BA.debugLine="c3.Close"; parent._c3.Close(); if (true) break; @@ -1410,55 +1439,143 @@ case 125: //C this.state = -1; ; - //BA.debugLineNum = 264;BA.debugLine="Dim aa As CameraPosition"; +RDebugUtils.currentLine=65536155; + //BA.debugLineNum = 65536155;BA.debugLine="Dim aa As CameraPosition"; _aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); - //BA.debugLineNum = 265;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; +RDebugUtils.currentLine=65536156; + //BA.debugLineNum = 65536156;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; _aa.Initialize(parent._latitudru,parent._longitudru,(float) (15)); - //BA.debugLineNum = 266;BA.debugLine="gmap.AnimateCamera(aa)"; +RDebugUtils.currentLine=65536157; + //BA.debugLineNum = 65536157;BA.debugLine="gmap.AnimateCamera(aa)"; parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); - //BA.debugLineNum = 269;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; +RDebugUtils.currentLine=65536160; + //BA.debugLineNum = 65536160;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; parent.mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); - //BA.debugLineNum = 270;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; +RDebugUtils.currentLine=65536161; + //BA.debugLineNum = 65536161;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; parent.mostCurrent._oninfowindowclicklistener1.Initialize(mostCurrent.activityBA,"OnInfoWindowClickListener1"); - //BA.debugLineNum = 271;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; +RDebugUtils.currentLine=65536162; + //BA.debugLineNum = 65536162;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; parent.mostCurrent._googlemapextra.SetOnInfoWindowClickListener((com.google.android.gms.maps.GoogleMap)(parent.mostCurrent._gmap.getObject()),(com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener)(parent.mostCurrent._oninfowindowclicklistener1.getObject())); - //BA.debugLineNum = 272;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65536163; + //BA.debugLineNum = 65536163;BA.debugLine="End Sub"; if (true) break; } } } } -public static void _activity_permissionresult(String _permission,boolean _result) throws Exception{ +public static String _b_rojo_click() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_rojo_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_rojo_click", null));} +RDebugUtils.currentLine=65994752; + //BA.debugLineNum = 65994752;BA.debugLine="Sub B_ROJO_Click"; +RDebugUtils.currentLine=65994753; + //BA.debugLineNum = 65994753;BA.debugLine="rojo = 1"; +mostCurrent._rojo = BA.NumberToString(1); +RDebugUtils.currentLine=65994754; + //BA.debugLineNum = 65994754;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=65994755; + //BA.debugLineNum = 65994755;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=65994756; + //BA.debugLineNum = 65994756;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=65994757; + //BA.debugLineNum = 65994757;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=65994758; + //BA.debugLineNum = 65994758;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=65994759; + //BA.debugLineNum = 65994759;BA.debugLine="End Sub"; +return ""; +} +public static String _b_todos_click() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_todos_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_todos_click", null));} +RDebugUtils.currentLine=65863680; + //BA.debugLineNum = 65863680;BA.debugLine="Sub B_TODOS_Click"; +RDebugUtils.currentLine=65863681; + //BA.debugLineNum = 65863681;BA.debugLine="todos =1"; +mostCurrent._todos = BA.NumberToString(1); +RDebugUtils.currentLine=65863682; + //BA.debugLineNum = 65863682;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=65863683; + //BA.debugLineNum = 65863683;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=65863684; + //BA.debugLineNum = 65863684;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=65863685; + //BA.debugLineNum = 65863685;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=65863686; + //BA.debugLineNum = 65863686;BA.debugLine="End Sub"; +return ""; +} +public static String _b_verde_click() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_verde_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_verde_click", null));} +RDebugUtils.currentLine=65929216; + //BA.debugLineNum = 65929216;BA.debugLine="Sub B_VERDE_Click"; +RDebugUtils.currentLine=65929217; + //BA.debugLineNum = 65929217;BA.debugLine="verde = 1"; +mostCurrent._verde = BA.NumberToString(1); +RDebugUtils.currentLine=65929218; + //BA.debugLineNum = 65929218;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=65929219; + //BA.debugLineNum = 65929219;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=65929220; + //BA.debugLineNum = 65929220;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=65929221; + //BA.debugLineNum = 65929221;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=65929222; + //BA.debugLineNum = 65929222;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=65929223; + //BA.debugLineNum = 65929223;BA.debugLine="End Sub"; +return ""; +} +public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "gps_locationchanged", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "gps_locationchanged", new Object[] {_parametro}));} +RDebugUtils.currentLine=65667072; + //BA.debugLineNum = 65667072;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +RDebugUtils.currentLine=65667091; + //BA.debugLineNum = 65667091;BA.debugLine="End Sub"; +return ""; } public static String _oninfowindowclicklistener1_click(anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marker1) throws Exception{ - //BA.debugLineNum = 275;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; - //BA.debugLineNum = 276;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "oninfowindowclicklistener1_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "oninfowindowclicklistener1_click", new Object[] {_marker1}));} +RDebugUtils.currentLine=65601536; + //BA.debugLineNum = 65601536;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; +RDebugUtils.currentLine=65601537; + //BA.debugLineNum = 65601537;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 277;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +RDebugUtils.currentLine=65601538; + //BA.debugLineNum = 65601538;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marker1.getTitle())})); - //BA.debugLineNum = 278;BA.debugLine="Activity.Finish"; +RDebugUtils.currentLine=65601539; + //BA.debugLineNum = 65601539;BA.debugLine="Activity.Finish"; mostCurrent._activity.Finish(); - //BA.debugLineNum = 279;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=65601540; + //BA.debugLineNum = 65601540;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 280;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65601541; + //BA.debugLineNum = 65601541;BA.debugLine="End Sub"; return ""; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Dim GPS As GPS"; -_gps = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 9;BA.debugLine="Dim rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 11;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim c22 As Cursor"; -_c22 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim c3 As Cursor"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/newinst2.java b/B4A/Objects/src/reparto_intmex/keymon/lat/newinst2.java index 1ceaabb..e481987 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/newinst2.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/newinst2.java @@ -14,7 +14,7 @@ public class newinst2 extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, newinst2.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class newinst2 extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.newinst2"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.newinst2"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,17 +127,18 @@ public class newinst2 extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; + } +public anywheresoftware.b4a.keywords.Common __c = null; public static String _pkg = ""; public static boolean _svcverbose = false; public static int _logcolor1 = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; @@ -145,84 +146,117 @@ public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; public static String _getpackagename() throws Exception{ +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "getpackagename", false)) + {return ((String) Debug.delegate(processBA, "getpackagename", null));} anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 38;BA.debugLine="Sub GetPackageName As String"; - //BA.debugLineNum = 39;BA.debugLine="Dim r As Reflector"; +RDebugUtils.currentLine=2949120; + //BA.debugLineNum = 2949120;BA.debugLine="Sub GetPackageName As String"; +RDebugUtils.currentLine=2949121; + //BA.debugLineNum = 2949121;BA.debugLine="Dim r As Reflector"; _r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 40;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; +RDebugUtils.currentLine=2949122; + //BA.debugLineNum = 2949122;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; if (true) return BA.ObjectToString(_r.GetStaticField("anywheresoftware.b4a.BA","packageName")); - //BA.debugLineNum = 41;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2949123; + //BA.debugLineNum = 2949123;BA.debugLine="End Sub"; return ""; } public static String _myappreload() throws Exception{ - //BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload"; - //BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "myappreload", false)) + {return ((String) Debug.delegate(processBA, "myappreload", null));} +RDebugUtils.currentLine=3014656; + //BA.debugLineNum = 3014656;BA.debugLine="Sub MyAppReload"; +RDebugUtils.currentLine=3014657; + //BA.debugLineNum = 3014657;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("839780353","-- AppUpdating.NewInst2: processing MyAppReload",0);}; - //BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then"; +anywheresoftware.b4a.keywords.Common.LogImpl("23014657","-- AppUpdating.NewInst2: processing MyAppReload",0);}; +RDebugUtils.currentLine=3014658; + //BA.debugLineNum = 3014658;BA.debugLine="If IsPaused(\"main\") Then"; if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) { - //BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")"; +RDebugUtils.currentLine=3014659; + //BA.debugLineNum = 3014659;BA.debugLine="StartActivity(\"main\")"; anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)("main")); }; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Dim pkg As String 'app's package name"; -_pkg = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim svcVerbose As Boolean 'True = shows start"; -_svcverbose = false; - //BA.debugLineNum = 10;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'color for"; -_logcolor1 = ((int)0xffff8c00); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3014663; + //BA.debugLineNum = 3014663;BA.debugLine="End Sub"; return ""; } public static String _service_create() throws Exception{ - //BA.debugLineNum = 13;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; -anywheresoftware.b4a.keywords.Common.LogImpl("839518209","---- AppUpdating.newinst2: service created",_logcolor1); - //BA.debugLineNum = 15;BA.debugLine="pkg = \"\""; +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=2752512; + //BA.debugLineNum = 2752512;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=2752513; + //BA.debugLineNum = 2752513;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; +anywheresoftware.b4a.keywords.Common.LogImpl("22752513","---- AppUpdating.newinst2: service created",_logcolor1); +RDebugUtils.currentLine=2752514; + //BA.debugLineNum = 2752514;BA.debugLine="pkg = \"\""; _pkg = ""; - //BA.debugLineNum = 16;BA.debugLine="svcVerbose = False"; +RDebugUtils.currentLine=2752515; + //BA.debugLineNum = 2752515;BA.debugLine="svcVerbose = False"; _svcverbose = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2752516; + //BA.debugLineNum = 2752516;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=2883584; + //BA.debugLineNum = 2883584;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=2883585; + //BA.debugLineNum = 2883585;BA.debugLine="End Sub"; return ""; } public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; -anywheresoftware.b4a.keywords.Common.LogImpl("839583745","---- AppUpdating.newinst2: service_started",_logcolor1); - //BA.debugLineNum = 21;BA.debugLine="If svcVerbose Then"; +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=2818048; + //BA.debugLineNum = 2818048;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=2818049; + //BA.debugLineNum = 2818049;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; +anywheresoftware.b4a.keywords.Common.LogImpl("22818049","---- AppUpdating.newinst2: service_started",_logcolor1); +RDebugUtils.currentLine=2818050; + //BA.debugLineNum = 2818050;BA.debugLine="If svcVerbose Then"; if (_svcverbose) { - //BA.debugLineNum = 22;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("839583747",(""+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("839583748",(""+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("839583749",(""+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("839583750",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); +RDebugUtils.currentLine=2818051; + //BA.debugLineNum = 2818051;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("22818051",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0); +RDebugUtils.currentLine=2818052; + //BA.debugLineNum = 2818052;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("22818052",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0); +RDebugUtils.currentLine=2818053; + //BA.debugLineNum = 2818053;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri"; +anywheresoftware.b4a.keywords.Common.LogImpl("22818053",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0); +RDebugUtils.currentLine=2818054; + //BA.debugLineNum = 2818054;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("22818054",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); }; - //BA.debugLineNum = 27;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; +RDebugUtils.currentLine=2818056; + //BA.debugLineNum = 2818056;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; if ((_startingintent.getAction()).equals("android.intent.action.MY_PACKAGE_REPLACED")) { - //BA.debugLineNum = 28;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; +RDebugUtils.currentLine=2818057; + //BA.debugLineNum = 2818057;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("839583753",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; - //BA.debugLineNum = 29;BA.debugLine="pkg = GetPackageName"; +anywheresoftware.b4a.keywords.Common.LogImpl("22818057",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; +RDebugUtils.currentLine=2818058; + //BA.debugLineNum = 2818058;BA.debugLine="pkg = GetPackageName"; _pkg = _getpackagename(); - //BA.debugLineNum = 30;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; +RDebugUtils.currentLine=2818059; + //BA.debugLineNum = 2818059;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("839583755",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; - //BA.debugLineNum = 31;BA.debugLine="MyAppReload"; +anywheresoftware.b4a.keywords.Common.LogImpl("22818059",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; +RDebugUtils.currentLine=2818060; + //BA.debugLineNum = 2818060;BA.debugLine="MyAppReload"; _myappreload(); }; - //BA.debugLineNum = 33;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2818062; + //BA.debugLineNum = 2818062;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/roundslider.java b/B4A/Objects/src/reparto_intmex/keymon/lat/roundslider.java index ee72eb1..64baaf0 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/roundslider.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/roundslider.java @@ -10,7 +10,7 @@ public class roundslider extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.roundslider"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.roundslider"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class roundslider extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -48,10 +55,10 @@ public boolean _mrollover = false; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -59,156 +66,105 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 90;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 91;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 92;BA.debugLine="If thumb.IsInitialized = False Then CreateThumb"; -if (_thumb.IsInitialized()==__c.False) { -_createthumb();}; - //BA.debugLineNum = 93;BA.debugLine="CircleRect.Initialize(ThumbSize + stroke, ThumbSi"; -_circlerect.Initialize((float) (_thumbsize+_stroke),(float) (_thumbsize+_stroke),(float) (_width-_thumbsize-_stroke),(float) (_height-_thumbsize-_stroke)); - //BA.debugLineNum = 94;BA.debugLine="xlbl.SetLayoutAnimated(0, CircleRect.Left, Circle"; -_xlbl.SetLayoutAnimated((int) (0),(int) (_circlerect.getLeft()),(int) (_circlerect.getTop()),(int) (_circlerect.getWidth()),(int) (_circlerect.getHeight())); - //BA.debugLineNum = 95;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.roundslider __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=33292288; + //BA.debugLineNum = 33292288;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=33292289; + //BA.debugLineNum = 33292289;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=33292290; + //BA.debugLineNum = 33292290;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=33292291; + //BA.debugLineNum = 33292291;BA.debugLine="If thumb.IsInitialized = False Then CreateThumb"; +if (__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.False) { +__ref._createthumb /*String*/ (null);}; +RDebugUtils.currentLine=33292292; + //BA.debugLineNum = 33292292;BA.debugLine="CircleRect.Initialize(ThumbSize + stroke, ThumbSi"; +__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .Initialize((float) (__ref._thumbsize /*int*/ +__ref._stroke /*int*/ ),(float) (__ref._thumbsize /*int*/ +__ref._stroke /*int*/ ),(float) (_width-__ref._thumbsize /*int*/ -__ref._stroke /*int*/ ),(float) (_height-__ref._thumbsize /*int*/ -__ref._stroke /*int*/ )); +RDebugUtils.currentLine=33292293; + //BA.debugLineNum = 33292293;BA.debugLine="xlbl.SetLayoutAnimated(0, CircleRect.Left, Circle"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getLeft()),(int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getTop()),(int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()),(int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getHeight())); +RDebugUtils.currentLine=33292294; + //BA.debugLineNum = 33292294;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=33292295; + //BA.debugLineNum = 33292295;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 12;BA.debugLine="Private mValue As Int = 75"; -_mvalue = (int) (75); - //BA.debugLineNum = 13;BA.debugLine="Private mMin, mMax As Int"; -_mmin = 0; -_mmax = 0; - //BA.debugLineNum = 14;BA.debugLine="Private thumb As B4XBitmap"; -_thumb = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private pnl As B4XView"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private xlbl As B4XView"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private CircleRect As B4XRect"; -_circlerect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 18;BA.debugLine="Private ValueColor As Int"; -_valuecolor = 0; - //BA.debugLineNum = 19;BA.debugLine="Private stroke As Int"; -_stroke = 0; - //BA.debugLineNum = 20;BA.debugLine="Private ThumbSize As Int"; -_thumbsize = 0; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; -_mthumbbordercolor = ((int)0xff5b5b5b); - //BA.debugLineNum = 23;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; -_mthumbinnercolor = _xui.Color_White; - //BA.debugLineNum = 24;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; -_mcirclefillcolor = _xui.Color_White; - //BA.debugLineNum = 25;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; -_mcirclenonvaluecolor = ((int)0xffb6b6b6); - //BA.debugLineNum = 26;BA.debugLine="Private mRollOver As Boolean"; -_mrollover = false; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _createthumb() throws Exception{ +public String _createthumb(reparto_intmex.keymon.lat.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "createthumb", true)) + {return ((String) Debug.delegate(ba, "createthumb", null));} b4a.example.bcpath _p = null; int _r = 0; int _g = 0; int _l = 0; b4a.example.bitmapcreator _bc = null; - //BA.debugLineNum = 70;BA.debugLine="Private Sub CreateThumb"; - //BA.debugLineNum = 71;BA.debugLine="Dim p As BCPath"; +RDebugUtils.currentLine=33226752; + //BA.debugLineNum = 33226752;BA.debugLine="Private Sub CreateThumb"; +RDebugUtils.currentLine=33226753; + //BA.debugLineNum = 33226753;BA.debugLine="Dim p As BCPath"; _p = new b4a.example.bcpath(); - //BA.debugLineNum = 72;BA.debugLine="Dim r As Int = 80dip"; +RDebugUtils.currentLine=33226754; + //BA.debugLineNum = 33226754;BA.debugLine="Dim r As Int = 80dip"; _r = __c.DipToCurrent((int) (80)); - //BA.debugLineNum = 73;BA.debugLine="Dim g As Int = 8dip"; +RDebugUtils.currentLine=33226755; + //BA.debugLineNum = 33226755;BA.debugLine="Dim g As Int = 8dip"; _g = __c.DipToCurrent((int) (8)); - //BA.debugLineNum = 74;BA.debugLine="Dim l As Int = 28dip"; +RDebugUtils.currentLine=33226756; + //BA.debugLineNum = 33226756;BA.debugLine="Dim l As Int = 28dip"; _l = __c.DipToCurrent((int) (28)); - //BA.debugLineNum = 75;BA.debugLine="Dim bc As BitmapCreator"; +RDebugUtils.currentLine=33226757; + //BA.debugLineNum = 33226757;BA.debugLine="Dim bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 76;BA.debugLine="bc.Initialize(2 * r + g + 3dip, 2 * r + l + g)"; +RDebugUtils.currentLine=33226758; + //BA.debugLineNum = 33226758;BA.debugLine="bc.Initialize(2 * r + g + 3dip, 2 * r + l + g)"; _bc._initialize(ba,(int) (2*_r+_g+__c.DipToCurrent((int) (3))),(int) (2*_r+_l+_g)); - //BA.debugLineNum = 77;BA.debugLine="p.Initialize(r - l + g, 2 * r - 2dip + g)"; +RDebugUtils.currentLine=33226759; + //BA.debugLineNum = 33226759;BA.debugLine="p.Initialize(r - l + g, 2 * r - 2dip + g)"; _p._initialize(ba,(float) (_r-_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 78;BA.debugLine="p.LineTo(r + l + g, 2 * r - 2dip + g)"; +RDebugUtils.currentLine=33226760; + //BA.debugLineNum = 33226760;BA.debugLine="p.LineTo(r + l + g, 2 * r - 2dip + g)"; _p._lineto((float) (_r+_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 79;BA.debugLine="p.LineTo(r + g, 2 * r + l + g)"; +RDebugUtils.currentLine=33226761; + //BA.debugLineNum = 33226761;BA.debugLine="p.LineTo(r + g, 2 * r + l + g)"; _p._lineto((float) (_r+_g),(float) (2*_r+_l+_g)); - //BA.debugLineNum = 80;BA.debugLine="p.LineTo(r - l + g, 2 * r - 2dip + g)"; +RDebugUtils.currentLine=33226762; + //BA.debugLineNum = 33226762;BA.debugLine="p.LineTo(r - l + g, 2 * r - 2dip + g)"; _p._lineto((float) (_r-_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 81;BA.debugLine="bc.DrawPath(p, mThumbBorderColor, True, 0)"; -_bc._drawpath(_p,_mthumbbordercolor,__c.True,(int) (0)); - //BA.debugLineNum = 82;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbInnerColor,"; -_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),_mthumbinnercolor,__c.True,(int) (0)); - //BA.debugLineNum = 83;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbBorderColor,"; -_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),_mthumbbordercolor,__c.False,__c.DipToCurrent((int) (10))); - //BA.debugLineNum = 84;BA.debugLine="thumb = bc.Bitmap"; -_thumb = _bc._getbitmap(); - //BA.debugLineNum = 85;BA.debugLine="ThumbSize = thumb.Height / 4"; -_thumbsize = (int) (_thumb.getHeight()/(double)4); - //BA.debugLineNum = 86;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 87;BA.debugLine="End Sub"; +RDebugUtils.currentLine=33226763; + //BA.debugLineNum = 33226763;BA.debugLine="bc.DrawPath(p, mThumbBorderColor, True, 0)"; +_bc._drawpath(_p,__ref._mthumbbordercolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=33226764; + //BA.debugLineNum = 33226764;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbInnerColor,"; +_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),__ref._mthumbinnercolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=33226765; + //BA.debugLineNum = 33226765;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbBorderColor,"; +_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),__ref._mthumbbordercolor /*int*/ ,__c.False,__c.DipToCurrent((int) (10))); +RDebugUtils.currentLine=33226766; + //BA.debugLineNum = 33226766;BA.debugLine="thumb = bc.Bitmap"; +__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bc._getbitmap(); +RDebugUtils.currentLine=33226767; + //BA.debugLineNum = 33226767;BA.debugLine="ThumbSize = thumb.Height / 4"; +__ref._thumbsize /*int*/ = (int) (__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()/(double)4); +RDebugUtils.currentLine=33226768; + //BA.debugLineNum = 33226768;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=33226769; + //BA.debugLineNum = 33226769;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 36;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 38;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 39;BA.debugLine="mMin = Props.Get(\"Min\")"; -_mmin = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); - //BA.debugLineNum = 40;BA.debugLine="mMax = Props.Get(\"Max\")"; -_mmax = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); - //BA.debugLineNum = 41;BA.debugLine="mValue = mMin"; -_mvalue = _mmin; - //BA.debugLineNum = 42;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 43;BA.debugLine="xlbl = Lbl"; -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 44;BA.debugLine="xlbl.Visible = True"; -_xlbl.setVisible(__c.True); - //BA.debugLineNum = 45;BA.debugLine="mBase.AddView(xlbl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 46;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 47;BA.debugLine="ValueColor = xui.PaintOrColorToColor(Props.Get(\"V"; -_valuecolor = _xui.PaintOrColorToColor(_props.Get((Object)("ValueColor"))); - //BA.debugLineNum = 48;BA.debugLine="mRollOver = Props.GetDefault(\"RollOver\", False)"; -_mrollover = BA.ObjectToBoolean(_props.GetDefault((Object)("RollOver"),(Object)(__c.False))); - //BA.debugLineNum = 49;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { - //BA.debugLineNum = 50;BA.debugLine="stroke = 8dip"; -_stroke = __c.DipToCurrent((int) (8)); - }else if(_xui.getIsB4J()) { - //BA.debugLineNum = 52;BA.debugLine="stroke = 6dip"; -_stroke = __c.DipToCurrent((int) (6)); - }; - //BA.debugLineNum = 54;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ +public String _draw(reparto_intmex.keymon.lat.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} int _radius = 0; anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; int _angle = 0; @@ -217,178 +173,415 @@ anywheresoftware.b4a.objects.B4XCanvas.B4XRect _dest = null; int _r = 0; int _cx = 0; int _cy = 0; - //BA.debugLineNum = 98;BA.debugLine="Public Sub Draw"; - //BA.debugLineNum = 99;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 100;BA.debugLine="Dim radius As Int = CircleRect.Width / 2"; -_radius = (int) (_circlerect.getWidth()/(double)2); - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius),_mcirclenonvaluecolor,__c.False,(float) (_stroke)); - //BA.debugLineNum = 102;BA.debugLine="Dim p As B4XPath"; +RDebugUtils.currentLine=33357824; + //BA.debugLineNum = 33357824;BA.debugLine="Public Sub Draw"; +RDebugUtils.currentLine=33357825; + //BA.debugLineNum = 33357825;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=33357826; + //BA.debugLineNum = 33357826;BA.debugLine="Dim radius As Int = CircleRect.Width / 2"; +_radius = (int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()/(double)2); +RDebugUtils.currentLine=33357827; + //BA.debugLineNum = 33357827;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle(__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX(),__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY(),(float) (_radius),__ref._mcirclenonvaluecolor /*int*/ ,__c.False,(float) (__ref._stroke /*int*/ )); +RDebugUtils.currentLine=33357828; + //BA.debugLineNum = 33357828;BA.debugLine="Dim p As B4XPath"; _p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 103;BA.debugLine="Dim angle As Int = (mValue - mMin) / (mMax - mMin"; -_angle = (int) ((_mvalue-_mmin)/(double)(_mmax-_mmin)*360); - //BA.debugLineNum = 104;BA.debugLine="Dim B4JStrokeOffset As Int"; +RDebugUtils.currentLine=33357829; + //BA.debugLineNum = 33357829;BA.debugLine="Dim angle As Int = (mValue - mMin) / (mMax - mMin"; +_angle = (int) ((__ref._mvalue /*int*/ -__ref._mmin /*int*/ )/(double)(__ref._mmax /*int*/ -__ref._mmin /*int*/ )*360); +RDebugUtils.currentLine=33357830; + //BA.debugLineNum = 33357830;BA.debugLine="Dim B4JStrokeOffset As Int"; _b4jstrokeoffset = 0; - //BA.debugLineNum = 105;BA.debugLine="If xui.IsB4J Then B4JStrokeOffset = stroke / 2"; -if (_xui.getIsB4J()) { -_b4jstrokeoffset = (int) (_stroke/(double)2);}; - //BA.debugLineNum = 106;BA.debugLine="If mValue = mMax Then"; -if (_mvalue==_mmax) { - //BA.debugLineNum = 107;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Ce"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius),_valuecolor,__c.False,(float) (_stroke)); +RDebugUtils.currentLine=33357831; + //BA.debugLineNum = 33357831;BA.debugLine="If xui.IsB4J Then B4JStrokeOffset = stroke / 2"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +_b4jstrokeoffset = (int) (__ref._stroke /*int*/ /(double)2);}; +RDebugUtils.currentLine=33357832; + //BA.debugLineNum = 33357832;BA.debugLine="If mValue = mMax Then"; +if (__ref._mvalue /*int*/ ==__ref._mmax /*int*/ ) { +RDebugUtils.currentLine=33357833; + //BA.debugLineNum = 33357833;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Ce"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle(__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX(),__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY(),(float) (_radius),__ref._valuecolor /*int*/ ,__c.False,(float) (__ref._stroke /*int*/ )); }else { - //BA.debugLineNum = 109;BA.debugLine="p.InitializeArc(CircleRect.CenterX, CircleRect.C"; -_p.InitializeArc(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius+_b4jstrokeoffset),(float) (-90),(float) (_angle)); - //BA.debugLineNum = 110;BA.debugLine="cvs.DrawPath(p, ValueColor, False, stroke)"; -_cvs.DrawPath(_p,_valuecolor,__c.False,(float) (_stroke)); +RDebugUtils.currentLine=33357835; + //BA.debugLineNum = 33357835;BA.debugLine="p.InitializeArc(CircleRect.CenterX, CircleRect.C"; +_p.InitializeArc(__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX(),__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY(),(float) (_radius+_b4jstrokeoffset),(float) (-90),(float) (_angle)); +RDebugUtils.currentLine=33357836; + //BA.debugLineNum = 33357836;BA.debugLine="cvs.DrawPath(p, ValueColor, False, stroke)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,__ref._valuecolor /*int*/ ,__c.False,(float) (__ref._stroke /*int*/ )); }; - //BA.debugLineNum = 112;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius-_b4jstrokeoffset),_mcirclefillcolor,__c.True,(float) (0)); - //BA.debugLineNum = 113;BA.debugLine="Dim dest As B4XRect"; +RDebugUtils.currentLine=33357838; + //BA.debugLineNum = 33357838;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle(__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX(),__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY(),(float) (_radius-_b4jstrokeoffset),__ref._mcirclefillcolor /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=33357839; + //BA.debugLineNum = 33357839;BA.debugLine="Dim dest As B4XRect"; _dest = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 114;BA.debugLine="Dim r As Int = radius + ThumbSize / 2 + stroke /"; -_r = (int) (_radius+_thumbsize/(double)2+_stroke/(double)2); - //BA.debugLineNum = 115;BA.debugLine="Dim cx As Int = CircleRect.CenterX + r * CosD(ang"; -_cx = (int) (_circlerect.getCenterX()+_r*__c.CosD(_angle-90)); - //BA.debugLineNum = 116;BA.debugLine="Dim cy As Int = CircleRect.CenterY + r * SinD(ang"; -_cy = (int) (_circlerect.getCenterY()+_r*__c.SinD(_angle-90)); - //BA.debugLineNum = 117;BA.debugLine="dest.Initialize(cx - thumb.Width / 8, cy - ThumbS"; -_dest.Initialize((float) (_cx-_thumb.getWidth()/(double)8),(float) (_cy-_thumbsize/(double)2),(float) (_cx+_thumb.getWidth()/(double)8),(float) (_cy+_thumbsize/(double)2)); - //BA.debugLineNum = 118;BA.debugLine="cvs.DrawBitmapRotated(thumb, dest, angle)"; -_cvs.DrawBitmapRotated((android.graphics.Bitmap)(_thumb.getObject()),_dest,(float) (_angle)); - //BA.debugLineNum = 119;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 120;BA.debugLine="xlbl.Text = mValue"; -_xlbl.setText(BA.ObjectToCharSequence(_mvalue)); - //BA.debugLineNum = 121;BA.debugLine="End Sub"; +RDebugUtils.currentLine=33357840; + //BA.debugLineNum = 33357840;BA.debugLine="Dim r As Int = radius + ThumbSize / 2 + stroke /"; +_r = (int) (_radius+__ref._thumbsize /*int*/ /(double)2+__ref._stroke /*int*/ /(double)2); +RDebugUtils.currentLine=33357841; + //BA.debugLineNum = 33357841;BA.debugLine="Dim cx As Int = CircleRect.CenterX + r * CosD(ang"; +_cx = (int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX()+_r*__c.CosD(_angle-90)); +RDebugUtils.currentLine=33357842; + //BA.debugLineNum = 33357842;BA.debugLine="Dim cy As Int = CircleRect.CenterY + r * SinD(ang"; +_cy = (int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY()+_r*__c.SinD(_angle-90)); +RDebugUtils.currentLine=33357843; + //BA.debugLineNum = 33357843;BA.debugLine="dest.Initialize(cx - thumb.Width / 8, cy - ThumbS"; +_dest.Initialize((float) (_cx-__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()/(double)8),(float) (_cy-__ref._thumbsize /*int*/ /(double)2),(float) (_cx+__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()/(double)8),(float) (_cy+__ref._thumbsize /*int*/ /(double)2)); +RDebugUtils.currentLine=33357844; + //BA.debugLineNum = 33357844;BA.debugLine="cvs.DrawBitmapRotated(thumb, dest, angle)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawBitmapRotated((android.graphics.Bitmap)(__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getObject()),_dest,(float) (_angle)); +RDebugUtils.currentLine=33357845; + //BA.debugLineNum = 33357845;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=33357846; + //BA.debugLineNum = 33357846;BA.debugLine="xlbl.Text = mValue"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._mvalue /*int*/ )); +RDebugUtils.currentLine=33357847; + //BA.debugLineNum = 33357847;BA.debugLine="End Sub"; return ""; } -public int _getvalue() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 183;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 184;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +RDebugUtils.currentLine=32899072; + //BA.debugLineNum = 32899072;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=32899073; + //BA.debugLineNum = 32899073;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=32899074; + //BA.debugLineNum = 32899074;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=32899075; + //BA.debugLineNum = 32899075;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=32899076; + //BA.debugLineNum = 32899076;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=32899077; + //BA.debugLineNum = 32899077;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=32899078; + //BA.debugLineNum = 32899078;BA.debugLine="Private mValue As Int = 75"; +_mvalue = (int) (75); +RDebugUtils.currentLine=32899079; + //BA.debugLineNum = 32899079;BA.debugLine="Private mMin, mMax As Int"; +_mmin = 0; +_mmax = 0; +RDebugUtils.currentLine=32899080; + //BA.debugLineNum = 32899080;BA.debugLine="Private thumb As B4XBitmap"; +_thumb = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=32899081; + //BA.debugLineNum = 32899081;BA.debugLine="Private pnl As B4XView"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=32899082; + //BA.debugLineNum = 32899082;BA.debugLine="Private xlbl As B4XView"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=32899083; + //BA.debugLineNum = 32899083;BA.debugLine="Private CircleRect As B4XRect"; +_circlerect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=32899084; + //BA.debugLineNum = 32899084;BA.debugLine="Private ValueColor As Int"; +_valuecolor = 0; +RDebugUtils.currentLine=32899085; + //BA.debugLineNum = 32899085;BA.debugLine="Private stroke As Int"; +_stroke = 0; +RDebugUtils.currentLine=32899086; + //BA.debugLineNum = 32899086;BA.debugLine="Private ThumbSize As Int"; +_thumbsize = 0; +RDebugUtils.currentLine=32899087; + //BA.debugLineNum = 32899087;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=32899088; + //BA.debugLineNum = 32899088;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; +_mthumbbordercolor = ((int)0xff5b5b5b); +RDebugUtils.currentLine=32899089; + //BA.debugLineNum = 32899089;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; +_mthumbinnercolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=32899090; + //BA.debugLineNum = 32899090;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; +_mcirclefillcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=32899091; + //BA.debugLineNum = 32899091;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; +_mcirclenonvaluecolor = ((int)0xffb6b6b6); +RDebugUtils.currentLine=32899092; + //BA.debugLineNum = 32899092;BA.debugLine="Private mRollOver As Boolean"; +_mrollover = false; +RDebugUtils.currentLine=32899093; + //BA.debugLineNum = 32899093;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_intmex.keymon.lat.roundslider __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +RDebugUtils.currentLine=33030144; + //BA.debugLineNum = 33030144;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=33030145; + //BA.debugLineNum = 33030145;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=33030146; + //BA.debugLineNum = 33030146;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=33030146; + //BA.debugLineNum = 33030146;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=33030147; + //BA.debugLineNum = 33030147;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=33030148; + //BA.debugLineNum = 33030148;BA.debugLine="mMin = Props.Get(\"Min\")"; +__ref._mmin /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); +RDebugUtils.currentLine=33030149; + //BA.debugLineNum = 33030149;BA.debugLine="mMax = Props.Get(\"Max\")"; +__ref._mmax /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); +RDebugUtils.currentLine=33030150; + //BA.debugLineNum = 33030150;BA.debugLine="mValue = mMin"; +__ref._mvalue /*int*/ = __ref._mmin /*int*/ ; +RDebugUtils.currentLine=33030151; + //BA.debugLineNum = 33030151;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=33030152; + //BA.debugLineNum = 33030152;BA.debugLine="xlbl = Lbl"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=33030153; + //BA.debugLineNum = 33030153;BA.debugLine="xlbl.Visible = True"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=33030154; + //BA.debugLineNum = 33030154;BA.debugLine="mBase.AddView(xlbl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=33030155; + //BA.debugLineNum = 33030155;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=33030156; + //BA.debugLineNum = 33030156;BA.debugLine="ValueColor = xui.PaintOrColorToColor(Props.Get(\"V"; +__ref._valuecolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ValueColor"))); +RDebugUtils.currentLine=33030157; + //BA.debugLineNum = 33030157;BA.debugLine="mRollOver = Props.GetDefault(\"RollOver\", False)"; +__ref._mrollover /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("RollOver"),(Object)(__c.False))); +RDebugUtils.currentLine=33030158; + //BA.debugLineNum = 33030158;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=33030159; + //BA.debugLineNum = 33030159;BA.debugLine="stroke = 8dip"; +__ref._stroke /*int*/ = __c.DipToCurrent((int) (8)); + }else +{RDebugUtils.currentLine=33030160; + //BA.debugLineNum = 33030160;BA.debugLine="Else If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=33030161; + //BA.debugLineNum = 33030161;BA.debugLine="stroke = 6dip"; +__ref._stroke /*int*/ = __c.DipToCurrent((int) (6)); + }} +; +RDebugUtils.currentLine=33030163; + //BA.debugLineNum = 33030163;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=33030164; + //BA.debugLineNum = 33030164;BA.debugLine="End Sub"; +return ""; +} +public int _getvalue(reparto_intmex.keymon.lat.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=33619968; + //BA.debugLineNum = 33619968;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=33619969; + //BA.debugLineNum = 33619969;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=33619970; + //BA.debugLineNum = 33619970;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.roundslider __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 30;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 31;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=32964608; + //BA.debugLineNum = 32964608;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=32964609; + //BA.debugLineNum = 32964609;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=32964610; + //BA.debugLineNum = 32964610;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=32964611; + //BA.debugLineNum = 32964611;BA.debugLine="End Sub"; return ""; } -public String _pnl_touch(int _action,float _x,float _y) throws Exception{ +public String _pnl_touch(reparto_intmex.keymon.lat.roundslider __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "pnl_touch", true)) + {return ((String) Debug.delegate(ba, "pnl_touch", new Object[] {_action,_x,_y}));} int _dx = 0; int _dy = 0; float _dist = 0f; int _angle = 0; int _newvalue = 0; - //BA.debugLineNum = 123;BA.debugLine="Private Sub pnl_Touch (Action As Int, X As Float,"; - //BA.debugLineNum = 124;BA.debugLine="If Action = pnl.TOUCH_ACTION_MOVE_NOTOUCH Then Re"; -if (_action==_pnl.TOUCH_ACTION_MOVE_NOTOUCH) { +RDebugUtils.currentLine=33423360; + //BA.debugLineNum = 33423360;BA.debugLine="Private Sub pnl_Touch (Action As Int, X As Float,"; +RDebugUtils.currentLine=33423361; + //BA.debugLineNum = 33423361;BA.debugLine="If Action = pnl.TOUCH_ACTION_MOVE_NOTOUCH Then Re"; +if (_action==__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE_NOTOUCH) { if (true) return "";}; - //BA.debugLineNum = 125;BA.debugLine="Dim dx As Int = x - CircleRect.CenterX"; -_dx = (int) (_x-_circlerect.getCenterX()); - //BA.debugLineNum = 126;BA.debugLine="Dim dy As Int = y - CircleRect.CenterY"; -_dy = (int) (_y-_circlerect.getCenterY()); - //BA.debugLineNum = 127;BA.debugLine="Dim dist As Float = Sqrt(Power(dx, 2) + Power(dy,"; +RDebugUtils.currentLine=33423362; + //BA.debugLineNum = 33423362;BA.debugLine="Dim dx As Int = x - CircleRect.CenterX"; +_dx = (int) (_x-__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX()); +RDebugUtils.currentLine=33423363; + //BA.debugLineNum = 33423363;BA.debugLine="Dim dy As Int = y - CircleRect.CenterY"; +_dy = (int) (_y-__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY()); +RDebugUtils.currentLine=33423364; + //BA.debugLineNum = 33423364;BA.debugLine="Dim dist As Float = Sqrt(Power(dx, 2) + Power(dy,"; _dist = (float) (__c.Sqrt(__c.Power(_dx,2)+__c.Power(_dy,2))); - //BA.debugLineNum = 128;BA.debugLine="If dist > CircleRect.Width / 2 Then"; -if (_dist>_circlerect.getWidth()/(double)2) { - //BA.debugLineNum = 129;BA.debugLine="Dim angle As Int = Round(ATan2D(dy, dx))"; +RDebugUtils.currentLine=33423365; + //BA.debugLineNum = 33423365;BA.debugLine="If dist > CircleRect.Width / 2 Then"; +if (_dist>__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()/(double)2) { +RDebugUtils.currentLine=33423366; + //BA.debugLineNum = 33423366;BA.debugLine="Dim angle As Int = Round(ATan2D(dy, dx))"; _angle = (int) (__c.Round(__c.ATan2D(_dy,_dx))); - //BA.debugLineNum = 130;BA.debugLine="angle = angle + 90"; +RDebugUtils.currentLine=33423367; + //BA.debugLineNum = 33423367;BA.debugLine="angle = angle + 90"; _angle = (int) (_angle+90); - //BA.debugLineNum = 131;BA.debugLine="angle = (angle + 360) Mod 360"; +RDebugUtils.currentLine=33423368; + //BA.debugLineNum = 33423368;BA.debugLine="angle = (angle + 360) Mod 360"; _angle = (int) ((_angle+360)%360); - //BA.debugLineNum = 132;BA.debugLine="Dim NewValue As Int = mMin + angle / 360 * (mMax"; -_newvalue = (int) (_mmin+_angle/(double)360*(_mmax-_mmin)); - //BA.debugLineNum = 133;BA.debugLine="NewValue = Max(mMin, Min(mMax, NewValue))"; -_newvalue = (int) (__c.Max(_mmin,__c.Min(_mmax,_newvalue))); - //BA.debugLineNum = 134;BA.debugLine="If NewValue <> mValue Then"; -if (_newvalue!=_mvalue) { - //BA.debugLineNum = 135;BA.debugLine="If mRollOver = False Then"; -if (_mrollover==__c.False) { - //BA.debugLineNum = 136;BA.debugLine="If Abs(NewValue - mValue) > (mMax - mMin) / 2"; -if (__c.Abs(_newvalue-_mvalue)>(_mmax-_mmin)/(double)2) { - //BA.debugLineNum = 137;BA.debugLine="If mValue >= (mMax + mMin) / 2 Then"; -if (_mvalue>=(_mmax+_mmin)/(double)2) { - //BA.debugLineNum = 138;BA.debugLine="mValue = mMax"; -_mvalue = _mmax; +RDebugUtils.currentLine=33423369; + //BA.debugLineNum = 33423369;BA.debugLine="Dim NewValue As Int = mMin + angle / 360 * (mMax"; +_newvalue = (int) (__ref._mmin /*int*/ +_angle/(double)360*(__ref._mmax /*int*/ -__ref._mmin /*int*/ )); +RDebugUtils.currentLine=33423370; + //BA.debugLineNum = 33423370;BA.debugLine="NewValue = Max(mMin, Min(mMax, NewValue))"; +_newvalue = (int) (__c.Max(__ref._mmin /*int*/ ,__c.Min(__ref._mmax /*int*/ ,_newvalue))); +RDebugUtils.currentLine=33423371; + //BA.debugLineNum = 33423371;BA.debugLine="If NewValue <> mValue Then"; +if (_newvalue!=__ref._mvalue /*int*/ ) { +RDebugUtils.currentLine=33423372; + //BA.debugLineNum = 33423372;BA.debugLine="If mRollOver = False Then"; +if (__ref._mrollover /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=33423373; + //BA.debugLineNum = 33423373;BA.debugLine="If Abs(NewValue - mValue) > (mMax - mMin) / 2"; +if (__c.Abs(_newvalue-__ref._mvalue /*int*/ )>(__ref._mmax /*int*/ -__ref._mmin /*int*/ )/(double)2) { +RDebugUtils.currentLine=33423374; + //BA.debugLineNum = 33423374;BA.debugLine="If mValue >= (mMax + mMin) / 2 Then"; +if (__ref._mvalue /*int*/ >=(__ref._mmax /*int*/ +__ref._mmin /*int*/ )/(double)2) { +RDebugUtils.currentLine=33423375; + //BA.debugLineNum = 33423375;BA.debugLine="mValue = mMax"; +__ref._mvalue /*int*/ = __ref._mmax /*int*/ ; }else { - //BA.debugLineNum = 140;BA.debugLine="mValue = mMin"; -_mvalue = _mmin; +RDebugUtils.currentLine=33423377; + //BA.debugLineNum = 33423377;BA.debugLine="mValue = mMin"; +__ref._mvalue /*int*/ = __ref._mmin /*int*/ ; }; }else { - //BA.debugLineNum = 143;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; +RDebugUtils.currentLine=33423380; + //BA.debugLineNum = 33423380;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; }; }else { - //BA.debugLineNum = 146;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; +RDebugUtils.currentLine=33423383; + //BA.debugLineNum = 33423383;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; }; - //BA.debugLineNum = 148;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Valu"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 149;BA.debugLine="CallSub2(mCallBack, mEventName & \"_ValueChange"; -__c.CallSubNew2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); +RDebugUtils.currentLine=33423385; + //BA.debugLineNum = 33423385;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Valu"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(int) (1))) { +RDebugUtils.currentLine=33423386; + //BA.debugLineNum = 33423386;BA.debugLine="CallSub2(mCallBack, mEventName & \"_ValueChange"; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*int*/ )); }; }; - //BA.debugLineNum = 152;BA.debugLine="Draw"; -_draw(); +RDebugUtils.currentLine=33423389; + //BA.debugLineNum = 33423389;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); }; - //BA.debugLineNum = 154;BA.debugLine="End Sub"; +RDebugUtils.currentLine=33423391; + //BA.debugLineNum = 33423391;BA.debugLine="End Sub"; return ""; } -public String _setcirclecolor(int _nonvaluecolor,int _innercolor) throws Exception{ - //BA.debugLineNum = 64;BA.debugLine="Public Sub SetCircleColor (NonValueColor As Int, I"; - //BA.debugLineNum = 65;BA.debugLine="mCircleNonValueColor = NonValueColor"; -_mcirclenonvaluecolor = _nonvaluecolor; - //BA.debugLineNum = 66;BA.debugLine="mCircleFillColor = InnerColor"; -_mcirclefillcolor = _innercolor; - //BA.debugLineNum = 67;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; +public String _setcirclecolor(reparto_intmex.keymon.lat.roundslider __ref,int _nonvaluecolor,int _innercolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setcirclecolor", true)) + {return ((String) Debug.delegate(ba, "setcirclecolor", new Object[] {_nonvaluecolor,_innercolor}));} +RDebugUtils.currentLine=33161216; + //BA.debugLineNum = 33161216;BA.debugLine="Public Sub SetCircleColor (NonValueColor As Int, I"; +RDebugUtils.currentLine=33161217; + //BA.debugLineNum = 33161217;BA.debugLine="mCircleNonValueColor = NonValueColor"; +__ref._mcirclenonvaluecolor /*int*/ = _nonvaluecolor; +RDebugUtils.currentLine=33161218; + //BA.debugLineNum = 33161218;BA.debugLine="mCircleFillColor = InnerColor"; +__ref._mcirclefillcolor /*int*/ = _innercolor; +RDebugUtils.currentLine=33161219; + //BA.debugLineNum = 33161219;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=33161220; + //BA.debugLineNum = 33161220;BA.debugLine="End Sub"; return ""; } -public String _setrange(int _newmin,int _newmax) throws Exception{ - //BA.debugLineNum = 176;BA.debugLine="Public Sub SetRange(NewMin As Int, NewMax As Int)"; - //BA.debugLineNum = 177;BA.debugLine="mMin = NewMin"; -_mmin = _newmin; - //BA.debugLineNum = 178;BA.debugLine="mMax = NewMax"; -_mmax = _newmax; - //BA.debugLineNum = 179;BA.debugLine="setValue(mValue)"; -_setvalue(_mvalue); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; +public String _setrange(reparto_intmex.keymon.lat.roundslider __ref,int _newmin,int _newmax) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setrange", true)) + {return ((String) Debug.delegate(ba, "setrange", new Object[] {_newmin,_newmax}));} +RDebugUtils.currentLine=33554432; + //BA.debugLineNum = 33554432;BA.debugLine="Public Sub SetRange(NewMin As Int, NewMax As Int)"; +RDebugUtils.currentLine=33554433; + //BA.debugLineNum = 33554433;BA.debugLine="mMin = NewMin"; +__ref._mmin /*int*/ = _newmin; +RDebugUtils.currentLine=33554434; + //BA.debugLineNum = 33554434;BA.debugLine="mMax = NewMax"; +__ref._mmax /*int*/ = _newmax; +RDebugUtils.currentLine=33554435; + //BA.debugLineNum = 33554435;BA.debugLine="setValue(mValue)"; +__ref._setvalue /*String*/ (null,__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=33554436; + //BA.debugLineNum = 33554436;BA.debugLine="End Sub"; return ""; } -public String _setthumbcolor(int _bordercolor,int _innercolor) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Public Sub SetThumbColor(BorderColor As Int, Inner"; - //BA.debugLineNum = 58;BA.debugLine="mThumbBorderColor = BorderColor"; -_mthumbbordercolor = _bordercolor; - //BA.debugLineNum = 59;BA.debugLine="mThumbInnerColor = InnerColor"; -_mthumbinnercolor = _innercolor; - //BA.debugLineNum = 60;BA.debugLine="CreateThumb"; -_createthumb(); - //BA.debugLineNum = 61;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +public String _setvalue(reparto_intmex.keymon.lat.roundslider __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=33488896; + //BA.debugLineNum = 33488896;BA.debugLine="Public Sub setValue (v As Int)"; +RDebugUtils.currentLine=33488897; + //BA.debugLineNum = 33488897;BA.debugLine="mValue = Max(mMin, Min(mMax, v))"; +__ref._mvalue /*int*/ = (int) (__c.Max(__ref._mmin /*int*/ ,__c.Min(__ref._mmax /*int*/ ,_v))); +RDebugUtils.currentLine=33488898; + //BA.debugLineNum = 33488898;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=33488899; + //BA.debugLineNum = 33488899;BA.debugLine="End Sub"; return ""; } -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 170;BA.debugLine="Public Sub setValue (v As Int)"; - //BA.debugLineNum = 171;BA.debugLine="mValue = Max(mMin, Min(mMax, v))"; -_mvalue = (int) (__c.Max(_mmin,__c.Min(_mmax,_v))); - //BA.debugLineNum = 172;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +public String _setthumbcolor(reparto_intmex.keymon.lat.roundslider __ref,int _bordercolor,int _innercolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setthumbcolor", true)) + {return ((String) Debug.delegate(ba, "setthumbcolor", new Object[] {_bordercolor,_innercolor}));} +RDebugUtils.currentLine=33095680; + //BA.debugLineNum = 33095680;BA.debugLine="Public Sub SetThumbColor(BorderColor As Int, Inner"; +RDebugUtils.currentLine=33095681; + //BA.debugLineNum = 33095681;BA.debugLine="mThumbBorderColor = BorderColor"; +__ref._mthumbbordercolor /*int*/ = _bordercolor; +RDebugUtils.currentLine=33095682; + //BA.debugLineNum = 33095682;BA.debugLine="mThumbInnerColor = InnerColor"; +__ref._mthumbinnercolor /*int*/ = _innercolor; +RDebugUtils.currentLine=33095683; + //BA.debugLineNum = 33095683;BA.debugLine="CreateThumb"; +__ref._createthumb /*String*/ (null); +RDebugUtils.currentLine=33095684; + //BA.debugLineNum = 33095684;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=33095685; + //BA.debugLineNum = 33095685;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/scrollinglabel.java b/B4A/Objects/src/reparto_intmex/keymon/lat/scrollinglabel.java index 3f55a32..968cbe6 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/scrollinglabel.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/scrollinglabel.java @@ -10,7 +10,7 @@ public class scrollinglabel extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.scrollinglabel"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.scrollinglabel"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class scrollinglabel extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -39,10 +46,10 @@ public int _mtextcolor = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -50,115 +57,28 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 41;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 42;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 43;BA.debugLine="End Sub"; +public String _base_resize(reparto_intmex.keymon.lat.scrollinglabel __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=33882112; + //BA.debugLineNum = 33882112;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=33882113; + //BA.debugLineNum = 33882113;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=33882114; + //BA.debugLineNum = 33882114;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=33882115; + //BA.debugLineNum = 33882115;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 7;BA.debugLine="Private mText As String"; -_mtext = ""; - //BA.debugLineNum = 8;BA.debugLine="Private taskIndex As Int"; -_taskindex = 0; - //BA.debugLineNum = 9;BA.debugLine="Private fnt As B4XFont"; -_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Public WidthPerSecond As Int = 100dip"; -_widthpersecond = __c.DipToCurrent((int) (100)); - //BA.debugLineNum = 13;BA.debugLine="Public StartPositionDelay As Int = 1000"; -_startpositiondelay = (int) (1000); - //BA.debugLineNum = 14;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; -_mtextcolor = _xui.Color_Black; - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XViewWrapper _l = null; - //BA.debugLineNum = 23;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 24;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 25;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 25;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 27;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 28;BA.debugLine="mBase.AddView(p, 0, 0, mBase.Width, mBase.Height)"; -_mbase.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 29;BA.debugLine="mText = Lbl.Text"; -_mtext = _lbl.getText(); - //BA.debugLineNum = 30;BA.debugLine="Dim l As B4XView = Lbl"; -_l = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_l = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 31;BA.debugLine="fnt = l.Font"; -_fnt = _l.getFont(); - //BA.debugLineNum = 32;BA.debugLine="mTextColor = l.TextColor"; -_mtextcolor = _l.getTextColor(); - //BA.debugLineNum = 33;BA.debugLine="If mTextColor = xui.Color_Transparent Then mTextC"; -if (_mtextcolor==_xui.Color_Transparent) { -_mtextcolor = _xui.Color_Black;}; - //BA.debugLineNum = 34;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 35;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 36;BA.debugLine="cvs.Initialize(p)"; -_cvs.Initialize(_p); - //BA.debugLineNum = 37;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public String _gettext() throws Exception{ - //BA.debugLineNum = 93;BA.debugLine="Public Sub getText As String"; - //BA.debugLineNum = 94;BA.debugLine="Return mText"; -if (true) return _mtext; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return ""; -} -public int _gettextcolor() throws Exception{ - //BA.debugLineNum = 126;BA.debugLine="Public Sub getTextColor As Int"; - //BA.debugLineNum = 127;BA.debugLine="Return mTextColor"; -if (true) return _mtextcolor; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 18;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 19;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 20;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return ""; -} -public float _measuretextwidth(String _s,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1) throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Private Sub MeasureTextWidth(s As String, font1 As"; - //BA.debugLineNum = 118;BA.debugLine="Return cvs.MeasureText(s, font1).Width"; -if (true) return _cvs.MeasureText(_s,_font1).getWidth(); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return 0f; -} -public String _settext(String _t) throws Exception{ +public String _settext(reparto_intmex.keymon.lat.scrollinglabel __ref,String _t) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_t}));} boolean _needtocreatenewlabel = false; anywheresoftware.b4a.objects.B4XViewWrapper _parent = null; anywheresoftware.b4a.objects.B4XViewWrapper _p = null; @@ -167,109 +87,321 @@ float _originaltextwidth = 0f; anywheresoftware.b4a.objects.LabelWrapper _lbl = null; String _duplicatetext = ""; float _width = 0f; - //BA.debugLineNum = 45;BA.debugLine="Public Sub setText(t As String)"; - //BA.debugLineNum = 46;BA.debugLine="Dim NeedToCreateNewLabel As Boolean = True"; +RDebugUtils.currentLine=33947648; + //BA.debugLineNum = 33947648;BA.debugLine="Public Sub setText(t As String)"; +RDebugUtils.currentLine=33947649; + //BA.debugLineNum = 33947649;BA.debugLine="Dim NeedToCreateNewLabel As Boolean = True"; _needtocreatenewlabel = __c.True; - //BA.debugLineNum = 47;BA.debugLine="Dim parent As B4XView = mBase.GetView(0)"; +RDebugUtils.currentLine=33947650; + //BA.debugLineNum = 33947650;BA.debugLine="Dim parent As B4XView = mBase.GetView(0)"; _parent = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_parent = _mbase.GetView((int) (0)); - //BA.debugLineNum = 48;BA.debugLine="If parent.NumberOfViews > 0 Then"; +_parent = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)); +RDebugUtils.currentLine=33947651; + //BA.debugLineNum = 33947651;BA.debugLine="If parent.NumberOfViews > 0 Then"; if (_parent.getNumberOfViews()>0) { - //BA.debugLineNum = 50;BA.debugLine="Dim p As B4XView = parent.GetView(0)"; +RDebugUtils.currentLine=33947653; + //BA.debugLineNum = 33947653;BA.debugLine="Dim p As B4XView = parent.GetView(0)"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p = _parent.GetView((int) (0)); - //BA.debugLineNum = 51;BA.debugLine="If p.Tag = \"static\" Then"; +RDebugUtils.currentLine=33947654; + //BA.debugLineNum = 33947654;BA.debugLine="If p.Tag = \"static\" Then"; if ((_p.getTag()).equals((Object)("static"))) { - //BA.debugLineNum = 52;BA.debugLine="NeedToCreateNewLabel = False"; +RDebugUtils.currentLine=33947655; + //BA.debugLineNum = 33947655;BA.debugLine="NeedToCreateNewLabel = False"; _needtocreatenewlabel = __c.False; - //BA.debugLineNum = 53;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, parent.Width, pare"; +RDebugUtils.currentLine=33947656; + //BA.debugLineNum = 33947656;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, parent.Width, pare"; _p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); - //BA.debugLineNum = 54;BA.debugLine="Dim xlbl As B4XView = p.GetView(0)"; +RDebugUtils.currentLine=33947657; + //BA.debugLineNum = 33947657;BA.debugLine="Dim xlbl As B4XView = p.GetView(0)"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = _p.GetView((int) (0)); - //BA.debugLineNum = 55;BA.debugLine="xlbl.SetLayoutAnimated(0, 0, 0, parent.Width, p"; +RDebugUtils.currentLine=33947658; + //BA.debugLineNum = 33947658;BA.debugLine="xlbl.SetLayoutAnimated(0, 0, 0, parent.Width, p"; _xlbl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); }; }; - //BA.debugLineNum = 59;BA.debugLine="Dim originalTextWidth As Float = MeasureTextWidth"; -_originaltextwidth = _measuretextwidth(_t,_fnt); - //BA.debugLineNum = 60;BA.debugLine="mText = t"; -_mtext = _t; - //BA.debugLineNum = 61;BA.debugLine="If NeedToCreateNewLabel Then"; +RDebugUtils.currentLine=33947662; + //BA.debugLineNum = 33947662;BA.debugLine="Dim originalTextWidth As Float = MeasureTextWidth"; +_originaltextwidth = __ref._measuretextwidth /*float*/ (null,_t,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=33947663; + //BA.debugLineNum = 33947663;BA.debugLine="mText = t"; +__ref._mtext /*String*/ = _t; +RDebugUtils.currentLine=33947664; + //BA.debugLineNum = 33947664;BA.debugLine="If NeedToCreateNewLabel Then"; if (_needtocreatenewlabel) { - //BA.debugLineNum = 62;BA.debugLine="parent.RemoveAllViews"; +RDebugUtils.currentLine=33947665; + //BA.debugLineNum = 33947665;BA.debugLine="parent.RemoveAllViews"; _parent.RemoveAllViews(); - //BA.debugLineNum = 63;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=33947666; + //BA.debugLineNum = 33947666;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 64;BA.debugLine="parent.AddView(p, 0, 0, parent.Width, parent.Hei"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=33947667; + //BA.debugLineNum = 33947667;BA.debugLine="parent.AddView(p, 0, 0, parent.Width, parent.Hei"; _parent.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); - //BA.debugLineNum = 65;BA.debugLine="Dim lbl As Label"; +RDebugUtils.currentLine=33947668; + //BA.debugLineNum = 33947668;BA.debugLine="Dim lbl As Label"; _lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 66;BA.debugLine="lbl.Initialize(\"\")"; +RDebugUtils.currentLine=33947669; + //BA.debugLineNum = 33947669;BA.debugLine="lbl.Initialize(\"\")"; _lbl.Initialize(ba,""); - //BA.debugLineNum = 68;BA.debugLine="lbl.SingleLine = True"; +RDebugUtils.currentLine=33947671; + //BA.debugLineNum = 33947671;BA.debugLine="lbl.SingleLine = True"; _lbl.setSingleLine(__c.True); - //BA.debugLineNum = 69;BA.debugLine="lbl.Padding = Array As Int(0, 0, 0, 0)"; +RDebugUtils.currentLine=33947672; + //BA.debugLineNum = 33947672;BA.debugLine="lbl.Padding = Array As Int(0, 0, 0, 0)"; _lbl.setPadding(new int[]{(int) (0),(int) (0),(int) (0),(int) (0)}); - //BA.debugLineNum = 71;BA.debugLine="Dim xlbl As B4XView = lbl"; +RDebugUtils.currentLine=33947674; + //BA.debugLineNum = 33947674;BA.debugLine="Dim xlbl As B4XView = lbl"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 72;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +RDebugUtils.currentLine=33947675; + //BA.debugLineNum = 33947675;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; _xlbl.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 73;BA.debugLine="xlbl.Font = fnt"; -_xlbl.setFont(_fnt); - //BA.debugLineNum = 75;BA.debugLine="p.AddView(xlbl, 0, 0, mBase.Width, mBase.Height)"; -_p.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); +RDebugUtils.currentLine=33947676; + //BA.debugLineNum = 33947676;BA.debugLine="xlbl.Font = fnt"; +_xlbl.setFont(__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=33947678; + //BA.debugLineNum = 33947678;BA.debugLine="p.AddView(xlbl, 0, 0, mBase.Width, mBase.Height)"; +_p.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); }; - //BA.debugLineNum = 77;BA.debugLine="xlbl.TextColor = mTextColor"; -_xlbl.setTextColor(_mtextcolor); - //BA.debugLineNum = 78;BA.debugLine="If originalTextWidth <= mBase.Width Then"; -if (_originaltextwidth<=_mbase.getWidth()) { - //BA.debugLineNum = 79;BA.debugLine="xlbl.Text = t"; +RDebugUtils.currentLine=33947680; + //BA.debugLineNum = 33947680;BA.debugLine="xlbl.TextColor = mTextColor"; +_xlbl.setTextColor(__ref._mtextcolor /*int*/ ); +RDebugUtils.currentLine=33947681; + //BA.debugLineNum = 33947681;BA.debugLine="If originalTextWidth <= mBase.Width Then"; +if (_originaltextwidth<=__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()) { +RDebugUtils.currentLine=33947682; + //BA.debugLineNum = 33947682;BA.debugLine="xlbl.Text = t"; _xlbl.setText(BA.ObjectToCharSequence(_t)); - //BA.debugLineNum = 80;BA.debugLine="p.Tag = \"static\""; +RDebugUtils.currentLine=33947683; + //BA.debugLineNum = 33947683;BA.debugLine="p.Tag = \"static\""; _p.setTag((Object)("static")); - //BA.debugLineNum = 81;BA.debugLine="StopScrolling"; -_stopscrolling(); +RDebugUtils.currentLine=33947684; + //BA.debugLineNum = 33947684;BA.debugLine="StopScrolling"; +__ref._stopscrolling /*String*/ (null); }else { - //BA.debugLineNum = 83;BA.debugLine="p.Tag = \"\""; +RDebugUtils.currentLine=33947686; + //BA.debugLineNum = 33947686;BA.debugLine="p.Tag = \"\""; _p.setTag((Object)("")); - //BA.debugLineNum = 84;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; +RDebugUtils.currentLine=33947687; + //BA.debugLineNum = 33947687;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; _duplicatetext = _t+" "+_t; - //BA.debugLineNum = 85;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; -_width = _measuretextwidth(_duplicatetext,_fnt); - //BA.debugLineNum = 86;BA.debugLine="p.Width = Width"; +RDebugUtils.currentLine=33947688; + //BA.debugLineNum = 33947688;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; +_width = __ref._measuretextwidth /*float*/ (null,_duplicatetext,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=33947689; + //BA.debugLineNum = 33947689;BA.debugLine="p.Width = Width"; _p.setWidth((int) (_width)); - //BA.debugLineNum = 87;BA.debugLine="xlbl.Width = Width"; +RDebugUtils.currentLine=33947690; + //BA.debugLineNum = 33947690;BA.debugLine="xlbl.Width = Width"; _xlbl.setWidth((int) (_width)); - //BA.debugLineNum = 88;BA.debugLine="xlbl.Text = duplicateText"; +RDebugUtils.currentLine=33947691; + //BA.debugLineNum = 33947691;BA.debugLine="xlbl.Text = duplicateText"; _xlbl.setText(BA.ObjectToCharSequence(_duplicatetext)); - //BA.debugLineNum = 89;BA.debugLine="StartScrolling (p, originalTextWidth)"; -_startscrolling(_p,_originaltextwidth); +RDebugUtils.currentLine=33947692; + //BA.debugLineNum = 33947692;BA.debugLine="StartScrolling (p, originalTextWidth)"; +__ref._startscrolling /*void*/ (null,_p,_originaltextwidth); }; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; +RDebugUtils.currentLine=33947694; + //BA.debugLineNum = 33947694;BA.debugLine="End Sub"; return ""; } -public String _settextcolor(int _c) throws Exception{ - //BA.debugLineNum = 121;BA.debugLine="Public Sub setTextColor(c As Int)"; - //BA.debugLineNum = 122;BA.debugLine="mTextColor = c"; -_mtextcolor = _c; - //BA.debugLineNum = 123;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +RDebugUtils.currentLine=33685504; + //BA.debugLineNum = 33685504;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=33685505; + //BA.debugLineNum = 33685505;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=33685506; + //BA.debugLineNum = 33685506;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=33685507; + //BA.debugLineNum = 33685507;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=33685508; + //BA.debugLineNum = 33685508;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=33685509; + //BA.debugLineNum = 33685509;BA.debugLine="Private mText As String"; +_mtext = ""; +RDebugUtils.currentLine=33685510; + //BA.debugLineNum = 33685510;BA.debugLine="Private taskIndex As Int"; +_taskindex = 0; +RDebugUtils.currentLine=33685511; + //BA.debugLineNum = 33685511;BA.debugLine="Private fnt As B4XFont"; +_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=33685512; + //BA.debugLineNum = 33685512;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=33685513; + //BA.debugLineNum = 33685513;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=33685514; + //BA.debugLineNum = 33685514;BA.debugLine="Public WidthPerSecond As Int = 100dip"; +_widthpersecond = __c.DipToCurrent((int) (100)); +RDebugUtils.currentLine=33685515; + //BA.debugLineNum = 33685515;BA.debugLine="Public StartPositionDelay As Int = 1000"; +_startpositiondelay = (int) (1000); +RDebugUtils.currentLine=33685516; + //BA.debugLineNum = 33685516;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; +_mtextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=33685517; + //BA.debugLineNum = 33685517;BA.debugLine="End Sub"; return ""; } -public void _startscrolling(anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) throws Exception{ -ResumableSub_StartScrolling rsub = new ResumableSub_StartScrolling(this,_p,_originalwidth); +public String _designercreateview(reparto_intmex.keymon.lat.scrollinglabel __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XViewWrapper _l = null; +RDebugUtils.currentLine=33816576; + //BA.debugLineNum = 33816576;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=33816577; + //BA.debugLineNum = 33816577;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=33816578; + //BA.debugLineNum = 33816578;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=33816578; + //BA.debugLineNum = 33816578;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=33816580; + //BA.debugLineNum = 33816580;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=33816581; + //BA.debugLineNum = 33816581;BA.debugLine="mBase.AddView(p, 0, 0, mBase.Width, mBase.Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=33816582; + //BA.debugLineNum = 33816582;BA.debugLine="mText = Lbl.Text"; +__ref._mtext /*String*/ = _lbl.getText(); +RDebugUtils.currentLine=33816583; + //BA.debugLineNum = 33816583;BA.debugLine="Dim l As B4XView = Lbl"; +_l = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_l = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=33816584; + //BA.debugLineNum = 33816584;BA.debugLine="fnt = l.Font"; +__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _l.getFont(); +RDebugUtils.currentLine=33816585; + //BA.debugLineNum = 33816585;BA.debugLine="mTextColor = l.TextColor"; +__ref._mtextcolor /*int*/ = _l.getTextColor(); +RDebugUtils.currentLine=33816586; + //BA.debugLineNum = 33816586;BA.debugLine="If mTextColor = xui.Color_Transparent Then mTextC"; +if (__ref._mtextcolor /*int*/ ==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent) { +__ref._mtextcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black;}; +RDebugUtils.currentLine=33816587; + //BA.debugLineNum = 33816587;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=33816588; + //BA.debugLineNum = 33816588;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=33816589; + //BA.debugLineNum = 33816589;BA.debugLine="cvs.Initialize(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_p); +RDebugUtils.currentLine=33816590; + //BA.debugLineNum = 33816590;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=33816591; + //BA.debugLineNum = 33816591;BA.debugLine="End Sub"; +return ""; +} +public String _gettext(reparto_intmex.keymon.lat.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((String) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=34013184; + //BA.debugLineNum = 34013184;BA.debugLine="Public Sub getText As String"; +RDebugUtils.currentLine=34013185; + //BA.debugLineNum = 34013185;BA.debugLine="Return mText"; +if (true) return __ref._mtext /*String*/ ; +RDebugUtils.currentLine=34013186; + //BA.debugLineNum = 34013186;BA.debugLine="End Sub"; +return ""; +} +public int _gettextcolor(reparto_intmex.keymon.lat.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "gettextcolor", true)) + {return ((Integer) Debug.delegate(ba, "gettextcolor", null));} +RDebugUtils.currentLine=34340864; + //BA.debugLineNum = 34340864;BA.debugLine="Public Sub getTextColor As Int"; +RDebugUtils.currentLine=34340865; + //BA.debugLineNum = 34340865;BA.debugLine="Return mTextColor"; +if (true) return __ref._mtextcolor /*int*/ ; +RDebugUtils.currentLine=34340866; + //BA.debugLineNum = 34340866;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_intmex.keymon.lat.scrollinglabel __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=33751040; + //BA.debugLineNum = 33751040;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=33751041; + //BA.debugLineNum = 33751041;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=33751042; + //BA.debugLineNum = 33751042;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=33751043; + //BA.debugLineNum = 33751043;BA.debugLine="End Sub"; +return ""; +} +public float _measuretextwidth(reparto_intmex.keymon.lat.scrollinglabel __ref,String _s,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "measuretextwidth", true)) + {return ((Float) Debug.delegate(ba, "measuretextwidth", new Object[] {_s,_font1}));} +RDebugUtils.currentLine=34209792; + //BA.debugLineNum = 34209792;BA.debugLine="Private Sub MeasureTextWidth(s As String, font1 As"; +RDebugUtils.currentLine=34209793; + //BA.debugLineNum = 34209793;BA.debugLine="Return cvs.MeasureText(s, font1).Width"; +if (true) return __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(_s,_font1).getWidth(); +RDebugUtils.currentLine=34209794; + //BA.debugLineNum = 34209794;BA.debugLine="End Sub"; +return 0f; +} +public String _stopscrolling(reparto_intmex.keymon.lat.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "stopscrolling", true)) + {return ((String) Debug.delegate(ba, "stopscrolling", null));} +RDebugUtils.currentLine=34078720; + //BA.debugLineNum = 34078720;BA.debugLine="Private Sub StopScrolling"; +RDebugUtils.currentLine=34078721; + //BA.debugLineNum = 34078721;BA.debugLine="taskIndex = taskIndex + 1"; +__ref._taskindex /*int*/ = (int) (__ref._taskindex /*int*/ +1); +RDebugUtils.currentLine=34078722; + //BA.debugLineNum = 34078722;BA.debugLine="End Sub"; +return ""; +} +public void _startscrolling(reparto_intmex.keymon.lat.scrollinglabel __ref,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) throws Exception{ +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "startscrolling", true)) + {Debug.delegate(ba, "startscrolling", new Object[] {_p,_originalwidth}); return;} +ResumableSub_StartScrolling rsub = new ResumableSub_StartScrolling(this,__ref,_p,_originalwidth); rsub.resume(ba, null); } public static class ResumableSub_StartScrolling extends BA.ResumableSub { -public ResumableSub_StartScrolling(reparto_intmex.keymon.lat.scrollinglabel parent,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) { +public ResumableSub_StartScrolling(reparto_intmex.keymon.lat.scrollinglabel parent,reparto_intmex.keymon.lat.scrollinglabel __ref,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) { this.parent = parent; +this.__ref = __ref; this._p = _p; this._originalwidth = _originalwidth; +this.__ref = parent; } +reparto_intmex.keymon.lat.scrollinglabel __ref; reparto_intmex.keymon.lat.scrollinglabel parent; anywheresoftware.b4a.objects.B4XViewWrapper _p; float _originalwidth; @@ -278,6 +410,7 @@ int _duration = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="scrollinglabel"; while (true) { switch (state) { @@ -287,27 +420,32 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 102;BA.debugLine="taskIndex = taskIndex + 1"; -parent._taskindex = (int) (parent._taskindex+1); - //BA.debugLineNum = 103;BA.debugLine="Dim myIndex As Int = taskIndex"; -_myindex = parent._taskindex; - //BA.debugLineNum = 104;BA.debugLine="Dim duration As Int = p.Width / WidthPerSecond *"; -_duration = (int) (_p.getWidth()/(double)parent._widthpersecond*1000); - //BA.debugLineNum = 105;BA.debugLine="Sleep(StartPositionDelay)"; -parent.__c.Sleep(ba,this,parent._startpositiondelay); +RDebugUtils.currentLine=34144257; + //BA.debugLineNum = 34144257;BA.debugLine="taskIndex = taskIndex + 1"; +__ref._taskindex /*int*/ = (int) (__ref._taskindex /*int*/ +1); +RDebugUtils.currentLine=34144258; + //BA.debugLineNum = 34144258;BA.debugLine="Dim myIndex As Int = taskIndex"; +_myindex = __ref._taskindex /*int*/ ; +RDebugUtils.currentLine=34144259; + //BA.debugLineNum = 34144259;BA.debugLine="Dim duration As Int = p.Width / WidthPerSecond *"; +_duration = (int) (_p.getWidth()/(double)__ref._widthpersecond /*int*/ *1000); +RDebugUtils.currentLine=34144260; + //BA.debugLineNum = 34144260;BA.debugLine="Sleep(StartPositionDelay)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "scrollinglabel", "startscrolling"),__ref._startpositiondelay /*int*/ ); this.state = 23; return; case 23: //C this.state = 1; ; - //BA.debugLineNum = 106;BA.debugLine="If myIndex <> taskIndex Then Return"; +RDebugUtils.currentLine=34144261; + //BA.debugLineNum = 34144261;BA.debugLine="If myIndex <> taskIndex Then Return"; if (true) break; case 1: //if this.state = 6; -if (_myindex!=parent._taskindex) { +if (_myindex!=__ref._taskindex /*int*/ ) { this.state = 3; ;}if (true) break; @@ -321,7 +459,8 @@ case 6: //C this.state = 7; ; - //BA.debugLineNum = 107;BA.debugLine="Do While True"; +RDebugUtils.currentLine=34144262; + //BA.debugLineNum = 34144262;BA.debugLine="Do While True"; if (true) break; case 7: @@ -336,23 +475,26 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 108;BA.debugLine="p.SetLayoutAnimated(duration, -(p.Width - Origin"; +RDebugUtils.currentLine=34144263; + //BA.debugLineNum = 34144263;BA.debugLine="p.SetLayoutAnimated(duration, -(p.Width - Origin"; _p.SetLayoutAnimated(_duration,(int) (-(_p.getWidth()-_originalwidth)),_p.getTop(),_p.getWidth(),_p.getHeight()); - //BA.debugLineNum = 109;BA.debugLine="Sleep(duration)"; -parent.__c.Sleep(ba,this,_duration); +RDebugUtils.currentLine=34144264; + //BA.debugLineNum = 34144264;BA.debugLine="Sleep(duration)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "scrollinglabel", "startscrolling"),_duration); this.state = 24; return; case 24: //C this.state = 10; ; - //BA.debugLineNum = 110;BA.debugLine="If myIndex <> taskIndex Then Return"; +RDebugUtils.currentLine=34144265; + //BA.debugLineNum = 34144265;BA.debugLine="If myIndex <> taskIndex Then Return"; if (true) break; case 10: //if this.state = 15; -if (_myindex!=parent._taskindex) { +if (_myindex!=__ref._taskindex /*int*/ ) { this.state = 12; ;}if (true) break; @@ -366,21 +508,23 @@ case 15: //C this.state = 16; ; - //BA.debugLineNum = 111;BA.debugLine="Sleep(StartPositionDelay)"; -parent.__c.Sleep(ba,this,parent._startpositiondelay); +RDebugUtils.currentLine=34144266; + //BA.debugLineNum = 34144266;BA.debugLine="Sleep(StartPositionDelay)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "scrollinglabel", "startscrolling"),__ref._startpositiondelay /*int*/ ); this.state = 25; return; case 25: //C this.state = 16; ; - //BA.debugLineNum = 112;BA.debugLine="If myIndex <> taskIndex Then Return"; +RDebugUtils.currentLine=34144267; + //BA.debugLineNum = 34144267;BA.debugLine="If myIndex <> taskIndex Then Return"; if (true) break; case 16: //if this.state = 21; -if (_myindex!=parent._taskindex) { +if (_myindex!=__ref._taskindex /*int*/ ) { this.state = 18; ;}if (true) break; @@ -394,7 +538,8 @@ case 21: //C this.state = 7; ; - //BA.debugLineNum = 113;BA.debugLine="p.SetLayoutAnimated(0, 0, p.Top, p.Width, p.Heig"; +RDebugUtils.currentLine=34144268; + //BA.debugLineNum = 34144268;BA.debugLine="p.SetLayoutAnimated(0, 0, p.Top, p.Width, p.Heig"; _p.SetLayoutAnimated((int) (0),(int) (0),_p.getTop(),_p.getWidth(),_p.getHeight()); if (true) break; @@ -402,22 +547,29 @@ case 22: //C this.state = -1; ; - //BA.debugLineNum = 115;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34144270; + //BA.debugLineNum = 34144270;BA.debugLine="End Sub"; if (true) break; } } } } -public String _stopscrolling() throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Private Sub StopScrolling"; - //BA.debugLineNum = 98;BA.debugLine="taskIndex = taskIndex + 1"; -_taskindex = (int) (_taskindex+1); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +public String _settextcolor(reparto_intmex.keymon.lat.scrollinglabel __ref,int _c) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "settextcolor", true)) + {return ((String) Debug.delegate(ba, "settextcolor", new Object[] {_c}));} +RDebugUtils.currentLine=34275328; + //BA.debugLineNum = 34275328;BA.debugLine="Public Sub setTextColor(c As Int)"; +RDebugUtils.currentLine=34275329; + //BA.debugLineNum = 34275329;BA.debugLine="mTextColor = c"; +__ref._mtextcolor /*int*/ = _c; +RDebugUtils.currentLine=34275330; + //BA.debugLineNum = 34275330;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=34275331; + //BA.debugLineNum = 34275331;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/starter.java b/B4A/Objects/src/reparto_intmex/keymon/lat/starter.java index 895d1eb..2506869 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/starter.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/starter.java @@ -14,7 +14,7 @@ public class starter extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, starter.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, true, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, true, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class starter extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.starter"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.starter"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,7 +127,8 @@ public class starter extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; + } +public anywheresoftware.b4a.keywords.Common __c = null; public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; public static uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper _flp = null; public static boolean _flpstarted = false; @@ -161,201 +162,249 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static boolean _application_error(anywheresoftware.b4a.objects.B4AException _error,String _stacktrace) throws Exception{ - //BA.debugLineNum = 81;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; - //BA.debugLineNum = 82;BA.debugLine="Return True"; -if (true) return anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return false; -} public static String _envia_ultima_gps() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "envia_ultima_gps", false)) + {return ((String) Debug.delegate(processBA, "envia_ultima_gps", null));} reparto_intmex.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 95;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; - //BA.debugLineNum = 96;BA.debugLine="If IsConnectedToInternet Then"; +RDebugUtils.currentLine=66650112; + //BA.debugLineNum = 66650112;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; +RDebugUtils.currentLine=66650113; + //BA.debugLineNum = 66650113;BA.debugLine="If IsConnectedToInternet Then"; if (_isconnectedtointernet()) { - //BA.debugLineNum = 97;BA.debugLine="Log(\"Con internet, enviamos UTR!\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("814483458","Con internet, enviamos UTR!",0); - //BA.debugLineNum = 98;BA.debugLine="Dim skmt As SQL"; +RDebugUtils.currentLine=66650114; + //BA.debugLineNum = 66650114;BA.debugLine="Log(\"Con internet, enviamos UTR!\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("266650114","Con internet, enviamos UTR!",0); +RDebugUtils.currentLine=66650115; + //BA.debugLineNum = 66650115;BA.debugLine="Dim skmt As SQL"; _skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 99;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=66650116; + //BA.debugLineNum = 66650116;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 100;BA.debugLine="Dim reqManager As DBRequestManager"; +RDebugUtils.currentLine=66650117; + //BA.debugLineNum = 66650117;BA.debugLine="Dim reqManager As DBRequestManager"; _reqmanager = new reparto_intmex.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 101;BA.debugLine="reqManager.Initialize(Me, server)"; -_reqmanager._initialize /*String*/ (processBA,starter.getObject(),_server); - //BA.debugLineNum = 103;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +RDebugUtils.currentLine=66650118; + //BA.debugLineNum = 66650118;BA.debugLine="reqManager.Initialize(Me, server)"; +_reqmanager._initialize /*String*/ (null,processBA,starter.getObject(),_server); +RDebugUtils.currentLine=66650120; + //BA.debugLineNum = 66650120;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 105;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +RDebugUtils.currentLine=66650122; + //BA.debugLineNum = 66650122;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 106;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici"; +RDebugUtils.currentLine=66650123; + //BA.debugLineNum = 66650123;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici"; if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("814483467","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 107;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +anywheresoftware.b4a.keywords.Common.LogImpl("266650123","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=66650124; + //BA.debugLineNum = 66650124;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 108;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT"; +RDebugUtils.currentLine=66650125; + //BA.debugLineNum = 66650125;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT"; mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._ultimaactualizaciongps /*String*/ = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 109;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=66650126; + //BA.debugLineNum = 66650126;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 110;BA.debugLine="cmd.Name = \"select_fechat\""; +RDebugUtils.currentLine=66650127; + //BA.debugLineNum = 66650127;BA.debugLine="cmd.Name = \"select_fechat\""; _cmd.Name /*String*/ = "select_fechat"; - //BA.debugLineNum = 111;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fechat\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("fechat")); - //BA.debugLineNum = 113;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=66650128; + //BA.debugLineNum = 66650128;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fechat\")"; +_reqmanager._executequery /*String*/ (null,_cmd,(int) (0),(Object)("fechat")); +RDebugUtils.currentLine=66650130; + //BA.debugLineNum = 66650130;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_intmex.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 114;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=66650131; + //BA.debugLineNum = 66650131;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 115;BA.debugLine="cmd.Name = \"UPDATE_INTMEX_ACTUALR4_GPS\""; +RDebugUtils.currentLine=66650132; + //BA.debugLineNum = 66650132;BA.debugLine="cmd.Name = \"UPDATE_INTMEX_ACTUALR4_GPS\""; _cmd.Name /*String*/ = "UPDATE_INTMEX_ACTUALR4_GPS"; - //BA.debugLineNum = 116;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPa"; +RDebugUtils.currentLine=66650133; + //BA.debugLineNum = 66650133;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPa"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ),(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )}; - //BA.debugLineNum = 117;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu"; +RDebugUtils.currentLine=66650134; + //BA.debugLineNum = 66650134;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu"; if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("814483478",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; - //BA.debugLineNum = 119;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_visitas")); - //BA.debugLineNum = 120;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT"; +anywheresoftware.b4a.keywords.Common.LogImpl("266650134",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; +RDebugUtils.currentLine=66650136; + //BA.debugLineNum = 66650136;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; +_reqmanager._executecommand /*String*/ (null,_cmd,(Object)("inst_visitas")); +RDebugUtils.currentLine=66650137; + //BA.debugLineNum = 66650137;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT"; _skmt.ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),"HoraIngreso"})); - //BA.debugLineNum = 123;BA.debugLine="Timer1.Enabled = False"; +RDebugUtils.currentLine=66650140; + //BA.debugLineNum = 66650140;BA.debugLine="Timer1.Enabled = False"; _timer1.setEnabled(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 124;BA.debugLine="Timer1.Interval = Interval * 1000"; +RDebugUtils.currentLine=66650141; + //BA.debugLineNum = 66650141;BA.debugLine="Timer1.Interval = Interval * 1000"; _timer1.setInterval((long) (_interval*1000)); - //BA.debugLineNum = 125;BA.debugLine="Timer1.Enabled = True"; +RDebugUtils.currentLine=66650142; + //BA.debugLineNum = 66650142;BA.debugLine="Timer1.Enabled = True"; _timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); }else { - //BA.debugLineNum = 127;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("814483488","Sin conexión a internet, no se envió UTR!",0); +RDebugUtils.currentLine=66650144; + //BA.debugLineNum = 66650144;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("266650144","Sin conexión a internet, no se envió UTR!",0); }; - //BA.debugLineNum = 129;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66650146; + //BA.debugLineNum = 66650146;BA.debugLine="End Sub"; return ""; } +public static boolean _application_error(anywheresoftware.b4a.objects.B4AException _error,String _stacktrace) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "application_error", false)) + {return ((Boolean) Debug.delegate(processBA, "application_error", new Object[] {_error,_stacktrace}));} +RDebugUtils.currentLine=66453504; + //BA.debugLineNum = 66453504;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; +RDebugUtils.currentLine=66453505; + //BA.debugLineNum = 66453505;BA.debugLine="Return True"; +if (true) return anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=66453506; + //BA.debugLineNum = 66453506;BA.debugLine="End Sub"; +return false; +} public static boolean _isconnectedtointernet() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "isconnectedtointernet", false)) + {return ((Boolean) Debug.delegate(processBA, "isconnectedtointernet", null));} anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 136;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; - //BA.debugLineNum = 137;BA.debugLine="Dim r As Reflector"; +RDebugUtils.currentLine=66715648; + //BA.debugLineNum = 66715648;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; +RDebugUtils.currentLine=66715649; + //BA.debugLineNum = 66715649;BA.debugLine="Dim r As Reflector"; _r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 138;BA.debugLine="r.Target = r.GetContext"; +RDebugUtils.currentLine=66715650; + //BA.debugLineNum = 66715650;BA.debugLine="r.Target = r.GetContext"; _r.Target = (Object)(_r.GetContext(processBA)); - //BA.debugLineNum = 139;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; +RDebugUtils.currentLine=66715651; + //BA.debugLineNum = 66715651;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; _r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); - //BA.debugLineNum = 140;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; +RDebugUtils.currentLine=66715652; + //BA.debugLineNum = 66715652;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; _r.Target = _r.RunMethod("getActiveNetworkInfo"); - //BA.debugLineNum = 141;BA.debugLine="If r.Target <> Null Then"; +RDebugUtils.currentLine=66715653; + //BA.debugLineNum = 66715653;BA.debugLine="If r.Target <> Null Then"; if (_r.Target!= null) { - //BA.debugLineNum = 142;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; +RDebugUtils.currentLine=66715654; + //BA.debugLineNum = 66715654;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); }; - //BA.debugLineNum = 144;BA.debugLine="Return False"; +RDebugUtils.currentLine=66715656; + //BA.debugLineNum = 66715656;BA.debugLine="Return False"; if (true) return anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 145;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66715657; + //BA.debugLineNum = 66715657;BA.debugLine="End Sub"; return false; } public static String _jobdone(reparto_intmex.keymon.lat.httpjob _job) throws Exception{ - //BA.debugLineNum = 147;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 151;BA.debugLine="If Job.Success = False Then"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "jobdone", false)) + {return ((String) Debug.delegate(processBA, "jobdone", new Object[] {_job}));} +RDebugUtils.currentLine=66781184; + //BA.debugLineNum = 66781184;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=66781188; + //BA.debugLineNum = 66781188;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 153;BA.debugLine="If Job.ErrorMessage.Contains(\"failed to connect\""; +RDebugUtils.currentLine=66781190; + //BA.debugLineNum = 66781190;BA.debugLine="If Job.ErrorMessage.Contains(\"failed to connect\""; if (_job._errormessage /*String*/ .contains("failed to connect") || _job._errormessage /*String*/ .contains("Failed to connect")) { - //BA.debugLineNum = 154;BA.debugLine="ToastMessageShow(\"!Hubo un error contactando al"; +RDebugUtils.currentLine=66781191; + //BA.debugLineNum = 66781191;BA.debugLine="ToastMessageShow(\"!Hubo un error contactando al"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("!Hubo un error contactando al servidor, por favor revise su conexión!"),anywheresoftware.b4a.keywords.Common.True); }; }else { }; - //BA.debugLineNum = 160;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 9;BA.debugLine="Public rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 10;BA.debugLine="Public FLP As FusedLocationProvider"; -_flp = new uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private flpStarted As Boolean"; -_flpstarted = false; - //BA.debugLineNum = 12;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 13;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 14;BA.debugLine="Private BTAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 15;BA.debugLine="Public BluetoothState As Boolean"; -_bluetoothstate = false; - //BA.debugLineNum = 16;BA.debugLine="Dim Timer1 As Timer"; -_timer1 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 17;BA.debugLine="Dim Interval As Int = 300"; -_interval = (int) (300); - //BA.debugLineNum = 21;BA.debugLine="Dim trackerActividad As String = \"501231235959\""; -_trackeractividad = "501231235959"; - //BA.debugLineNum = 22;BA.debugLine="Dim pushServiceActividad As String = \"50123123595"; -_pushserviceactividad = "501231235959"; - //BA.debugLineNum = 24;BA.debugLine="Dim MAC_IMPRESORA As String"; -_mac_impresora = ""; - //BA.debugLineNum = 25;BA.debugLine="Private logs As StringBuilder"; -_logs = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Private logcat As LogCat"; -_logcat = new anywheresoftware.b4a.phone.Phone.LogCat(); - //BA.debugLineNum = 27;BA.debugLine="Public SharedFolder As String 'Para actualizar ap"; -_sharedfolder = ""; - //BA.debugLineNum = 28;BA.debugLine="Dim cedisLocation As Location"; -_cedislocation = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new reparto_intmex.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 30;BA.debugLine="Dim server As String = \"http://keymon.net:1781\""; -_server = "http://keymon.net:1781"; - //BA.debugLineNum = 34;BA.debugLine="Dim muestraProgreso = 0"; -_muestraprogreso = BA.NumberToString(0); - //BA.debugLineNum = 35;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66781197; + //BA.debugLineNum = 66781197;BA.debugLine="End Sub"; return ""; } public static String _service_create() throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 41;BA.debugLine="ruta = File.DirInternal 'Ruta de la base de datos"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=66256896; + //BA.debugLineNum = 66256896;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=66256899; + //BA.debugLineNum = 66256899;BA.debugLine="ruta = File.DirInternal 'Ruta de la base de datos"; _ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - //BA.debugLineNum = 43;BA.debugLine="If Not(File.Exists(ruta, \"kmt.db\")) Then File.Cop"; +RDebugUtils.currentLine=66256901; + //BA.debugLineNum = 66256901;BA.debugLine="If Not(File.Exists(ruta, \"kmt.db\")) Then File.Cop"; if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(_ruta,"kmt.db"))) { anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",_ruta,"kmt.db");}; - //BA.debugLineNum = 44;BA.debugLine="Log(ruta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("814090246",_ruta,0); - //BA.debugLineNum = 45;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +RDebugUtils.currentLine=66256902; + //BA.debugLineNum = 66256902;BA.debugLine="Log(ruta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("266256902",_ruta,0); +RDebugUtils.currentLine=66256903; + //BA.debugLineNum = 66256903;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 59;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; +RDebugUtils.currentLine=66256917; + //BA.debugLineNum = 66256917;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; _timer1.Initialize(processBA,"Timer1",(long) (_interval*1000)); - //BA.debugLineNum = 60;BA.debugLine="Timer1.Enabled = True"; +RDebugUtils.currentLine=66256918; + //BA.debugLineNum = 66256918;BA.debugLine="Timer1.Enabled = True"; _timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 61;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"\")"; +RDebugUtils.currentLine=66256919; + //BA.debugLineNum = 66256919;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"\")"; _sharedfolder = _rp.GetSafeDirDefaultExternal(""); - //BA.debugLineNum = 62;BA.debugLine="cedisLocation.Initialize"; +RDebugUtils.currentLine=66256920; + //BA.debugLineNum = 66256920;BA.debugLine="cedisLocation.Initialize"; _cedislocation.Initialize(); - //BA.debugLineNum = 65;BA.debugLine="cedisLocation.Latitude = \"0\""; +RDebugUtils.currentLine=66256923; + //BA.debugLineNum = 66256923;BA.debugLine="cedisLocation.Latitude = \"0\""; _cedislocation.setLatitude((double)(Double.parseDouble("0"))); - //BA.debugLineNum = 66;BA.debugLine="cedisLocation.Longitude = \"0\""; +RDebugUtils.currentLine=66256924; + //BA.debugLineNum = 66256924;BA.debugLine="cedisLocation.Longitude = \"0\""; _cedislocation.setLongitude((double)(Double.parseDouble("0"))); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66256925; + //BA.debugLineNum = 66256925;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 85;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 87;BA.debugLine="End Sub"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=66519040; + //BA.debugLineNum = 66519040;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=66519042; + //BA.debugLineNum = 66519042;BA.debugLine="End Sub"; return ""; } public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 69;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 70;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=66322432; + //BA.debugLineNum = 66322432;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=66322433; + //BA.debugLineNum = 66322433;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 74;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66322437; + //BA.debugLineNum = 66322437;BA.debugLine="End Sub"; return ""; } public static String _service_taskremoved() throws Exception{ - //BA.debugLineNum = 76;BA.debugLine="Sub Service_TaskRemoved"; - //BA.debugLineNum = 78;BA.debugLine="End Sub"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_taskremoved", false)) + {return ((String) Debug.delegate(processBA, "service_taskremoved", null));} +RDebugUtils.currentLine=66387968; + //BA.debugLineNum = 66387968;BA.debugLine="Sub Service_TaskRemoved"; +RDebugUtils.currentLine=66387970; + //BA.debugLineNum = 66387970;BA.debugLine="End Sub"; return ""; } public static String _timer1_tick() throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Private Sub Timer1_Tick"; - //BA.debugLineNum = 92;BA.debugLine="ENVIA_ULTIMA_GPS"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "timer1_tick", false)) + {return ((String) Debug.delegate(processBA, "timer1_tick", null));} +RDebugUtils.currentLine=66584576; + //BA.debugLineNum = 66584576;BA.debugLine="Private Sub Timer1_Tick"; +RDebugUtils.currentLine=66584579; + //BA.debugLineNum = 66584579;BA.debugLine="ENVIA_ULTIMA_GPS"; _envia_ultima_gps(); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66584580; + //BA.debugLineNum = 66584580;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/subs.java b/B4A/Objects/src/reparto_intmex/keymon/lat/subs.java index cf3289a..99d853f 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/subs.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/subs.java @@ -10,7 +10,8 @@ private static subs mostCurrent = new subs(); public static Object getObject() { throw new RuntimeException("Code module does not support this method."); } - public anywheresoftware.b4a.keywords.Common __c = null; + +public anywheresoftware.b4a.keywords.Common __c = null; public static de.donmanfred.GZipStringswrapper _gzip = null; public static anywheresoftware.b4a.objects.StringUtils _su = null; public static anywheresoftware.b4a.phone.Phone _phn = null; @@ -23,1353 +24,718 @@ public static int _rutahrsatras = 0; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static String _agregacolumna(anywheresoftware.b4a.BA _ba,String _tabla,String _columna,String _tipo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 966;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 967;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 968;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"S"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 969;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 970;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 971;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 = 972;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("835520518",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e9); //BA.debugLineNum = 975;BA.debugLine="Try"; -try { //BA.debugLineNum = 976;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 = 977;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("835520523",("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 = 979;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("835520525",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - }; - //BA.debugLineNum = 982;BA.debugLine="End Sub"; -return ""; -} -public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 441;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; - //BA.debugLineNum = 442;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 443;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite"; -anywheresoftware.b4a.keywords.Common.LogImpl("833357826","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 444;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 = 445;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; -_errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 447;BA.debugLine="End Sub"; -return ""; -} -public static String _borraarribade600renglonesbitacora(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 450;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; - //BA.debugLineNum = 451;BA.debugLine="revisaBD"; -_revisabd(_ba); - //BA.debugLineNum = 452;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim"; -anywheresoftware.b4a.keywords.Common.LogImpl("833423362","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 453;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 454;BA.debugLine="c = kmt.ExecQuery(\"select fecha from bitacora\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select fecha from bitacora"))); - //BA.debugLineNum = 455;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 456;BA.debugLine="If c.RowCount > 650 Then"; -if (_c.getRowCount()>650) { - //BA.debugLineNum = 457;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fec"; -_kmt.ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"); - //BA.debugLineNum = 458;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - }; - //BA.debugLineNum = 461;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 462;BA.debugLine="End Sub"; -return ""; -} -public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 329;BA.debugLine="Sub borraLogDB 'ignore"; - //BA.debugLineNum = 330;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833030145","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 331;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; -_kmt.ExecNonQuery("delete from bitacora"); - //BA.debugLineNum = 332;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 333;BA.debugLine="End Sub"; -return ""; -} -public static String _borramosarchivogps(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -String _s = ""; -byte[] _t = null; - //BA.debugLineNum = 186;BA.debugLine="Sub borramosArchivoGPS 'ignore"; - //BA.debugLineNum = 187;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 188;BA.debugLine="Dim s As String = \"\""; -_s = ""; - //BA.debugLineNum = 189;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; -_t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 190;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; -_out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 191;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 192;BA.debugLine="End Sub"; -return ""; -} -public static String _centraboton(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ButtonWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 619;BA.debugLine="Sub centraBoton(elemento As Button, anchoElementoS"; - //BA.debugLineNum = 620;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 621;BA.debugLine="End Sub"; -return ""; -} -public static String _centraetiqueta(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 614;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; - //BA.debugLineNum = 615;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 616;BA.debugLine="End Sub"; -return ""; -} -public static String _centralistview(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 604;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem"; - //BA.debugLineNum = 605;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 606;BA.debugLine="End Sub"; +public static String _panelvisible(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _panel,int _top,int _left) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "panelvisible", false)) + {return ((String) Debug.delegate(null, "panelvisible", new Object[] {_ba,_panel,_top,_left}));} +RDebugUtils.currentLine=69206016; + //BA.debugLineNum = 69206016;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +RDebugUtils.currentLine=69206017; + //BA.debugLineNum = 69206017;BA.debugLine="panel.BringToFront"; +_panel.BringToFront(); +RDebugUtils.currentLine=69206018; + //BA.debugLineNum = 69206018;BA.debugLine="panel.Visible = True"; +_panel.setVisible(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=69206019; + //BA.debugLineNum = 69206019;BA.debugLine="panel.Top = top"; +_panel.setTop(_top); +RDebugUtils.currentLine=69206020; + //BA.debugLineNum = 69206020;BA.debugLine="panel.Left = left"; +_panel.setLeft(_left); +RDebugUtils.currentLine=69206021; + //BA.debugLineNum = 69206021;BA.debugLine="End Sub"; return ""; } public static String _centrapanel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 609;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; - //BA.debugLineNum = 610;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centrapanel", false)) + {return ((String) Debug.delegate(null, "centrapanel", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=69533696; + //BA.debugLineNum = 69533696;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +RDebugUtils.currentLine=69533697; + //BA.debugLineNum = 69533697;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; _elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 611;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69533698; + //BA.debugLineNum = 69533698;BA.debugLine="End Sub"; return ""; } -public static String _compress(anywheresoftware.b4a.BA _ba,String _str) throws Exception{ -byte[] _compressed = null; -String _base64 = ""; - //BA.debugLineNum = 39;BA.debugLine="Sub compress(str As String) As String 'ignore"; - //BA.debugLineNum = 41;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; -_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("831588358",("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"; -return ""; -} -public static String _copiadb(anywheresoftware.b4a.BA _ba,boolean _result) throws Exception{ -String _p = ""; -String _thedir = ""; - //BA.debugLineNum = 538;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; - //BA.debugLineNum = 539;BA.debugLine="If result Then"; -if (_result) { - //BA.debugLineNum = 540;BA.debugLine="Dim p As String"; -_p = ""; - //BA.debugLineNum = 541;BA.debugLine="If File.ExternalWritable Then"; -if (anywheresoftware.b4a.keywords.Common.File.getExternalWritable()) { - //BA.debugLineNum = 542;BA.debugLine="p = File.DirInternal"; -_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - }else { - //BA.debugLineNum = 545;BA.debugLine="p = File.DirInternal"; -_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); +public static String _agregacolumna(anywheresoftware.b4a.BA _ba,String _tabla,String _columna,String _tipo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "agregacolumna", false)) + {return ((String) Debug.delegate(null, "agregacolumna", new Object[] {_ba,_tabla,_columna,_tipo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=70909952; + //BA.debugLineNum = 70909952;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=70909953; + //BA.debugLineNum = 70909953;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=70909954; + //BA.debugLineNum = 70909954;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"S"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=70909955; + //BA.debugLineNum = 70909955;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=70909956; + //BA.debugLineNum = 70909956;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=70909957; + //BA.debugLineNum = 70909957;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=70909958; + //BA.debugLineNum = 70909958;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +anywheresoftware.b4a.keywords.Common.LogImpl("270909958",("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); }; - //BA.debugLineNum = 548;BA.debugLine="Dim theDir As String"; -_thedir = ""; - //BA.debugLineNum = 549;BA.debugLine="Try"; -try { //BA.debugLineNum = 550;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; -anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmts"); - //BA.debugLineNum = 551;BA.debugLine="theDir = \"/kmts\""; -_thedir = "/kmts"; + } + catch (Exception e9) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e9);RDebugUtils.currentLine=70909961; + //BA.debugLineNum = 70909961;BA.debugLine="Try"; +try {RDebugUtils.currentLine=70909962; + //BA.debugLineNum = 70909962;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=70909963; + //BA.debugLineNum = 70909963;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +anywheresoftware.b4a.keywords.Common.LogImpl("270909963",("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 = 553;BA.debugLine="theDir = \"\""; -_thedir = ""; + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13);RDebugUtils.currentLine=70909965; + //BA.debugLineNum = 70909965;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("270909965",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); }; - //BA.debugLineNum = 555;BA.debugLine="Try"; -try { //BA.debugLineNum = 556;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.File.getDirInternal()+_thedir,"guna_rep_kmt.db"); - //BA.debugLineNum = 557;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),anywheresoftware.b4a.keywords.Common.False); - } - catch (Exception e19) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19); //BA.debugLineNum = 559;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))),anywheresoftware.b4a.keywords.Common.True); }; - //BA.debugLineNum = 561;BA.debugLine="Log(\"rootExternal=\"&p)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833751063","rootExternal="+_p,0); - //BA.debugLineNum = 562;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833751064","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); - //BA.debugLineNum = 563;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833751065","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); - }else { - //BA.debugLineNum = 565;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); - }; - //BA.debugLineNum = 567;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70909968; + //BA.debugLineNum = 70909968;BA.debugLine="End Sub"; return ""; } -public static anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _createbitmapwithnumber(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _originalbitmap,int _number) throws Exception{ -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _newbitmap = null; -anywheresoftware.b4a.objects.drawable.CanvasWrapper _canvas = null; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _destrect = null; - //BA.debugLineNum = 1058;BA.debugLine="Sub CreateBitmapWithNumber(OriginalBitmap As Bitma"; - //BA.debugLineNum = 1059;BA.debugLine="Dim NewBitmap As Bitmap"; -_newbitmap = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 1060;BA.debugLine="NewBitmap.InitializeMutable(OriginalBitmap.Width,"; -_newbitmap.InitializeMutable(_originalbitmap.getWidth(),_originalbitmap.getHeight()); - //BA.debugLineNum = 1062;BA.debugLine="Dim Canvas As Canvas"; -_canvas = new anywheresoftware.b4a.objects.drawable.CanvasWrapper(); - //BA.debugLineNum = 1063;BA.debugLine="Canvas.Initialize2(NewBitmap)"; -_canvas.Initialize2((android.graphics.Bitmap)(_newbitmap.getObject())); - //BA.debugLineNum = 1066;BA.debugLine="Dim DestRect As Rect"; -_destrect = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); - //BA.debugLineNum = 1067;BA.debugLine="DestRect.Initialize(0, 0, OriginalBitmap.Width, O"; -_destrect.Initialize((int) (0),(int) (0),_originalbitmap.getWidth(),_originalbitmap.getHeight()); - //BA.debugLineNum = 1070;BA.debugLine="Canvas.DrawBitmap(OriginalBitmap, Null, DestRect)"; -_canvas.DrawBitmap((android.graphics.Bitmap)(_originalbitmap.getObject()),(android.graphics.Rect)(anywheresoftware.b4a.keywords.Common.Null),(android.graphics.Rect)(_destrect.getObject())); - //BA.debugLineNum = 1073;BA.debugLine="Canvas.DrawText(Number, (OriginalBitmap.Width / 2"; -_canvas.DrawText(_ba,BA.NumberToString(_number),(float) ((_originalbitmap.getWidth()/(double)2)),(float) ((_originalbitmap.getHeight()/(double)2.4)),anywheresoftware.b4a.keywords.Common.Typeface.DEFAULT,(float) (20),anywheresoftware.b4a.keywords.Common.Colors.White,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - //BA.debugLineNum = 1075;BA.debugLine="Return NewBitmap"; -if (true) return _newbitmap; - //BA.debugLineNum = 1076;BA.debugLine="End Sub"; -return null; -} -public static String _dameerroresjson(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.sql.SQL _sql,int _maxerrores,boolean _comprimido) throws Exception{ -anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _j = null; -String _lim = ""; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _cur = null; -anywheresoftware.b4a.objects.collections.List _l = null; -int _i = 0; -anywheresoftware.b4a.objects.collections.Map _m = null; -anywheresoftware.b4a.objects.collections.Map _m2 = null; - //BA.debugLineNum = 475;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; - //BA.debugLineNum = 476;BA.debugLine="Log(\"dameErroresJSON\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("833554433","dameErroresJSON",0); - //BA.debugLineNum = 477;BA.debugLine="Private j As JSONGenerator"; -_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 478;BA.debugLine="Private lim As String"; -_lim = ""; - //BA.debugLineNum = 479;BA.debugLine="Private cur As ResultSet"; -_cur = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); - //BA.debugLineNum = 480;BA.debugLine="Private l As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 481;BA.debugLine="Private i As Int = 0"; -_i = (int) (0); - //BA.debugLineNum = 482;BA.debugLine="l.Initialize"; -_l.Initialize(); - //BA.debugLineNum = 483;BA.debugLine="Dim m, m2 As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m2 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 484;BA.debugLine="m2.Initialize"; -_m2.Initialize(); - //BA.debugLineNum = 485;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; -if (_maxerrores==0) { -_lim = "";} -else { -_lim = "limit "+BA.NumberToString(_maxerrores);}; - //BA.debugLineNum = 486;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order"; -_cur = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_sql.ExecQuery("select * from errores order by fecha desc "+_lim))); - //BA.debugLineNum = 487;BA.debugLine="Do While cur.NextRow"; -while (_cur.NextRow()) { - //BA.debugLineNum = 488;BA.debugLine="m.Initialize"; -_m.Initialize(); - //BA.debugLineNum = 489;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; -_m.Put((Object)("fecha"),(Object)(_cur.GetString("fecha"))); - //BA.debugLineNum = 490;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; -_m.Put((Object)("error"),(Object)(_cur.GetString("error"))); - //BA.debugLineNum = 491;BA.debugLine="m2.Put(i,m)"; -_m2.Put((Object)(_i),(Object)(_m.getObject())); - //BA.debugLineNum = 492;BA.debugLine="i = i + 1"; -_i = (int) (_i+1); - } -; - //BA.debugLineNum = 494;BA.debugLine="cur.Close"; -_cur.Close(); - //BA.debugLineNum = 495;BA.debugLine="j.Initialize(m2)"; -_j.Initialize(_m2); - //BA.debugLineNum = 496;BA.debugLine="Log(j.ToString)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833554453",_j.ToString(),0); - //BA.debugLineNum = 497;BA.debugLine="If comprimido Then"; -if (_comprimido) { - //BA.debugLineNum = 498;BA.debugLine="Return compress(j.ToString)"; -if (true) return _compress(_ba,_j.ToString()); - }else { - //BA.debugLineNum = 500;BA.debugLine="Return j.ToString"; -if (true) return _j.ToString(); - }; - //BA.debugLineNum = 502;BA.debugLine="End Sub"; +public static String _centraboton(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ButtonWrapper _elemento,int _anchoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centraboton", false)) + {return ((String) Debug.delegate(null, "centraboton", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=69664768; + //BA.debugLineNum = 69664768;BA.debugLine="Sub centraBoton(elemento As Button, anchoElementoS"; +RDebugUtils.currentLine=69664769; + //BA.debugLineNum = 69664769;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); +RDebugUtils.currentLine=69664770; + //BA.debugLineNum = 69664770;BA.debugLine="End Sub"; return ""; } -public static String _dameruta(anywheresoftware.b4a.BA _ba,String _inicioruta,String _origenruta) throws Exception{ -String _fechainicio = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _ruta2 = ""; -int _i = 0; - //BA.debugLineNum = 142;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; - //BA.debugLineNum = 144;BA.debugLine="Dim fechaInicio As String"; -_fechainicio = ""; - //BA.debugLineNum = 145;BA.debugLine="Try 'incioRuta es numero"; -try { //BA.debugLineNum = 146;BA.debugLine="inicioRuta = inicioRuta * 1"; -_inicioruta = BA.NumberToString((double)(Double.parseDouble(_inicioruta))*1); - //BA.debugLineNum = 148;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime."; -_fechainicio = _fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(anywheresoftware.b4a.keywords.Common.DateTime.TicksPerHour*(double)(Double.parseDouble(_inicioruta))))); - } - catch (Exception e6) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 150;BA.debugLine="fechaInicio = fechaInicioHoy"; -_fechainicio = _fechainiciohoy(_ba); - }; - //BA.debugLineNum = 153;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("832112651","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("; -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_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("832112654","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"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 159;BA.debugLine="Dim ruta2 As String = \"\""; -_ruta2 = ""; - //BA.debugLineNum = 160;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 161;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step16 = 1; -final int limit16 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 162;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 163;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; -_ruta2 = _ruta2+anywheresoftware.b4a.keywords.Common.CRLF+_c.GetString("LAT")+","+_c.GetString("LON")+","+_c.GetString("FECHA"); - //BA.debugLineNum = 164;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; -mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._fecharuta /*String*/ = _c.GetString("FECHA"); - } -}; - }; - //BA.debugLineNum = 167;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 168;BA.debugLine="Return compress(ruta2)"; -if (true) return _compress(_ba,_ruta2); - //BA.debugLineNum = 169;BA.debugLine="End Sub"; -return ""; -} -public static String _dameusuariodedb(anywheresoftware.b4a.BA _ba) throws Exception{ +public static String _traeusuariodebd(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeusuariodebd", false)) + {return ((String) Debug.delegate(null, "traeusuariodebd", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _u = ""; - //BA.debugLineNum = 583;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; - //BA.debugLineNum = 584;BA.debugLine="Private c As Cursor"; +RDebugUtils.currentLine=68026368; + //BA.debugLineNum = 68026368;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; +RDebugUtils.currentLine=68026369; + //BA.debugLineNum = 68026369;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 585;BA.debugLine="Private u As String = \"SinUsuario\""; +RDebugUtils.currentLine=68026370; + //BA.debugLineNum = 68026370;BA.debugLine="Private u As String = \"SinUsuario\""; _u = "SinUsuario"; - //BA.debugLineNum = 586;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +RDebugUtils.currentLine=68026371; + //BA.debugLineNum = 68026371;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { _revisabd(_ba);}; - //BA.debugLineNum = 587;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +RDebugUtils.currentLine=68026372; + //BA.debugLineNum = 68026372;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 588;BA.debugLine="c.Position=0"; +RDebugUtils.currentLine=68026373; + //BA.debugLineNum = 68026373;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 589;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +RDebugUtils.currentLine=68026374; + //BA.debugLineNum = 68026374;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; if (_c.getRowCount()>0) { _u = _c.GetString("USUARIO");}; - //BA.debugLineNum = 590;BA.debugLine="c.Close"; +RDebugUtils.currentLine=68026375; + //BA.debugLineNum = 68026375;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 591;BA.debugLine="Return u"; +RDebugUtils.currentLine=68026376; + //BA.debugLineNum = 68026376;BA.debugLine="Return u"; if (true) return _u; - //BA.debugLineNum = 592;BA.debugLine="End Sub"; +RDebugUtils.currentLine=68026377; + //BA.debugLineNum = 68026377;BA.debugLine="End Sub"; return ""; } -public static String _decompress(anywheresoftware.b4a.BA _ba,String _base64) throws Exception{ -byte[] _decompressedbytes = null; -anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; -String _uncompressed = ""; - //BA.debugLineNum = 51;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; - //BA.debugLineNum = 52;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; -_decompressedbytes = _su.DecodeBase64(_base64); - //BA.debugLineNum = 54;BA.debugLine="Dim bc As ByteConverter"; -_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("831653893",("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"; +public static String _traeruta(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeruta", false)) + {return ((String) Debug.delegate(null, "traeruta", new Object[] {_ba,_cliente}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +RDebugUtils.currentLine=70189056; + //BA.debugLineNum = 70189056;BA.debugLine="Sub traeRuta (cliente As String) As String 'ignore"; +RDebugUtils.currentLine=70189057; + //BA.debugLineNum = 70189057;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=70189058; + //BA.debugLineNum = 70189058;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=70189059; + //BA.debugLineNum = 70189059;BA.debugLine="c=Starter.skmt.ExecQuery($\"select CAT_CL_RUTA fro"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); +RDebugUtils.currentLine=70189060; + //BA.debugLineNum = 70189060;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=70189061; + //BA.debugLineNum = 70189061;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=70189062; + //BA.debugLineNum = 70189062;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=70189063; + //BA.debugLineNum = 70189063;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +_r = _c.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=70189065; + //BA.debugLineNum = 70189065;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=70189066; + //BA.debugLineNum = 70189066;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=70189067; + //BA.debugLineNum = 70189067;BA.debugLine="End Sub"; return ""; } -public static String _deleteerrorlog_db(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 178;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; - //BA.debugLineNum = 179;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 180;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; -_errorlog.ExecNonQuery("delete from errores"); - //BA.debugLineNum = 181;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; -_errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 182;BA.debugLine="ToastMessageShow(\"Borrada\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borrada"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 183;BA.debugLine="End Sub"; -return ""; -} -public static String _deletegps_db(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 172;BA.debugLine="Sub deleteGPS_DB 'ignore"; - //BA.debugLineNum = 173;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; -_kmt.ExecNonQuery("delete from RUTA_GPS"); - //BA.debugLineNum = 174;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 175;BA.debugLine="End Sub"; -return ""; -} -public static String _fechainiciohoy(anywheresoftware.b4a.BA _ba) throws Exception{ -String _origformat = ""; -String _h = ""; - //BA.debugLineNum = 288;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; - //BA.debugLineNum = 289;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 290;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); - //BA.debugLineNum = 291;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; -_h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow())+"000000"; - //BA.debugLineNum = 292;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 293;BA.debugLine="Log(\"Hoy=\"&h)"; -anywheresoftware.b4a.keywords.Common.LogImpl("832768005","Hoy="+_h,0); - //BA.debugLineNum = 294;BA.debugLine="Return h"; -if (true) return _h; - //BA.debugLineNum = 295;BA.debugLine="End Sub"; +public static String _traecliente(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecliente", false)) + {return ((String) Debug.delegate(null, "traecliente", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _cli = null; +String _cl = ""; +RDebugUtils.currentLine=70057984; + //BA.debugLineNum = 70057984;BA.debugLine="Sub traeCliente As String 'ignore"; +RDebugUtils.currentLine=70057985; + //BA.debugLineNum = 70057985;BA.debugLine="Private cli As Cursor = Starter.skmt.ExecQuery(\"S"; +_cli = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cli = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=70057986; + //BA.debugLineNum = 70057986;BA.debugLine="cli.Position = 0"; +_cli.setPosition((int) (0)); +RDebugUtils.currentLine=70057987; + //BA.debugLineNum = 70057987;BA.debugLine="Private cl As String = cli.GetString(\"CUENTA\")"; +_cl = _cli.GetString("CUENTA"); +RDebugUtils.currentLine=70057988; + //BA.debugLineNum = 70057988;BA.debugLine="cli.Close"; +_cli.Close(); +RDebugUtils.currentLine=70057989; + //BA.debugLineNum = 70057989;BA.debugLine="Log(\"Algo paso...\"& cl)"; +anywheresoftware.b4a.keywords.Common.LogImpl("270057989","Algo paso..."+_cl,0); +RDebugUtils.currentLine=70057990; + //BA.debugLineNum = 70057990;BA.debugLine="Return cl"; +if (true) return _cl; +RDebugUtils.currentLine=70057991; + //BA.debugLineNum = 70057991;BA.debugLine="End Sub"; return ""; } public static String _fechakmt(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "fechakmt", false)) + {return ((String) Debug.delegate(null, "fechakmt", new Object[] {_ba,_fecha}));} String _origformat = ""; String _nuevafecha = ""; - //BA.debugLineNum = 62;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; - //BA.debugLineNum = 64;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +RDebugUtils.currentLine=67108864; + //BA.debugLineNum = 67108864;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +RDebugUtils.currentLine=67108866; + //BA.debugLineNum = 67108866;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; _origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 65;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +RDebugUtils.currentLine=67108867; + //BA.debugLineNum = 67108867;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 66;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +RDebugUtils.currentLine=67108868; + //BA.debugLineNum = 67108868;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; _nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 67;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +RDebugUtils.currentLine=67108869; + //BA.debugLineNum = 67108869;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 69;BA.debugLine="Return nuevaFecha"; +RDebugUtils.currentLine=67108871; + //BA.debugLineNum = 67108871;BA.debugLine="Return nuevaFecha"; if (true) return _nuevafecha; - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentLine=67108872; + //BA.debugLineNum = 67108872;BA.debugLine="End Sub"; return ""; } -public static long _fechakmt2ticks(anywheresoftware.b4a.BA _ba,String _fkmt) throws Exception{ -String _partefecha = ""; -String _partehora = ""; -String _origformat = ""; -long _ticks = 0L; - //BA.debugLineNum = 505;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; - //BA.debugLineNum = 506;BA.debugLine="Try"; -try { //BA.debugLineNum = 507;BA.debugLine="If fKMT.Length = 12 Then"; -if (_fkmt.length()==12) { - //BA.debugLineNum = 508;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; -_partefecha = _fkmt.substring((int) (0),(int) (6)); - //BA.debugLineNum = 509;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; -_partehora = _fkmt.substring((int) (6)); - //BA.debugLineNum = 510;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 511;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); - //BA.debugLineNum = 512;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 513;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; -_ticks = anywheresoftware.b4a.keywords.Common.DateTime.DateTimeParse(_partefecha,_partehora); - //BA.debugLineNum = 515;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 516;BA.debugLine="Return ticks"; -if (true) return _ticks; - }else { - //BA.debugLineNum = 518;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; -anywheresoftware.b4a.keywords.Common.LogImpl("833619981","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); - //BA.debugLineNum = 519;BA.debugLine="Return 0"; -if (true) return (long) (0); - }; - } - catch (Exception e16) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 522;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833619985",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - //BA.debugLineNum = 523;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; -anywheresoftware.b4a.keywords.Common.LogImpl("833619986",("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 = 524;BA.debugLine="Return 0"; -if (true) return (long) (0); - }; - //BA.debugLineNum = 526;BA.debugLine="End Sub"; -return 0L; -} -public static String _getphnid(anywheresoftware.b4a.BA _ba) throws Exception{ -String _t = ""; -String _s = ""; - //BA.debugLineNum = 19;BA.debugLine="Sub getPhnId As String 'ignore"; - //BA.debugLineNum = 21;BA.debugLine="devModel = phn.Model"; -_devmodel = _phn.getModel(); - //BA.debugLineNum = 22;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; -if (_devmodel.length()<=3) { - //BA.debugLineNum = 23;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; -_t = _phn.GetSettings("android_id"); - //BA.debugLineNum = 24;BA.debugLine="devModel = t"; -_devmodel = _t; - }; - //BA.debugLineNum = 26;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; -if (_devmodel.length()>=3) { - //BA.debugLineNum = 27;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; -anywheresoftware.b4a.keywords.Common.File.WriteString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt",_devmodel); - }else if(_devmodel.length()<3) { - //BA.debugLineNum = 30;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; -_s = anywheresoftware.b4a.keywords.Common.File.ReadString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt"); - //BA.debugLineNum = 31;BA.debugLine="devModel = s"; -_devmodel = _s; - }; - //BA.debugLineNum = 35;BA.debugLine="Return devModel"; -if (true) return _devmodel; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public static String _getssid(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 224;BA.debugLine="Sub getSSID 'ignore"; - //BA.debugLineNum = 229;BA.debugLine="End Sub"; -return ""; -} -public static String _guardainfoenarchivo(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ -String _origformat = ""; -String _lastupdate = ""; -String _ubic = ""; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -String _s = ""; -byte[] _t = null; - //BA.debugLineNum = 112;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; - //BA.debugLineNum = 114;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 115;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MMM-dd HH:mm:ss"); - //BA.debugLineNum = 116;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; -_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 117;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 119;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; -_ubic = _coords+","+_lastupdate; - //BA.debugLineNum = 120;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 121;BA.debugLine="Dim s As String = ubic & CRLF"; -_s = _ubic+anywheresoftware.b4a.keywords.Common.CRLF; - //BA.debugLineNum = 122;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; -_t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 123;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; -_out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 124;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 125;BA.debugLine="End Sub"; -return ""; -} -public static String _guardainfoenbd(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ -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_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("832047105","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); - //BA.debugLineNum = 132;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; -if (_latlon.length<2) { -_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);}; - //BA.debugLineNum = 134;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 135;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha, l"; -_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])})); - } - catch (Exception e8) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 137;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("832047113",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - //BA.debugLineNum = 139;BA.debugLine="End Sub"; -return ""; -} -public static String _hmskmt(anywheresoftware.b4a.BA _ba) throws Exception{ -String _origformat = ""; -String _nuevahora = ""; - //BA.debugLineNum = 73;BA.debugLine="Sub hmsKMT As String 'ignore"; - //BA.debugLineNum = 75;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 76;BA.debugLine="DateTime.DateFormat=\"HHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("HHmmss"); - //BA.debugLineNum = 77;BA.debugLine="Private nuevaHora As String=DateTime.Date(DateTim"; -_nuevahora = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 78;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 80;BA.debugLine="Return nuevaHora"; -if (true) return _nuevahora; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; -return ""; -} -public static String _insertaenerrores(anywheresoftware.b4a.BA _ba,String _error) throws Exception{ - //BA.debugLineNum = 577;BA.debugLine="Sub insertaEnErrores(error As String) 'ignore"; - //BA.debugLineNum = 578;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 579;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fecha"; -_errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_error)})); - //BA.debugLineNum = 580;BA.debugLine="End Sub"; -return ""; -} -public static String _insertarenglonespruebaenerrorlog(anywheresoftware.b4a.BA _ba) throws Exception{ -int _x = 0; - //BA.debugLineNum = 465;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; - //BA.debugLineNum = 466;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 467;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("833488898","insertamos 50 renglones a errorLog",0); - //BA.debugLineNum = 468;BA.debugLine="For x = 1 To 50"; -{ -final int step3 = 1; -final int limit3 = (int) (50); -_x = (int) (1) ; -for (;_x <= limit3 ;_x = _x + step3 ) { - //BA.debugLineNum = 469;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 = 470;BA.debugLine="Log(x)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833488901",BA.NumberToString(_x),0); - } -}; - //BA.debugLineNum = 472;BA.debugLine="End Sub"; -return ""; -} -public static String _installapk(anywheresoftware.b4a.BA _ba,String _dir,String _apk) throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 528;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; - //BA.debugLineNum = 529;BA.debugLine="If File.Exists(dir, apk) Then"; -if (anywheresoftware.b4a.keywords.Common.File.Exists(_dir,_apk)) { - //BA.debugLineNum = 530;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 531;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; -_i.Initialize(_i.ACTION_VIEW,"file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_dir,_apk)); - //BA.debugLineNum = 532;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; -_i.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 533;BA.debugLine="StartActivity(i)"; -anywheresoftware.b4a.keywords.Common.StartActivity((_ba.processBA == null ? _ba : _ba.processBA),(Object)(_i.getObject())); - }; - //BA.debugLineNum = 535;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _json2map(anywheresoftware.b4a.BA _ba,String _thejson) throws Exception{ -anywheresoftware.b4a.objects.collections.JSONParser _json = null; -anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 232;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; - //BA.debugLineNum = 234;BA.debugLine="Try"; -try { //BA.debugLineNum = 235;BA.debugLine="Private json As JSONParser"; -_json = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 236;BA.debugLine="json.Initialize(theJson)"; -_json.Initialize(_thejson); - //BA.debugLineNum = 237;BA.debugLine="Return json.NextObject"; -if (true) return _json.NextObject(); - } - catch (Exception e6) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 239;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("832505863",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - //BA.debugLineNum = 240;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; -_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); - //BA.debugLineNum = 241;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("title"),(Object)("Error generating JSON"),(Object)("t"),(Object)("Error"),(Object)("Message"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject()),(Object)("text"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject())}); - //BA.debugLineNum = 242;BA.debugLine="Return m"; -if (true) return _m; - }; - //BA.debugLineNum = 244;BA.debugLine="End Sub"; -return null; -} -public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{ - //BA.debugLineNum = 298;BA.debugLine="Sub log2DB(texto As String) 'ignore"; - //BA.debugLineNum = 299;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; -anywheresoftware.b4a.keywords.Common.LogImpl("832833537",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 300;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)}));}; - //BA.debugLineNum = 301;BA.debugLine="End Sub"; -return ""; -} -public static String _mandamosloc(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ - //BA.debugLineNum = 269;BA.debugLine="Sub mandamosLoc(coords As String) 'ignore"; - //BA.debugLineNum = 285;BA.debugLine="End Sub"; -return ""; -} -public static String _map2json(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ -anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _jg = null; -String _t = ""; - //BA.debugLineNum = 247;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; - //BA.debugLineNum = 250;BA.debugLine="Dim jg As JSONGenerator"; -_jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 251;BA.debugLine="jg.Initialize(m)"; -_jg.Initialize(_m); - //BA.debugLineNum = 252;BA.debugLine="Dim t As String = jg.ToString"; -_t = _jg.ToString(); - //BA.debugLineNum = 253;BA.debugLine="Return t"; -if (true) return _t; - //BA.debugLineNum = 254;BA.debugLine="End Sub"; -return ""; -} -public static boolean _masdexxmins(anywheresoftware.b4a.BA _ba,int _hora,int _mins) throws Exception{ - //BA.debugLineNum = 304;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; - //BA.debugLineNum = 305;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; -if ((_hora+_mins*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute) 0 Then"; -if (_chv.getRowCount()>0) { - //BA.debugLineNum = 834;BA.debugLine="chv.Position = 0"; -_chv.setPosition((int) (0)); - //BA.debugLineNum = 836;BA.debugLine="Private precio As String = traePrecio(prodId, t"; -_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); - //BA.debugLineNum = 837;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_traecliente(_ba),_chv.GetString("HVD_PRONOMBRE"),BA.NumberToString(1),_precio,_chv.GetString("HVD_FECHA"),_prodid,_precio,_traecliente(_ba)})); - //BA.debugLineNum = 838;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_traecliente(_ba),_chv.GetString("HVD_PRONOMBRE"),BA.NumberToString((double)(Double.parseDouble(_chv.GetString("HVD_CANT")))-1),BA.NumberToString(((double)(Double.parseDouble(_chv.GetString("HVD_CANT")))-1)*(double)(Double.parseDouble(_precio))),_chv.GetString("HVD_FECHA"),_prodid,_precio,_traecliente(_ba)})); - //BA.debugLineNum = 839;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' where HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); - }; - }else { - //BA.debugLineNum = 842;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("835127314",("ACTUALIZAMOS REPARTO"),0); - //BA.debugLineNum = 843;BA.debugLine="Private precio As String = traePrecio(prodId, tr"; -_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); - //BA.debugLineNum = 844;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_prodid})); - //BA.debugLineNum = 845;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - //BA.debugLineNum = 846;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - //BA.debugLineNum = 849;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - }; - //BA.debugLineNum = 851;BA.debugLine="End Sub"; -return ""; -} -public static String _prodventa(anywheresoftware.b4a.BA _ba,String _clienteoriginal,String _prodid) throws Exception{ -String _precio = ""; - //BA.debugLineNum = 793;BA.debugLine="Sub prodVenta(clienteOriginal As String, prodId As"; - //BA.debugLineNum = 795;BA.debugLine="Private precio As String = traePrecio(prodId, tra"; -_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); - //BA.debugLineNum = 796;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - //BA.debugLineNum = 797;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 = 798;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1"; -anywheresoftware.b4a.keywords.Common.LogImpl("835061765",("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 = 799;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1"; -anywheresoftware.b4a.keywords.Common.LogImpl("835061766",("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 = 800;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 = 821;BA.debugLine="End Sub"; -return ""; -} -public static String _revisabd(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 195;BA.debugLine="Sub revisaBD 'ignore"; - //BA.debugLineNum = 196;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(mostCurrent._starter._ruta /*String*/ ,"kmt.db"))) { -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db");}; - //BA.debugLineNum = 197;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 198;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); - //BA.debugLineNum = 200;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); - //BA.debugLineNum = 202;BA.debugLine="kmt.ExecNonQuery(\"DROP TABLE IF EXISTS CAT_FOLIOS"; -_kmt.ExecNonQuery("DROP TABLE IF EXISTS CAT_FOLIOS"); - //BA.debugLineNum = 203;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS REPA"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS REPARTO_GEO (CLIENTE TEXT, USUARIO TEXT, FECHA_PUNTEO TEXT, LATITUD TEXT, LONGITUD TEXT, ALMACEN TEXT, RUTA_REPARTO TEXT, RUTA_PREV TEXT, FECHA_PREVENTA TEXT, MOTIVO TEXT, COMENTARIO TEXT, TIPO TEXT, ENVIO TEXT)"); - //BA.debugLineNum = 205;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_errorlog.Initialize(mostCurrent._starter._ruta /*String*/ ,"errorLog.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 206;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; -_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"); - //BA.debugLineNum = 208;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 209;BA.debugLine="Dim c As Cursor=kmt.ExecQuery(\"SELECT COUNT(*) A"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('noventa') WHERE name='NV_REPROGRAMAR'"))); - //BA.debugLineNum = 210;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 211;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 212;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE noventa ADD COLUM"; -_kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"); - }; - } - catch (Exception e16) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 215;BA.debugLine="Try"; -try { //BA.debugLineNum = 216;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE noventa ADD COLUM"; -_kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"); - } - catch (Exception e19) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19); //BA.debugLineNum = 218;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("832374807",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - }; - //BA.debugLineNum = 221;BA.debugLine="End Sub"; -return ""; -} -public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{ -boolean _todobienflp = false; - //BA.debugLineNum = 372;BA.debugLine="Sub revisaFLP 'ignore"; - //BA.debugLineNum = 373;BA.debugLine="LogColor($\"**** **** Revisamos FLP - ${fechaKMT(D"; -anywheresoftware.b4a.keywords.Common.LogImpl("833226753",("**** **** 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 = 374;BA.debugLine="Private todoBienFLP As Boolean = True"; -_todobienflp = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 375;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized())) { - //BA.debugLineNum = 376;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Rei"; -_log2db(_ba,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); - //BA.debugLineNum = 377;BA.debugLine="Tracker.FLP.Initialize(\"flp\")"; -mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .Initialize((_ba.processBA == null ? _ba : _ba.processBA),"flp"); - //BA.debugLineNum = 378;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 380;BA.debugLine="If Tracker.FLP.IsInitialized Then"; -if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 381;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected())) { - //BA.debugLineNum = 382;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Recon"; -_log2db(_ba,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); - //BA.debugLineNum = 384;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject()),"StartFLP"); - //BA.debugLineNum = 385;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 387;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker.FLP."; -if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().DistanceTo((android.location.Location)(mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getObject()))>500) { - //BA.debugLineNum = 390;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando, lo"; -_log2db(_ba,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); - //BA.debugLineNum = 391;BA.debugLine="StartService(Tracker)"; -anywheresoftware.b4a.keywords.Common.StartService((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject())); - //BA.debugLineNum = 392;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - }; - //BA.debugLineNum = 395;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore"; -if (_todobienflp) { -anywheresoftware.b4a.keywords.Common.LogImpl("833226775"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; - //BA.debugLineNum = 397;BA.debugLine="End Sub"; -return ""; -} -public static String _revisapushservice(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 400;BA.debugLine="Sub revisaPushService 'ignore"; - //BA.debugLineNum = 438;BA.debugLine="End Sub"; -return ""; -} -public static String _revisauug(anywheresoftware.b4a.BA _ba) throws Exception{ -int _daa = 0; - //BA.debugLineNum = 358;BA.debugLine="Sub revisaUUG 'ignore"; - //BA.debugLineNum = 359;BA.debugLine="revisaFLP"; -_revisaflp(_ba); - //BA.debugLineNum = 360;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; -if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 361;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(Tr"; -_daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject()))); - //BA.debugLineNum = 362;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("833161220",("**** 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 = 363;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 = 364;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 = 365;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("833161223","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; - }; - //BA.debugLineNum = 367;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca"; -mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); - }; - //BA.debugLineNum = 369;BA.debugLine="End Sub"; -return ""; -} -public static String _setdivider(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _lv,int _color,int _height) throws Exception{ -anywheresoftware.b4a.agraham.reflection.Reflection _r = null; -anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; - //BA.debugLineNum = 594;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh"; - //BA.debugLineNum = 595;BA.debugLine="Dim r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 596;BA.debugLine="r.Target = lv"; -_r.Target = (Object)(_lv.getObject()); - //BA.debugLineNum = 597;BA.debugLine="Dim CD As ColorDrawable"; -_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); - //BA.debugLineNum = 598;BA.debugLine="CD.Initialize(Color, 0)"; -_cd.Initialize(_color,(int) (0)); - //BA.debugLineNum = 599;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A"; -_r.RunMethod4("setDivider",new Object[]{(Object)(_cd.getObject())},new String[]{"android.graphics.drawable.Drawable"}); - //BA.debugLineNum = 600;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la"; -_r.RunMethod2("setDividerHeight",BA.NumberToString(_height),"java.lang.int"); - //BA.debugLineNum = 601;BA.debugLine="End Sub"; -return ""; -} -public static String _traealmacen(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _a = ""; - //BA.debugLineNum = 999;BA.debugLine="Sub traeAlmacen As String 'ignore"; - //BA.debugLineNum = 1000;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1001;BA.debugLine="Private a As String"; -_a = ""; - //BA.debugLineNum = 1002;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_ALMACEN fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 1003;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1004;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; -_a = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 1005;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1006;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 1007;BA.debugLine="End Sub"; -return ""; -} -public static int _traecantidadrechazada(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ -int _cant = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; - //BA.debugLineNum = 757;BA.debugLine="Sub traeCantidadRechazada(cliente As String, prodI"; - //BA.debugLineNum = 758;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 759;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; -_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("Select rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_RECHAZO = 1")))); - //BA.debugLineNum = 760;BA.debugLine="If cr.RowCount > 0 Then"; -if (_cr.getRowCount()>0) { - //BA.debugLineNum = 761;BA.debugLine="cr.Position = 0"; -_cr.setPosition((int) (0)); - //BA.debugLineNum = 762;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; -_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); - }; - //BA.debugLineNum = 764;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun"; -anywheresoftware.b4a.keywords.Common.LogImpl("834865159",(""+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 = 765;BA.debugLine="Return cant"; -if (true) return _cant; - //BA.debugLineNum = 766;BA.debugLine="End Sub"; -return 0; -} -public static int _traecantidadvendida(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ -int _cant = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; - //BA.debugLineNum = 769;BA.debugLine="Sub traeCantidadVendida(cliente As String, prodId"; - //BA.debugLineNum = 770;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 771;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; -_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("Select rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cli_orig = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_RECHAZO = 0 and REP_CANT > 0")))); - //BA.debugLineNum = 773;BA.debugLine="If cr.RowCount > 0 Then"; -if (_cr.getRowCount()>0) { - //BA.debugLineNum = 774;BA.debugLine="cr.Position = 0"; -_cr.setPosition((int) (0)); - //BA.debugLineNum = 775;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; -_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); - }; - //BA.debugLineNum = 777;BA.debugLine="Return cant"; -if (true) return _cant; - //BA.debugLineNum = 778;BA.debugLine="End Sub"; -return 0; -} public static anywheresoftware.b4a.objects.collections.Map _traecantymonto2(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecantymonto2", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traecantymonto2", new Object[] {_ba,_cliente}));} int _cant = 0; float _monto = 0f; anywheresoftware.b4a.sql.SQL.CursorWrapper _ccym = null; int _i = 0; - //BA.debugLineNum = 881;BA.debugLine="Sub traeCantYMonto2(cliente As String) As Map"; - //BA.debugLineNum = 883;BA.debugLine="Private cant As Int = 0"; +RDebugUtils.currentLine=70647808; + //BA.debugLineNum = 70647808;BA.debugLine="Sub traeCantYMonto2(cliente As String) As Map"; +RDebugUtils.currentLine=70647810; + //BA.debugLineNum = 70647810;BA.debugLine="Private cant As Int = 0"; _cant = (int) (0); - //BA.debugLineNum = 884;BA.debugLine="Private monto As Float = 0"; +RDebugUtils.currentLine=70647811; + //BA.debugLineNum = 70647811;BA.debugLine="Private monto As Float = 0"; _monto = (float) (0); - //BA.debugLineNum = 885;BA.debugLine="Private ccym As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=70647812; + //BA.debugLineNum = 70647812;BA.debugLine="Private ccym As Cursor = Starter.skmt.ExecQuery($"; _ccym = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ccym = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("Select hvd_codpromo, hvd_proid, HVD_CANT, (Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = hvd_proid) As precio from HIST_VENTAS where HVD_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); - //BA.debugLineNum = 886;BA.debugLine="If ccym.RowCount > 0 Then"; +RDebugUtils.currentLine=70647813; + //BA.debugLineNum = 70647813;BA.debugLine="If ccym.RowCount > 0 Then"; if (_ccym.getRowCount()>0) { - //BA.debugLineNum = 887;BA.debugLine="For i=0 To ccym.RowCount -1"; +RDebugUtils.currentLine=70647814; + //BA.debugLineNum = 70647814;BA.debugLine="For i=0 To ccym.RowCount -1"; { final int step5 = 1; final int limit5 = (int) (_ccym.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 888;BA.debugLine="ccym.Position = i"; +RDebugUtils.currentLine=70647815; + //BA.debugLineNum = 70647815;BA.debugLine="ccym.Position = i"; _ccym.setPosition(_i); - //BA.debugLineNum = 889;BA.debugLine="If ccym.GetString(\"HVD_CODPROMO\") <> ccym.GetSt"; +RDebugUtils.currentLine=70647816; + //BA.debugLineNum = 70647816;BA.debugLine="If ccym.GetString(\"HVD_CODPROMO\") <> ccym.GetSt"; if ((_ccym.GetString("HVD_CODPROMO")).equals(_ccym.GetString("HVD_PROID")) == false && _ccym.GetString("precio")!= null) { - //BA.debugLineNum = 890;BA.debugLine="cant = cant + ccym.GetString(\"HVD_CANT\")"; +RDebugUtils.currentLine=70647817; + //BA.debugLineNum = 70647817;BA.debugLine="cant = cant + ccym.GetString(\"HVD_CANT\")"; _cant = (int) (_cant+(double)(Double.parseDouble(_ccym.GetString("HVD_CANT")))); - //BA.debugLineNum = 892;BA.debugLine="monto = monto + (ccym.GetString(\"HVD_CANT\") *"; +RDebugUtils.currentLine=70647819; + //BA.debugLineNum = 70647819;BA.debugLine="monto = monto + (ccym.GetString(\"HVD_CANT\") *"; _monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("HVD_CANT")))*(double)(Double.parseDouble(_traeprecio(_ba,_ccym.GetString("HVD_PROID"),_ccym.GetString("HVD_CODPROMO")))))); }; } }; }; - //BA.debugLineNum = 898;BA.debugLine="ccym = Starter.skmt.ExecQuery($\"Select rep_prodid"; +RDebugUtils.currentLine=70647825; + //BA.debugLineNum = 70647825;BA.debugLine="ccym = Starter.skmt.ExecQuery($\"Select rep_prodid"; _ccym = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("Select rep_prodid, iFNULL(REP_CANT, 0) AS REP_CANT, iFNULL((Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = rep_prodid),0) As precio from REPARTO where REP_CLIENTE in (Select cuenta from cuentaa) And REP_RECHAZO = '0' and REP_CANT > 0")))); - //BA.debugLineNum = 899;BA.debugLine="If ccym.RowCount > 0 Then"; +RDebugUtils.currentLine=70647826; + //BA.debugLineNum = 70647826;BA.debugLine="If ccym.RowCount > 0 Then"; if (_ccym.getRowCount()>0) { - //BA.debugLineNum = 900;BA.debugLine="For i=0 To ccym.RowCount -1"; +RDebugUtils.currentLine=70647827; + //BA.debugLineNum = 70647827;BA.debugLine="For i=0 To ccym.RowCount -1"; { final int step15 = 1; final int limit15 = (int) (_ccym.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 901;BA.debugLine="ccym.Position = i"; +RDebugUtils.currentLine=70647828; + //BA.debugLineNum = 70647828;BA.debugLine="ccym.Position = i"; _ccym.setPosition(_i); - //BA.debugLineNum = 902;BA.debugLine="If ccym.GetString(\"REP_CANT\") <> Null Then cant"; +RDebugUtils.currentLine=70647829; + //BA.debugLineNum = 70647829;BA.debugLine="If ccym.GetString(\"REP_CANT\") <> Null Then cant"; if (_ccym.GetString("REP_CANT")!= null) { _cant = (int) (_cant+(double)(Double.parseDouble(_ccym.GetString("REP_CANT"))));}; - //BA.debugLineNum = 903;BA.debugLine="monto = monto + (ccym.GetString(\"REP_CANT\") * c"; +RDebugUtils.currentLine=70647830; + //BA.debugLineNum = 70647830;BA.debugLine="monto = monto + (ccym.GetString(\"REP_CANT\") * c"; _monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("REP_CANT")))*(double)(Double.parseDouble(_ccym.GetString("precio"))))); } }; - //BA.debugLineNum = 905;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("835258392",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); +RDebugUtils.currentLine=70647832; + //BA.debugLineNum = 70647832;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("270647832",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); }; - //BA.debugLineNum = 908;BA.debugLine="ccym.Close"; +RDebugUtils.currentLine=70647835; + //BA.debugLineNum = 70647835;BA.debugLine="ccym.Close"; _ccym.Close(); - //BA.debugLineNum = 909;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; +RDebugUtils.currentLine=70647836; + //BA.debugLineNum = 70647836;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 910;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70647837; + //BA.debugLineNum = 70647837;BA.debugLine="End Sub"; return null; } -public static String _traecliente(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _cli = null; -String _cl = ""; - //BA.debugLineNum = 722;BA.debugLine="Sub traeCliente As String 'ignore"; - //BA.debugLineNum = 723;BA.debugLine="Private cli As Cursor = Starter.skmt.ExecQuery(\"S"; -_cli = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cli = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 724;BA.debugLine="cli.Position = 0"; -_cli.setPosition((int) (0)); - //BA.debugLineNum = 725;BA.debugLine="Private cl As String = cli.GetString(\"CUENTA\")"; -_cl = _cli.GetString("CUENTA"); - //BA.debugLineNum = 726;BA.debugLine="cli.Close"; -_cli.Close(); - //BA.debugLineNum = 727;BA.debugLine="Log(\"Algo paso...\"& cl)"; -anywheresoftware.b4a.keywords.Common.LogImpl("834668549","Algo paso..."+_cl,0); - //BA.debugLineNum = 728;BA.debugLine="Return cl"; -if (true) return _cl; - //BA.debugLineNum = 729;BA.debugLine="End Sub"; +public static String _traealmacen(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traealmacen", false)) + {return ((String) Debug.delegate(null, "traealmacen", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _a = ""; +RDebugUtils.currentLine=71041024; + //BA.debugLineNum = 71041024;BA.debugLine="Sub traeAlmacen As String 'ignore"; +RDebugUtils.currentLine=71041025; + //BA.debugLineNum = 71041025;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=71041026; + //BA.debugLineNum = 71041026;BA.debugLine="Private a As String"; +_a = ""; +RDebugUtils.currentLine=71041027; + //BA.debugLineNum = 71041027;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_ALMACEN fro"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=71041028; + //BA.debugLineNum = 71041028;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=71041029; + //BA.debugLineNum = 71041029;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; +_a = _c.GetString("ID_ALMACEN"); +RDebugUtils.currentLine=71041030; + //BA.debugLineNum = 71041030;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=71041031; + //BA.debugLineNum = 71041031;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=71041032; + //BA.debugLineNum = 71041032;BA.debugLine="End Sub"; return ""; } -public static String _traeconversion(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -String _pu = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; - //BA.debugLineNum = 706;BA.debugLine="Sub traeConversion(id As String) As String"; - //BA.debugLineNum = 707;BA.debugLine="Private pu As String = \"0\""; -_pu = "0"; - //BA.debugLineNum = 709;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; -_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 710;BA.debugLine="If idc.RowCount > 0 Then"; -if (_idc.getRowCount()>0) { - //BA.debugLineNum = 711;BA.debugLine="idc.Position=0"; -_idc.setPosition((int) (0)); - //BA.debugLineNum = 712;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; -if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CONVERSION"))) { -_pu = _idc.GetString("CONVERSION");}; - }; - //BA.debugLineNum = 715;BA.debugLine="idc.Close"; -_idc.Close(); - //BA.debugLineNum = 717;BA.debugLine="Return pu"; -if (true) return _pu; - //BA.debugLineNum = 718;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _traeentregados(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; -int _cant = 0; -String _monto = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; - //BA.debugLineNum = 913;BA.debugLine="Sub traeEntregados As Map"; - //BA.debugLineNum = 914;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 915;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 916;BA.debugLine="Private monto As String = 0"; -_monto = BA.NumberToString(0); - //BA.debugLineNum = 917;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; -_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(HVD_CANT) as CUANTOS, sum(HVD_COSTO_TOT) as CUANTO from HIST_VENTAS where HVD_ESTATUS = '1' and HVD_COSTO_TOT <> '0'")))); - //BA.debugLineNum = 918;BA.debugLine="If rc.RowCount > 0 Then"; -if (_rc.getRowCount()>0) { - //BA.debugLineNum = 919;BA.debugLine="rc.Position = 0"; -_rc.setPosition((int) (0)); - //BA.debugLineNum = 920;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; -if (_rc.GetString("CUANTOS")!= null) { - //BA.debugLineNum = 921;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; -_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); - //BA.debugLineNum = 922;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; -_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); - }; - }; - //BA.debugLineNum = 926;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 927;BA.debugLine="End Sub"; -return null; -} public static String _traefechaprev(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traefechaprev", false)) + {return ((String) Debug.delegate(null, "traefechaprev", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _a = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _clienteasing = null; String[] _fecha = null; String _fecha3 = ""; String[] _hora = null; - //BA.debugLineNum = 1020;BA.debugLine="Sub traefECHAPREV As String 'ignore"; - //BA.debugLineNum = 1021;BA.debugLine="Private c As Cursor"; +RDebugUtils.currentLine=71172096; + //BA.debugLineNum = 71172096;BA.debugLine="Sub traefECHAPREV As String 'ignore"; +RDebugUtils.currentLine=71172097; + //BA.debugLineNum = 71172097;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1022;BA.debugLine="Private a As String"; +RDebugUtils.currentLine=71172098; + //BA.debugLineNum = 71172098;BA.debugLine="Private a As String"; _a = ""; - //BA.debugLineNum = 1023;BA.debugLine="Private clienteasing As Cursor = Starter.skmt.Exe"; +RDebugUtils.currentLine=71172099; + //BA.debugLineNum = 71172099;BA.debugLine="Private clienteasing As Cursor = Starter.skmt.Exe"; _clienteasing = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _clienteasing = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); - //BA.debugLineNum = 1024;BA.debugLine="clienteasing.Position = 0"; +RDebugUtils.currentLine=71172100; + //BA.debugLineNum = 71172100;BA.debugLine="clienteasing.Position = 0"; _clienteasing.setPosition((int) (0)); - //BA.debugLineNum = 1025;BA.debugLine="If clienteasing.GetString(\"CUENTA\") <> \"63403\" Th"; +RDebugUtils.currentLine=71172101; + //BA.debugLineNum = 71172101;BA.debugLine="If clienteasing.GetString(\"CUENTA\") <> \"63403\" Th"; if ((_clienteasing.GetString("CUENTA")).equals("63403") == false) { - //BA.debugLineNum = 1026;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; +RDebugUtils.currentLine=71172102; + //BA.debugLineNum = 71172102;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS where HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1027;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=71172103; + //BA.debugLineNum = 71172103;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1028;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; +RDebugUtils.currentLine=71172104; + //BA.debugLineNum = 71172104;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; _fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_FECHA")); - //BA.debugLineNum = 1029;BA.debugLine="Dim fecha3 As String = fecha(0)"; +RDebugUtils.currentLine=71172105; + //BA.debugLineNum = 71172105;BA.debugLine="Dim fecha3 As String = fecha(0)"; _fecha3 = _fecha[(int) (0)]; - //BA.debugLineNum = 1030;BA.debugLine="Log(fecha3)"; -anywheresoftware.b4a.keywords.Common.LogImpl("835782666",_fecha3,0); - //BA.debugLineNum = 1031;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +RDebugUtils.currentLine=71172106; + //BA.debugLineNum = 71172106;BA.debugLine="Log(fecha3)"; +anywheresoftware.b4a.keywords.Common.LogImpl("271172106",_fecha3,0); +RDebugUtils.currentLine=71172107; + //BA.debugLineNum = 71172107;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; _hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); - //BA.debugLineNum = 1032;BA.debugLine="a = fecha3 & \" \" & hora(0)"; +RDebugUtils.currentLine=71172108; + //BA.debugLineNum = 71172108;BA.debugLine="a = fecha3 & \" \" & hora(0)"; _a = _fecha3+" "+_hora[(int) (0)]; - //BA.debugLineNum = 1033;BA.debugLine="c.Close"; +RDebugUtils.currentLine=71172109; + //BA.debugLineNum = 71172109;BA.debugLine="c.Close"; _c.Close(); - }else if((_clienteasing.GetString("CUENTA")).equals("63403")) { - //BA.debugLineNum = 1035;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; + }else +{RDebugUtils.currentLine=71172110; + //BA.debugLineNum = 71172110;BA.debugLine="Else If clienteasing.GetString(\"CUENTA\") = \"63403"; +if ((_clienteasing.GetString("CUENTA")).equals("63403")) { +RDebugUtils.currentLine=71172111; + //BA.debugLineNum = 71172111;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS"))); - //BA.debugLineNum = 1036;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=71172112; + //BA.debugLineNum = 71172112;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1037;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; +RDebugUtils.currentLine=71172113; + //BA.debugLineNum = 71172113;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; _fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_FECHA")); - //BA.debugLineNum = 1038;BA.debugLine="Dim fecha3 As String = fecha(0)"; +RDebugUtils.currentLine=71172114; + //BA.debugLineNum = 71172114;BA.debugLine="Dim fecha3 As String = fecha(0)"; _fecha3 = _fecha[(int) (0)]; - //BA.debugLineNum = 1039;BA.debugLine="Log(fecha3)"; -anywheresoftware.b4a.keywords.Common.LogImpl("835782675",_fecha3,0); - //BA.debugLineNum = 1040;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +RDebugUtils.currentLine=71172115; + //BA.debugLineNum = 71172115;BA.debugLine="Log(fecha3)"; +anywheresoftware.b4a.keywords.Common.LogImpl("271172115",_fecha3,0); +RDebugUtils.currentLine=71172116; + //BA.debugLineNum = 71172116;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; _hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); - //BA.debugLineNum = 1041;BA.debugLine="a = fecha3 & \" \" & hora(0)"; +RDebugUtils.currentLine=71172117; + //BA.debugLineNum = 71172117;BA.debugLine="a = fecha3 & \" \" & hora(0)"; _a = _fecha3+" "+_hora[(int) (0)]; - //BA.debugLineNum = 1042;BA.debugLine="c.Close"; +RDebugUtils.currentLine=71172118; + //BA.debugLineNum = 71172118;BA.debugLine="c.Close"; _c.Close(); - }; - //BA.debugLineNum = 1044;BA.debugLine="Return a"; + }} +; +RDebugUtils.currentLine=71172120; + //BA.debugLineNum = 71172120;BA.debugLine="Return a"; if (true) return _a; - //BA.debugLineNum = 1045;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71172121; + //BA.debugLineNum = 71172121;BA.debugLine="End Sub"; return ""; } -public static String _traefechareparto(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _fe = null; -String _f = ""; - //BA.debugLineNum = 731;BA.debugLine="Sub traeFechaReparto As String"; - //BA.debugLineNum = 732;BA.debugLine="Private fe As Cursor = Starter.skmt.ExecQuery(\"se"; -_fe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_fe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 733;BA.debugLine="Private f As String = \"-\""; -_f = "-"; - //BA.debugLineNum = 734;BA.debugLine="If fe.RowCount > 0 Then"; -if (_fe.getRowCount()>0) { - //BA.debugLineNum = 735;BA.debugLine="fe.Position = 0"; -_fe.setPosition((int) (0)); - //BA.debugLineNum = 736;BA.debugLine="f = fe.GetString(\"HVD_FECHA\")"; -_f = _fe.GetString("HVD_FECHA"); - }; - //BA.debugLineNum = 738;BA.debugLine="fe.Close"; -_fe.Close(); - //BA.debugLineNum = 739;BA.debugLine="Return f"; -if (true) return _f; - //BA.debugLineNum = 740;BA.debugLine="End Sub"; +public static String _centralistview(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _elemento,int _anchoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centralistview", false)) + {return ((String) Debug.delegate(null, "centralistview", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=69468160; + //BA.debugLineNum = 69468160;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem"; +RDebugUtils.currentLine=69468161; + //BA.debugLineNum = 69468161;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); +RDebugUtils.currentLine=69468162; + //BA.debugLineNum = 69468162;BA.debugLine="End Sub"; return ""; } -public static int _traemaxcantidad(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ -int _cant = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; - //BA.debugLineNum = 781;BA.debugLine="Sub traeMaxCantidad(cliente As String, prodId As S"; - //BA.debugLineNum = 782;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 783;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; -_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("Select hvd_cant from hist_ventas2 where hvd_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and hvd_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")))); - //BA.debugLineNum = 785;BA.debugLine="If cr.RowCount > 0 Then"; -if (_cr.getRowCount()>0) { - //BA.debugLineNum = 786;BA.debugLine="cr.Position = 0"; -_cr.setPosition((int) (0)); - //BA.debugLineNum = 787;BA.debugLine="cant = cr.GetString(\"HVD_CANT\")"; -_cant = (int)(Double.parseDouble(_cr.GetString("HVD_CANT"))); +public static String _setdivider(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _lv,int _color,int _height) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "setdivider", false)) + {return ((String) Debug.delegate(null, "setdivider", new Object[] {_ba,_lv,_color,_height}));} +anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; +RDebugUtils.currentLine=69402624; + //BA.debugLineNum = 69402624;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh"; +RDebugUtils.currentLine=69402625; + //BA.debugLineNum = 69402625;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=69402626; + //BA.debugLineNum = 69402626;BA.debugLine="r.Target = lv"; +_r.Target = (Object)(_lv.getObject()); +RDebugUtils.currentLine=69402627; + //BA.debugLineNum = 69402627;BA.debugLine="Dim CD As ColorDrawable"; +_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); +RDebugUtils.currentLine=69402628; + //BA.debugLineNum = 69402628;BA.debugLine="CD.Initialize(Color, 0)"; +_cd.Initialize(_color,(int) (0)); +RDebugUtils.currentLine=69402629; + //BA.debugLineNum = 69402629;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A"; +_r.RunMethod4("setDivider",new Object[]{(Object)(_cd.getObject())},new String[]{"android.graphics.drawable.Drawable"}); +RDebugUtils.currentLine=69402630; + //BA.debugLineNum = 69402630;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la"; +_r.RunMethod2("setDividerHeight",BA.NumberToString(_height),"java.lang.int"); +RDebugUtils.currentLine=69402631; + //BA.debugLineNum = 69402631;BA.debugLine="End Sub"; +return ""; +} +public static String _centraetiqueta(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centraetiqueta", false)) + {return ((String) Debug.delegate(null, "centraetiqueta", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=69599232; + //BA.debugLineNum = 69599232;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +RDebugUtils.currentLine=69599233; + //BA.debugLineNum = 69599233;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); +RDebugUtils.currentLine=69599234; + //BA.debugLineNum = 69599234;BA.debugLine="End Sub"; +return ""; +} +public static String _traerutareparto(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traerutareparto", false)) + {return ((String) Debug.delegate(null, "traerutareparto", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +RDebugUtils.currentLine=70975488; + //BA.debugLineNum = 70975488;BA.debugLine="Sub traeRutaReparto As String 'ignore"; +RDebugUtils.currentLine=70975489; + //BA.debugLineNum = 70975489;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=70975490; + //BA.debugLineNum = 70975490;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=70975491; + //BA.debugLineNum = 70975491;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=70975492; + //BA.debugLineNum = 70975492;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=70975493; + //BA.debugLineNum = 70975493;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=70975494; + //BA.debugLineNum = 70975494;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=70975495; + //BA.debugLineNum = 70975495;BA.debugLine="r = c.GetString(\"RUTAA\")"; +_r = _c.GetString("RUTAA"); }; - //BA.debugLineNum = 789;BA.debugLine="Return cant"; -if (true) return _cant; - //BA.debugLineNum = 790;BA.debugLine="End Sub"; -return 0; +RDebugUtils.currentLine=70975497; + //BA.debugLineNum = 70975497;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=70975498; + //BA.debugLineNum = 70975498;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=70975499; + //BA.debugLineNum = 70975499;BA.debugLine="End Sub"; +return ""; +} +public static String _prodventa(anywheresoftware.b4a.BA _ba,String _clienteoriginal,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "prodventa", false)) + {return ((String) Debug.delegate(null, "prodventa", new Object[] {_ba,_clienteoriginal,_prodid}));} +String _precio = ""; +RDebugUtils.currentLine=70451200; + //BA.debugLineNum = 70451200;BA.debugLine="Sub prodVenta(clienteOriginal As String, prodId As"; +RDebugUtils.currentLine=70451202; + //BA.debugLineNum = 70451202;BA.debugLine="Private precio As String = traePrecio(prodId, tra"; +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); +RDebugUtils.currentLine=70451203; + //BA.debugLineNum = 70451203;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=70451204; + //BA.debugLineNum = 70451204;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=70451205; + //BA.debugLineNum = 70451205;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1"; +anywheresoftware.b4a.keywords.Common.LogImpl("270451205",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); +RDebugUtils.currentLine=70451206; + //BA.debugLineNum = 70451206;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1"; +anywheresoftware.b4a.keywords.Common.LogImpl("270451206",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); +RDebugUtils.currentLine=70451207; + //BA.debugLineNum = 70451207;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=70451228; + //BA.debugLineNum = 70451228;BA.debugLine="End Sub"; +return ""; +} +public static String _traeconversion(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeconversion", false)) + {return ((String) Debug.delegate(null, "traeconversion", new Object[] {_ba,_id}));} +String _pu = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; +RDebugUtils.currentLine=69992448; + //BA.debugLineNum = 69992448;BA.debugLine="Sub traeConversion(id As String) As String"; +RDebugUtils.currentLine=69992449; + //BA.debugLineNum = 69992449;BA.debugLine="Private pu As String = \"0\""; +_pu = "0"; +RDebugUtils.currentLine=69992451; + //BA.debugLineNum = 69992451;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=69992452; + //BA.debugLineNum = 69992452;BA.debugLine="If idc.RowCount > 0 Then"; +if (_idc.getRowCount()>0) { +RDebugUtils.currentLine=69992453; + //BA.debugLineNum = 69992453;BA.debugLine="idc.Position=0"; +_idc.setPosition((int) (0)); +RDebugUtils.currentLine=69992454; + //BA.debugLineNum = 69992454;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CONVERSION"))) { +_pu = _idc.GetString("CONVERSION");}; + }; +RDebugUtils.currentLine=69992457; + //BA.debugLineNum = 69992457;BA.debugLine="idc.Close"; +_idc.Close(); +RDebugUtils.currentLine=69992459; + //BA.debugLineNum = 69992459;BA.debugLine="Return pu"; +if (true) return _pu; +RDebugUtils.currentLine=69992460; + //BA.debugLineNum = 69992460;BA.debugLine="End Sub"; +return ""; +} +public static String _traeprecioc(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprecioc", false)) + {return ((String) Debug.delegate(null, "traeprecioc", new Object[] {_ba,_id}));} +String _pu = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; +RDebugUtils.currentLine=69926912; + //BA.debugLineNum = 69926912;BA.debugLine="Sub traePrecioC(id As String) As String"; +RDebugUtils.currentLine=69926913; + //BA.debugLineNum = 69926913;BA.debugLine="Private pu As String = \"0\""; +_pu = "0"; +RDebugUtils.currentLine=69926914; + //BA.debugLineNum = 69926914;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select PR"; +_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select PRECIOCONVER from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=69926915; + //BA.debugLineNum = 69926915;BA.debugLine="If idc.RowCount > 0 Then"; +if (_idc.getRowCount()>0) { +RDebugUtils.currentLine=69926916; + //BA.debugLineNum = 69926916;BA.debugLine="idc.Position=0"; +_idc.setPosition((int) (0)); +RDebugUtils.currentLine=69926917; + //BA.debugLineNum = 69926917;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString(\""; +if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("PRECIOCONVER"))) { +_pu = _idc.GetString("PRECIOCONVER");}; + }; +RDebugUtils.currentLine=69926920; + //BA.debugLineNum = 69926920;BA.debugLine="idc.Close"; +_idc.Close(); +RDebugUtils.currentLine=69926921; + //BA.debugLineNum = 69926921;BA.debugLine="Return pu"; +if (true) return _pu; +RDebugUtils.currentLine=69926922; + //BA.debugLineNum = 69926922;BA.debugLine="End Sub"; +return ""; +} +public static String _traeprecio2(anywheresoftware.b4a.BA _ba,String _id,String _quepromo,String _consecutivo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprecio2", false)) + {return ((String) Debug.delegate(null, "traeprecio2", new Object[] {_ba,_id,_quepromo,_consecutivo}));} +String _pu = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pc = null; +RDebugUtils.currentLine=69861376; + //BA.debugLineNum = 69861376;BA.debugLine="Sub traePrecio2(id As String, quePromo As String,"; +RDebugUtils.currentLine=69861377; + //BA.debugLineNum = 69861377;BA.debugLine="Private pu As String = \"0\""; +_pu = "0"; +RDebugUtils.currentLine=69861379; + //BA.debugLineNum = 69861379;BA.debugLine="If quePromo = traeAlmacen Then"; +if ((_quepromo).equals(_traealmacen(_ba))) { +RDebugUtils.currentLine=69861380; + //BA.debugLineNum = 69861380;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=69861381; + //BA.debugLineNum = 69861381;BA.debugLine="If idc.RowCount > 0 Then"; +if (_idc.getRowCount()>0) { +RDebugUtils.currentLine=69861382; + //BA.debugLineNum = 69861382;BA.debugLine="idc.Position=0"; +_idc.setPosition((int) (0)); +RDebugUtils.currentLine=69861383; + //BA.debugLineNum = 69861383;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CAT_GP_PRECIO"))) { +_pu = _idc.GetString("CAT_GP_PRECIO");}; + }; +RDebugUtils.currentLine=69861386; + //BA.debugLineNum = 69861386;BA.debugLine="idc.Close"; +_idc.Close(); + }else { +RDebugUtils.currentLine=69861388; + //BA.debugLineNum = 69861388;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; +_pc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"' and HVD_CODPROMO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_quepromo))+"' AND CONSECUTIVO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_consecutivo))+"'")))); +RDebugUtils.currentLine=69861389; + //BA.debugLineNum = 69861389;BA.debugLine="If pc.RowCount > 0 Then"; +if (_pc.getRowCount()>0) { +RDebugUtils.currentLine=69861390; + //BA.debugLineNum = 69861390;BA.debugLine="pc.Position = 0"; +_pc.setPosition((int) (0)); +RDebugUtils.currentLine=69861392; + //BA.debugLineNum = 69861392;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; +if (_pc.GetString("HVD_COSTO_TOT")!= null && _pc.GetString("HVD_CANT")!= null) { +RDebugUtils.currentLine=69861393; + //BA.debugLineNum = 69861393;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; +_pu = BA.NumberToString((double)(Double.parseDouble(_pc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_pc.GetString("HVD_CANT")))); + }; + }; +RDebugUtils.currentLine=69861397; + //BA.debugLineNum = 69861397;BA.debugLine="pc.Close"; +_pc.Close(); + }; +RDebugUtils.currentLine=69861400; + //BA.debugLineNum = 69861400;BA.debugLine="Return pu"; +if (true) return _pu; +RDebugUtils.currentLine=69861402; + //BA.debugLineNum = 69861402;BA.debugLine="End Sub"; +return ""; } public static anywheresoftware.b4a.objects.collections.Map _traemoscantymonto(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _clv) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemoscantymonto", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traemoscantymonto", new Object[] {_ba,_clv}));} int _cant = 0; float _monto = 0f; int _i = 0; @@ -1378,376 +744,1861 @@ anywheresoftware.b4a.objects.B4XViewWrapper _p = null; anywheresoftware.b4a.objects.B4XViewWrapper _cant1 = null; anywheresoftware.b4a.objects.B4XViewWrapper _cant2 = null; anywheresoftware.b4a.objects.collections.List _estetag = null; - //BA.debugLineNum = 853;BA.debugLine="Sub traemosCantYMonto(clv As CustomListView) As Ma"; - //BA.debugLineNum = 855;BA.debugLine="Private cant As Int = 0"; +RDebugUtils.currentLine=70582272; + //BA.debugLineNum = 70582272;BA.debugLine="Sub traemosCantYMonto(clv As CustomListView) As Ma"; +RDebugUtils.currentLine=70582274; + //BA.debugLineNum = 70582274;BA.debugLine="Private cant As Int = 0"; _cant = (int) (0); - //BA.debugLineNum = 856;BA.debugLine="Private monto As Float = 0"; +RDebugUtils.currentLine=70582275; + //BA.debugLineNum = 70582275;BA.debugLine="Private monto As Float = 0"; _monto = (float) (0); - //BA.debugLineNum = 857;BA.debugLine="For i = 0 To clv.GetSize - 1"; +RDebugUtils.currentLine=70582276; + //BA.debugLineNum = 70582276;BA.debugLine="For i = 0 To clv.GetSize - 1"; { final int step3 = 1; final int limit3 = (int) (_clv._getsize()-1); _i = (int) (0) ; for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 858;BA.debugLine="Private p0 As B4XView = clv.GetPanel(i)"; +RDebugUtils.currentLine=70582277; + //BA.debugLineNum = 70582277;BA.debugLine="Private p0 As B4XView = clv.GetPanel(i)"; _p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p0 = _clv._getpanel(_i); - //BA.debugLineNum = 859;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +RDebugUtils.currentLine=70582278; + //BA.debugLineNum = 70582278;BA.debugLine="Private p As B4XView = p0.GetView(0)"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p = _p0.GetView((int) (0)); - //BA.debugLineNum = 860;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; +RDebugUtils.currentLine=70582279; + //BA.debugLineNum = 70582279;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; _cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _cant1 = _p.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 861;BA.debugLine="Private cant2 As B4XView = p.GetView(3).GetView("; +RDebugUtils.currentLine=70582280; + //BA.debugLineNum = 70582280;BA.debugLine="Private cant2 As B4XView = p.GetView(3).GetView("; _cant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _cant2 = _p.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 863;BA.debugLine="If cant1.text <> \"\" Then"; +RDebugUtils.currentLine=70582282; + //BA.debugLineNum = 70582282;BA.debugLine="If cant1.text <> \"\" Then"; if ((_cant1.getText()).equals("") == false) { - //BA.debugLineNum = 864;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +RDebugUtils.currentLine=70582283; + //BA.debugLineNum = 70582283;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; if ((_cant1.getText()).equals("")) { _cant1.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 865;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +RDebugUtils.currentLine=70582284; + //BA.debugLineNum = 70582284;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); - //BA.debugLineNum = 867;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; +RDebugUtils.currentLine=70582286; + //BA.debugLineNum = 70582286;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; if ((_estetag.Get((int) (2))).equals(_estetag.Get((int) (3))) == false) { _cant = (int) (_cant+(double)(Double.parseDouble(_cant1.getText())));}; - //BA.debugLineNum = 868;BA.debugLine="monto = monto + (esteTag.Get(0) * cant1.Text)"; +RDebugUtils.currentLine=70582287; + //BA.debugLineNum = 70582287;BA.debugLine="monto = monto + (esteTag.Get(0) * cant1.Text)"; _monto = (float) (_monto+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText())))); }else { - //BA.debugLineNum = 870;BA.debugLine="If cant2.Text = \"\" Then cant2.Text = 0"; +RDebugUtils.currentLine=70582289; + //BA.debugLineNum = 70582289;BA.debugLine="If cant2.Text = \"\" Then cant2.Text = 0"; if ((_cant2.getText()).equals("")) { _cant2.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 871;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +RDebugUtils.currentLine=70582290; + //BA.debugLineNum = 70582290;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",BA.ObjectToString(_cant2.getTag()))); - //BA.debugLineNum = 873;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; +RDebugUtils.currentLine=70582292; + //BA.debugLineNum = 70582292;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; if ((_estetag.Get((int) (2))).equals(_estetag.Get((int) (3))) == false) { _cant = (int) (_cant+(double)(Double.parseDouble(_cant2.getText())));}; - //BA.debugLineNum = 874;BA.debugLine="monto = monto + (esteTag.Get(0) * cant2.Text)"; +RDebugUtils.currentLine=70582293; + //BA.debugLineNum = 70582293;BA.debugLine="monto = monto + (esteTag.Get(0) * cant2.Text)"; _monto = (float) (_monto+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText())))); }; } }; - //BA.debugLineNum = 878;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; +RDebugUtils.currentLine=70582297; + //BA.debugLineNum = 70582297;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 879;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70582298; + //BA.debugLineNum = 70582298;BA.debugLine="End Sub"; return null; } -public static String _traenombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -String _nombre = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; - //BA.debugLineNum = 624;BA.debugLine="Sub traeNombre(id As String) As String"; - //BA.debugLineNum = 625;BA.debugLine="Private nombre As String"; -_nombre = ""; - //BA.debugLineNum = 626;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select HV"; -_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select HVD_PRONOMBRE from HIST_VENTAS where HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 627;BA.debugLine="idc.Position=0"; -_idc.setPosition((int) (0)); - //BA.debugLineNum = 628;BA.debugLine="If idc.RowCount > 0 Then nombre = idc.GetString(\""; -if (_idc.getRowCount()>0) { -_nombre = _idc.GetString("HVD_PRONOMBRE");}; - //BA.debugLineNum = 629;BA.debugLine="idc.Close"; -_idc.Close(); - //BA.debugLineNum = 631;BA.debugLine="Return nombre"; -if (true) return _nombre; - //BA.debugLineNum = 632;BA.debugLine="End Sub"; +public static String _prodrechazo(anywheresoftware.b4a.BA _ba,String _clienteoriginal,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "prodrechazo", false)) + {return ((String) Debug.delegate(null, "prodrechazo", new Object[] {_ba,_clienteoriginal,_prodid}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _rr = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _chv = null; +String _precio = ""; +RDebugUtils.currentLine=70516736; + //BA.debugLineNum = 70516736;BA.debugLine="Sub prodRechazo(clienteOriginal As String, prodId"; +RDebugUtils.currentLine=70516737; + //BA.debugLineNum = 70516737;BA.debugLine="Log(\"RECHAZO DEVOLUCION\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("270516737","RECHAZO DEVOLUCION",0); +RDebugUtils.currentLine=70516738; + //BA.debugLineNum = 70516738;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)")))); +RDebugUtils.currentLine=70516739; + //BA.debugLineNum = 70516739;BA.debugLine="rr.Position = 0"; +_rr.setPosition((int) (0)); +RDebugUtils.currentLine=70516740; + //BA.debugLineNum = 70516740;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; +if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=70516741; + //BA.debugLineNum = 70516741;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("270516741","INSERTAMOS EN REPARTO",0); +RDebugUtils.currentLine=70516743; + //BA.debugLineNum = 70516743;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))+"'")))); +RDebugUtils.currentLine=70516745; + //BA.debugLineNum = 70516745;BA.debugLine="If chv.RowCount > 0 Then"; +if (_chv.getRowCount()>0) { +RDebugUtils.currentLine=70516746; + //BA.debugLineNum = 70516746;BA.debugLine="chv.Position = 0"; +_chv.setPosition((int) (0)); +RDebugUtils.currentLine=70516748; + //BA.debugLineNum = 70516748;BA.debugLine="Private precio As String = traePrecio(prodId, t"; +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); +RDebugUtils.currentLine=70516749; + //BA.debugLineNum = 70516749;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_traecliente(_ba),_chv.GetString("HVD_PRONOMBRE"),BA.NumberToString(1),_precio,_chv.GetString("HVD_FECHA"),_prodid,_precio,_traecliente(_ba)})); +RDebugUtils.currentLine=70516750; + //BA.debugLineNum = 70516750;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_traecliente(_ba),_chv.GetString("HVD_PRONOMBRE"),BA.NumberToString((double)(Double.parseDouble(_chv.GetString("HVD_CANT")))-1),BA.NumberToString(((double)(Double.parseDouble(_chv.GetString("HVD_CANT")))-1)*(double)(Double.parseDouble(_precio))),_chv.GetString("HVD_FECHA"),_prodid,_precio,_traecliente(_ba)})); +RDebugUtils.currentLine=70516751; + //BA.debugLineNum = 70516751;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' where HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); + }; + }else { +RDebugUtils.currentLine=70516754; + //BA.debugLineNum = 70516754;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("270516754",("ACTUALIZAMOS REPARTO"),0); +RDebugUtils.currentLine=70516755; + //BA.debugLineNum = 70516755;BA.debugLine="Private precio As String = traePrecio(prodId, tr"; +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); +RDebugUtils.currentLine=70516756; + //BA.debugLineNum = 70516756;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_prodid})); +RDebugUtils.currentLine=70516757; + //BA.debugLineNum = 70516757;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=70516758; + //BA.debugLineNum = 70516758;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=70516761; + //BA.debugLineNum = 70516761;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); + }; +RDebugUtils.currentLine=70516763; + //BA.debugLineNum = 70516763;BA.debugLine="End Sub"; return ""; } public static String _traeprecio(anywheresoftware.b4a.BA _ba,String _id,String _quepromo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprecio", false)) + {return ((String) Debug.delegate(null, "traeprecio", new Object[] {_ba,_id,_quepromo}));} String _pu = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _pc = null; - //BA.debugLineNum = 635;BA.debugLine="Sub traePrecio(id As String, quePromo As String) A"; - //BA.debugLineNum = 636;BA.debugLine="Private pu As String = \"0\""; +RDebugUtils.currentLine=69795840; + //BA.debugLineNum = 69795840;BA.debugLine="Sub traePrecio(id As String, quePromo As String) A"; +RDebugUtils.currentLine=69795841; + //BA.debugLineNum = 69795841;BA.debugLine="Private pu As String = \"0\""; _pu = "0"; - //BA.debugLineNum = 638;BA.debugLine="If quePromo = traeAlmacen Then"; +RDebugUtils.currentLine=69795843; + //BA.debugLineNum = 69795843;BA.debugLine="If quePromo = traeAlmacen Then"; if ((_quepromo).equals(_traealmacen(_ba))) { - //BA.debugLineNum = 639;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +RDebugUtils.currentLine=69795844; + //BA.debugLineNum = 69795844;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; _idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 640;BA.debugLine="If idc.RowCount > 0 Then"; +RDebugUtils.currentLine=69795845; + //BA.debugLineNum = 69795845;BA.debugLine="If idc.RowCount > 0 Then"; if (_idc.getRowCount()>0) { - //BA.debugLineNum = 641;BA.debugLine="idc.Position=0"; +RDebugUtils.currentLine=69795846; + //BA.debugLineNum = 69795846;BA.debugLine="idc.Position=0"; _idc.setPosition((int) (0)); - //BA.debugLineNum = 642;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +RDebugUtils.currentLine=69795847; + //BA.debugLineNum = 69795847;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CAT_GP_PRECIO"))) { _pu = _idc.GetString("CAT_GP_PRECIO");}; }; - //BA.debugLineNum = 645;BA.debugLine="idc.Close"; +RDebugUtils.currentLine=69795850; + //BA.debugLineNum = 69795850;BA.debugLine="idc.Close"; _idc.Close(); }else { - //BA.debugLineNum = 647;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=69795852; + //BA.debugLineNum = 69795852;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; _pc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS2 where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"' and HVD_CODPROMO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_quepromo))+"'")))); - //BA.debugLineNum = 648;BA.debugLine="If pc.RowCount > 0 Then"; +RDebugUtils.currentLine=69795853; + //BA.debugLineNum = 69795853;BA.debugLine="If pc.RowCount > 0 Then"; if (_pc.getRowCount()>0) { - //BA.debugLineNum = 649;BA.debugLine="pc.Position = 0"; +RDebugUtils.currentLine=69795854; + //BA.debugLineNum = 69795854;BA.debugLine="pc.Position = 0"; _pc.setPosition((int) (0)); - //BA.debugLineNum = 651;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; +RDebugUtils.currentLine=69795856; + //BA.debugLineNum = 69795856;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; if (_pc.GetString("HVD_COSTO_TOT")!= null && _pc.GetString("HVD_CANT")!= null) { - //BA.debugLineNum = 652;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; +RDebugUtils.currentLine=69795857; + //BA.debugLineNum = 69795857;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; _pu = BA.NumberToString((double)(Double.parseDouble(_pc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_pc.GetString("HVD_CANT")))); }; }; - //BA.debugLineNum = 656;BA.debugLine="pc.Close"; +RDebugUtils.currentLine=69795861; + //BA.debugLineNum = 69795861;BA.debugLine="pc.Close"; _pc.Close(); }; - //BA.debugLineNum = 659;BA.debugLine="Return pu"; +RDebugUtils.currentLine=69795864; + //BA.debugLineNum = 69795864;BA.debugLine="Return pu"; if (true) return _pu; - //BA.debugLineNum = 661;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69795866; + //BA.debugLineNum = 69795866;BA.debugLine="End Sub"; return ""; } -public static String _traeprecio2(anywheresoftware.b4a.BA _ba,String _id,String _quepromo,String _consecutivo) throws Exception{ -String _pu = ""; +public static int _traecantidadrechazada(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecantidadrechazada", false)) + {return ((Integer) Debug.delegate(null, "traecantidadrechazada", new Object[] {_ba,_cliente,_prodid}));} +int _cant = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; +RDebugUtils.currentLine=70254592; + //BA.debugLineNum = 70254592;BA.debugLine="Sub traeCantidadRechazada(cliente As String, prodI"; +RDebugUtils.currentLine=70254593; + //BA.debugLineNum = 70254593;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=70254594; + //BA.debugLineNum = 70254594;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("Select rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_RECHAZO = 1")))); +RDebugUtils.currentLine=70254595; + //BA.debugLineNum = 70254595;BA.debugLine="If cr.RowCount > 0 Then"; +if (_cr.getRowCount()>0) { +RDebugUtils.currentLine=70254596; + //BA.debugLineNum = 70254596;BA.debugLine="cr.Position = 0"; +_cr.setPosition((int) (0)); +RDebugUtils.currentLine=70254597; + //BA.debugLineNum = 70254597;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; +_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); + }; +RDebugUtils.currentLine=70254599; + //BA.debugLineNum = 70254599;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun"; +anywheresoftware.b4a.keywords.Common.LogImpl("270254599",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0); +RDebugUtils.currentLine=70254600; + //BA.debugLineNum = 70254600;BA.debugLine="Return cant"; +if (true) return _cant; +RDebugUtils.currentLine=70254601; + //BA.debugLineNum = 70254601;BA.debugLine="End Sub"; +return 0; +} +public static String _traenombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traenombre", false)) + {return ((String) Debug.delegate(null, "traenombre", new Object[] {_ba,_id}));} +String _nombre = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _pc = null; - //BA.debugLineNum = 664;BA.debugLine="Sub traePrecio2(id As String, quePromo As String,"; - //BA.debugLineNum = 665;BA.debugLine="Private pu As String = \"0\""; -_pu = "0"; - //BA.debugLineNum = 667;BA.debugLine="If quePromo = traeAlmacen Then"; -if ((_quepromo).equals(_traealmacen(_ba))) { - //BA.debugLineNum = 668;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +RDebugUtils.currentLine=69730304; + //BA.debugLineNum = 69730304;BA.debugLine="Sub traeNombre(id As String) As String"; +RDebugUtils.currentLine=69730305; + //BA.debugLineNum = 69730305;BA.debugLine="Private nombre As String"; +_nombre = ""; +RDebugUtils.currentLine=69730306; + //BA.debugLineNum = 69730306;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select HV"; _idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 669;BA.debugLine="If idc.RowCount > 0 Then"; -if (_idc.getRowCount()>0) { - //BA.debugLineNum = 670;BA.debugLine="idc.Position=0"; +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select HVD_PRONOMBRE from HIST_VENTAS where HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=69730307; + //BA.debugLineNum = 69730307;BA.debugLine="idc.Position=0"; _idc.setPosition((int) (0)); - //BA.debugLineNum = 671;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; -if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CAT_GP_PRECIO"))) { -_pu = _idc.GetString("CAT_GP_PRECIO");}; - }; - //BA.debugLineNum = 674;BA.debugLine="idc.Close"; +RDebugUtils.currentLine=69730308; + //BA.debugLineNum = 69730308;BA.debugLine="If idc.RowCount > 0 Then nombre = idc.GetString(\""; +if (_idc.getRowCount()>0) { +_nombre = _idc.GetString("HVD_PRONOMBRE");}; +RDebugUtils.currentLine=69730309; + //BA.debugLineNum = 69730309;BA.debugLine="idc.Close"; _idc.Close(); - }else { - //BA.debugLineNum = 676;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; -_pc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"' and HVD_CODPROMO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_quepromo))+"' AND CONSECUTIVO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_consecutivo))+"'")))); - //BA.debugLineNum = 677;BA.debugLine="If pc.RowCount > 0 Then"; -if (_pc.getRowCount()>0) { - //BA.debugLineNum = 678;BA.debugLine="pc.Position = 0"; -_pc.setPosition((int) (0)); - //BA.debugLineNum = 680;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; -if (_pc.GetString("HVD_COSTO_TOT")!= null && _pc.GetString("HVD_CANT")!= null) { - //BA.debugLineNum = 681;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; -_pu = BA.NumberToString((double)(Double.parseDouble(_pc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_pc.GetString("HVD_CANT")))); - }; - }; - //BA.debugLineNum = 685;BA.debugLine="pc.Close"; -_pc.Close(); - }; - //BA.debugLineNum = 688;BA.debugLine="Return pu"; -if (true) return _pu; - //BA.debugLineNum = 690;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69730311; + //BA.debugLineNum = 69730311;BA.debugLine="Return nombre"; +if (true) return _nombre; +RDebugUtils.currentLine=69730312; + //BA.debugLineNum = 69730312;BA.debugLine="End Sub"; return ""; } -public static String _traeprecioc(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -String _pu = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; - //BA.debugLineNum = 693;BA.debugLine="Sub traePrecioC(id As String) As String"; - //BA.debugLineNum = 694;BA.debugLine="Private pu As String = \"0\""; -_pu = "0"; - //BA.debugLineNum = 695;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select PR"; -_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select PRECIOCONVER from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 696;BA.debugLine="If idc.RowCount > 0 Then"; -if (_idc.getRowCount()>0) { - //BA.debugLineNum = 697;BA.debugLine="idc.Position=0"; -_idc.setPosition((int) (0)); - //BA.debugLineNum = 698;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString(\""; -if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("PRECIOCONVER"))) { -_pu = _idc.GetString("PRECIOCONVER");}; +public static String _traefechareparto(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traefechareparto", false)) + {return ((String) Debug.delegate(null, "traefechareparto", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _fe = null; +String _f = ""; +RDebugUtils.currentLine=70123520; + //BA.debugLineNum = 70123520;BA.debugLine="Sub traeFechaReparto As String"; +RDebugUtils.currentLine=70123521; + //BA.debugLineNum = 70123521;BA.debugLine="Private fe As Cursor = Starter.skmt.ExecQuery(\"se"; +_fe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=70123522; + //BA.debugLineNum = 70123522;BA.debugLine="Private f As String = \"-\""; +_f = "-"; +RDebugUtils.currentLine=70123523; + //BA.debugLineNum = 70123523;BA.debugLine="If fe.RowCount > 0 Then"; +if (_fe.getRowCount()>0) { +RDebugUtils.currentLine=70123524; + //BA.debugLineNum = 70123524;BA.debugLine="fe.Position = 0"; +_fe.setPosition((int) (0)); +RDebugUtils.currentLine=70123525; + //BA.debugLineNum = 70123525;BA.debugLine="f = fe.GetString(\"HVD_FECHA\")"; +_f = _fe.GetString("HVD_FECHA"); }; - //BA.debugLineNum = 701;BA.debugLine="idc.Close"; -_idc.Close(); - //BA.debugLineNum = 702;BA.debugLine="Return pu"; -if (true) return _pu; - //BA.debugLineNum = 703;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70123527; + //BA.debugLineNum = 70123527;BA.debugLine="fe.Close"; +_fe.Close(); +RDebugUtils.currentLine=70123528; + //BA.debugLineNum = 70123528;BA.debugLine="Return f"; +if (true) return _f; +RDebugUtils.currentLine=70123529; + //BA.debugLineNum = 70123529;BA.debugLine="End Sub"; return ""; } -public static anywheresoftware.b4a.objects.collections.Map _traerechazados(anywheresoftware.b4a.BA _ba) throws Exception{ +public static int _traemaxcantidad(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemaxcantidad", false)) + {return ((Integer) Debug.delegate(null, "traemaxcantidad", new Object[] {_ba,_cliente,_prodid}));} +int _cant = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; +RDebugUtils.currentLine=70385664; + //BA.debugLineNum = 70385664;BA.debugLine="Sub traeMaxCantidad(cliente As String, prodId As S"; +RDebugUtils.currentLine=70385665; + //BA.debugLineNum = 70385665;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=70385666; + //BA.debugLineNum = 70385666;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("Select hvd_cant from hist_ventas2 where hvd_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and hvd_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")))); +RDebugUtils.currentLine=70385668; + //BA.debugLineNum = 70385668;BA.debugLine="If cr.RowCount > 0 Then"; +if (_cr.getRowCount()>0) { +RDebugUtils.currentLine=70385669; + //BA.debugLineNum = 70385669;BA.debugLine="cr.Position = 0"; +_cr.setPosition((int) (0)); +RDebugUtils.currentLine=70385670; + //BA.debugLineNum = 70385670;BA.debugLine="cant = cr.GetString(\"HVD_CANT\")"; +_cant = (int)(Double.parseDouble(_cr.GetString("HVD_CANT"))); + }; +RDebugUtils.currentLine=70385672; + //BA.debugLineNum = 70385672;BA.debugLine="Return cant"; +if (true) return _cant; +RDebugUtils.currentLine=70385673; + //BA.debugLineNum = 70385673;BA.debugLine="End Sub"; +return 0; +} +public static int _traecantidadvendida(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecantidadvendida", false)) + {return ((Integer) Debug.delegate(null, "traecantidadvendida", new Object[] {_ba,_cliente,_prodid}));} +int _cant = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; +RDebugUtils.currentLine=70320128; + //BA.debugLineNum = 70320128;BA.debugLine="Sub traeCantidadVendida(cliente As String, prodId"; +RDebugUtils.currentLine=70320129; + //BA.debugLineNum = 70320129;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=70320130; + //BA.debugLineNum = 70320130;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("Select rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cli_orig = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_RECHAZO = 0 and REP_CANT > 0")))); +RDebugUtils.currentLine=70320132; + //BA.debugLineNum = 70320132;BA.debugLine="If cr.RowCount > 0 Then"; +if (_cr.getRowCount()>0) { +RDebugUtils.currentLine=70320133; + //BA.debugLineNum = 70320133;BA.debugLine="cr.Position = 0"; +_cr.setPosition((int) (0)); +RDebugUtils.currentLine=70320134; + //BA.debugLineNum = 70320134;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; +_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); + }; +RDebugUtils.currentLine=70320136; + //BA.debugLineNum = 70320136;BA.debugLine="Return cant"; +if (true) return _cant; +RDebugUtils.currentLine=70320137; + //BA.debugLineNum = 70320137;BA.debugLine="End Sub"; +return 0; +} +public static anywheresoftware.b4a.objects.collections.Map _traeentregados(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeentregados", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traeentregados", new Object[] {_ba}));} anywheresoftware.b4a.objects.collections.Map _m = null; int _cant = 0; String _monto = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; - //BA.debugLineNum = 930;BA.debugLine="Sub traeRechazados As Map"; - //BA.debugLineNum = 931;BA.debugLine="Private m As Map"; +RDebugUtils.currentLine=70713344; + //BA.debugLineNum = 70713344;BA.debugLine="Sub traeEntregados As Map"; +RDebugUtils.currentLine=70713345; + //BA.debugLineNum = 70713345;BA.debugLine="Private m As Map"; _m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 932;BA.debugLine="Private cant As Int = 0"; +RDebugUtils.currentLine=70713346; + //BA.debugLineNum = 70713346;BA.debugLine="Private cant As Int = 0"; _cant = (int) (0); - //BA.debugLineNum = 933;BA.debugLine="Private monto As String = 0"; +RDebugUtils.currentLine=70713347; + //BA.debugLineNum = 70713347;BA.debugLine="Private monto As String = 0"; _monto = BA.NumberToString(0); - //BA.debugLineNum = 934;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=70713348; + //BA.debugLineNum = 70713348;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; _rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '1' and REP_CANT <> '0'")))); - //BA.debugLineNum = 935;BA.debugLine="If rc.RowCount > 0 Then"; +_rc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(HVD_CANT) as CUANTOS, sum(HVD_COSTO_TOT) as CUANTO from HIST_VENTAS where HVD_ESTATUS = '1' and HVD_COSTO_TOT <> '0'")))); +RDebugUtils.currentLine=70713349; + //BA.debugLineNum = 70713349;BA.debugLine="If rc.RowCount > 0 Then"; if (_rc.getRowCount()>0) { - //BA.debugLineNum = 936;BA.debugLine="rc.Position = 0"; +RDebugUtils.currentLine=70713350; + //BA.debugLineNum = 70713350;BA.debugLine="rc.Position = 0"; _rc.setPosition((int) (0)); - //BA.debugLineNum = 937;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +RDebugUtils.currentLine=70713351; + //BA.debugLineNum = 70713351;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; if (_rc.GetString("CUANTOS")!= null) { - //BA.debugLineNum = 938;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +RDebugUtils.currentLine=70713352; + //BA.debugLineNum = 70713352;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; _cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); - //BA.debugLineNum = 939;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +RDebugUtils.currentLine=70713353; + //BA.debugLineNum = 70713353;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; _monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); }; }; - //BA.debugLineNum = 943;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +RDebugUtils.currentLine=70713357; + //BA.debugLineNum = 70713357;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 944;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70713358; + //BA.debugLineNum = 70713358;BA.debugLine="End Sub"; return null; } -public static String _traeruta(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; - //BA.debugLineNum = 743;BA.debugLine="Sub traeRuta (cliente As String) As String 'ignore"; - //BA.debugLineNum = 744;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 745;BA.debugLine="Private r As String"; -_r = ""; - //BA.debugLineNum = 746;BA.debugLine="c=Starter.skmt.ExecQuery($\"select CAT_CL_RUTA fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); - //BA.debugLineNum = 747;BA.debugLine="r = \"0\""; -_r = "0"; - //BA.debugLineNum = 748;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 749;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 750;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; -_r = _c.GetString("CAT_CL_RUTA"); +public static anywheresoftware.b4a.objects.collections.Map _traerechazados(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traerechazados", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traerechazados", new Object[] {_ba}));} +anywheresoftware.b4a.objects.collections.Map _m = null; +int _cant = 0; +String _monto = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; +RDebugUtils.currentLine=70778880; + //BA.debugLineNum = 70778880;BA.debugLine="Sub traeRechazados As Map"; +RDebugUtils.currentLine=70778881; + //BA.debugLineNum = 70778881;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=70778882; + //BA.debugLineNum = 70778882;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=70778883; + //BA.debugLineNum = 70778883;BA.debugLine="Private monto As String = 0"; +_monto = BA.NumberToString(0); +RDebugUtils.currentLine=70778884; + //BA.debugLineNum = 70778884;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '1' and REP_CANT <> '0'")))); +RDebugUtils.currentLine=70778885; + //BA.debugLineNum = 70778885;BA.debugLine="If rc.RowCount > 0 Then"; +if (_rc.getRowCount()>0) { +RDebugUtils.currentLine=70778886; + //BA.debugLineNum = 70778886;BA.debugLine="rc.Position = 0"; +_rc.setPosition((int) (0)); +RDebugUtils.currentLine=70778887; + //BA.debugLineNum = 70778887;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +if (_rc.GetString("CUANTOS")!= null) { +RDebugUtils.currentLine=70778888; + //BA.debugLineNum = 70778888;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); +RDebugUtils.currentLine=70778889; + //BA.debugLineNum = 70778889;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); }; - //BA.debugLineNum = 752;BA.debugLine="c.Close"; + }; +RDebugUtils.currentLine=70778893; + //BA.debugLineNum = 70778893;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); +RDebugUtils.currentLine=70778894; + //BA.debugLineNum = 70778894;BA.debugLine="End Sub"; +return null; +} +public static anywheresoftware.b4a.objects.collections.Map _traevendidos(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traevendidos", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traevendidos", new Object[] {_ba}));} +anywheresoftware.b4a.objects.collections.Map _m = null; +int _cant = 0; +String _monto = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; +RDebugUtils.currentLine=70844416; + //BA.debugLineNum = 70844416;BA.debugLine="Sub traeVendidos As Map"; +RDebugUtils.currentLine=70844417; + //BA.debugLineNum = 70844417;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=70844418; + //BA.debugLineNum = 70844418;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=70844419; + //BA.debugLineNum = 70844419;BA.debugLine="Private monto As String = 0"; +_monto = BA.NumberToString(0); +RDebugUtils.currentLine=70844420; + //BA.debugLineNum = 70844420;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '0' and REP_CANT <> '0'")))); +RDebugUtils.currentLine=70844421; + //BA.debugLineNum = 70844421;BA.debugLine="If rc.RowCount > 0 Then"; +if (_rc.getRowCount()>0) { +RDebugUtils.currentLine=70844422; + //BA.debugLineNum = 70844422;BA.debugLine="rc.Position = 0"; +_rc.setPosition((int) (0)); +RDebugUtils.currentLine=70844423; + //BA.debugLineNum = 70844423;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +if (_rc.GetString("CUANTOS")!= null) { +RDebugUtils.currentLine=70844424; + //BA.debugLineNum = 70844424;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); +RDebugUtils.currentLine=70844425; + //BA.debugLineNum = 70844425;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); + }; + }; +RDebugUtils.currentLine=70844429; + //BA.debugLineNum = 70844429;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); +RDebugUtils.currentLine=70844430; + //BA.debugLineNum = 70844430;BA.debugLine="End Sub"; +return null; +} +public static String _dameusuariodedb(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "dameusuariodedb", false)) + {return ((String) Debug.delegate(null, "dameusuariodedb", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _u = ""; +RDebugUtils.currentLine=69337088; + //BA.debugLineNum = 69337088;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; +RDebugUtils.currentLine=69337089; + //BA.debugLineNum = 69337089;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=69337090; + //BA.debugLineNum = 69337090;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=69337091; + //BA.debugLineNum = 69337091;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=69337092; + //BA.debugLineNum = 69337092;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=69337093; + //BA.debugLineNum = 69337093;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=69337094; + //BA.debugLineNum = 69337094;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +if (_c.getRowCount()>0) { +_u = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=69337095; + //BA.debugLineNum = 69337095;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 753;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 754;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69337096; + //BA.debugLineNum = 69337096;BA.debugLine="Return u"; +if (true) return _u; +RDebugUtils.currentLine=69337097; + //BA.debugLineNum = 69337097;BA.debugLine="End Sub"; return ""; } public static String _traerutaprev(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traerutaprev", false)) + {return ((String) Debug.delegate(null, "traerutaprev", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _a = ""; - //BA.debugLineNum = 1047;BA.debugLine="Sub traerUTAPREV As String 'ignore"; - //BA.debugLineNum = 1048;BA.debugLine="Private c As Cursor"; +RDebugUtils.currentLine=71237632; + //BA.debugLineNum = 71237632;BA.debugLine="Sub traerUTAPREV As String 'ignore"; +RDebugUtils.currentLine=71237633; + //BA.debugLineNum = 71237633;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1049;BA.debugLine="Private a As String"; +RDebugUtils.currentLine=71237634; + //BA.debugLineNum = 71237634;BA.debugLine="Private a As String"; _a = ""; - //BA.debugLineNum = 1050;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fr"; +RDebugUtils.currentLine=71237635; + //BA.debugLineNum = 71237635;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fr"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1051;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=71237636; + //BA.debugLineNum = 71237636;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1052;BA.debugLine="a = C.GetString(\"CAT_CL_RUTA\")"; +RDebugUtils.currentLine=71237637; + //BA.debugLineNum = 71237637;BA.debugLine="a = C.GetString(\"CAT_CL_RUTA\")"; _a = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 1053;BA.debugLine="c.Close"; +RDebugUtils.currentLine=71237638; + //BA.debugLineNum = 71237638;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1054;BA.debugLine="Return a"; +RDebugUtils.currentLine=71237639; + //BA.debugLineNum = 71237639;BA.debugLine="Return a"; if (true) return _a; - //BA.debugLineNum = 1055;BA.debugLine="End Sub"; -return ""; -} -public static String _traerutareparto(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; - //BA.debugLineNum = 985;BA.debugLine="Sub traeRutaReparto As String 'ignore"; - //BA.debugLineNum = 986;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 987;BA.debugLine="Private r As String"; -_r = ""; - //BA.debugLineNum = 988;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 989;BA.debugLine="r = \"0\""; -_r = "0"; - //BA.debugLineNum = 990;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 991;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 992;BA.debugLine="r = c.GetString(\"RUTAA\")"; -_r = _c.GetString("RUTAA"); - }; - //BA.debugLineNum = 994;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 995;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 996;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71237640; + //BA.debugLineNum = 71237640;BA.debugLine="End Sub"; return ""; } public static String _traeusuario(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeusuario", false)) + {return ((String) Debug.delegate(null, "traeusuario", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _a = ""; - //BA.debugLineNum = 1009;BA.debugLine="Sub traeUsuario As String 'ignore"; - //BA.debugLineNum = 1010;BA.debugLine="Private c As Cursor"; +RDebugUtils.currentLine=71106560; + //BA.debugLineNum = 71106560;BA.debugLine="Sub traeUsuario As String 'ignore"; +RDebugUtils.currentLine=71106561; + //BA.debugLineNum = 71106561;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1011;BA.debugLine="Private a As String"; +RDebugUtils.currentLine=71106562; + //BA.debugLineNum = 71106562;BA.debugLine="Private a As String"; _a = ""; - //BA.debugLineNum = 1012;BA.debugLine="c = Starter.skmt.ExecQuery(\"select USUARIO from U"; +RDebugUtils.currentLine=71106563; + //BA.debugLineNum = 71106563;BA.debugLine="c = Starter.skmt.ExecQuery(\"select USUARIO from U"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from USUARIOA"))); - //BA.debugLineNum = 1013;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=71106564; + //BA.debugLineNum = 71106564;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1014;BA.debugLine="a = C.GetString(\"USUARIO\")"; +RDebugUtils.currentLine=71106565; + //BA.debugLineNum = 71106565;BA.debugLine="a = C.GetString(\"USUARIO\")"; _a = _c.GetString("USUARIO"); - //BA.debugLineNum = 1015;BA.debugLine="c.Close"; +RDebugUtils.currentLine=71106566; + //BA.debugLineNum = 71106566;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1016;BA.debugLine="Return a"; +RDebugUtils.currentLine=71106567; + //BA.debugLineNum = 71106567;BA.debugLine="Return a"; if (true) return _a; - //BA.debugLineNum = 1017;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71106568; + //BA.debugLineNum = 71106568;BA.debugLine="End Sub"; return ""; } -public static String _traeusuariodebd(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _u = ""; - //BA.debugLineNum = 257;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; - //BA.debugLineNum = 258;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 259;BA.debugLine="Private u As String = \"SinUsuario\""; -_u = "SinUsuario"; - //BA.debugLineNum = 260;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 261;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 262;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 263;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; -if (_c.getRowCount()>0) { -_u = _c.GetString("USUARIO");}; - //BA.debugLineNum = 264;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 265;BA.debugLine="Return u"; -if (true) return _u; - //BA.debugLineNum = 266;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _traevendidos(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; -int _cant = 0; -String _monto = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; - //BA.debugLineNum = 947;BA.debugLine="Sub traeVendidos As Map"; - //BA.debugLineNum = 948;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 949;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 950;BA.debugLine="Private monto As String = 0"; -_monto = BA.NumberToString(0); - //BA.debugLineNum = 951;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; -_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '0' and REP_CANT <> '0'")))); - //BA.debugLineNum = 952;BA.debugLine="If rc.RowCount > 0 Then"; -if (_rc.getRowCount()>0) { - //BA.debugLineNum = 953;BA.debugLine="rc.Position = 0"; -_rc.setPosition((int) (0)); - //BA.debugLineNum = 954;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; -if (_rc.GetString("CUANTOS")!= null) { - //BA.debugLineNum = 955;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; -_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); - //BA.debugLineNum = 956;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; -_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); - }; - }; - //BA.debugLineNum = 960;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 961;BA.debugLine="End Sub"; +public static anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _createbitmapwithnumber(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _originalbitmap,int _number) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "createbitmapwithnumber", false)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(null, "createbitmapwithnumber", new Object[] {_ba,_originalbitmap,_number}));} +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _newbitmap = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper _canvas = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _destrect = null; +RDebugUtils.currentLine=71303168; + //BA.debugLineNum = 71303168;BA.debugLine="Sub CreateBitmapWithNumber(OriginalBitmap As Bitma"; +RDebugUtils.currentLine=71303169; + //BA.debugLineNum = 71303169;BA.debugLine="Dim NewBitmap As Bitmap"; +_newbitmap = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=71303170; + //BA.debugLineNum = 71303170;BA.debugLine="NewBitmap.InitializeMutable(OriginalBitmap.Width,"; +_newbitmap.InitializeMutable(_originalbitmap.getWidth(),_originalbitmap.getHeight()); +RDebugUtils.currentLine=71303172; + //BA.debugLineNum = 71303172;BA.debugLine="Dim Canvas As Canvas"; +_canvas = new anywheresoftware.b4a.objects.drawable.CanvasWrapper(); +RDebugUtils.currentLine=71303173; + //BA.debugLineNum = 71303173;BA.debugLine="Canvas.Initialize2(NewBitmap)"; +_canvas.Initialize2((android.graphics.Bitmap)(_newbitmap.getObject())); +RDebugUtils.currentLine=71303176; + //BA.debugLineNum = 71303176;BA.debugLine="Dim DestRect As Rect"; +_destrect = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); +RDebugUtils.currentLine=71303177; + //BA.debugLineNum = 71303177;BA.debugLine="DestRect.Initialize(0, 0, OriginalBitmap.Width, O"; +_destrect.Initialize((int) (0),(int) (0),_originalbitmap.getWidth(),_originalbitmap.getHeight()); +RDebugUtils.currentLine=71303180; + //BA.debugLineNum = 71303180;BA.debugLine="Canvas.DrawBitmap(OriginalBitmap, Null, DestRect)"; +_canvas.DrawBitmap((android.graphics.Bitmap)(_originalbitmap.getObject()),(android.graphics.Rect)(anywheresoftware.b4a.keywords.Common.Null),(android.graphics.Rect)(_destrect.getObject())); +RDebugUtils.currentLine=71303183; + //BA.debugLineNum = 71303183;BA.debugLine="Canvas.DrawText(Number, (OriginalBitmap.Width / 2"; +_canvas.DrawText(_ba,BA.NumberToString(_number),(float) ((_originalbitmap.getWidth()/(double)2)),(float) ((_originalbitmap.getHeight()/(double)2.4)),anywheresoftware.b4a.keywords.Common.Typeface.DEFAULT,(float) (20),anywheresoftware.b4a.keywords.Common.Colors.White,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=71303185; + //BA.debugLineNum = 71303185;BA.debugLine="Return NewBitmap"; +if (true) return _newbitmap; +RDebugUtils.currentLine=71303186; + //BA.debugLineNum = 71303186;BA.debugLine="End Sub"; return null; } +public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borraarribade100errores", false)) + {return ((String) Debug.delegate(null, "borraarribade100errores", new Object[] {_ba}));} +RDebugUtils.currentLine=68747264; + //BA.debugLineNum = 68747264;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; +RDebugUtils.currentLine=68747265; + //BA.debugLineNum = 68747265;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=68747266; + //BA.debugLineNum = 68747266;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite"; +anywheresoftware.b4a.keywords.Common.LogImpl("268747266","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=68747267; + //BA.debugLineNum = 68747267;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE"; +_errorlog.ExecNonQuery("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )"); +RDebugUtils.currentLine=68747268; + //BA.debugLineNum = 68747268;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +_errorlog.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=68747270; + //BA.debugLineNum = 68747270;BA.debugLine="End Sub"; +return ""; } +public static String _revisabd(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisabd", false)) + {return ((String) Debug.delegate(null, "revisabd", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=67764224; + //BA.debugLineNum = 67764224;BA.debugLine="Sub revisaBD 'ignore"; +RDebugUtils.currentLine=67764225; + //BA.debugLineNum = 67764225;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(mostCurrent._starter._ruta /*String*/ ,"kmt.db"))) { +anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db");}; +RDebugUtils.currentLine=67764226; + //BA.debugLineNum = 67764226;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; +RDebugUtils.currentLine=67764227; + //BA.debugLineNum = 67764227;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); +RDebugUtils.currentLine=67764229; + //BA.debugLineNum = 67764229;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); +RDebugUtils.currentLine=67764231; + //BA.debugLineNum = 67764231;BA.debugLine="kmt.ExecNonQuery(\"DROP TABLE IF EXISTS CAT_FOLIOS"; +_kmt.ExecNonQuery("DROP TABLE IF EXISTS CAT_FOLIOS"); +RDebugUtils.currentLine=67764232; + //BA.debugLineNum = 67764232;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS REPA"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS REPARTO_GEO (CLIENTE TEXT, USUARIO TEXT, FECHA_PUNTEO TEXT, LATITUD TEXT, LONGITUD TEXT, ALMACEN TEXT, RUTA_REPARTO TEXT, RUTA_PREV TEXT, FECHA_PREVENTA TEXT, MOTIVO TEXT, COMENTARIO TEXT, TIPO TEXT, ENVIO TEXT)"); +RDebugUtils.currentLine=67764234; + //BA.debugLineNum = 67764234;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_errorlog.Initialize(mostCurrent._starter._ruta /*String*/ ,"errorLog.db",anywheresoftware.b4a.keywords.Common.True);}; +RDebugUtils.currentLine=67764235; + //BA.debugLineNum = 67764235;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; +_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"); +RDebugUtils.currentLine=67764237; + //BA.debugLineNum = 67764237;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=67764238; + //BA.debugLineNum = 67764238;BA.debugLine="Dim c As Cursor=kmt.ExecQuery(\"SELECT COUNT(*) A"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('noventa') WHERE name='NV_REPROGRAMAR'"))); +RDebugUtils.currentLine=67764239; + //BA.debugLineNum = 67764239;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=67764240; + //BA.debugLineNum = 67764240;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=67764241; + //BA.debugLineNum = 67764241;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE noventa ADD COLUM"; +_kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"); + }; + } + catch (Exception e16) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16);RDebugUtils.currentLine=67764244; + //BA.debugLineNum = 67764244;BA.debugLine="Try"; +try {RDebugUtils.currentLine=67764245; + //BA.debugLineNum = 67764245;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE noventa ADD COLUM"; +_kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"); + } + catch (Exception e19) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19);RDebugUtils.currentLine=67764247; + //BA.debugLineNum = 67764247;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("267764247",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; + }; +RDebugUtils.currentLine=67764250; + //BA.debugLineNum = 67764250;BA.debugLine="End Sub"; +return ""; +} +public static String _borraarribade600renglonesbitacora(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borraarribade600renglonesbitacora", false)) + {return ((String) Debug.delegate(null, "borraarribade600renglonesbitacora", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=68812800; + //BA.debugLineNum = 68812800;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; +RDebugUtils.currentLine=68812801; + //BA.debugLineNum = 68812801;BA.debugLine="revisaBD"; +_revisabd(_ba); +RDebugUtils.currentLine=68812802; + //BA.debugLineNum = 68812802;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim"; +anywheresoftware.b4a.keywords.Common.LogImpl("268812802","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=68812803; + //BA.debugLineNum = 68812803;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=68812804; + //BA.debugLineNum = 68812804;BA.debugLine="c = kmt.ExecQuery(\"select fecha from bitacora\")"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select fecha from bitacora"))); +RDebugUtils.currentLine=68812805; + //BA.debugLineNum = 68812805;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=68812806; + //BA.debugLineNum = 68812806;BA.debugLine="If c.RowCount > 650 Then"; +if (_c.getRowCount()>650) { +RDebugUtils.currentLine=68812807; + //BA.debugLineNum = 68812807;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fec"; +_kmt.ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"); +RDebugUtils.currentLine=68812808; + //BA.debugLineNum = 68812808;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); + }; +RDebugUtils.currentLine=68812811; + //BA.debugLineNum = 68812811;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=68812812; + //BA.debugLineNum = 68812812;BA.debugLine="End Sub"; +return ""; +} +public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borralogdb", false)) + {return ((String) Debug.delegate(null, "borralogdb", new Object[] {_ba}));} +RDebugUtils.currentLine=68419584; + //BA.debugLineNum = 68419584;BA.debugLine="Sub borraLogDB 'ignore"; +RDebugUtils.currentLine=68419585; + //BA.debugLineNum = 68419585;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("268419585","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=68419586; + //BA.debugLineNum = 68419586;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +_kmt.ExecNonQuery("delete from bitacora"); +RDebugUtils.currentLine=68419587; + //BA.debugLineNum = 68419587;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=68419588; + //BA.debugLineNum = 68419588;BA.debugLine="End Sub"; +return ""; +} +public static String _borramosarchivogps(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borramosarchivogps", false)) + {return ((String) Debug.delegate(null, "borramosarchivogps", new Object[] {_ba}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +String _s = ""; +byte[] _t = null; +RDebugUtils.currentLine=67698688; + //BA.debugLineNum = 67698688;BA.debugLine="Sub borramosArchivoGPS 'ignore"; +RDebugUtils.currentLine=67698689; + //BA.debugLineNum = 67698689;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=67698690; + //BA.debugLineNum = 67698690;BA.debugLine="Dim s As String = \"\""; +_s = ""; +RDebugUtils.currentLine=67698691; + //BA.debugLineNum = 67698691;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +_t = _s.getBytes("UTF-8"); +RDebugUtils.currentLine=67698692; + //BA.debugLineNum = 67698692;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +_out.WriteBytes(_t,(int) (0),_t.length); +RDebugUtils.currentLine=67698693; + //BA.debugLineNum = 67698693;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=67698694; + //BA.debugLineNum = 67698694;BA.debugLine="End Sub"; +return ""; +} +public static String _compress(anywheresoftware.b4a.BA _ba,String _str) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "compress", false)) + {return ((String) Debug.delegate(null, "compress", new Object[] {_ba,_str}));} +byte[] _compressed = null; +String _base64 = ""; +RDebugUtils.currentLine=66977792; + //BA.debugLineNum = 66977792;BA.debugLine="Sub compress(str As String) As String 'ignore"; +RDebugUtils.currentLine=66977794; + //BA.debugLineNum = 66977794;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +_compressed = _gzip.compress(_str); +RDebugUtils.currentLine=66977797; + //BA.debugLineNum = 66977797;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +_base64 = _su.EncodeBase64(_compressed); +RDebugUtils.currentLine=66977798; + //BA.debugLineNum = 66977798;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("266977798",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); +RDebugUtils.currentLine=66977800; + //BA.debugLineNum = 66977800;BA.debugLine="Return base64"; +if (true) return _base64; +RDebugUtils.currentLine=66977801; + //BA.debugLineNum = 66977801;BA.debugLine="End Sub"; +return ""; +} +public static String _copiadb(anywheresoftware.b4a.BA _ba,boolean _result) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "copiadb", false)) + {return ((String) Debug.delegate(null, "copiadb", new Object[] {_ba,_result}));} +String _p = ""; +String _thedir = ""; +RDebugUtils.currentLine=69140480; + //BA.debugLineNum = 69140480;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +RDebugUtils.currentLine=69140481; + //BA.debugLineNum = 69140481;BA.debugLine="If result Then"; +if (_result) { +RDebugUtils.currentLine=69140482; + //BA.debugLineNum = 69140482;BA.debugLine="Dim p As String"; +_p = ""; +RDebugUtils.currentLine=69140483; + //BA.debugLineNum = 69140483;BA.debugLine="If File.ExternalWritable Then"; +if (anywheresoftware.b4a.keywords.Common.File.getExternalWritable()) { +RDebugUtils.currentLine=69140484; + //BA.debugLineNum = 69140484;BA.debugLine="p = File.DirInternal"; +_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); + }else { +RDebugUtils.currentLine=69140487; + //BA.debugLineNum = 69140487;BA.debugLine="p = File.DirInternal"; +_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); + }; +RDebugUtils.currentLine=69140490; + //BA.debugLineNum = 69140490;BA.debugLine="Dim theDir As String"; +_thedir = ""; +RDebugUtils.currentLine=69140491; + //BA.debugLineNum = 69140491;BA.debugLine="Try"; +try {RDebugUtils.currentLine=69140492; + //BA.debugLineNum = 69140492;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmts"); +RDebugUtils.currentLine=69140493; + //BA.debugLineNum = 69140493;BA.debugLine="theDir = \"/kmts\""; +_thedir = "/kmts"; + } + catch (Exception e13) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13);RDebugUtils.currentLine=69140495; + //BA.debugLineNum = 69140495;BA.debugLine="theDir = \"\""; +_thedir = ""; + }; +RDebugUtils.currentLine=69140497; + //BA.debugLineNum = 69140497;BA.debugLine="Try"; +try {RDebugUtils.currentLine=69140498; + //BA.debugLineNum = 69140498;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; +anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.File.getDirInternal()+_thedir,"guna_rep_kmt.db"); +RDebugUtils.currentLine=69140499; + //BA.debugLineNum = 69140499;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),anywheresoftware.b4a.keywords.Common.False); + } + catch (Exception e19) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19);RDebugUtils.currentLine=69140501; + //BA.debugLineNum = 69140501;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))),anywheresoftware.b4a.keywords.Common.True); + }; +RDebugUtils.currentLine=69140503; + //BA.debugLineNum = 69140503;BA.debugLine="Log(\"rootExternal=\"&p)"; +anywheresoftware.b4a.keywords.Common.LogImpl("269140503","rootExternal="+_p,0); +RDebugUtils.currentLine=69140504; + //BA.debugLineNum = 69140504;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +anywheresoftware.b4a.keywords.Common.LogImpl("269140504","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); +RDebugUtils.currentLine=69140505; + //BA.debugLineNum = 69140505;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +anywheresoftware.b4a.keywords.Common.LogImpl("269140505","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); + }else { +RDebugUtils.currentLine=69140507; + //BA.debugLineNum = 69140507;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); + }; +RDebugUtils.currentLine=69140509; + //BA.debugLineNum = 69140509;BA.debugLine="End Sub"; +return ""; +} +public static String _dameerroresjson(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.sql.SQL _sql,int _maxerrores,boolean _comprimido) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "dameerroresjson", false)) + {return ((String) Debug.delegate(null, "dameerroresjson", new Object[] {_ba,_sql,_maxerrores,_comprimido}));} +anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _j = null; +String _lim = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _cur = null; +anywheresoftware.b4a.objects.collections.List _l = null; +int _i = 0; +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.objects.collections.Map _m2 = null; +RDebugUtils.currentLine=68943872; + //BA.debugLineNum = 68943872;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; +RDebugUtils.currentLine=68943873; + //BA.debugLineNum = 68943873;BA.debugLine="Log(\"dameErroresJSON\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("268943873","dameErroresJSON",0); +RDebugUtils.currentLine=68943874; + //BA.debugLineNum = 68943874;BA.debugLine="Private j As JSONGenerator"; +_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); +RDebugUtils.currentLine=68943875; + //BA.debugLineNum = 68943875;BA.debugLine="Private lim As String"; +_lim = ""; +RDebugUtils.currentLine=68943876; + //BA.debugLineNum = 68943876;BA.debugLine="Private cur As ResultSet"; +_cur = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +RDebugUtils.currentLine=68943877; + //BA.debugLineNum = 68943877;BA.debugLine="Private l As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=68943878; + //BA.debugLineNum = 68943878;BA.debugLine="Private i As Int = 0"; +_i = (int) (0); +RDebugUtils.currentLine=68943879; + //BA.debugLineNum = 68943879;BA.debugLine="l.Initialize"; +_l.Initialize(); +RDebugUtils.currentLine=68943880; + //BA.debugLineNum = 68943880;BA.debugLine="Dim m, m2 As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m2 = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=68943881; + //BA.debugLineNum = 68943881;BA.debugLine="m2.Initialize"; +_m2.Initialize(); +RDebugUtils.currentLine=68943882; + //BA.debugLineNum = 68943882;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; +if (_maxerrores==0) { +_lim = "";} +else { +_lim = "limit "+BA.NumberToString(_maxerrores);}; +RDebugUtils.currentLine=68943883; + //BA.debugLineNum = 68943883;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order"; +_cur = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_sql.ExecQuery("select * from errores order by fecha desc "+_lim))); +RDebugUtils.currentLine=68943884; + //BA.debugLineNum = 68943884;BA.debugLine="Do While cur.NextRow"; +while (_cur.NextRow()) { +RDebugUtils.currentLine=68943885; + //BA.debugLineNum = 68943885;BA.debugLine="m.Initialize"; +_m.Initialize(); +RDebugUtils.currentLine=68943886; + //BA.debugLineNum = 68943886;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; +_m.Put((Object)("fecha"),(Object)(_cur.GetString("fecha"))); +RDebugUtils.currentLine=68943887; + //BA.debugLineNum = 68943887;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; +_m.Put((Object)("error"),(Object)(_cur.GetString("error"))); +RDebugUtils.currentLine=68943888; + //BA.debugLineNum = 68943888;BA.debugLine="m2.Put(i,m)"; +_m2.Put((Object)(_i),(Object)(_m.getObject())); +RDebugUtils.currentLine=68943889; + //BA.debugLineNum = 68943889;BA.debugLine="i = i + 1"; +_i = (int) (_i+1); + } +; +RDebugUtils.currentLine=68943891; + //BA.debugLineNum = 68943891;BA.debugLine="cur.Close"; +_cur.Close(); +RDebugUtils.currentLine=68943892; + //BA.debugLineNum = 68943892;BA.debugLine="j.Initialize(m2)"; +_j.Initialize(_m2); +RDebugUtils.currentLine=68943893; + //BA.debugLineNum = 68943893;BA.debugLine="Log(j.ToString)"; +anywheresoftware.b4a.keywords.Common.LogImpl("268943893",_j.ToString(),0); +RDebugUtils.currentLine=68943894; + //BA.debugLineNum = 68943894;BA.debugLine="If comprimido Then"; +if (_comprimido) { +RDebugUtils.currentLine=68943895; + //BA.debugLineNum = 68943895;BA.debugLine="Return compress(j.ToString)"; +if (true) return _compress(_ba,_j.ToString()); + }else { +RDebugUtils.currentLine=68943897; + //BA.debugLineNum = 68943897;BA.debugLine="Return j.ToString"; +if (true) return _j.ToString(); + }; +RDebugUtils.currentLine=68943899; + //BA.debugLineNum = 68943899;BA.debugLine="End Sub"; +return ""; +} +public static String _dameruta(anywheresoftware.b4a.BA _ba,String _inicioruta,String _origenruta) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "dameruta", false)) + {return ((String) Debug.delegate(null, "dameruta", new Object[] {_ba,_inicioruta,_origenruta}));} +String _fechainicio = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _ruta2 = ""; +int _i = 0; +RDebugUtils.currentLine=67502080; + //BA.debugLineNum = 67502080;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; +RDebugUtils.currentLine=67502082; + //BA.debugLineNum = 67502082;BA.debugLine="Dim fechaInicio As String"; +_fechainicio = ""; +RDebugUtils.currentLine=67502083; + //BA.debugLineNum = 67502083;BA.debugLine="Try 'incioRuta es numero"; +try {RDebugUtils.currentLine=67502084; + //BA.debugLineNum = 67502084;BA.debugLine="inicioRuta = inicioRuta * 1"; +_inicioruta = BA.NumberToString((double)(Double.parseDouble(_inicioruta))*1); +RDebugUtils.currentLine=67502086; + //BA.debugLineNum = 67502086;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime."; +_fechainicio = _fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(anywheresoftware.b4a.keywords.Common.DateTime.TicksPerHour*(double)(Double.parseDouble(_inicioruta))))); + } + catch (Exception e6) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6);RDebugUtils.currentLine=67502088; + //BA.debugLineNum = 67502088;BA.debugLine="fechaInicio = fechaInicioHoy"; +_fechainicio = _fechainiciohoy(_ba); + }; +RDebugUtils.currentLine=67502091; + //BA.debugLineNum = 67502091;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("267502091","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; +RDebugUtils.currentLine=67502092; + //BA.debugLineNum = 67502092;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=67502093; + //BA.debugLineNum = 67502093;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize("; +if (_kmt.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { +_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; +RDebugUtils.currentLine=67502094; + //BA.debugLineNum = 67502094;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"select FECH"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("267502094","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; +RDebugUtils.currentLine=67502095; + //BA.debugLineNum = 67502095;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints)))); +RDebugUtils.currentLine=67502096; + //BA.debugLineNum = 67502096;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=67502097; + //BA.debugLineNum = 67502097;BA.debugLine="Dim ruta2 As String = \"\""; +_ruta2 = ""; +RDebugUtils.currentLine=67502098; + //BA.debugLineNum = 67502098;BA.debugLine="If c.RowCount>0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=67502099; + //BA.debugLineNum = 67502099;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step16 = 1; +final int limit16 = (int) (_c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit16 ;_i = _i + step16 ) { +RDebugUtils.currentLine=67502100; + //BA.debugLineNum = 67502100;BA.debugLine="c.Position=i"; +_c.setPosition(_i); +RDebugUtils.currentLine=67502101; + //BA.debugLineNum = 67502101;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; +_ruta2 = _ruta2+anywheresoftware.b4a.keywords.Common.CRLF+_c.GetString("LAT")+","+_c.GetString("LON")+","+_c.GetString("FECHA"); +RDebugUtils.currentLine=67502102; + //BA.debugLineNum = 67502102;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; +mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._fecharuta /*String*/ = _c.GetString("FECHA"); + } +}; + }; +RDebugUtils.currentLine=67502105; + //BA.debugLineNum = 67502105;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=67502106; + //BA.debugLineNum = 67502106;BA.debugLine="Return compress(ruta2)"; +if (true) return _compress(_ba,_ruta2); +RDebugUtils.currentLine=67502107; + //BA.debugLineNum = 67502107;BA.debugLine="End Sub"; +return ""; +} +public static String _fechainiciohoy(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "fechainiciohoy", false)) + {return ((String) Debug.delegate(null, "fechainiciohoy", new Object[] {_ba}));} +String _origformat = ""; +String _h = ""; +RDebugUtils.currentLine=68157440; + //BA.debugLineNum = 68157440;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +RDebugUtils.currentLine=68157441; + //BA.debugLineNum = 68157441;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=68157442; + //BA.debugLineNum = 68157442;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); +RDebugUtils.currentLine=68157443; + //BA.debugLineNum = 68157443;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; +_h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow())+"000000"; +RDebugUtils.currentLine=68157444; + //BA.debugLineNum = 68157444;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=68157445; + //BA.debugLineNum = 68157445;BA.debugLine="Log(\"Hoy=\"&h)"; +anywheresoftware.b4a.keywords.Common.LogImpl("268157445","Hoy="+_h,0); +RDebugUtils.currentLine=68157446; + //BA.debugLineNum = 68157446;BA.debugLine="Return h"; +if (true) return _h; +RDebugUtils.currentLine=68157447; + //BA.debugLineNum = 68157447;BA.debugLine="End Sub"; +return ""; +} +public static String _decompress(anywheresoftware.b4a.BA _ba,String _base64) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "decompress", false)) + {return ((String) Debug.delegate(null, "decompress", new Object[] {_ba,_base64}));} +byte[] _decompressedbytes = null; +anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; +String _uncompressed = ""; +RDebugUtils.currentLine=67043328; + //BA.debugLineNum = 67043328;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +RDebugUtils.currentLine=67043329; + //BA.debugLineNum = 67043329;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +_decompressedbytes = _su.DecodeBase64(_base64); +RDebugUtils.currentLine=67043331; + //BA.debugLineNum = 67043331;BA.debugLine="Dim bc As ByteConverter"; +_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); +RDebugUtils.currentLine=67043332; + //BA.debugLineNum = 67043332;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); +RDebugUtils.currentLine=67043333; + //BA.debugLineNum = 67043333;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("267043333",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); +RDebugUtils.currentLine=67043335; + //BA.debugLineNum = 67043335;BA.debugLine="Return uncompressed"; +if (true) return _uncompressed; +RDebugUtils.currentLine=67043336; + //BA.debugLineNum = 67043336;BA.debugLine="End Sub"; +return ""; +} +public static String _deleteerrorlog_db(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "deleteerrorlog_db", false)) + {return ((String) Debug.delegate(null, "deleteerrorlog_db", new Object[] {_ba}));} +RDebugUtils.currentLine=67633152; + //BA.debugLineNum = 67633152;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +RDebugUtils.currentLine=67633153; + //BA.debugLineNum = 67633153;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=67633154; + //BA.debugLineNum = 67633154;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +_errorlog.ExecNonQuery("delete from errores"); +RDebugUtils.currentLine=67633155; + //BA.debugLineNum = 67633155;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +_errorlog.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=67633156; + //BA.debugLineNum = 67633156;BA.debugLine="ToastMessageShow(\"Borrada\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borrada"),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=67633157; + //BA.debugLineNum = 67633157;BA.debugLine="End Sub"; +return ""; +} +public static String _deletegps_db(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "deletegps_db", false)) + {return ((String) Debug.delegate(null, "deletegps_db", new Object[] {_ba}));} +RDebugUtils.currentLine=67567616; + //BA.debugLineNum = 67567616;BA.debugLine="Sub deleteGPS_DB 'ignore"; +RDebugUtils.currentLine=67567617; + //BA.debugLineNum = 67567617;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +_kmt.ExecNonQuery("delete from RUTA_GPS"); +RDebugUtils.currentLine=67567618; + //BA.debugLineNum = 67567618;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=67567619; + //BA.debugLineNum = 67567619;BA.debugLine="End Sub"; +return ""; +} +public static long _fechakmt2ticks(anywheresoftware.b4a.BA _ba,String _fkmt) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "fechakmt2ticks", false)) + {return ((Long) Debug.delegate(null, "fechakmt2ticks", new Object[] {_ba,_fkmt}));} +String _partefecha = ""; +String _partehora = ""; +String _origformat = ""; +long _ticks = 0L; +RDebugUtils.currentLine=69009408; + //BA.debugLineNum = 69009408;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +RDebugUtils.currentLine=69009409; + //BA.debugLineNum = 69009409;BA.debugLine="Try"; +try {RDebugUtils.currentLine=69009410; + //BA.debugLineNum = 69009410;BA.debugLine="If fKMT.Length = 12 Then"; +if (_fkmt.length()==12) { +RDebugUtils.currentLine=69009411; + //BA.debugLineNum = 69009411;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +_partefecha = _fkmt.substring((int) (0),(int) (6)); +RDebugUtils.currentLine=69009412; + //BA.debugLineNum = 69009412;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +_partehora = _fkmt.substring((int) (6)); +RDebugUtils.currentLine=69009413; + //BA.debugLineNum = 69009413;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=69009414; + //BA.debugLineNum = 69009414;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); +RDebugUtils.currentLine=69009415; + //BA.debugLineNum = 69009415;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=69009416; + //BA.debugLineNum = 69009416;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +_ticks = anywheresoftware.b4a.keywords.Common.DateTime.DateTimeParse(_partefecha,_partehora); +RDebugUtils.currentLine=69009418; + //BA.debugLineNum = 69009418;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=69009419; + //BA.debugLineNum = 69009419;BA.debugLine="Return ticks"; +if (true) return _ticks; + }else { +RDebugUtils.currentLine=69009421; + //BA.debugLineNum = 69009421;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +anywheresoftware.b4a.keywords.Common.LogImpl("269009421","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); +RDebugUtils.currentLine=69009422; + //BA.debugLineNum = 69009422;BA.debugLine="Return 0"; +if (true) return (long) (0); + }; + } + catch (Exception e16) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16);RDebugUtils.currentLine=69009425; + //BA.debugLineNum = 69009425;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("269009425",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +RDebugUtils.currentLine=69009426; + //BA.debugLineNum = 69009426;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +anywheresoftware.b4a.keywords.Common.LogImpl("269009426",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=69009427; + //BA.debugLineNum = 69009427;BA.debugLine="Return 0"; +if (true) return (long) (0); + }; +RDebugUtils.currentLine=69009429; + //BA.debugLineNum = 69009429;BA.debugLine="End Sub"; +return 0L; +} +public static String _getphnid(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "getphnid", false)) + {return ((String) Debug.delegate(null, "getphnid", new Object[] {_ba}));} +String _t = ""; +String _s = ""; +RDebugUtils.currentLine=66912256; + //BA.debugLineNum = 66912256;BA.debugLine="Sub getPhnId As String 'ignore"; +RDebugUtils.currentLine=66912258; + //BA.debugLineNum = 66912258;BA.debugLine="devModel = phn.Model"; +_devmodel = _phn.getModel(); +RDebugUtils.currentLine=66912259; + //BA.debugLineNum = 66912259;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +if (_devmodel.length()<=3) { +RDebugUtils.currentLine=66912260; + //BA.debugLineNum = 66912260;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +_t = _phn.GetSettings("android_id"); +RDebugUtils.currentLine=66912261; + //BA.debugLineNum = 66912261;BA.debugLine="devModel = t"; +_devmodel = _t; + }; +RDebugUtils.currentLine=66912263; + //BA.debugLineNum = 66912263;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +if (_devmodel.length()>=3) { +RDebugUtils.currentLine=66912264; + //BA.debugLineNum = 66912264;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; +anywheresoftware.b4a.keywords.Common.File.WriteString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt",_devmodel); + }else +{RDebugUtils.currentLine=66912266; + //BA.debugLineNum = 66912266;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +if (_devmodel.length()<3) { +RDebugUtils.currentLine=66912267; + //BA.debugLineNum = 66912267;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; +_s = anywheresoftware.b4a.keywords.Common.File.ReadString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt"); +RDebugUtils.currentLine=66912268; + //BA.debugLineNum = 66912268;BA.debugLine="devModel = s"; +_devmodel = _s; + }} +; +RDebugUtils.currentLine=66912272; + //BA.debugLineNum = 66912272;BA.debugLine="Return devModel"; +if (true) return _devmodel; +RDebugUtils.currentLine=66912273; + //BA.debugLineNum = 66912273;BA.debugLine="End Sub"; +return ""; +} +public static String _getssid(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "getssid", false)) + {return ((String) Debug.delegate(null, "getssid", new Object[] {_ba}));} +RDebugUtils.currentLine=67829760; + //BA.debugLineNum = 67829760;BA.debugLine="Sub getSSID 'ignore"; +RDebugUtils.currentLine=67829765; + //BA.debugLineNum = 67829765;BA.debugLine="End Sub"; +return ""; +} +public static String _guardainfoenarchivo(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardainfoenarchivo", false)) + {return ((String) Debug.delegate(null, "guardainfoenarchivo", new Object[] {_ba,_coords}));} +String _origformat = ""; +String _lastupdate = ""; +String _ubic = ""; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +String _s = ""; +byte[] _t = null; +RDebugUtils.currentLine=67371008; + //BA.debugLineNum = 67371008;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +RDebugUtils.currentLine=67371010; + //BA.debugLineNum = 67371010;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=67371011; + //BA.debugLineNum = 67371011;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MMM-dd HH:mm:ss"); +RDebugUtils.currentLine=67371012; + //BA.debugLineNum = 67371012;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; +_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=67371013; + //BA.debugLineNum = 67371013;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=67371015; + //BA.debugLineNum = 67371015;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; +_ubic = _coords+","+_lastupdate; +RDebugUtils.currentLine=67371016; + //BA.debugLineNum = 67371016;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=67371017; + //BA.debugLineNum = 67371017;BA.debugLine="Dim s As String = ubic & CRLF"; +_s = _ubic+anywheresoftware.b4a.keywords.Common.CRLF; +RDebugUtils.currentLine=67371018; + //BA.debugLineNum = 67371018;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +_t = _s.getBytes("UTF-8"); +RDebugUtils.currentLine=67371019; + //BA.debugLineNum = 67371019;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +_out.WriteBytes(_t,(int) (0),_t.length); +RDebugUtils.currentLine=67371020; + //BA.debugLineNum = 67371020;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=67371021; + //BA.debugLineNum = 67371021;BA.debugLine="End Sub"; +return ""; +} +public static String _guardainfoenbd(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardainfoenbd", false)) + {return ((String) Debug.delegate(null, "guardainfoenbd", new Object[] {_ba,_coords}));} +String[] _latlon = null; +RDebugUtils.currentLine=67436544; + //BA.debugLineNum = 67436544;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +RDebugUtils.currentLine=67436545; + //BA.debugLineNum = 67436545;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Guardamos u"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("267436545","Guardamos ubicacion en BD - "+_coords,0);}; +RDebugUtils.currentLine=67436546; + //BA.debugLineNum = 67436546;BA.debugLine="Try"; +try {RDebugUtils.currentLine=67436547; + //BA.debugLineNum = 67436547;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords); +RDebugUtils.currentLine=67436548; + //BA.debugLineNum = 67436548;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +if (_latlon.length<2) { +_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);}; +RDebugUtils.currentLine=67436550; + //BA.debugLineNum = 67436550;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=67436551; + //BA.debugLineNum = 67436551;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha, l"; +_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])})); + } + catch (Exception e8) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8);RDebugUtils.currentLine=67436553; + //BA.debugLineNum = 67436553;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("267436553",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; +RDebugUtils.currentLine=67436555; + //BA.debugLineNum = 67436555;BA.debugLine="End Sub"; +return ""; +} +public static String _hmskmt(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "hmskmt", false)) + {return ((String) Debug.delegate(null, "hmskmt", new Object[] {_ba}));} +String _origformat = ""; +String _nuevahora = ""; +RDebugUtils.currentLine=67174400; + //BA.debugLineNum = 67174400;BA.debugLine="Sub hmsKMT As String 'ignore"; +RDebugUtils.currentLine=67174402; + //BA.debugLineNum = 67174402;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=67174403; + //BA.debugLineNum = 67174403;BA.debugLine="DateTime.DateFormat=\"HHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("HHmmss"); +RDebugUtils.currentLine=67174404; + //BA.debugLineNum = 67174404;BA.debugLine="Private nuevaHora As String=DateTime.Date(DateTim"; +_nuevahora = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=67174405; + //BA.debugLineNum = 67174405;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=67174407; + //BA.debugLineNum = 67174407;BA.debugLine="Return nuevaHora"; +if (true) return _nuevahora; +RDebugUtils.currentLine=67174408; + //BA.debugLineNum = 67174408;BA.debugLine="End Sub"; +return ""; +} +public static String _insertaenerrores(anywheresoftware.b4a.BA _ba,String _error) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "insertaenerrores", false)) + {return ((String) Debug.delegate(null, "insertaenerrores", new Object[] {_ba,_error}));} +RDebugUtils.currentLine=69271552; + //BA.debugLineNum = 69271552;BA.debugLine="Sub insertaEnErrores(error As String) 'ignore"; +RDebugUtils.currentLine=69271553; + //BA.debugLineNum = 69271553;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=69271554; + //BA.debugLineNum = 69271554;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fecha"; +_errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_error)})); +RDebugUtils.currentLine=69271555; + //BA.debugLineNum = 69271555;BA.debugLine="End Sub"; +return ""; +} +public static String _insertarenglonespruebaenerrorlog(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "insertarenglonespruebaenerrorlog", false)) + {return ((String) Debug.delegate(null, "insertarenglonespruebaenerrorlog", new Object[] {_ba}));} +int _x = 0; +RDebugUtils.currentLine=68878336; + //BA.debugLineNum = 68878336;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; +RDebugUtils.currentLine=68878337; + //BA.debugLineNum = 68878337;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=68878338; + //BA.debugLineNum = 68878338;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("268878338","insertamos 50 renglones a errorLog",0); +RDebugUtils.currentLine=68878339; + //BA.debugLineNum = 68878339;BA.debugLine="For x = 1 To 50"; +{ +final int step3 = 1; +final int limit3 = (int) (50); +_x = (int) (1) ; +for (;_x <= limit3 ;_x = _x + step3 ) { +RDebugUtils.currentLine=68878340; + //BA.debugLineNum = 68878340;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech"; +_errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)("abc")})); +RDebugUtils.currentLine=68878341; + //BA.debugLineNum = 68878341;BA.debugLine="Log(x)"; +anywheresoftware.b4a.keywords.Common.LogImpl("268878341",BA.NumberToString(_x),0); + } +}; +RDebugUtils.currentLine=68878343; + //BA.debugLineNum = 68878343;BA.debugLine="End Sub"; +return ""; +} +public static String _installapk(anywheresoftware.b4a.BA _ba,String _dir,String _apk) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "installapk", false)) + {return ((String) Debug.delegate(null, "installapk", new Object[] {_ba,_dir,_apk}));} +anywheresoftware.b4a.objects.IntentWrapper _i = null; +RDebugUtils.currentLine=69074944; + //BA.debugLineNum = 69074944;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +RDebugUtils.currentLine=69074945; + //BA.debugLineNum = 69074945;BA.debugLine="If File.Exists(dir, apk) Then"; +if (anywheresoftware.b4a.keywords.Common.File.Exists(_dir,_apk)) { +RDebugUtils.currentLine=69074946; + //BA.debugLineNum = 69074946;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=69074947; + //BA.debugLineNum = 69074947;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +_i.Initialize(_i.ACTION_VIEW,"file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_dir,_apk)); +RDebugUtils.currentLine=69074948; + //BA.debugLineNum = 69074948;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +_i.SetType("application/vnd.android.package-archive"); +RDebugUtils.currentLine=69074949; + //BA.debugLineNum = 69074949;BA.debugLine="StartActivity(i)"; +anywheresoftware.b4a.keywords.Common.StartActivity((_ba.processBA == null ? _ba : _ba.processBA),(Object)(_i.getObject())); + }; +RDebugUtils.currentLine=69074951; + //BA.debugLineNum = 69074951;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.collections.Map _json2map(anywheresoftware.b4a.BA _ba,String _thejson) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "json2map", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "json2map", new Object[] {_ba,_thejson}));} +anywheresoftware.b4a.objects.collections.JSONParser _json = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +RDebugUtils.currentLine=67895296; + //BA.debugLineNum = 67895296;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; +RDebugUtils.currentLine=67895298; + //BA.debugLineNum = 67895298;BA.debugLine="Try"; +try {RDebugUtils.currentLine=67895299; + //BA.debugLineNum = 67895299;BA.debugLine="Private json As JSONParser"; +_json = new anywheresoftware.b4a.objects.collections.JSONParser(); +RDebugUtils.currentLine=67895300; + //BA.debugLineNum = 67895300;BA.debugLine="json.Initialize(theJson)"; +_json.Initialize(_thejson); +RDebugUtils.currentLine=67895301; + //BA.debugLineNum = 67895301;BA.debugLine="Return json.NextObject"; +if (true) return _json.NextObject(); + } + catch (Exception e6) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6);RDebugUtils.currentLine=67895303; + //BA.debugLineNum = 67895303;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("267895303",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +RDebugUtils.currentLine=67895304; + //BA.debugLineNum = 67895304;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; +_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); +RDebugUtils.currentLine=67895305; + //BA.debugLineNum = 67895305;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("title"),(Object)("Error generating JSON"),(Object)("t"),(Object)("Error"),(Object)("Message"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject()),(Object)("text"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject())}); +RDebugUtils.currentLine=67895306; + //BA.debugLineNum = 67895306;BA.debugLine="Return m"; +if (true) return _m; + }; +RDebugUtils.currentLine=67895308; + //BA.debugLineNum = 67895308;BA.debugLine="End Sub"; +return null; +} +public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "log2db", false)) + {return ((String) Debug.delegate(null, "log2db", new Object[] {_ba,_texto}));} +RDebugUtils.currentLine=68222976; + //BA.debugLineNum = 68222976;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +RDebugUtils.currentLine=68222977; + //BA.debugLineNum = 68222977;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +anywheresoftware.b4a.keywords.Common.LogImpl("268222977",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=68222978; + //BA.debugLineNum = 68222978;BA.debugLine="If kmt.IsInitialized Then kmt.ExecNonQuery2(\"INSE"; +if (_kmt.IsInitialized()) { +_kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_texto)}));}; +RDebugUtils.currentLine=68222979; + //BA.debugLineNum = 68222979;BA.debugLine="End Sub"; +return ""; +} +public static String _mandamosloc(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "mandamosloc", false)) + {return ((String) Debug.delegate(null, "mandamosloc", new Object[] {_ba,_coords}));} +RDebugUtils.currentLine=68091904; + //BA.debugLineNum = 68091904;BA.debugLine="Sub mandamosLoc(coords As String) 'ignore"; +RDebugUtils.currentLine=68091920; + //BA.debugLineNum = 68091920;BA.debugLine="End Sub"; +return ""; +} +public static String _map2json(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "map2json", false)) + {return ((String) Debug.delegate(null, "map2json", new Object[] {_ba,_m}));} +anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _jg = null; +String _t = ""; +RDebugUtils.currentLine=67960832; + //BA.debugLineNum = 67960832;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; +RDebugUtils.currentLine=67960835; + //BA.debugLineNum = 67960835;BA.debugLine="Dim jg As JSONGenerator"; +_jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); +RDebugUtils.currentLine=67960836; + //BA.debugLineNum = 67960836;BA.debugLine="jg.Initialize(m)"; +_jg.Initialize(_m); +RDebugUtils.currentLine=67960837; + //BA.debugLineNum = 67960837;BA.debugLine="Dim t As String = jg.ToString"; +_t = _jg.ToString(); +RDebugUtils.currentLine=67960838; + //BA.debugLineNum = 67960838;BA.debugLine="Return t"; +if (true) return _t; +RDebugUtils.currentLine=67960839; + //BA.debugLineNum = 67960839;BA.debugLine="End Sub"; +return ""; +} +public static boolean _masdexxmins(anywheresoftware.b4a.BA _ba,int _hora,int _mins) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "masdexxmins", false)) + {return ((Boolean) Debug.delegate(null, "masdexxmins", new Object[] {_ba,_hora,_mins}));} +RDebugUtils.currentLine=68288512; + //BA.debugLineNum = 68288512;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +RDebugUtils.currentLine=68288513; + //BA.debugLineNum = 68288513;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +if ((_hora+_mins*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute)500) { +RDebugUtils.currentLine=68616210; + //BA.debugLineNum = 68616210;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando, lo"; +_log2db(_ba,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); +RDebugUtils.currentLine=68616211; + //BA.debugLineNum = 68616211;BA.debugLine="StartService(Tracker)"; +anywheresoftware.b4a.keywords.Common.StartService((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject())); +RDebugUtils.currentLine=68616212; + //BA.debugLineNum = 68616212;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; + }; +RDebugUtils.currentLine=68616215; + //BA.debugLineNum = 68616215;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore"; +if (_todobienflp) { +anywheresoftware.b4a.keywords.Common.LogImpl("268616215"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; +RDebugUtils.currentLine=68616217; + //BA.debugLineNum = 68616217;BA.debugLine="End Sub"; +return ""; +} +public static String _revisapushservice(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisapushservice", false)) + {return ((String) Debug.delegate(null, "revisapushservice", new Object[] {_ba}));} +RDebugUtils.currentLine=68681728; + //BA.debugLineNum = 68681728;BA.debugLine="Sub revisaPushService 'ignore"; +RDebugUtils.currentLine=68681766; + //BA.debugLineNum = 68681766;BA.debugLine="End Sub"; +return ""; +} +public static String _revisauug(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisauug", false)) + {return ((String) Debug.delegate(null, "revisauug", new Object[] {_ba}));} +int _daa = 0; +RDebugUtils.currentLine=68550656; + //BA.debugLineNum = 68550656;BA.debugLine="Sub revisaUUG 'ignore"; +RDebugUtils.currentLine=68550657; + //BA.debugLineNum = 68550657;BA.debugLine="revisaFLP"; +_revisaflp(_ba); +RDebugUtils.currentLine=68550658; + //BA.debugLineNum = 68550658;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=68550659; + //BA.debugLineNum = 68550659;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(Tr"; +_daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject()))); +RDebugUtils.currentLine=68550660; + //BA.debugLineNum = 68550660;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("268550660",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; +RDebugUtils.currentLine=68550661; + //BA.debugLineNum = 68550661;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocation"; +if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) { +RDebugUtils.currentLine=68550662; + //BA.debugLineNum = 68550662;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,"; +_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude())})); +RDebugUtils.currentLine=68550663; + //BA.debugLineNum = 68550663;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("268550663","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; + }; +RDebugUtils.currentLine=68550665; + //BA.debugLineNum = 68550665;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca"; +mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); + }; +RDebugUtils.currentLine=68550667; + //BA.debugLineNum = 68550667;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/swiftbutton.java b/B4A/Objects/src/reparto_intmex/keymon/lat/swiftbutton.java index 269c045..ba95a8a 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/swiftbutton.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/swiftbutton.java @@ -10,7 +10,7 @@ public class swiftbutton extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "reparto_intmex.keymon.lat.swiftbutton"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_intmex.keymon.lat.swiftbutton"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class swiftbutton extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -42,10 +49,10 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; @@ -53,268 +60,410 @@ public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ +public String _base_resize(reparto_intmex.keymon.lat.swiftbutton __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} anywheresoftware.b4a.objects.B4XViewWrapper _v = null; - //BA.debugLineNum = 54;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 55;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 56;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; +RDebugUtils.currentLine=34603008; + //BA.debugLineNum = 34603008;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=34603009; + //BA.debugLineNum = 34603009;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=34603010; + //BA.debugLineNum = 34603010;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; _v = new anywheresoftware.b4a.objects.B4XViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group2 = _mbase.GetAllViewsRecursive(); +final anywheresoftware.b4a.BA.IterableList group2 = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); final int groupLen2 = group2.getSize() ;int index2 = 0; ; for (; index2 < groupLen2;index2++){ _v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group2.Get(index2))); - //BA.debugLineNum = 57;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +RDebugUtils.currentLine=34603011; + //BA.debugLineNum = 34603011;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; _v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); } }; - //BA.debugLineNum = 59;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34603013; + //BA.debugLineNum = 34603013;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=34603014; + //BA.debugLineNum = 34603014;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 13;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 14;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 15;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 18;BA.debugLine="Public xLBL As B4XView"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Public clr1, clr2, disabledColor As Int"; -_clr1 = 0; -_clr2 = 0; -_disabledcolor = 0; - //BA.debugLineNum = 20;BA.debugLine="Private pressed As Boolean"; -_pressed = false; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private mDisabled As Boolean"; -_mdisabled = false; - //BA.debugLineNum = 23;BA.debugLine="Public CornersRadius, SideHeight As Int"; -_cornersradius = 0; -_sideheight = 0; - //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"p\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,"p"); - //BA.debugLineNum = 36;BA.debugLine="p.Color = xui.Color_Transparent"; -_p.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 37;BA.debugLine="clr1 = xui.PaintOrColorToColor(Props.Get(\"Primary"; -_clr1 = _xui.PaintOrColorToColor(_props.Get((Object)("PrimaryColor"))); - //BA.debugLineNum = 38;BA.debugLine="clr2 = xui.PaintOrColorToColor(Props.Get(\"Seconda"; -_clr2 = _xui.PaintOrColorToColor(_props.Get((Object)("SecondaryColor"))); - //BA.debugLineNum = 39;BA.debugLine="disabledColor = xui.PaintOrColorToColor(Props.Get"; -_disabledcolor = _xui.PaintOrColorToColor(_props.GetDefault((Object)("DisabledColor"),(Object)(((int)0xff999999)))); - //BA.debugLineNum = 40;BA.debugLine="CornersRadius = DipToCurrent(Props.GetDefault(\"Co"; -_cornersradius = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(15))))); - //BA.debugLineNum = 41;BA.debugLine="SideHeight = DipToCurrent(Props.GetDefault(\"SideH"; -_sideheight = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("SideHeight"),(Object)(5))))); - //BA.debugLineNum = 42;BA.debugLine="mDisabled = Not(Props.GetDefault(\"ButtonEnabled\","; -_mdisabled = __c.Not(BA.ObjectToBoolean(_props.GetDefault((Object)("ButtonEnabled"),(Object)(__c.True)))); - //BA.debugLineNum = 43;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 44;BA.debugLine="pressed = mDisabled"; -_pressed = _mdisabled; - //BA.debugLineNum = 45;BA.debugLine="xLBL = Lbl"; -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 46;BA.debugLine="xLBL.Visible = True"; -_xlbl.setVisible(__c.True); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(xLBL, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="mBase.AddView(p, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 49;BA.debugLine="xLBL.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 50;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ +public String _draw(reparto_intmex.keymon.lat.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; int _c = 0; - //BA.debugLineNum = 121;BA.debugLine="Private Sub Draw"; - //BA.debugLineNum = 122;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 123;BA.debugLine="Dim r As B4XRect"; +RDebugUtils.currentLine=35061760; + //BA.debugLineNum = 35061760;BA.debugLine="Private Sub Draw"; +RDebugUtils.currentLine=35061761; + //BA.debugLineNum = 35061761;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=35061762; + //BA.debugLineNum = 35061762;BA.debugLine="Dim r As B4XRect"; _r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 124;BA.debugLine="Dim p As B4XPath"; +RDebugUtils.currentLine=35061763; + //BA.debugLineNum = 35061763;BA.debugLine="Dim p As B4XPath"; _p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 125;BA.debugLine="r.Initialize(0, SideHeight, mBase.Width, mBase.He"; -_r.Initialize((float) (0),(float) (_sideheight),(float) (_mbase.getWidth()),(float) (_mbase.getHeight())); - //BA.debugLineNum = 126;BA.debugLine="If pressed = False Then"; -if (_pressed==__c.False) { - //BA.debugLineNum = 127;BA.debugLine="xLBL.Top = 0"; -_xlbl.setTop((int) (0)); - //BA.debugLineNum = 128;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 129;BA.debugLine="cvs.DrawPath(p, clr2, True, 0)"; -_cvs.DrawPath(_p,_clr2,__c.True,(float) (0)); - //BA.debugLineNum = 130;BA.debugLine="r.Initialize(0, 0, mBase.Width, mBase.Height - S"; -_r.Initialize((float) (0),(float) (0),(float) (_mbase.getWidth()),(float) (_mbase.getHeight()-_sideheight)); - //BA.debugLineNum = 131;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 132;BA.debugLine="cvs.DrawPath(p, clr1, True, 0)"; -_cvs.DrawPath(_p,_clr1,__c.True,(float) (0)); +RDebugUtils.currentLine=35061764; + //BA.debugLineNum = 35061764;BA.debugLine="r.Initialize(0, SideHeight, mBase.Width, mBase.He"; +_r.Initialize((float) (0),(float) (__ref._sideheight /*int*/ ),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=35061765; + //BA.debugLineNum = 35061765;BA.debugLine="If pressed = False Then"; +if (__ref._pressed /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=35061766; + //BA.debugLineNum = 35061766;BA.debugLine="xLBL.Top = 0"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=35061767; + //BA.debugLineNum = 35061767;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=35061768; + //BA.debugLineNum = 35061768;BA.debugLine="cvs.DrawPath(p, clr2, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,__ref._clr2 /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=35061769; + //BA.debugLineNum = 35061769;BA.debugLine="r.Initialize(0, 0, mBase.Width, mBase.Height - S"; +_r.Initialize((float) (0),(float) (0),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._sideheight /*int*/ )); +RDebugUtils.currentLine=35061770; + //BA.debugLineNum = 35061770;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=35061771; + //BA.debugLineNum = 35061771;BA.debugLine="cvs.DrawPath(p, clr1, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,__ref._clr1 /*int*/ ,__c.True,(float) (0)); }else { - //BA.debugLineNum = 134;BA.debugLine="xLBL.Top = SideHeight"; -_xlbl.setTop(_sideheight); - //BA.debugLineNum = 135;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 136;BA.debugLine="Dim c As Int"; +RDebugUtils.currentLine=35061773; + //BA.debugLineNum = 35061773;BA.debugLine="xLBL.Top = SideHeight"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTop(__ref._sideheight /*int*/ ); +RDebugUtils.currentLine=35061774; + //BA.debugLineNum = 35061774;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=35061775; + //BA.debugLineNum = 35061775;BA.debugLine="Dim c As Int"; _c = 0; - //BA.debugLineNum = 137;BA.debugLine="If mDisabled Then c = disabledColor Else c = clr"; -if (_mdisabled) { -_c = _disabledcolor;} +RDebugUtils.currentLine=35061776; + //BA.debugLineNum = 35061776;BA.debugLine="If mDisabled Then c = disabledColor Else c = clr"; +if (__ref._mdisabled /*boolean*/ ) { +_c = __ref._disabledcolor /*int*/ ;} else { -_c = _clr1;}; - //BA.debugLineNum = 138;BA.debugLine="cvs.DrawPath(p, c, True, 0)"; -_cvs.DrawPath(_p,_c,__c.True,(float) (0)); +_c = __ref._clr1 /*int*/ ;}; +RDebugUtils.currentLine=35061777; + //BA.debugLineNum = 35061777;BA.debugLine="cvs.DrawPath(p, c, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_c,__c.True,(float) (0)); }; - //BA.debugLineNum = 141;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 142;BA.debugLine="End Sub"; +RDebugUtils.currentLine=35061780; + //BA.debugLineNum = 35061780;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=35061781; + //BA.debugLineNum = 35061781;BA.debugLine="End Sub"; return ""; } -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 63;BA.debugLine="Return Not(mDisabled)"; -if (true) return __c.Not(_mdisabled); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; +public String _class_globals(reparto_intmex.keymon.lat.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +RDebugUtils.currentLine=34406400; + //BA.debugLineNum = 34406400;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=34406401; + //BA.debugLineNum = 34406401;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=34406402; + //BA.debugLineNum = 34406402;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=34406403; + //BA.debugLineNum = 34406403;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=34406404; + //BA.debugLineNum = 34406404;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=34406405; + //BA.debugLineNum = 34406405;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=34406406; + //BA.debugLineNum = 34406406;BA.debugLine="Public xLBL As B4XView"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=34406407; + //BA.debugLineNum = 34406407;BA.debugLine="Public clr1, clr2, disabledColor As Int"; +_clr1 = 0; +_clr2 = 0; +_disabledcolor = 0; +RDebugUtils.currentLine=34406408; + //BA.debugLineNum = 34406408;BA.debugLine="Private pressed As Boolean"; +_pressed = false; +RDebugUtils.currentLine=34406409; + //BA.debugLineNum = 34406409;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=34406410; + //BA.debugLineNum = 34406410;BA.debugLine="Private mDisabled As Boolean"; +_mdisabled = false; +RDebugUtils.currentLine=34406411; + //BA.debugLineNum = 34406411;BA.debugLine="Public CornersRadius, SideHeight As Int"; +_cornersradius = 0; +_sideheight = 0; +RDebugUtils.currentLine=34406412; + //BA.debugLineNum = 34406412;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=34406413; + //BA.debugLineNum = 34406413;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_intmex.keymon.lat.swiftbutton __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=34537472; + //BA.debugLineNum = 34537472;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=34537473; + //BA.debugLineNum = 34537473;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=34537474; + //BA.debugLineNum = 34537474;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=34537474; + //BA.debugLineNum = 34537474;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=34537475; + //BA.debugLineNum = 34537475;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"p\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"p"); +RDebugUtils.currentLine=34537476; + //BA.debugLineNum = 34537476;BA.debugLine="p.Color = xui.Color_Transparent"; +_p.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=34537477; + //BA.debugLineNum = 34537477;BA.debugLine="clr1 = xui.PaintOrColorToColor(Props.Get(\"Primary"; +__ref._clr1 /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("PrimaryColor"))); +RDebugUtils.currentLine=34537478; + //BA.debugLineNum = 34537478;BA.debugLine="clr2 = xui.PaintOrColorToColor(Props.Get(\"Seconda"; +__ref._clr2 /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("SecondaryColor"))); +RDebugUtils.currentLine=34537479; + //BA.debugLineNum = 34537479;BA.debugLine="disabledColor = xui.PaintOrColorToColor(Props.Get"; +__ref._disabledcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.GetDefault((Object)("DisabledColor"),(Object)(((int)0xff999999)))); +RDebugUtils.currentLine=34537480; + //BA.debugLineNum = 34537480;BA.debugLine="CornersRadius = DipToCurrent(Props.GetDefault(\"Co"; +__ref._cornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(15))))); +RDebugUtils.currentLine=34537481; + //BA.debugLineNum = 34537481;BA.debugLine="SideHeight = DipToCurrent(Props.GetDefault(\"SideH"; +__ref._sideheight /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("SideHeight"),(Object)(5))))); +RDebugUtils.currentLine=34537482; + //BA.debugLineNum = 34537482;BA.debugLine="mDisabled = Not(Props.GetDefault(\"ButtonEnabled\","; +__ref._mdisabled /*boolean*/ = __c.Not(BA.ObjectToBoolean(_props.GetDefault((Object)("ButtonEnabled"),(Object)(__c.True)))); +RDebugUtils.currentLine=34537483; + //BA.debugLineNum = 34537483;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=34537484; + //BA.debugLineNum = 34537484;BA.debugLine="pressed = mDisabled"; +__ref._pressed /*boolean*/ = __ref._mdisabled /*boolean*/ ; +RDebugUtils.currentLine=34537485; + //BA.debugLineNum = 34537485;BA.debugLine="xLBL = Lbl"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=34537486; + //BA.debugLineNum = 34537486;BA.debugLine="xLBL.Visible = True"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=34537487; + //BA.debugLineNum = 34537487;BA.debugLine="mBase.AddView(xLBL, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=34537488; + //BA.debugLineNum = 34537488;BA.debugLine="mBase.AddView(p, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=34537489; + //BA.debugLineNum = 34537489;BA.debugLine="xLBL.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=34537490; + //BA.debugLineNum = 34537490;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=34537491; + //BA.debugLineNum = 34537491;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=34537492; + //BA.debugLineNum = 34537492;BA.debugLine="End Sub"; +return ""; +} +public boolean _getenabled(reparto_intmex.keymon.lat.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=34668544; + //BA.debugLineNum = 34668544;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=34668545; + //BA.debugLineNum = 34668545;BA.debugLine="Return Not(mDisabled)"; +if (true) return __c.Not(__ref._mdisabled /*boolean*/ ); +RDebugUtils.currentLine=34668546; + //BA.debugLineNum = 34668546;BA.debugLine="End Sub"; return false; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(reparto_intmex.keymon.lat.swiftbutton __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=34471936; + //BA.debugLineNum = 34471936;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=34471937; + //BA.debugLineNum = 34471937;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=34471938; + //BA.debugLineNum = 34471938;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=34471939; + //BA.debugLineNum = 34471939;BA.debugLine="End Sub"; return ""; } -public String _p_touch(int _action,float _x,float _y) throws Exception{ +public String _p_touch(reparto_intmex.keymon.lat.swiftbutton __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "p_touch", true)) + {return ((String) Debug.delegate(ba, "p_touch", new Object[] {_action,_x,_y}));} boolean _inside = false; - //BA.debugLineNum = 72;BA.debugLine="Private Sub p_Touch (Action As Int, X As Float, Y"; - //BA.debugLineNum = 73;BA.debugLine="If mDisabled Then Return"; -if (_mdisabled) { +RDebugUtils.currentLine=34799616; + //BA.debugLineNum = 34799616;BA.debugLine="Private Sub p_Touch (Action As Int, X As Float, Y"; +RDebugUtils.currentLine=34799617; + //BA.debugLineNum = 34799617;BA.debugLine="If mDisabled Then Return"; +if (__ref._mdisabled /*boolean*/ ) { if (true) return "";}; - //BA.debugLineNum = 74;BA.debugLine="Dim Inside As Boolean = x > 0 And x < mBase.Width"; -_inside = _x>0 && _x<_mbase.getWidth() && _y>0 && _y<_mbase.getHeight(); - //BA.debugLineNum = 75;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_mbase.TOUCH_ACTION_DOWN,_mbase.TOUCH_ACTION_MOVE,_mbase.TOUCH_ACTION_UP,(int) (3))) { +RDebugUtils.currentLine=34799618; + //BA.debugLineNum = 34799618;BA.debugLine="Dim Inside As Boolean = x > 0 And x < mBase.Width"; +_inside = _x>0 && _x<__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth() && _y>0 && _y<__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(); +RDebugUtils.currentLine=34799619; + //BA.debugLineNum = 34799619;BA.debugLine="Select Action"; +switch (BA.switchObjectToInt(_action,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_UP,(int) (3))) { case 0: { - //BA.debugLineNum = 77;BA.debugLine="SetPressedState(True)"; -_setpressedstate(__c.True); - //BA.debugLineNum = 78;BA.debugLine="Draw"; -_draw(); +RDebugUtils.currentLine=34799621; + //BA.debugLineNum = 34799621;BA.debugLine="SetPressedState(True)"; +__ref._setpressedstate /*String*/ (null,__c.True); +RDebugUtils.currentLine=34799622; + //BA.debugLineNum = 34799622;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); break; } case 1: { - //BA.debugLineNum = 80;BA.debugLine="If pressed <> Inside Then"; -if (_pressed!=_inside) { - //BA.debugLineNum = 81;BA.debugLine="SetPressedState(Inside)"; -_setpressedstate(_inside); - //BA.debugLineNum = 82;BA.debugLine="Draw"; -_draw(); +RDebugUtils.currentLine=34799624; + //BA.debugLineNum = 34799624;BA.debugLine="If pressed <> Inside Then"; +if (__ref._pressed /*boolean*/ !=_inside) { +RDebugUtils.currentLine=34799625; + //BA.debugLineNum = 34799625;BA.debugLine="SetPressedState(Inside)"; +__ref._setpressedstate /*String*/ (null,_inside); +RDebugUtils.currentLine=34799626; + //BA.debugLineNum = 34799626;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); }; break; } case 2: case 3: { - //BA.debugLineNum = 85;BA.debugLine="SetPressedState(False)"; -_setpressedstate(__c.False); - //BA.debugLineNum = 86;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 87;BA.debugLine="If Inside Then"; +RDebugUtils.currentLine=34799629; + //BA.debugLineNum = 34799629;BA.debugLine="SetPressedState(False)"; +__ref._setpressedstate /*String*/ (null,__c.False); +RDebugUtils.currentLine=34799630; + //BA.debugLineNum = 34799630;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=34799631; + //BA.debugLineNum = 34799631;BA.debugLine="If Inside Then"; if (_inside) { - //BA.debugLineNum = 88;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 89;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_Click"); +RDebugUtils.currentLine=34799632; + //BA.debugLineNum = 34799632;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=34799633; + //BA.debugLineNum = 34799633;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Click"); }; break; } } ; - //BA.debugLineNum = 92;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34799636; + //BA.debugLineNum = 34799636;BA.debugLine="End Sub"; return ""; } -public String _setcolors(int _primary,int _secondary) throws Exception{ - //BA.debugLineNum = 111;BA.debugLine="Public Sub SetColors(Primary As Int, Secondary As"; - //BA.debugLineNum = 112;BA.debugLine="clr1 = Primary"; -_clr1 = _primary; - //BA.debugLineNum = 113;BA.debugLine="clr2 = Secondary"; -_clr2 = _secondary; - //BA.debugLineNum = 114;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Public Sub setEnabled(b As Boolean)"; - //BA.debugLineNum = 67;BA.debugLine="mDisabled = Not(b)"; -_mdisabled = __c.Not(_b); - //BA.debugLineNum = 68;BA.debugLine="pressed = mDisabled"; -_pressed = _mdisabled; - //BA.debugLineNum = 69;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public String _setpressedstate(boolean _newstate) throws Exception{ - //BA.debugLineNum = 94;BA.debugLine="Private Sub SetPressedState(NewState As Boolean)"; - //BA.debugLineNum = 95;BA.debugLine="If pressed = NewState Then Return"; -if (_pressed==_newstate) { +public String _setpressedstate(reparto_intmex.keymon.lat.swiftbutton __ref,boolean _newstate) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setpressedstate", true)) + {return ((String) Debug.delegate(ba, "setpressedstate", new Object[] {_newstate}));} +RDebugUtils.currentLine=34865152; + //BA.debugLineNum = 34865152;BA.debugLine="Private Sub SetPressedState(NewState As Boolean)"; +RDebugUtils.currentLine=34865153; + //BA.debugLineNum = 34865153;BA.debugLine="If pressed = NewState Then Return"; +if (__ref._pressed /*boolean*/ ==_newstate) { if (true) return "";}; - //BA.debugLineNum = 96;BA.debugLine="If NewState And xui.SubExists(mCallBack, mEventNa"; -if (_newstate && _xui.SubExists(ba,_mcallback,_meventname+"_ButtonDown",(int) (0))) { - //BA.debugLineNum = 97;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonD"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_ButtonDown"); +RDebugUtils.currentLine=34865154; + //BA.debugLineNum = 34865154;BA.debugLine="If NewState And xui.SubExists(mCallBack, mEventNa"; +if (_newstate && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonDown",(int) (0))) { +RDebugUtils.currentLine=34865155; + //BA.debugLineNum = 34865155;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonD"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonDown"); }; - //BA.debugLineNum = 99;BA.debugLine="If NewState = False And xui.SubExists(mCallBack,"; -if (_newstate==__c.False && _xui.SubExists(ba,_mcallback,_meventname+"_ButtonUp",(int) (0))) { - //BA.debugLineNum = 100;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonU"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_ButtonUp"); +RDebugUtils.currentLine=34865157; + //BA.debugLineNum = 34865157;BA.debugLine="If NewState = False And xui.SubExists(mCallBack,"; +if (_newstate==__c.False && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonUp",(int) (0))) { +RDebugUtils.currentLine=34865158; + //BA.debugLineNum = 34865158;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonU"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonUp"); }; - //BA.debugLineNum = 102;BA.debugLine="pressed= NewState"; -_pressed = _newstate; - //BA.debugLineNum = 103;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34865160; + //BA.debugLineNum = 34865160;BA.debugLine="pressed= NewState"; +__ref._pressed /*boolean*/ = _newstate; +RDebugUtils.currentLine=34865161; + //BA.debugLineNum = 34865161;BA.debugLine="End Sub"; return ""; } -public String _update() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 118;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; +public String _setcolors(reparto_intmex.keymon.lat.swiftbutton __ref,int _primary,int _secondary) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setcolors", true)) + {return ((String) Debug.delegate(ba, "setcolors", new Object[] {_primary,_secondary}));} +RDebugUtils.currentLine=34930688; + //BA.debugLineNum = 34930688;BA.debugLine="Public Sub SetColors(Primary As Int, Secondary As"; +RDebugUtils.currentLine=34930689; + //BA.debugLineNum = 34930689;BA.debugLine="clr1 = Primary"; +__ref._clr1 /*int*/ = _primary; +RDebugUtils.currentLine=34930690; + //BA.debugLineNum = 34930690;BA.debugLine="clr2 = Secondary"; +__ref._clr2 /*int*/ = _secondary; +RDebugUtils.currentLine=34930691; + //BA.debugLineNum = 34930691;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=34930692; + //BA.debugLineNum = 34930692;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _setenabled(reparto_intmex.keymon.lat.swiftbutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=34734080; + //BA.debugLineNum = 34734080;BA.debugLine="Public Sub setEnabled(b As Boolean)"; +RDebugUtils.currentLine=34734081; + //BA.debugLineNum = 34734081;BA.debugLine="mDisabled = Not(b)"; +__ref._mdisabled /*boolean*/ = __c.Not(_b); +RDebugUtils.currentLine=34734082; + //BA.debugLineNum = 34734082;BA.debugLine="pressed = mDisabled"; +__ref._pressed /*boolean*/ = __ref._mdisabled /*boolean*/ ; +RDebugUtils.currentLine=34734083; + //BA.debugLineNum = 34734083;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=34734084; + //BA.debugLineNum = 34734084;BA.debugLine="End Sub"; +return ""; } +public String _update(reparto_intmex.keymon.lat.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +RDebugUtils.currentLine=34996224; + //BA.debugLineNum = 34996224;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=34996225; + //BA.debugLineNum = 34996225;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=34996226; + //BA.debugLineNum = 34996226;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/tracker.java b/B4A/Objects/src/reparto_intmex/keymon/lat/tracker.java index 1b6cad4..0283cc8 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/tracker.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/tracker.java @@ -14,7 +14,7 @@ public class tracker extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, tracker.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class tracker extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.tracker"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "reparto_intmex.keymon.lat", "reparto_intmex.keymon.lat.tracker"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,7 +127,8 @@ public class tracker extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; + } +public anywheresoftware.b4a.keywords.Common __c = null; public static int _nid = 0; public static boolean _tracking = false; public static anywheresoftware.b4a.phone.Phone.PhoneWakeState _lock = null; @@ -141,10 +142,10 @@ public static String _pushserviceactividad = ""; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; @@ -152,279 +153,209 @@ public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; public reparto_intmex.keymon.lat.xuiviewsutils _xuiviewsutils = null; public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createlocationrequest", false)) + {return ((uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest) Debug.delegate(processBA, "createlocationrequest", null));} uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 119;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; - //BA.debugLineNum = 120;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat"; +RDebugUtils.currentLine=71958528; + //BA.debugLineNum = 71958528;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; +RDebugUtils.currentLine=71958529; + //BA.debugLineNum = 71958529;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat"; if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836569089","CreateLocationRequest",0);}; - //BA.debugLineNum = 121;BA.debugLine="Dim lr As LocationRequest"; +anywheresoftware.b4a.keywords.Common.LogImpl("271958529","CreateLocationRequest",0);}; +RDebugUtils.currentLine=71958530; + //BA.debugLineNum = 71958530;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 122;BA.debugLine="lr.Initialize"; +RDebugUtils.currentLine=71958531; + //BA.debugLineNum = 71958531;BA.debugLine="lr.Initialize"; _lr.Initialize(); - //BA.debugLineNum = 123;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; +RDebugUtils.currentLine=71958532; + //BA.debugLineNum = 71958532;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; _lr.SetInterval((long) (10000)); - //BA.debugLineNum = 124;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +RDebugUtils.currentLine=71958533; + //BA.debugLineNum = 71958533;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; _lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 125;BA.debugLine="lr.SetSmallestDisplacement(75) 'Solo registra cam"; +RDebugUtils.currentLine=71958534; + //BA.debugLineNum = 71958534;BA.debugLine="lr.SetSmallestDisplacement(75) 'Solo registra cam"; _lr.SetSmallestDisplacement((float) (75)); - //BA.debugLineNum = 126;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +RDebugUtils.currentLine=71958535; + //BA.debugLineNum = 71958535;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; _lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 127;BA.debugLine="actualLR=lr"; +RDebugUtils.currentLine=71958536; + //BA.debugLineNum = 71958536;BA.debugLine="actualLR=lr"; _actuallr = _lr; - //BA.debugLineNum = 128;BA.debugLine="Return lr"; +RDebugUtils.currentLine=71958537; + //BA.debugLineNum = 71958537;BA.debugLine="Return lr"; if (true) return _lr; - //BA.debugLineNum = 129;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71958538; + //BA.debugLineNum = 71958538;BA.debugLine="End Sub"; return null; } public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest2times() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createlocationrequest2times", false)) + {return ((uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest) Debug.delegate(processBA, "createlocationrequest2times", null));} uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 131;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio"; - //BA.debugLineNum = 132;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C"; +RDebugUtils.currentLine=72024064; + //BA.debugLineNum = 72024064;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio"; +RDebugUtils.currentLine=72024065; + //BA.debugLineNum = 72024065;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C"; if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836634625","Iniciamos CreateLocationRequest2times",0);}; - //BA.debugLineNum = 133;BA.debugLine="Dim lr As LocationRequest"; +anywheresoftware.b4a.keywords.Common.LogImpl("272024065","Iniciamos CreateLocationRequest2times",0);}; +RDebugUtils.currentLine=72024066; + //BA.debugLineNum = 72024066;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 134;BA.debugLine="lr.Initialize"; +RDebugUtils.currentLine=72024067; + //BA.debugLineNum = 72024067;BA.debugLine="lr.Initialize"; _lr.Initialize(); - //BA.debugLineNum = 135;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +RDebugUtils.currentLine=72024068; + //BA.debugLineNum = 72024068;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; _lr.SetInterval((long) (2000)); - //BA.debugLineNum = 136;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +RDebugUtils.currentLine=72024069; + //BA.debugLineNum = 72024069;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; _lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 137;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; +RDebugUtils.currentLine=72024070; + //BA.debugLineNum = 72024070;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; _lr.SetNumUpdates((int) (2)); - //BA.debugLineNum = 138;BA.debugLine="lr.SetSmallestDisplacement(10) 'Solo registra cam"; +RDebugUtils.currentLine=72024071; + //BA.debugLineNum = 72024071;BA.debugLine="lr.SetSmallestDisplacement(10) 'Solo registra cam"; _lr.SetSmallestDisplacement((float) (10)); - //BA.debugLineNum = 139;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +RDebugUtils.currentLine=72024072; + //BA.debugLineNum = 72024072;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; _lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 140;BA.debugLine="actualLR=lr"; +RDebugUtils.currentLine=72024073; + //BA.debugLineNum = 72024073;BA.debugLine="actualLR=lr"; _actuallr = _lr; - //BA.debugLineNum = 141;BA.debugLine="Return lr"; +RDebugUtils.currentLine=72024074; + //BA.debugLineNum = 72024074;BA.debugLine="Return lr"; if (true) return _lr; - //BA.debugLineNum = 142;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72024075; + //BA.debugLineNum = 72024075;BA.debugLine="End Sub"; return null; } public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _body) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createnotification", false)) + {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(processBA, "createnotification", new Object[] {_body}));} anywheresoftware.b4a.objects.NotificationWrapper _notification = null; - //BA.debugLineNum = 206;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; - //BA.debugLineNum = 207;BA.debugLine="Dim notification As Notification"; +RDebugUtils.currentLine=72286208; + //BA.debugLineNum = 72286208;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +RDebugUtils.currentLine=72286209; + //BA.debugLineNum = 72286209;BA.debugLine="Dim notification As Notification"; _notification = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 208;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +RDebugUtils.currentLine=72286210; + //BA.debugLineNum = 72286210;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; _notification.Initialize2(_notification.IMPORTANCE_LOW); - //BA.debugLineNum = 209;BA.debugLine="notification.Icon = \"icon\""; +RDebugUtils.currentLine=72286211; + //BA.debugLineNum = 72286211;BA.debugLine="notification.Icon = \"icon\""; _notification.setIcon("icon"); - //BA.debugLineNum = 210;BA.debugLine="notification.SetInfo(\"INTMEX REPARTO\", Body, Main"; +RDebugUtils.currentLine=72286212; + //BA.debugLineNum = 72286212;BA.debugLine="notification.SetInfo(\"INTMEX REPARTO\", Body, Main"; _notification.SetInfoNew(processBA,BA.ObjectToCharSequence("INTMEX REPARTO"),BA.ObjectToCharSequence(_body),(Object)(mostCurrent._main.getObject())); - //BA.debugLineNum = 211;BA.debugLine="Return notification"; +RDebugUtils.currentLine=72286213; + //BA.debugLineNum = 72286213;BA.debugLine="Return notification"; if (true) return _notification; - //BA.debugLineNum = 212;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72286214; + //BA.debugLineNum = 72286214;BA.debugLine="End Sub"; return null; } public static String _dameultimaubicacionconocida() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "dameultimaubicacionconocida", false)) + {return ((String) Debug.delegate(processBA, "dameultimaubicacionconocida", null));} String _coords = ""; - //BA.debugLineNum = 144;BA.debugLine="Sub dameUltimaUbicacionConocida"; - //BA.debugLineNum = 145;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; +RDebugUtils.currentLine=72089600; + //BA.debugLineNum = 72089600;BA.debugLine="Sub dameUltimaUbicacionConocida"; +RDebugUtils.currentLine=72089601; + //BA.debugLineNum = 72089601;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; if (_flp.GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 147;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand"; +RDebugUtils.currentLine=72089603; + //BA.debugLineNum = 72089603;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand"; if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836700163",("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 = 148;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation."; +anywheresoftware.b4a.keywords.Common.LogImpl("272089603",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; +RDebugUtils.currentLine=72089604; + //BA.debugLineNum = 72089604;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 = 150;BA.debugLine="Subs.mandamosLoc(coords)"; +RDebugUtils.currentLine=72089606; + //BA.debugLineNum = 72089606;BA.debugLine="Subs.mandamosLoc(coords)"; mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); }; - //BA.debugLineNum = 152;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionfailed(int _connectionresult1) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; - //BA.debugLineNum = 60;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836175873","Failed to connect to location provider",0);}; - //BA.debugLineNum = 61;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionsuccess() throws Exception{ - //BA.debugLineNum = 54;BA.debugLine="Sub flp_ConnectionSuccess"; - //BA.debugLineNum = 57;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionsuspended(int _connectionresult1) throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I"; - //BA.debugLineNum = 64;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836241409","FLP conection suspended",0);}; - //BA.debugLineNum = 65;BA.debugLine="StartFLP"; -_startflp(); - //BA.debugLineNum = 66;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ -String _sdate = ""; -String _stime = ""; -String _coords = ""; -String _origformat = ""; -int _minsdif = 0; - //BA.debugLineNum = 162;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 163;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; -mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); - //BA.debugLineNum = 164;BA.debugLine="UUGCoords = Location1"; -_uugcoords = _location1; - //BA.debugLineNum = 166;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; -anywheresoftware.b4a.keywords.Common.CallSubNew2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); - //BA.debugLineNum = 169;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; -mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); - //BA.debugLineNum = 170;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; -mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); - //BA.debugLineNum = 172;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 173;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 174;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 175;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 176;BA.debugLine="Try"; -try { //BA.debugLineNum = 177;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\""; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 178;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); - } - catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 180;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836831250","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);}; - }; - //BA.debugLineNum = 183;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 = 184;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat"; -anywheresoftware.b4a.keywords.Common.LogImpl("836831254","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0); - //BA.debugLineNum = 185;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836831255","Mandamos Ubicacion",0);}; - //BA.debugLineNum = 186;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836831256",_locrequest,0);}; - //BA.debugLineNum = 188;BA.debugLine="If Location1.Accuracy < 100 Then"; -if (_location1.getAccuracy()<100) { - //BA.debugLineNum = 189;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad"; -mostCurrent._subs._guardainfoenbd /*String*/ (processBA,_coords); - //BA.debugLineNum = 191;BA.debugLine="Subs.mandamosLoc(coords)"; -mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); - }; - //BA.debugLineNum = 193;BA.debugLine="Dim origFormat As String = DateTime.TimeFormat 'G"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getTimeFormat(); - //BA.debugLineNum = 194;BA.debugLine="DateTime.TimeFormat = \"HHmmss\" ' Modificamos form"; -anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 195;BA.debugLine="Dim minsDif As Int = DateTime.Time(DateTime.Now)"; -_minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow())))-(double)(Double.parseDouble(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._ultimaactualizaciongps /*String*/ ))); - //BA.debugLineNum = 197;BA.debugLine="If Location1.Accuracy < 100 And minsDif > 240 The"; -if (_location1.getAccuracy()<100 && _minsdif>240) { - //BA.debugLineNum = 198;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836831268","actualizamos Ubicacion Web",0);}; - //BA.debugLineNum = 199;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._starter.getObject()),"ENVIA_ULTIMA_GPS"); - }; - //BA.debugLineNum = 201;BA.debugLine="DateTime.TimeFormat = origFormat 'Regresamos form"; -anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat(_origformat); - //BA.debugLineNum = 203;BA.debugLine="Subs.monitor"; -mostCurrent._subs._monitor /*String*/ (processBA); - //BA.debugLineNum = 204;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72089608; + //BA.debugLineNum = 72089608;BA.debugLine="End Sub"; return ""; } public static String _formatofecha(String _fecha) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "formatofecha", false)) + {return ((String) Debug.delegate(processBA, "formatofecha", new Object[] {_fecha}));} String _origformat = ""; String _lastupdate = ""; - //BA.debugLineNum = 222;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; - //BA.debugLineNum = 224;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +RDebugUtils.currentLine=72417280; + //BA.debugLineNum = 72417280;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; +RDebugUtils.currentLine=72417282; + //BA.debugLineNum = 72417282;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; _origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 225;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +RDebugUtils.currentLine=72417283; + //BA.debugLineNum = 72417283;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 226;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; +RDebugUtils.currentLine=72417284; + //BA.debugLineNum = 72417284;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; _lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 227;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +RDebugUtils.currentLine=72417285; + //BA.debugLineNum = 72417285;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 229;BA.debugLine="Return lastUpdate"; +RDebugUtils.currentLine=72417287; + //BA.debugLineNum = 72417287;BA.debugLine="Return lastUpdate"; if (true) return _lastupdate; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72417288; + //BA.debugLineNum = 72417288;BA.debugLine="End Sub"; return ""; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 29;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 30;BA.debugLine="Private nid As Int = 1"; -_nid = (int) (1); - //BA.debugLineNum = 31;BA.debugLine="dim Tracking As Boolean"; -_tracking = false; - //BA.debugLineNum = 32;BA.debugLine="Private lock As PhoneWakeState"; -_lock = new anywheresoftware.b4a.phone.Phone.PhoneWakeState(); - //BA.debugLineNum = 34;BA.debugLine="Public FLP As FusedLocationProvider"; -_flp = new uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim actualLR As LocationRequest"; -_actuallr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 36;BA.debugLine="Private flpStarted As Boolean"; -_flpstarted = false; - //BA.debugLineNum = 37;BA.debugLine="Dim locRequest As String"; -_locrequest = ""; - //BA.debugLineNum = 38;BA.debugLine="Dim UUGCoords As Location 'Ultima Ubicacion Guard"; -_uugcoords = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim trackerActividad, pushServiceActividad As Str"; -_trackeractividad = ""; -_pushserviceactividad = ""; - //BA.debugLineNum = 40;BA.debugLine="End Sub"; +public static String _flp_connectionfailed(int _connectionresult1) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_connectionfailed", false)) + {return ((String) Debug.delegate(processBA, "flp_connectionfailed", new Object[] {_connectionresult1}));} +RDebugUtils.currentLine=71565312; + //BA.debugLineNum = 71565312;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; +RDebugUtils.currentLine=71565313; + //BA.debugLineNum = 71565313;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("271565313","Failed to connect to location provider",0);}; +RDebugUtils.currentLine=71565314; + //BA.debugLineNum = 71565314;BA.debugLine="End Sub"; return ""; } -public static String _service_create() throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 43;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; -mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 44;BA.debugLine="UUGCoords.Initialize"; -_uugcoords.Initialize(); - //BA.debugLineNum = 45;BA.debugLine="UUGCoords.Latitude = 0"; -_uugcoords.setLatitude(0); - //BA.debugLineNum = 46;BA.debugLine="UUGCoords.Longitude = 0"; -_uugcoords.setLongitude(0); - //BA.debugLineNum = 48;BA.debugLine="FLP.Initialize(\"flp\")"; -_flp.Initialize(processBA,"flp"); - //BA.debugLineNum = 49;BA.debugLine="FLP.Connect"; -_flp.Connect(); - //BA.debugLineNum = 50;BA.debugLine="lock.PartialLock"; -_lock.PartialLock(processBA); - //BA.debugLineNum = 51;BA.debugLine="StartFLP"; +public static String _flp_connectionsuccess() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_connectionsuccess", false)) + {return ((String) Debug.delegate(processBA, "flp_connectionsuccess", null));} +RDebugUtils.currentLine=71499776; + //BA.debugLineNum = 71499776;BA.debugLine="Sub flp_ConnectionSuccess"; +RDebugUtils.currentLine=71499779; + //BA.debugLineNum = 71499779;BA.debugLine="End Sub"; +return ""; +} +public static String _flp_connectionsuspended(int _connectionresult1) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_connectionsuspended", false)) + {return ((String) Debug.delegate(processBA, "flp_connectionsuspended", new Object[] {_connectionresult1}));} +RDebugUtils.currentLine=71630848; + //BA.debugLineNum = 71630848;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I"; +RDebugUtils.currentLine=71630849; + //BA.debugLineNum = 71630849;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("271630849","FLP conection suspended",0);}; +RDebugUtils.currentLine=71630850; + //BA.debugLineNum = 71630850;BA.debugLine="StartFLP"; _startflp(); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 214;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 215;BA.debugLine="If Tracking Then"; -if (_tracking) { - //BA.debugLineNum = 216;BA.debugLine="StopFLP"; -_stopflp(); - }; - //BA.debugLineNum = 218;BA.debugLine="Tracking = False"; -_tracking = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 219;BA.debugLine="lock.ReleasePartialLock"; -_lock.ReleasePartialLock(); - //BA.debugLineNum = 220;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 68;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 69;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)"; -anywheresoftware.b4a.keywords.Common.LogImpl("836306945","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green); - //BA.debugLineNum = 70;BA.debugLine="Service.StopAutomaticForeground"; -mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 72;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T"; -anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+10*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 73;BA.debugLine="Track"; -_track(); - //BA.debugLineNum = 74;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; -mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71630851; + //BA.debugLineNum = 71630851;BA.debugLine="End Sub"; return ""; } public static void _startflp() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "startflp", false)) + {Debug.delegate(processBA, "startflp", null); return;} ResumableSub_StartFLP rsub = new ResumableSub_StartFLP(null); rsub.resume(processBA, null); } @@ -436,6 +367,7 @@ reparto_intmex.keymon.lat.tracker parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="tracker"; while (true) { switch (state) { @@ -445,7 +377,8 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 94;BA.debugLine="Do While FLP.IsConnected = False"; +RDebugUtils.currentLine=71827458; + //BA.debugLineNum = 71827458;BA.debugLine="Do While FLP.IsConnected = False"; if (true) break; case 1: @@ -460,8 +393,9 @@ if (true) break; case 3: //C this.state = 1; - //BA.debugLineNum = 95;BA.debugLine="Sleep(500)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); +RDebugUtils.currentLine=71827459; + //BA.debugLineNum = 71827459;BA.debugLine="Sleep(500)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "tracker", "startflp"),(int) (500)); this.state = 5; return; case 5: @@ -474,18 +408,272 @@ case 4: //C this.state = -1; ; - //BA.debugLineNum = 100;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest"; +RDebugUtils.currentLine=71827464; + //BA.debugLineNum = 71827464;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest"; parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest().getObject())); - //BA.debugLineNum = 103;BA.debugLine="flpStarted = True"; +RDebugUtils.currentLine=71827467; + //BA.debugLineNum = 71827467;BA.debugLine="flpStarted = True"; parent._flpstarted = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71827469; + //BA.debugLineNum = 71827469;BA.debugLine="End Sub"; if (true) break; } } } } +public static String _flp_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_locationchanged", false)) + {return ((String) Debug.delegate(processBA, "flp_locationchanged", new Object[] {_location1}));} +String _sdate = ""; +String _stime = ""; +String _coords = ""; +String _origformat = ""; +int _minsdif = 0; +RDebugUtils.currentLine=72220672; + //BA.debugLineNum = 72220672;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=72220673; + //BA.debugLineNum = 72220673;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; +mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); +RDebugUtils.currentLine=72220674; + //BA.debugLineNum = 72220674;BA.debugLine="UUGCoords = Location1"; +_uugcoords = _location1; +RDebugUtils.currentLine=72220676; + //BA.debugLineNum = 72220676;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; +anywheresoftware.b4a.keywords.Common.CallSubDebug2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); +RDebugUtils.currentLine=72220679; + //BA.debugLineNum = 72220679;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); +RDebugUtils.currentLine=72220680; + //BA.debugLineNum = 72220680;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); +RDebugUtils.currentLine=72220682; + //BA.debugLineNum = 72220682;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=72220683; + //BA.debugLineNum = 72220683;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=72220684; + //BA.debugLineNum = 72220684;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=72220685; + //BA.debugLineNum = 72220685;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=72220686; + //BA.debugLineNum = 72220686;BA.debugLine="Try"; +try {RDebugUtils.currentLine=72220687; + //BA.debugLineNum = 72220687;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\""; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); +RDebugUtils.currentLine=72220688; + //BA.debugLineNum = 72220688;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); + } + catch (Exception e14) { + processBA.setLastException(e14);RDebugUtils.currentLine=72220690; + //BA.debugLineNum = 72220690;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("272220690","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);}; + }; +RDebugUtils.currentLine=72220693; + //BA.debugLineNum = 72220693;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; +_coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime())); +RDebugUtils.currentLine=72220694; + //BA.debugLineNum = 72220694;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat"; +anywheresoftware.b4a.keywords.Common.LogImpl("272220694","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0); +RDebugUtils.currentLine=72220695; + //BA.debugLineNum = 72220695;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("272220695","Mandamos Ubicacion",0);}; +RDebugUtils.currentLine=72220696; + //BA.debugLineNum = 72220696;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("272220696",_locrequest,0);}; +RDebugUtils.currentLine=72220698; + //BA.debugLineNum = 72220698;BA.debugLine="If Location1.Accuracy < 100 Then"; +if (_location1.getAccuracy()<100) { +RDebugUtils.currentLine=72220699; + //BA.debugLineNum = 72220699;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad"; +mostCurrent._subs._guardainfoenbd /*String*/ (processBA,_coords); +RDebugUtils.currentLine=72220701; + //BA.debugLineNum = 72220701;BA.debugLine="Subs.mandamosLoc(coords)"; +mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); + }; +RDebugUtils.currentLine=72220703; + //BA.debugLineNum = 72220703;BA.debugLine="Dim origFormat As String = DateTime.TimeFormat 'G"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getTimeFormat(); +RDebugUtils.currentLine=72220704; + //BA.debugLineNum = 72220704;BA.debugLine="DateTime.TimeFormat = \"HHmmss\" ' Modificamos form"; +anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=72220705; + //BA.debugLineNum = 72220705;BA.debugLine="Dim minsDif As Int = DateTime.Time(DateTime.Now)"; +_minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow())))-(double)(Double.parseDouble(mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._ultimaactualizaciongps /*String*/ ))); +RDebugUtils.currentLine=72220707; + //BA.debugLineNum = 72220707;BA.debugLine="If Location1.Accuracy < 100 And minsDif > 240 The"; +if (_location1.getAccuracy()<100 && _minsdif>240) { +RDebugUtils.currentLine=72220708; + //BA.debugLineNum = 72220708;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("272220708","actualizamos Ubicacion Web",0);}; +RDebugUtils.currentLine=72220709; + //BA.debugLineNum = 72220709;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")"; +anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._starter.getObject()),"ENVIA_ULTIMA_GPS"); + }; +RDebugUtils.currentLine=72220711; + //BA.debugLineNum = 72220711;BA.debugLine="DateTime.TimeFormat = origFormat 'Regresamos form"; +anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat(_origformat); +RDebugUtils.currentLine=72220713; + //BA.debugLineNum = 72220713;BA.debugLine="Subs.monitor"; +mostCurrent._subs._monitor /*String*/ (processBA); +RDebugUtils.currentLine=72220714; + //BA.debugLineNum = 72220714;BA.debugLine="End Sub"; +return ""; +} +public static String _service_create() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=71434240; + //BA.debugLineNum = 71434240;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=71434241; + //BA.debugLineNum = 71434241;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; +RDebugUtils.currentLine=71434242; + //BA.debugLineNum = 71434242;BA.debugLine="UUGCoords.Initialize"; +_uugcoords.Initialize(); +RDebugUtils.currentLine=71434243; + //BA.debugLineNum = 71434243;BA.debugLine="UUGCoords.Latitude = 0"; +_uugcoords.setLatitude(0); +RDebugUtils.currentLine=71434244; + //BA.debugLineNum = 71434244;BA.debugLine="UUGCoords.Longitude = 0"; +_uugcoords.setLongitude(0); +RDebugUtils.currentLine=71434246; + //BA.debugLineNum = 71434246;BA.debugLine="FLP.Initialize(\"flp\")"; +_flp.Initialize(processBA,"flp"); +RDebugUtils.currentLine=71434247; + //BA.debugLineNum = 71434247;BA.debugLine="FLP.Connect"; +_flp.Connect(); +RDebugUtils.currentLine=71434248; + //BA.debugLineNum = 71434248;BA.debugLine="lock.PartialLock"; +_lock.PartialLock(processBA); +RDebugUtils.currentLine=71434249; + //BA.debugLineNum = 71434249;BA.debugLine="StartFLP"; +_startflp(); +RDebugUtils.currentLine=71434250; + //BA.debugLineNum = 71434250;BA.debugLine="End Sub"; +return ""; +} +public static String _service_destroy() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=72351744; + //BA.debugLineNum = 72351744;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=72351745; + //BA.debugLineNum = 72351745;BA.debugLine="If Tracking Then"; +if (_tracking) { +RDebugUtils.currentLine=72351746; + //BA.debugLineNum = 72351746;BA.debugLine="StopFLP"; +_stopflp(); + }; +RDebugUtils.currentLine=72351748; + //BA.debugLineNum = 72351748;BA.debugLine="Tracking = False"; +_tracking = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=72351749; + //BA.debugLineNum = 72351749;BA.debugLine="lock.ReleasePartialLock"; +_lock.ReleasePartialLock(); +RDebugUtils.currentLine=72351750; + //BA.debugLineNum = 72351750;BA.debugLine="End Sub"; +return ""; +} +public static String _stopflp() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "stopflp", false)) + {return ((String) Debug.delegate(processBA, "stopflp", null));} +RDebugUtils.currentLine=72155136; + //BA.debugLineNum = 72155136;BA.debugLine="Public Sub StopFLP"; +RDebugUtils.currentLine=72155138; + //BA.debugLineNum = 72155138;BA.debugLine="If flpStarted Then"; +if (_flpstarted) { +RDebugUtils.currentLine=72155139; + //BA.debugLineNum = 72155139;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; +_flp.RemoveLocationUpdates(); +RDebugUtils.currentLine=72155140; + //BA.debugLineNum = 72155140;BA.debugLine="flpStarted = False"; +_flpstarted = anywheresoftware.b4a.keywords.Common.False; + }; +RDebugUtils.currentLine=72155142; + //BA.debugLineNum = 72155142;BA.debugLine="End Sub"; +return ""; +} +public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=71696384; + //BA.debugLineNum = 71696384;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=71696385; + //BA.debugLineNum = 71696385;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)"; +anywheresoftware.b4a.keywords.Common.LogImpl("271696385","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green); +RDebugUtils.currentLine=71696386; + //BA.debugLineNum = 71696386;BA.debugLine="Service.StopAutomaticForeground"; +mostCurrent._service.StopAutomaticForeground(); +RDebugUtils.currentLine=71696388; + //BA.debugLineNum = 71696388;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T"; +anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+10*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=71696389; + //BA.debugLineNum = 71696389;BA.debugLine="Track"; +_track(); +RDebugUtils.currentLine=71696390; + //BA.debugLineNum = 71696390;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; +mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); +RDebugUtils.currentLine=71696392; + //BA.debugLineNum = 71696392;BA.debugLine="End Sub"; +return ""; +} +public static String _track() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "track", false)) + {return ((String) Debug.delegate(processBA, "track", null));} +RDebugUtils.currentLine=71761920; + //BA.debugLineNum = 71761920;BA.debugLine="Public Sub Track"; +RDebugUtils.currentLine=71761921; + //BA.debugLineNum = 71761921;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("271761921","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);}; +RDebugUtils.currentLine=71761922; + //BA.debugLineNum = 71761922;BA.debugLine="If Tracking Then"; +if (_tracking) { +RDebugUtils.currentLine=71761924; + //BA.debugLineNum = 71761924;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; +if (true) return ""; + }; +RDebugUtils.currentLine=71761926; + //BA.debugLineNum = 71761926;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; +if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=71761927; + //BA.debugLineNum = 71761927;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss"; +if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("271761927","No permission",0);}; +RDebugUtils.currentLine=71761928; + //BA.debugLineNum = 71761928;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=71761930; + //BA.debugLineNum = 71761930;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; +_startflp(); +RDebugUtils.currentLine=71761931; + //BA.debugLineNum = 71761931;BA.debugLine="Tracking = True"; +_tracking = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=71761932; + //BA.debugLineNum = 71761932;BA.debugLine="End Sub"; +return ""; +} public static void _startflp2reqs() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "startflp2reqs", false)) + {Debug.delegate(processBA, "startflp2reqs", null); return;} ResumableSub_StartFLP2Reqs rsub = new ResumableSub_StartFLP2Reqs(null); rsub.resume(processBA, null); } @@ -497,6 +685,7 @@ reparto_intmex.keymon.lat.tracker parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="tracker"; while (true) { switch (state) { @@ -506,7 +695,8 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 108;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"StartFLP -"; +RDebugUtils.currentLine=71892993; + //BA.debugLineNum = 71892993;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"StartFLP -"; if (true) break; case 1: @@ -519,14 +709,15 @@ this.state = 3; case 3: //C this.state = 6; -anywheresoftware.b4a.keywords.Common.LogImpl("836503553","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); +anywheresoftware.b4a.keywords.Common.LogImpl("271892993","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); if (true) break; case 6: //C this.state = 7; ; - //BA.debugLineNum = 109;BA.debugLine="Do While FLP.IsConnected = False"; +RDebugUtils.currentLine=71892994; + //BA.debugLineNum = 71892994;BA.debugLine="Do While FLP.IsConnected = False"; if (true) break; case 7: @@ -541,15 +732,17 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 110;BA.debugLine="Sleep(500)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); +RDebugUtils.currentLine=71892995; + //BA.debugLineNum = 71892995;BA.debugLine="Sleep(500)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "tracker", "startflp2reqs"),(int) (500)); this.state = 29; return; case 29: //C this.state = 10; ; - //BA.debugLineNum = 111;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"sleeping G"; +RDebugUtils.currentLine=71892996; + //BA.debugLineNum = 71892996;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"sleeping G"; if (true) break; case 10: @@ -562,7 +755,7 @@ this.state = 12; case 12: //C this.state = 15; -anywheresoftware.b4a.keywords.Common.LogImpl("836503556","sleeping GR",0); +anywheresoftware.b4a.keywords.Common.LogImpl("271892996","sleeping GR",0); if (true) break; case 15: @@ -575,11 +768,14 @@ case 16: //C this.state = 17; ; - //BA.debugLineNum = 113;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +RDebugUtils.currentLine=71892998; + //BA.debugLineNum = 71892998;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; _dameultimaubicacionconocida(); - //BA.debugLineNum = 114;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; +RDebugUtils.currentLine=71892999; + //BA.debugLineNum = 71892999;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest2times().getObject())); - //BA.debugLineNum = 115;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Buscamos ub"; +RDebugUtils.currentLine=71893000; + //BA.debugLineNum = 71893000;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Buscamos ub"; if (true) break; case 17: @@ -592,14 +788,15 @@ this.state = 19; case 19: //C this.state = 22; -anywheresoftware.b4a.keywords.Common.LogImpl("836503560","Buscamos ubicacion 2 peticiones",0); +anywheresoftware.b4a.keywords.Common.LogImpl("271893000","Buscamos ubicacion 2 peticiones",0); if (true) break; case 22: //C this.state = 23; ; - //BA.debugLineNum = 116;BA.debugLine="If B4XPages.MainPage.logger Then Log(actualLR.Get"; +RDebugUtils.currentLine=71893001; + //BA.debugLineNum = 71893001;BA.debugLine="If B4XPages.MainPage.logger Then Log(actualLR.Get"; if (true) break; case 23: @@ -612,55 +809,19 @@ this.state = 25; case 25: //C this.state = 28; -anywheresoftware.b4a.keywords.Common.LogImpl("836503561",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0); +anywheresoftware.b4a.keywords.Common.LogImpl("271893001",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0); if (true) break; case 28: //C this.state = -1; ; - //BA.debugLineNum = 117;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71893002; + //BA.debugLineNum = 71893002;BA.debugLine="End Sub"; if (true) break; } } } } -public static String _stopflp() throws Exception{ - //BA.debugLineNum = 154;BA.debugLine="Public Sub StopFLP"; - //BA.debugLineNum = 156;BA.debugLine="If flpStarted Then"; -if (_flpstarted) { - //BA.debugLineNum = 157;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; -_flp.RemoveLocationUpdates(); - //BA.debugLineNum = 158;BA.debugLine="flpStarted = False"; -_flpstarted = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 160;BA.debugLine="End Sub"; -return ""; -} -public static String _track() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Public Sub Track"; - //BA.debugLineNum = 79;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836372481","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);}; - //BA.debugLineNum = 80;BA.debugLine="If Tracking Then"; -if (_tracking) { - //BA.debugLineNum = 82;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; -if (true) return ""; - }; - //BA.debugLineNum = 84;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; -if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 85;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss"; -if (mostCurrent._b4xpages._mainpage /*reparto_intmex.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("836372487","No permission",0);}; - //BA.debugLineNum = 86;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 88;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; -_startflp(); - //BA.debugLineNum = 89;BA.debugLine="Tracking = True"; -_tracking = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 90;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_intmex/keymon/lat/xuiviewsutils.java b/B4A/Objects/src/reparto_intmex/keymon/lat/xuiviewsutils.java index 55989d3..b81fa91 100644 --- a/B4A/Objects/src/reparto_intmex/keymon/lat/xuiviewsutils.java +++ b/B4A/Objects/src/reparto_intmex/keymon/lat/xuiviewsutils.java @@ -10,150 +10,213 @@ private static xuiviewsutils mostCurrent = new xuiviewsutils(); public static Object getObject() { throw new RuntimeException("Code module does not support this method."); } - public anywheresoftware.b4a.keywords.Common __c = null; + +public anywheresoftware.b4a.keywords.Common __c = null; public static boolean _utilsinitialized = false; public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_intmex.keymon.lat.main _main = null; public reparto_intmex.keymon.lat.appupdater _appupdater = null; -public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.foto _foto = null; public reparto_intmex.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_intmex.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_intmex.keymon.lat.starter _starter = null; public reparto_intmex.keymon.lat.subs _subs = null; public reparto_intmex.keymon.lat.tracker _tracker = null; public reparto_intmex.keymon.lat.newinst2 _newinst2 = null; public reparto_intmex.keymon.lat.b4xpages _b4xpages = null; public reparto_intmex.keymon.lat.b4xcollections _b4xcollections = null; public reparto_intmex.keymon.lat.httputils2service _httputils2service = null; -public static String _addstubtoclvifneeded(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _customlistview1,int _color) throws Exception{ -b4a.example3.customlistview._clvitem _lastitem = null; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -int _height = 0; - //BA.debugLineNum = 34;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; - //BA.debugLineNum = 35;BA.debugLine="If CustomListView1.Size = 0 Then Return"; -if (_customlistview1._getsize()==0) { -if (true) return "";}; - //BA.debugLineNum = 36;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; -_lastitem = _customlistview1._getrawlistitem((int) (_customlistview1._getsize()-1)); - //BA.debugLineNum = 37;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; -if (_lastitem.Offset+_lastitem.Panel.getHeight()<_customlistview1._asview().getHeight()) { - //BA.debugLineNum = 39;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),"stub"); - //BA.debugLineNum = 40;BA.debugLine="p.Color = Color"; -_p.setColor(_color); - //BA.debugLineNum = 41;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh"; -_height = (int) (_customlistview1._asview().getHeight()-_lastitem.Offset-_lastitem.Panel.getHeight()-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (3))); - //BA.debugLineNum = 42;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; -if (_xui.getIsB4J()) { -_height = (int) (_height+5);}; - //BA.debugLineNum = 43;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_customlistview1._asview().getWidth(),_height); - //BA.debugLineNum = 44;BA.debugLine="CustomListView1.Add(p, \"\")"; -_customlistview1._add(_p,(Object)("")); - //BA.debugLineNum = 45;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; -_customlistview1._sv.setScrollViewContentHeight((int) (_customlistview1._sv.getScrollViewContentHeight()-_customlistview1._getdividersize())); - }; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return ""; -} -public static reparto_intmex.keymon.lat.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{ -reparto_intmex.keymon.lat.b4ximageview _iv = null; -anywheresoftware.b4a.objects.B4XViewWrapper _base = null; - //BA.debugLineNum = 85;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; - //BA.debugLineNum = 86;BA.debugLine="Dim iv As B4XImageView"; -_iv = new reparto_intmex.keymon.lat.b4ximageview(); - //BA.debugLineNum = 87;BA.debugLine="iv.Initialize(Null, \"\")"; -_iv._initialize /*String*/ (_ba,anywheresoftware.b4a.keywords.Common.Null,""); - //BA.debugLineNum = 88;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; -_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_base = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),""); - //BA.debugLineNum = 89;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)"; -_base.SetLayoutAnimated((int) (0),(int) (0),(int) (0),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100))); - //BA.debugLineNum = 90;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun"; -_iv._designercreateview /*String*/ ((Object)(_base.getObject()),(anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Null)),anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("Round"),(Object)(anywheresoftware.b4a.keywords.Common.False),(Object)("ResizeMode"),(Object)("FIT"),(Object)("BackgroundColor"),(Object)(((int)0xffaaaaaa)),(Object)("CornersRadius"),(Object)(0)})); - //BA.debugLineNum = 91;BA.debugLine="Return iv"; -if (true) return _iv; - //BA.debugLineNum = 92;BA.debugLine="End Sub"; -return null; -} -public static anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; - //BA.debugLineNum = 78;BA.debugLine="Public Sub CreateLabel As B4XView"; - //BA.debugLineNum = 79;BA.debugLine="Dim lbl As Label"; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 80;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(_ba,""); - //BA.debugLineNum = 81;BA.debugLine="Return lbl"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; -return null; -} -public static String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 10;BA.debugLine="Private Sub Initialize"; - //BA.debugLineNum = 11;BA.debugLine="If UtilsInitialized Then Return"; -if (_utilsinitialized) { -if (true) return "";}; - //BA.debugLineNum = 12;BA.debugLine="UtilsInitialized = True"; -_utilsinitialized = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 19;BA.debugLine="End Sub"; -return ""; -} public static String _performhapticfeedback(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "performhapticfeedback", true)) + {return ((String) Debug.delegate(null, "performhapticfeedback", new Object[] {_ba,_view}));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 21;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; - //BA.debugLineNum = 22;BA.debugLine="Initialize"; +RDebugUtils.currentLine=35258368; + //BA.debugLineNum = 35258368;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; +RDebugUtils.currentLine=35258369; + //BA.debugLineNum = 35258369;BA.debugLine="Initialize"; _initialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Dim jo As JavaObject = View"; +RDebugUtils.currentLine=35258371; + //BA.debugLineNum = 35258371;BA.debugLine="Dim jo As JavaObject = View"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject())); - //BA.debugLineNum = 25;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; +RDebugUtils.currentLine=35258372; + //BA.debugLineNum = 35258372;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; _jo.RunMethod("performHapticFeedback",new Object[]{(Object)(1)}); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private UtilsInitialized As Boolean"; -_utilsinitialized = false; - //BA.debugLineNum = 7;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public static String _setalpha(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view,float _level) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -float _alpha = 0f; - //BA.debugLineNum = 95;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; - //BA.debugLineNum = 97;BA.debugLine="Dim jo As JavaObject = View"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject())); - //BA.debugLineNum = 98;BA.debugLine="Dim alpha As Float = Level"; -_alpha = _level; - //BA.debugLineNum = 99;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; -_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)}); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public static String _setbitmapandfill(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _imageview,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 65;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; - //BA.debugLineNum = 66;BA.debugLine="ImageView.SetBitmap(Bmp)"; -_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); - //BA.debugLineNum = 67;BA.debugLine="Dim iiv As ImageView = ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); -_iiv = (anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_imageview.getObject())); - //BA.debugLineNum = 69;BA.debugLine="iiv.Gravity = Gravity.FILL"; -_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; +RDebugUtils.currentLine=35258378; + //BA.debugLineNum = 35258378;BA.debugLine="End Sub"; return ""; } public static String _settextorcsbuildertolabel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; - //BA.debugLineNum = 52;BA.debugLine="xlbl.Text = Text"; +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "settextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(null, "settextorcsbuildertolabel", new Object[] {_ba,_xlbl,_text}));} +RDebugUtils.currentLine=35389440; + //BA.debugLineNum = 35389440;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; +RDebugUtils.currentLine=35389442; + //BA.debugLineNum = 35389442;BA.debugLine="xlbl.Text = Text"; _xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +RDebugUtils.currentLine=35389452; + //BA.debugLineNum = 35389452;BA.debugLine="End Sub"; return ""; } +public static String _addstubtoclvifneeded(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _customlistview1,int _color) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "addstubtoclvifneeded", true)) + {return ((String) Debug.delegate(null, "addstubtoclvifneeded", new Object[] {_ba,_customlistview1,_color}));} +b4a.example3.customlistview._clvitem _lastitem = null; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +int _height = 0; +RDebugUtils.currentLine=35323904; + //BA.debugLineNum = 35323904;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; +RDebugUtils.currentLine=35323905; + //BA.debugLineNum = 35323905;BA.debugLine="If CustomListView1.Size = 0 Then Return"; +if (_customlistview1._getsize()==0) { +if (true) return "";}; +RDebugUtils.currentLine=35323906; + //BA.debugLineNum = 35323906;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; +_lastitem = _customlistview1._getrawlistitem((int) (_customlistview1._getsize()-1)); +RDebugUtils.currentLine=35323907; + //BA.debugLineNum = 35323907;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; +if (_lastitem.Offset+_lastitem.Panel.getHeight()<_customlistview1._asview().getHeight()) { +RDebugUtils.currentLine=35323909; + //BA.debugLineNum = 35323909;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),"stub"); +RDebugUtils.currentLine=35323910; + //BA.debugLineNum = 35323910;BA.debugLine="p.Color = Color"; +_p.setColor(_color); +RDebugUtils.currentLine=35323911; + //BA.debugLineNum = 35323911;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh"; +_height = (int) (_customlistview1._asview().getHeight()-_lastitem.Offset-_lastitem.Panel.getHeight()-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (3))); +RDebugUtils.currentLine=35323912; + //BA.debugLineNum = 35323912;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; +if (_xui.getIsB4J()) { +_height = (int) (_height+5);}; +RDebugUtils.currentLine=35323913; + //BA.debugLineNum = 35323913;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_customlistview1._asview().getWidth(),_height); +RDebugUtils.currentLine=35323914; + //BA.debugLineNum = 35323914;BA.debugLine="CustomListView1.Add(p, \"\")"; +_customlistview1._add(_p,(Object)("")); +RDebugUtils.currentLine=35323915; + //BA.debugLineNum = 35323915;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; +_customlistview1._sv.setScrollViewContentHeight((int) (_customlistview1._sv.getScrollViewContentHeight()-_customlistview1._getdividersize())); + }; +RDebugUtils.currentLine=35323917; + //BA.debugLineNum = 35323917;BA.debugLine="End Sub"; +return ""; } +public static String _setbitmapandfill(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _imageview,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "setbitmapandfill", true)) + {return ((String) Debug.delegate(null, "setbitmapandfill", new Object[] {_ba,_imageview,_bmp}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; +RDebugUtils.currentLine=35454976; + //BA.debugLineNum = 35454976;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; +RDebugUtils.currentLine=35454977; + //BA.debugLineNum = 35454977;BA.debugLine="ImageView.SetBitmap(Bmp)"; +_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); +RDebugUtils.currentLine=35454978; + //BA.debugLineNum = 35454978;BA.debugLine="Dim iiv As ImageView = ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +_iiv = (anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_imageview.getObject())); +RDebugUtils.currentLine=35454980; + //BA.debugLineNum = 35454980;BA.debugLine="iiv.Gravity = Gravity.FILL"; +_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL); +RDebugUtils.currentLine=35454986; + //BA.debugLineNum = 35454986;BA.debugLine="End Sub"; +return ""; +} +public static String _setalpha(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view,float _level) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "setalpha", true)) + {return ((String) Debug.delegate(null, "setalpha", new Object[] {_ba,_view,_level}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +float _alpha = 0f; +RDebugUtils.currentLine=35651584; + //BA.debugLineNum = 35651584;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; +RDebugUtils.currentLine=35651586; + //BA.debugLineNum = 35651586;BA.debugLine="Dim jo As JavaObject = View"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject())); +RDebugUtils.currentLine=35651587; + //BA.debugLineNum = 35651587;BA.debugLine="Dim alpha As Float = Level"; +_alpha = _level; +RDebugUtils.currentLine=35651588; + //BA.debugLineNum = 35651588;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; +_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)}); +RDebugUtils.currentLine=35651596; + //BA.debugLineNum = 35651596;BA.debugLine="End Sub"; +return ""; +} +public static reparto_intmex.keymon.lat.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "createb4ximageview", true)) + {return ((reparto_intmex.keymon.lat.b4ximageview) Debug.delegate(null, "createb4ximageview", new Object[] {_ba}));} +reparto_intmex.keymon.lat.b4ximageview _iv = null; +anywheresoftware.b4a.objects.B4XViewWrapper _base = null; +RDebugUtils.currentLine=35586048; + //BA.debugLineNum = 35586048;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; +RDebugUtils.currentLine=35586049; + //BA.debugLineNum = 35586049;BA.debugLine="Dim iv As B4XImageView"; +_iv = new reparto_intmex.keymon.lat.b4ximageview(); +RDebugUtils.currentLine=35586050; + //BA.debugLineNum = 35586050;BA.debugLine="iv.Initialize(Null, \"\")"; +_iv._initialize /*String*/ (null,_ba,anywheresoftware.b4a.keywords.Common.Null,""); +RDebugUtils.currentLine=35586051; + //BA.debugLineNum = 35586051;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; +_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_base = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),""); +RDebugUtils.currentLine=35586052; + //BA.debugLineNum = 35586052;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)"; +_base.SetLayoutAnimated((int) (0),(int) (0),(int) (0),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100))); +RDebugUtils.currentLine=35586053; + //BA.debugLineNum = 35586053;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun"; +_iv._designercreateview /*String*/ (null,(Object)(_base.getObject()),(anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Null)),anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("Round"),(Object)(anywheresoftware.b4a.keywords.Common.False),(Object)("ResizeMode"),(Object)("FIT"),(Object)("BackgroundColor"),(Object)(((int)0xffaaaaaa)),(Object)("CornersRadius"),(Object)(0)})); +RDebugUtils.currentLine=35586054; + //BA.debugLineNum = 35586054;BA.debugLine="Return iv"; +if (true) return _iv; +RDebugUtils.currentLine=35586055; + //BA.debugLineNum = 35586055;BA.debugLine="End Sub"; +return null; +} +public static anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "createlabel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(null, "createlabel", new Object[] {_ba}));} +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +RDebugUtils.currentLine=35520512; + //BA.debugLineNum = 35520512;BA.debugLine="Public Sub CreateLabel As B4XView"; +RDebugUtils.currentLine=35520513; + //BA.debugLineNum = 35520513;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=35520514; + //BA.debugLineNum = 35520514;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(_ba,""); +RDebugUtils.currentLine=35520515; + //BA.debugLineNum = 35520515;BA.debugLine="Return lbl"; +if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=35520516; + //BA.debugLineNum = 35520516;BA.debugLine="End Sub"; +return null; +} +public static String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "initialize", true)) + {return ((String) Debug.delegate(null, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=35192832; + //BA.debugLineNum = 35192832;BA.debugLine="Private Sub Initialize"; +RDebugUtils.currentLine=35192833; + //BA.debugLineNum = 35192833;BA.debugLine="If UtilsInitialized Then Return"; +if (_utilsinitialized) { +if (true) return "";}; +RDebugUtils.currentLine=35192834; + //BA.debugLineNum = 35192834;BA.debugLine="UtilsInitialized = True"; +_utilsinitialized = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=35192841; + //BA.debugLineNum = 35192841;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file