package gunav2.keymon.com.mx;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.debug.*;

public class c_cliente extends B4AClass.ImplB4AClass implements BA.SubDelegator{
    private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
    private void innerInitialize(BA _ba) throws Exception {
        if (ba == null) {
            ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_cliente");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", gunav2.keymon.com.mx.c_cliente.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 
    public void  innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{
        innerInitialize(_ba);
    }
    public Object callSub(String sub, Object sender, Object[] args) throws Exception {
        return BA.SubDelegator.SubNotFound;
    }
public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4a.objects.B4XViewWrapper _root = null;
public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_cliente = null;
public gunav2.keymon.com.mx.c_cuestionario _cuest = null;
public anywheresoftware.b4a.gps.GPS _g = null;
public String _ruta = "";
public anywheresoftware.b4a.sql.SQL _skmt = null;
public String _clie_id = "";
public String _sdate = "";
public String _stime = "";
public String _usuario = "";
public String _total_cliente = "";
public String _m_lat = "";
public String _m_lon = "";
public anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null;
public anywheresoftware.b4a.objects.Serial _cmp20 = null;
public anywheresoftware.b4a.objects.streams.File.TextWriterWrapper _printer = null;
public anywheresoftware.b4a.objects.collections.Map _paireddevices = null;
public anywheresoftware.b4a.objects.collections.List _l = null;
public int _tamano = 0;
public int _espacio = 0;
public String _blanco = "";
public String _cuenta = "";
public String _tipo_venta = "";
public String _mac_impresora = "";
public gunav2.keymon.com.mx.escposprinter _printer1 = null;
public anywheresoftware.b4a.gps.LocationWrapper _location2 = null;
public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null;
public anywheresoftware.b4a.sql.SQL.CursorWrapper _dd = null;
public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null;
public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_cuenta = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_nombre = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_calle = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_numero = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_nint = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_edo = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_pob = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_col = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_cp = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_zona = null;
public anywheresoftware.b4a.objects.ButtonWrapper _gest = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_saldotot = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_saldooper = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_cajetillas = null;
public anywheresoftware.b4a.objects.ButtonWrapper _tels = null;
public anywheresoftware.b4a.objects.LabelWrapper _label10 = null;
public anywheresoftware.b4a.objects.LabelWrapper _label11 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _tar = null;
public anywheresoftware.b4a.objects.Timer _t1 = null;
public anywheresoftware.b4a.objects.Timer _t2 = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_comm = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_actdte = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_usuario = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_resultado = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_entre1 = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_entre2 = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_atiende = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_atiende2 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _datos = null;
public anywheresoftware.b4a.objects.ButtonWrapper _guardar = null;
public anywheresoftware.b4a.objects.ButtonWrapper _nuevo = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_total = null;
public anywheresoftware.b4a.sql.SQL.CursorWrapper _s2 = null;
public String _res = "";
public anywheresoftware.b4a.objects.ButtonWrapper _hist = null;
public String _monto_compra = "";
public String _meta = "";
public String _meta2 = "";
public String _verifica = "";
public anywheresoftware.b4a.objects.LabelWrapper _l_qr = null;
public anywheresoftware.b4a.objects.ButtonWrapper _bt_qr = null;
public String _codigo = "";
public anywheresoftware.b4a.objects.ButtonWrapper _b_mapa = null;
public String _cuantos = "";
public anywheresoftware.b4a.objects.ButtonWrapper _b_imp = null;
public com.rootsoft.togglelibrary.ToggleLibrary _toggla = null;
public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null;
public anywheresoftware.b4a.objects.PanelWrapper _panel1 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _i_compra = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_guarda_c = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_venta = null;
public String _almacen = "";
public anywheresoftware.b4a.objects.LabelWrapper _la_gps = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_e_next = null;
public anywheresoftware.b4a.objects.EditTextWrapper _e_res_e = null;
public anywheresoftware.b4a.objects.LabelWrapper _t_tenc = null;
public anywheresoftware.b4a.objects.PanelWrapper _panel2 = null;
public String _contador_e = "";
public String _hr_res1 = "";
public String _hr_res2 = "";
public String _hr_res3 = "";
public String _existe = "";
public String _telefono = "";
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb4 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb5 = null;
public String _stay_hh = "";
public String _stay_mi = "";
public String _stay_ss = "";
public anywheresoftware.b4a.objects.LabelWrapper _la_geo = null;
public int _result = 0;
public String _cercavalor = "";
public String _la_ruta = "";
public anywheresoftware.b4a.objects.ButtonWrapper _b_like = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_gps = null;
public ice.zxing.b4aZXingLib _sc = null;
public anywheresoftware.b4a.objects.ScrollViewWrapper _sv_encuesta = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1_e1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2_e1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3_e1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chb1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chb2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chb3 = null;
public anywheresoftware.b4a.objects.PanelWrapper _panel5 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_guardaencuesta = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton4 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton5 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton6 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton7 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton8 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton9 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton10 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton11 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton12 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton13 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton14 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _checkbox1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _checkbox2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _checkbox3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _checkbox4 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _checkbox5 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _checkbox6 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _checkbox7 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _checkbox8 = null;
public anywheresoftware.b4a.objects.collections.Map _encuentasmapa = null;
public anywheresoftware.b4a.objects.EditTextWrapper _p6 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _p7 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _p8 = null;
public anywheresoftware.b4a.objects.PanelWrapper _panel7 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton17 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton16 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _radiobutton15 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_guardaencuesta_m2 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_p1_m2 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_p2_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb7_p6_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb6_p6_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb5_p6_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb4_p6_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3_p6_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2_p6_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1_p6_m2 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_p5_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rd3_p4_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rd2_p4_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rd1_p4_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1_p3_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2_p3_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3_p3_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb4_p3_m2 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_p3_m2 = null;
public anywheresoftware.b4a.objects.PanelWrapper _panel7_m2 = null;
public String _p4_m2 = "";
public String _p3_m2 = "";
public String _p6_m2 = "";
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb1_p3_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb2_p3_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb3_p3_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb4_p3_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb5_p3_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb6_p3_m2 = null;
public String _existe2 = "";
public String _existe3 = "";
public String _existe4 = "";
public String _existe5 = "";
public anywheresoftware.b4a.objects.EditTextWrapper _et_p1_m3 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_p2_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb1_p3_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb2_p3_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb3_p3_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb4_p3_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb5_p3_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb1_p4_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb2_p4_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb3_p4_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb4_p4_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb5_p4_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rd1_p5_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rd2_p5_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb1_p6_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb2_p6_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb3_p6_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb4_p6_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb5_p6_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb6_p6_m3 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_p6_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb1_p7_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb2_p7_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb3_p7_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb4_p7_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb1_p8_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb2_p8_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb4_p8_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1_p9_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2_p9_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3_p9_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb4_p9_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb5_p9_m3 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_guardaencuesta_m3 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_gallina = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_acepta_gallina = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_cancela_gallina = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_gallina = null;
public anywheresoftware.b4a.objects.LabelWrapper _la_cuenta_gallina = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_pregunta = null;
public String _girotienda = "";
public anywheresoftware.b4a.objects.PanelWrapper _p_pregunta1 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_preguntag = null;
public String _en_que_encuesta = "";
public String _encuesta = "";
public anywheresoftware.b4a.objects.EditTextWrapper _et_p1_m4 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_p2_m4 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p3_m4 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p4_1_m4 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p4_2_m4 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p4_3_m4 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p4_4_m4 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p4_5_m4 = null;
public String _itemselect2 = "";
public String _itemselect3 = "";
public String _itemselect4 = "";
public String _itemselect5 = "";
public String _itemselect6 = "";
public String _itemselect7 = "";
public anywheresoftware.b4a.objects.ButtonWrapper _b_guardaencuesta_m4 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_modulo5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p1_m5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p2_m5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p3_m5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p4_m5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p5_m5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p6_m5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p7_m5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p8_m5 = null;
public gunav2.keymon.com.mx.b4xcombobox _cb_p9_m5 = null;
public String _itemselect8 = "";
public String _itemselect9 = "";
public String _itemselect10 = "";
public String _itemselect11 = "";
public String _itemselect12 = "";
public String _itemselect13 = "";
public String _itemselect14 = "";
public String _itemselect15 = "";
public String _itemselect16 = "";
public anywheresoftware.b4a.objects.ButtonWrapper _b_guardaencuesta_m5 = null;
public String _pasa = "";
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1_p4_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2_p4_m2 = null;
public anywheresoftware.b4a.objects.PanelWrapper _panel7_p4_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb1_p4_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb2_p4_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb3_p4_m2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb4_p4_m2 = null;
public anywheresoftware.b4a.objects.PanelWrapper _panel4 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_guarda_ce_ped = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_01 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_02 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_03 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_04 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_05 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_06 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_07 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_08 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_09 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_10 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_11 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_12 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_13 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_14 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_15 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_16 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_17 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_18 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_19 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kp_20 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kg_01 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kg_02 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kg_03 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kg_04 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kg_05 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _kg_06 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _pk_01 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _pk_02 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _pk_03 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _pk_04 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _pk_05 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _pk_06 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _pk_07 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _pk_08 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_01 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_02 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_03 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_04 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_05 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_06 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_07 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_08 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_09 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hpg_10 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hc_01 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hc_02 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hc_03 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _hc_04 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _b_01 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _b_02 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _ch_factura = null;
public String _que_modulo = "";
public String _cuenta_modulo = "";
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1_m3_p1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2_m3_p1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3_m3_p1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb4_m3_p1 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1_m3_p2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2_m3_p2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3_m3_p2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb4_m3_p2 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_p2_m3_1 = null;
public String _textemp2 = "";
public String _textemp3 = "";
public String _textemp4 = "";
public String _textemp5 = "";
public String _textemp6 = "";
public String _textemp7 = "";
public String _textemp8 = "";
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb3_p8_m3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb7_p6_m3 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_m1 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_m2 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_m3 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_m4 = null;
public boolean _impresoraconectada = false;
public int _errorimpresora = 0;
public String _idencuestaaguardar = "";
public int _botonpresionado = 0;
public String _encuestares = "";
public int _indicepregunta = 0;
public String _tomar_foto = "";
public int _cursor_foto = 0;
public String _id_encuesta = "";
public String _chk_1_valor = "";
public String _chk_2_valor = "";
public String _chk_3_valor = "";
public anywheresoftware.b4a.objects.PanelWrapper _panel10 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_chk_e = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chk_3 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chk_2 = null;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chk_1 = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_chk_e = null;
public anywheresoftware.b4a.objects.LabelWrapper _label28 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_encuesta = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_encuesta_continuar = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_encuesta_3 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_encuesta_2 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_encuesta_1 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_encuesta = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_txtencuesta = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_titencuesta = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _imageview11 = null;
public long _distance = 0L;
public long _distancealm = 0L;
public anywheresoftware.b4a.objects.PanelWrapper _p_pidegeopass = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_geopass = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_geopass = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_geopass = null;
public gunav2.keymon.com.mx.dbrequestmanager _reqmanager = null;
public anywheresoftware.b4a.objects.IME _ime = null;
public gunav2.keymon.com.mx.cameraexclass _camex = null;
public boolean _frontcamera = false;
public anywheresoftware.b4a.objects.PanelWrapper _p_cam = null;
public String _nombrefoto = "";
public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null;
public anywheresoftware.b4a.objects.IME _teclado = null;
public String _fototomada = "";
public anywheresoftware.b4a.objects.ButtonWrapper _b_foto = null;
public String _precision = "";
public anywheresoftware.b4a.objects.ButtonWrapper _b_inicio_fin_venta = null;
public boolean _dentrodegeocerca = false;
public String _motivonoventa = "";
public String _motivonovisita = "";
public int _contadoriniciarventa = 0;
public boolean _inivenno = false;
public int _geocont = 0;
public anywheresoftware.b4a.objects.LabelWrapper _l_version = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_preventa = null;
public gunav2.keymon.com.mx.c_bitacora _bitacora = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_transparenteticketimpreso = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_codigoautorizacion = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_codigoautorizacion = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelarcodigoautorizacion = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_ticketimpreso = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_enviarticket = null;
public String _archivoticketpdf = "";
public anywheresoftware.b4a.objects.PanelWrapper _p_transparentepdf = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_enviopdf = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelarenviopdf = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_enviopdf = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_numeropdf = null;
public anywheresoftware.b4a.objects.ButtonWrapper _btnplanlealtad = null;
public anywheresoftware.b4a.objects.PanelWrapper _pnl_btns = null;
public anywheresoftware.b4a.objects.PanelWrapper _pnlplanlealtad = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _imgplanlealtad = null;
public anywheresoftware.b4a.objects.ButtonWrapper _btnaceptaplanlealtad = null;
public anywheresoftware.b4a.objects.ButtonWrapper _btncancelarplanlealtad = null;
public String _bcredito = "";
public anywheresoftware.b4a.objects.PanelWrapper _p_comentarios = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_comentario = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_agregarcom = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_cerarcom = null;
public anywheresoftware.b4a.objects.LabelWrapper _label19 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_comentario = null;
public anywheresoftware.b4a.objects.ListViewWrapper _lv_comentarios = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _imageview4 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_cliente_ = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_limite = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_credito = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_tipocliente = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_deuda = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_deuda = null;
public anywheresoftware.b4a.objects.LabelWrapper _label22 = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_animal = null;
public int _contiguales = 0;
public anywheresoftware.b4a.objects.ButtonWrapper _b_preventa2 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_atiende = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_atiende = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelatiende = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_acepatiende = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_telefono = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_canceltelefono = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptelefono = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_telefono = null;
public double _totalpromos = 0;
public double _totalpromostotal = 0;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chb_com = null;
public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null;
public gunav2.keymon.com.mx.httputils2service _httputils2service = null;
public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null;
public Object  _initialize(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.BA _ba) throws Exception{
__ref = this;
innerInitialize(_ba);
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "initialize", false))
	 {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));}
RDebugUtils.currentLine=50331648;
 //BA.debugLineNum = 50331648;BA.debugLine="Public Sub Initialize As Object";
RDebugUtils.currentLine=50331649;
 //BA.debugLineNum = 50331649;BA.debugLine="Return Me";
if (true) return this;
RDebugUtils.currentLine=50331650;
 //BA.debugLineNum = 50331650;BA.debugLine="End Sub";
return null;
}
public String  _b_acepatiende_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_acepatiende_click", false))
	 {return ((String) Debug.delegate(ba, "b_acepatiende_click", null));}
anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null;
RDebugUtils.currentLine=64618496;
 //BA.debugLineNum = 64618496;BA.debugLine="Private Sub b_acepatiende_Click";
RDebugUtils.currentLine=64618497;
 //BA.debugLineNum = 64618497;BA.debugLine="If et_atiende.Text <> \"\" Then";
if ((__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { 
RDebugUtils.currentLine=64618499;
 //BA.debugLineNum = 64618499;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt";
_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from ATIENDE where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=64618501;
 //BA.debugLineNum = 64618501;BA.debugLine="If coord.RowCount = 0 Then";
if (_coord.getRowCount()==0) { 
RDebugUtils.currentLine=64618502;
 //BA.debugLineNum = 64618502;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ATIENDE(ATIENDE";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ATIENDE(ATIENDE,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),_subs._traecliente /*String*/ (ba)}));
RDebugUtils.currentLine=64618503;
 //BA.debugLineNum = 64618503;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"'  where CAT_CL_CODIGO In (select cuenta from cuentaa)"));
RDebugUtils.currentLine=64618504;
 //BA.debugLineNum = 64618504;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba);
RDebugUtils.currentLine=64618505;
 //BA.debugLineNum = 64618505;BA.debugLine="l_atiende.Text = et_atiende.Text";
__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()));
RDebugUtils.currentLine=64618506;
 //BA.debugLineNum = 64618506;BA.debugLine="ime.HideKeyboard";
__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=64618507;
 //BA.debugLineNum = 64618507;BA.debugLine="p_atiende.Visible = False";
__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=64618508;
 //BA.debugLineNum = 64618508;BA.debugLine="et_atiende.Text = \"\"";
__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 }else {
RDebugUtils.currentLine=64618510;
 //BA.debugLineNum = 64618510;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE ATIENDE SET ATIENDE";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE ATIENDE SET ATIENDE = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()}));
RDebugUtils.currentLine=64618511;
 //BA.debugLineNum = 64618511;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"'  where CAT_CL_CODIGO In (select cuenta from cuentaa)"));
RDebugUtils.currentLine=64618512;
 //BA.debugLineNum = 64618512;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba);
RDebugUtils.currentLine=64618513;
 //BA.debugLineNum = 64618513;BA.debugLine="l_atiende.Text = et_atiende.Text";
__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()));
RDebugUtils.currentLine=64618514;
 //BA.debugLineNum = 64618514;BA.debugLine="ime.HideKeyboard";
__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=64618515;
 //BA.debugLineNum = 64618515;BA.debugLine="p_atiende.Visible = False";
__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=64618516;
 //BA.debugLineNum = 64618516;BA.debugLine="et_atiende.Text = \"\"";
__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
 }else {
RDebugUtils.currentLine=64618521;
 //BA.debugLineNum = 64618521;BA.debugLine="MsgboxAsync(\"Por favor captura un nombre valido.";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un nombre valido."),BA.ObjectToCharSequence("Atención"),ba);
 };
RDebugUtils.currentLine=64618523;
 //BA.debugLineNum = 64618523;BA.debugLine="End Sub";
return "";
}
public String  _b_acepta_gallina_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_acepta_gallina_click", false))
	 {return ((String) Debug.delegate(ba, "b_acepta_gallina_click", null));}
RDebugUtils.currentLine=57409536;
 //BA.debugLineNum = 57409536;BA.debugLine="Private Sub B_ACEPTA_GALLINA_Click";
RDebugUtils.currentLine=57409539;
 //BA.debugLineNum = 57409539;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=57409540;
 //BA.debugLineNum = 57409540;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=57409541;
 //BA.debugLineNum = 57409541;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=57409542;
 //BA.debugLineNum = 57409542;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa")));
RDebugUtils.currentLine=57409543;
 //BA.debugLineNum = 57409543;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=57409544;
 //BA.debugLineNum = 57409544;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
__ref._clie_id /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA");
RDebugUtils.currentLine=57409545;
 //BA.debugLineNum = 57409545;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=57409546;
 //BA.debugLineNum = 57409546;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=57409547;
 //BA.debugLineNum = 57409547;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=57409548;
 //BA.debugLineNum = 57409548;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=57409549;
 //BA.debugLineNum = 57409549;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=57409550;
 //BA.debugLineNum = 57409550;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=57409551;
 //BA.debugLineNum = 57409551;BA.debugLine="If c.RowCount>0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=57409552;
 //BA.debugLineNum = 57409552;BA.debugLine="C.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=57409553;
 //BA.debugLineNum = 57409553;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
__ref._almacen /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN");
 };
RDebugUtils.currentLine=57409555;
 //BA.debugLineNum = 57409555;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=57409556;
 //BA.debugLineNum = 57409556;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO  PEDIDO (PE_CEDIS";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO  PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(0),(Object)(0),(Object)(1),(Object)("1 KNORR SUIZA EXH C/50/22 GR +1 KNORR SUIZA GALLINA $279.00"),(Object)("PRO1771"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}));
RDebugUtils.currentLine=57409557;
 //BA.debugLineNum = 57409557;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO  PEDIDO (PE_CEDIS";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO  PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(139.5),(Object)(139.5),(Object)(1),(Object)("KNORR SUIZA EXH C/50/22 GR"),(Object)("UNI047"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}));
RDebugUtils.currentLine=57409558;
 //BA.debugLineNum = 57409558;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO  PEDIDO (PE_CEDIS";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO  PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(139.5),(Object)(139.5),(Object)(1),(Object)("KNORR SUIZA GALLINA"),(Object)("UNI860"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}));
RDebugUtils.currentLine=57409560;
 //BA.debugLineNum = 57409560;BA.debugLine="c=skmt.ExecQuery(\"select sum(pe_costo_tot) as TOT";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=57409561;
 //BA.debugLineNum = 57409561;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=57409562;
 //BA.debugLineNum = 57409562;BA.debugLine="skmt.ExecNonQuery(\"delete from pedido_cliente whe";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");
RDebugUtils.currentLine=57409563;
 //BA.debugLineNum = 57409563;BA.debugLine="skmt.ExecNonQuery2(\"insert into pedido_cliente(PC";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))}));
RDebugUtils.currentLine=57409564;
 //BA.debugLineNum = 57409564;BA.debugLine="skmt.ExecNonQuery(\"UPDATE kmt_info3 set gestion =";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2  where CAT_CL_CODIGO In (select cuenta from cuentaa)");
RDebugUtils.currentLine=57409568;
 //BA.debugLineNum = 57409568;BA.debugLine="B_GALLINA.Visible = False";
__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57409569;
 //BA.debugLineNum = 57409569;BA.debugLine="b_like.Visible = True";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57409570;
 //BA.debugLineNum = 57409570;BA.debugLine="Tar.Visible = True";
__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57409571;
 //BA.debugLineNum = 57409571;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57409572;
 //BA.debugLineNum = 57409572;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57409574;
 //BA.debugLineNum = 57409574;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57409575;
 //BA.debugLineNum = 57409575;BA.debugLine="Guardar.Visible = True";
__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57409576;
 //BA.debugLineNum = 57409576;BA.debugLine="P_gallina.Visible = False";
__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57409577;
 //BA.debugLineNum = 57409577;BA.debugLine="End Sub";
return "";
}
public String  _b_aceptelefono_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_aceptelefono_click", false))
	 {return ((String) Debug.delegate(ba, "b_aceptelefono_click", null));}
anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null;
RDebugUtils.currentLine=64880640;
 //BA.debugLineNum = 64880640;BA.debugLine="Private Sub b_aceptelefono_Click";
RDebugUtils.currentLine=64880641;
 //BA.debugLineNum = 64880641;BA.debugLine="If et_telefono.Text <> \"\" Then";
if ((__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { 
RDebugUtils.currentLine=64880642;
 //BA.debugLineNum = 64880642;BA.debugLine="If et_telefono.Text.Length = 10 Then";
if (__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()==10) { 
RDebugUtils.currentLine=64880644;
 //BA.debugLineNum = 64880644;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skm";
_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from TELEFONO where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=64880646;
 //BA.debugLineNum = 64880646;BA.debugLine="If coord.RowCount = 0 Then";
if (_coord.getRowCount()==0) { 
RDebugUtils.currentLine=64880647;
 //BA.debugLineNum = 64880647;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO TELEFONO(TELEF";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TELEFONO(TELEFONO,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),_subs._traecliente /*String*/ (ba)}));
RDebugUtils.currentLine=64880648;
 //BA.debugLineNum = 64880648;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"+__c.SmartStringFormatter("",(Object)(__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"'  where CAT_CL_CODIGO In (select cuenta from cuentaa)"));
RDebugUtils.currentLine=64880649;
 //BA.debugLineNum = 64880649;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba);
RDebugUtils.currentLine=64880650;
 //BA.debugLineNum = 64880650;BA.debugLine="Label19.Text = et_telefono.Text";
__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()));
RDebugUtils.currentLine=64880651;
 //BA.debugLineNum = 64880651;BA.debugLine="ime.HideKeyboard";
__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=64880652;
 //BA.debugLineNum = 64880652;BA.debugLine="p_telefono.Visible = False";
__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=64880653;
 //BA.debugLineNum = 64880653;BA.debugLine="et_telefono.Text = \"\"";
__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 }else {
RDebugUtils.currentLine=64880655;
 //BA.debugLineNum = 64880655;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE TELEFONO SET TELEFO";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE TELEFONO SET TELEFONO = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()}));
RDebugUtils.currentLine=64880656;
 //BA.debugLineNum = 64880656;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"+__c.SmartStringFormatter("",(Object)(__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"'  where CAT_CL_CODIGO In (select cuenta from cuentaa)"));
RDebugUtils.currentLine=64880657;
 //BA.debugLineNum = 64880657;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba);
RDebugUtils.currentLine=64880658;
 //BA.debugLineNum = 64880658;BA.debugLine="Label19.Text = et_telefono.Text";
__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()));
RDebugUtils.currentLine=64880660;
 //BA.debugLineNum = 64880660;BA.debugLine="ime.HideKeyboard";
__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=64880661;
 //BA.debugLineNum = 64880661;BA.debugLine="p_telefono.Visible = False";
__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=64880662;
 //BA.debugLineNum = 64880662;BA.debugLine="et_telefono.Text = \"\"";
__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
 }else {
RDebugUtils.currentLine=64880666;
 //BA.debugLineNum = 64880666;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de tel";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un numero de teléfono valido."),BA.ObjectToCharSequence("Atención"),ba);
 };
 }else {
RDebugUtils.currentLine=64880669;
 //BA.debugLineNum = 64880669;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de telé";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un numero de teléfono valido."),BA.ObjectToCharSequence("Atención"),ba);
 };
RDebugUtils.currentLine=64880671;
 //BA.debugLineNum = 64880671;BA.debugLine="End Sub";
return "";
}
public String  _b_agregarcom_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_agregarcom_click", false))
	 {return ((String) Debug.delegate(ba, "b_agregarcom_click", null));}
anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
int _i = 0;
String _itemtext = "";
RDebugUtils.currentLine=63504384;
 //BA.debugLineNum = 63504384;BA.debugLine="Private Sub b_agregarcom_Click";
RDebugUtils.currentLine=63504386;
 //BA.debugLineNum = 63504386;BA.debugLine="If et_comentario.Text <> \"\" Then";
if ((__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { 
RDebugUtils.currentLine=63504387;
 //BA.debugLineNum = 63504387;BA.debugLine="If chb_com.Checked Then";
if (__ref._chb_com /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=63504388;
 //BA.debugLineNum = 63504388;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"+__c.SmartStringFormatter("",(Object)(__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"',1)"));
 }else 
{RDebugUtils.currentLine=63504389;
 //BA.debugLineNum = 63504389;BA.debugLine="Else If chb_com.Checked = False Then";
if (__ref._chb_com /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { 
RDebugUtils.currentLine=63504390;
 //BA.debugLineNum = 63504390;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"+__c.SmartStringFormatter("",(Object)(__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"',0)"));
 }}
;
RDebugUtils.currentLine=63504393;
 //BA.debugLineNum = 63504393;BA.debugLine="Dim label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=63504394;
 //BA.debugLineNum = 63504394;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label";
_label1 = __ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label;
RDebugUtils.currentLine=63504395;
 //BA.debugLineNum = 63504395;BA.debugLine="label1.TextSize = 16";
_label1.setTextSize((float) (16));
RDebugUtils.currentLine=63504396;
 //BA.debugLineNum = 63504396;BA.debugLine="label1.TextColor = Colors.White";
_label1.setTextColor(__c.Colors.White);
RDebugUtils.currentLine=63504401;
 //BA.debugLineNum = 63504401;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DE";
_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD));
RDebugUtils.currentLine=63504406;
 //BA.debugLineNum = 63504406;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"se";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COMENTARTIO FROM COMENTARIOS WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=63504407;
 //BA.debugLineNum = 63504407;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor";
__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setTextColor(__c.Colors.Black);
RDebugUtils.currentLine=63504408;
 //BA.debugLineNum = 63504408;BA.debugLine="lv_comentarios.Clear";
__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear();
RDebugUtils.currentLine=63504409;
 //BA.debugLineNum = 63504409;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=63504410;
 //BA.debugLineNum = 63504410;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step16 = 1;
final int limit16 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit16 ;_i = _i + step16 ) {
RDebugUtils.currentLine=63504411;
 //BA.debugLineNum = 63504411;BA.debugLine="c.Position = i";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=63504412;
 //BA.debugLineNum = 63504412;BA.debugLine="Dim itemText As String";
_itemtext = "";
RDebugUtils.currentLine=63504414;
 //BA.debugLineNum = 63504414;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$";
_itemtext = (""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COMENTARTIO")))+"");
RDebugUtils.currentLine=63504415;
 //BA.debugLineNum = 63504415;BA.debugLine="lv_comentarios.AddSingleLine(itemText)";
__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_itemtext));
 }
};
 }else {
RDebugUtils.currentLine=63504419;
 //BA.debugLineNum = 63504419;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos disp";
__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles."));
 };
RDebugUtils.currentLine=63504421;
 //BA.debugLineNum = 63504421;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=63504422;
 //BA.debugLineNum = 63504422;BA.debugLine="et_comentario.Text = \"\"";
__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=63504425;
 //BA.debugLineNum = 63504425;BA.debugLine="End Sub";
return "";
}
public String  _b_cancela_gallina_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_cancela_gallina_click", false))
	 {return ((String) Debug.delegate(ba, "b_cancela_gallina_click", null));}
RDebugUtils.currentLine=57475072;
 //BA.debugLineNum = 57475072;BA.debugLine="Private Sub B_CANCELA_GALLINA_Click";
RDebugUtils.currentLine=57475073;
 //BA.debugLineNum = 57475073;BA.debugLine="P_gallina.Visible = False";
__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57475075;
 //BA.debugLineNum = 57475075;BA.debugLine="B_GALLINA.Visible = False";
__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57475076;
 //BA.debugLineNum = 57475076;BA.debugLine="b_like.Visible = True";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57475077;
 //BA.debugLineNum = 57475077;BA.debugLine="Tar.Visible = True";
__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57475078;
 //BA.debugLineNum = 57475078;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57475079;
 //BA.debugLineNum = 57475079;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57475081;
 //BA.debugLineNum = 57475081;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57475082;
 //BA.debugLineNum = 57475082;BA.debugLine="Guardar.Visible = True";
__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57475085;
 //BA.debugLineNum = 57475085;BA.debugLine="End Sub";
return "";
}
public String  _b_cancelarcodigoautorizacion_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_cancelarcodigoautorizacion_click", false))
	 {return ((String) Debug.delegate(ba, "b_cancelarcodigoautorizacion_click", null));}
RDebugUtils.currentLine=62062592;
 //BA.debugLineNum = 62062592;BA.debugLine="Private Sub b_cancelarCodigoAutorizacion_Click";
RDebugUtils.currentLine=62062593;
 //BA.debugLineNum = 62062593;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=62062594;
 //BA.debugLineNum = 62062594;BA.debugLine="End Sub";
return "";
}
public String  _b_cancelarenviopdf_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_cancelarenviopdf_click", false))
	 {return ((String) Debug.delegate(ba, "b_cancelarenviopdf_click", null));}
RDebugUtils.currentLine=62783488;
 //BA.debugLineNum = 62783488;BA.debugLine="Private Sub b_cancelarEnvioPDF_Click";
RDebugUtils.currentLine=62783489;
 //BA.debugLineNum = 62783489;BA.debugLine="p_transparentePDF.Visible = False";
__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=62783490;
 //BA.debugLineNum = 62783490;BA.debugLine="End Sub";
return "";
}
public String  _b_cancelatiende_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_cancelatiende_click", false))
	 {return ((String) Debug.delegate(ba, "b_cancelatiende_click", null));}
RDebugUtils.currentLine=64684032;
 //BA.debugLineNum = 64684032;BA.debugLine="Private Sub b_cancelatiende_Click";
RDebugUtils.currentLine=64684033;
 //BA.debugLineNum = 64684033;BA.debugLine="p_atiende.Visible = False";
__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=64684034;
 //BA.debugLineNum = 64684034;BA.debugLine="et_atiende.Text = \"\"";
__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=64684035;
 //BA.debugLineNum = 64684035;BA.debugLine="ime.HideKeyboard";
__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=64684036;
 //BA.debugLineNum = 64684036;BA.debugLine="End Sub";
return "";
}
public String  _b_canceltelefono_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_canceltelefono_click", false))
	 {return ((String) Debug.delegate(ba, "b_canceltelefono_click", null));}
RDebugUtils.currentLine=64946176;
 //BA.debugLineNum = 64946176;BA.debugLine="Private Sub b_canceltelefono_Click";
RDebugUtils.currentLine=64946177;
 //BA.debugLineNum = 64946177;BA.debugLine="p_telefono.Visible = False";
__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=64946178;
 //BA.debugLineNum = 64946178;BA.debugLine="et_telefono.Text = \"\"";
__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=64946179;
 //BA.debugLineNum = 64946179;BA.debugLine="ime.HideKeyboard";
__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=64946180;
 //BA.debugLineNum = 64946180;BA.debugLine="End Sub";
return "";
}
public String  _b_cerarcom_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_cerarcom_click", false))
	 {return ((String) Debug.delegate(ba, "b_cerarcom_click", null));}
RDebugUtils.currentLine=63438848;
 //BA.debugLineNum = 63438848;BA.debugLine="Private Sub b_cerarcom_Click";
RDebugUtils.currentLine=63438849;
 //BA.debugLineNum = 63438849;BA.debugLine="p_comentario.Visible = False";
__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=63438850;
 //BA.debugLineNum = 63438850;BA.debugLine="et_comentario.Text = \"\"";
__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=63438851;
 //BA.debugLineNum = 63438851;BA.debugLine="End Sub";
return "";
}
public String  _b_chk_e_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_chk_e_click", false))
	 {return ((String) Debug.delegate(ba, "b_chk_e_click", null));}
RDebugUtils.currentLine=61407232;
 //BA.debugLineNum = 61407232;BA.debugLine="Private Sub b_chk_e_Click";
RDebugUtils.currentLine=61407234;
 //BA.debugLineNum = 61407234;BA.debugLine="End Sub";
return "";
}
public String  _b_codigoautorizacion_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_codigoautorizacion_click", false))
	 {return ((String) Debug.delegate(ba, "b_codigoautorizacion_click", null));}
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=61997056;
 //BA.debugLineNum = 61997056;BA.debugLine="Private Sub b_codigoAutorizacion_Click";
RDebugUtils.currentLine=61997057;
 //BA.debugLineNum = 61997057;BA.debugLine="If et_codigoAutorizacion.Text <> \"KMTS1\" Then";
if ((__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1") == false) { 
RDebugUtils.currentLine=61997058;
 //BA.debugLineNum = 61997058;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=61997059;
 //BA.debugLineNum = 61997059;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=61997060;
 //BA.debugLineNum = 61997060;BA.debugLine="cmd.Name = \"select_codigoAutorizacion\"";
_cmd.Name /*String*/  = "select_codigoAutorizacion";
RDebugUtils.currentLine=61997061;
 //BA.debugLineNum = 61997061;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAutori";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))};
RDebugUtils.currentLine=61997062;
 //BA.debugLineNum = 61997062;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"codigoAutoriza";
__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("codigoAutorizacion"));
 }else {
RDebugUtils.currentLine=61997064;
 //BA.debugLineNum = 61997064;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket_im";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)");
RDebugUtils.currentLine=61997065;
 //BA.debugLineNum = 61997065;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=61997066;
 //BA.debugLineNum = 61997066;BA.debugLine="et_codigoAutorizacion.Text = \"\"";
__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=61997067;
 //BA.debugLineNum = 61997067;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0  WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)");
RDebugUtils.currentLine=61997068;
 //BA.debugLineNum = 61997068;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CREDIT";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0  WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)");
 };
RDebugUtils.currentLine=61997070;
 //BA.debugLineNum = 61997070;BA.debugLine="teclado.HideKeyboard";
__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=61997072;
 //BA.debugLineNum = 61997072;BA.debugLine="End Sub";
return "";
}
public String  _b_comentarios_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_comentarios_click", false))
	 {return ((String) Debug.delegate(ba, "b_comentarios_click", null));}
anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
int _i = 0;
String _itemtext = "";
RDebugUtils.currentLine=63373312;
 //BA.debugLineNum = 63373312;BA.debugLine="Private Sub b_comentarios_Click";
RDebugUtils.currentLine=63373313;
 //BA.debugLineNum = 63373313;BA.debugLine="p_comentario.Visible = True";
__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=63373314;
 //BA.debugLineNum = 63373314;BA.debugLine="et_comentario.Text = \"\"";
__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=63373315;
 //BA.debugLineNum = 63373315;BA.debugLine="Dim label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=63373316;
 //BA.debugLineNum = 63373316;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label";
_label1 = __ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label;
RDebugUtils.currentLine=63373317;
 //BA.debugLineNum = 63373317;BA.debugLine="label1.TextSize = 16";
_label1.setTextSize((float) (16));
RDebugUtils.currentLine=63373318;
 //BA.debugLineNum = 63373318;BA.debugLine="label1.TextColor = Colors.White";
_label1.setTextColor(__c.Colors.White);
RDebugUtils.currentLine=63373323;
 //BA.debugLineNum = 63373323;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF";
_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD));
RDebugUtils.currentLine=63373328;
 //BA.debugLineNum = 63373328;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COMENTARTIO FROM COMENTARIOS WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=63373329;
 //BA.debugLineNum = 63373329;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor =";
__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setTextColor(__c.Colors.Black);
RDebugUtils.currentLine=63373330;
 //BA.debugLineNum = 63373330;BA.debugLine="lv_comentarios.Clear";
__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear();
RDebugUtils.currentLine=63373331;
 //BA.debugLineNum = 63373331;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=63373332;
 //BA.debugLineNum = 63373332;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step12 = 1;
final int limit12 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit12 ;_i = _i + step12 ) {
RDebugUtils.currentLine=63373333;
 //BA.debugLineNum = 63373333;BA.debugLine="c.Position = i";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=63373334;
 //BA.debugLineNum = 63373334;BA.debugLine="Dim itemText As String";
_itemtext = "";
RDebugUtils.currentLine=63373336;
 //BA.debugLineNum = 63373336;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$";
_itemtext = (""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COMENTARTIO")))+"");
RDebugUtils.currentLine=63373337;
 //BA.debugLineNum = 63373337;BA.debugLine="lv_comentarios.AddSingleLine(itemText)";
__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_itemtext));
 }
};
 }else {
RDebugUtils.currentLine=63373341;
 //BA.debugLineNum = 63373341;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos dispo";
__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles."));
 };
RDebugUtils.currentLine=63373346;
 //BA.debugLineNum = 63373346;BA.debugLine="End Sub";
return "";
}
public String  _b_e_next_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_e_next_click", false))
	 {return ((String) Debug.delegate(ba, "b_e_next_click", null));}
RDebugUtils.currentLine=54657024;
 //BA.debugLineNum = 54657024;BA.debugLine="Sub B_E_NEXT_Click";
RDebugUtils.currentLine=54657025;
 //BA.debugLineNum = 54657025;BA.debugLine="If E_RES_E.Text <> \"\" Then";
if ((__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { 
RDebugUtils.currentLine=54657026;
 //BA.debugLineNum = 54657026;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)("DONDE")}));
RDebugUtils.currentLine=54657027;
 //BA.debugLineNum = 54657027;BA.debugLine="Panel2.Visible = False";
__ref._panel2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54657028;
 //BA.debugLineNum = 54657028;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
_b4xpages._showpage /*String*/ (ba,"Productos");
 }else {
RDebugUtils.currentLine=54657030;
 //BA.debugLineNum = 54657030;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore";
__c.Msgbox(BA.ObjectToCharSequence("SIN RESPUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
 };
RDebugUtils.currentLine=54657032;
 //BA.debugLineNum = 54657032;BA.debugLine="End Sub";
return "";
}
public String  _b_encuesta_1_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_encuesta_1_click", false))
	 {return ((String) Debug.delegate(ba, "b_encuesta_1_click", null));}
anywheresoftware.b4a.objects.ButtonWrapper _btn = null;
RDebugUtils.currentLine=60882944;
 //BA.debugLineNum = 60882944;BA.debugLine="Private Sub b_encuesta_1_Click";
RDebugUtils.currentLine=60882945;
 //BA.debugLineNum = 60882945;BA.debugLine="Log(\"BOTON 1 CLICK\")";
__c.LogImpl("060882945","BOTON 1 CLICK",0);
RDebugUtils.currentLine=60882946;
 //BA.debugLineNum = 60882946;BA.debugLine="Dim btn As Button = Sender";
_btn = new anywheresoftware.b4a.objects.ButtonWrapper();
_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)));
RDebugUtils.currentLine=60882947;
 //BA.debugLineNum = 60882947;BA.debugLine="Log(\"BOTON 1 CLICKED \"& \" clicked - \" & btn.Text";
__c.LogImpl("060882947","BOTON 1 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
RDebugUtils.currentLine=60882948;
 //BA.debugLineNum = 60882948;BA.debugLine="encuestaRes = btn.Text";
__ref._encuestares /*String*/  = _btn.getText();
RDebugUtils.currentLine=60882949;
 //BA.debugLineNum = 60882949;BA.debugLine="indicePregunta = btn.Tag";
__ref._indicepregunta /*int*/  = (int)(BA.ObjectToNumber(_btn.getTag()));
RDebugUtils.currentLine=60882950;
 //BA.debugLineNum = 60882950;BA.debugLine="ocultaPanelEncuesta";
__ref._ocultapanelencuesta /*String*/ (null);
RDebugUtils.currentLine=60882951;
 //BA.debugLineNum = 60882951;BA.debugLine="botonPresionado = 1";
__ref._botonpresionado /*int*/  = (int) (1);
RDebugUtils.currentLine=60882952;
 //BA.debugLineNum = 60882952;BA.debugLine="End Sub";
return "";
}
public String  _ocultapanelencuesta(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "ocultapanelencuesta", false))
	 {return ((String) Debug.delegate(ba, "ocultapanelencuesta", null));}
RDebugUtils.currentLine=60751872;
 //BA.debugLineNum = 60751872;BA.debugLine="Sub ocultaPanelEncuesta";
RDebugUtils.currentLine=60751874;
 //BA.debugLineNum = 60751874;BA.debugLine="b_encuesta_1.Visible = False";
__ref._b_encuesta_1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=60751875;
 //BA.debugLineNum = 60751875;BA.debugLine="b_encuesta_2.Visible = False";
__ref._b_encuesta_2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=60751876;
 //BA.debugLineNum = 60751876;BA.debugLine="b_encuesta_3.Visible = False";
__ref._b_encuesta_3 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=60751877;
 //BA.debugLineNum = 60751877;BA.debugLine="p_encuesta.Visible = False";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=60751880;
 //BA.debugLineNum = 60751880;BA.debugLine="End Sub";
return "";
}
public String  _b_encuesta_2_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_encuesta_2_click", false))
	 {return ((String) Debug.delegate(ba, "b_encuesta_2_click", null));}
anywheresoftware.b4a.objects.ButtonWrapper _btn = null;
RDebugUtils.currentLine=60948480;
 //BA.debugLineNum = 60948480;BA.debugLine="Private Sub b_encuesta_2_Click";
RDebugUtils.currentLine=60948481;
 //BA.debugLineNum = 60948481;BA.debugLine="Log(\"BOTON 2 CLICK\")";
__c.LogImpl("060948481","BOTON 2 CLICK",0);
RDebugUtils.currentLine=60948482;
 //BA.debugLineNum = 60948482;BA.debugLine="Dim btn As Button = Sender";
_btn = new anywheresoftware.b4a.objects.ButtonWrapper();
_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)));
RDebugUtils.currentLine=60948483;
 //BA.debugLineNum = 60948483;BA.debugLine="Log(\"BOTON 2 CLICKED \"& \" clicked - \" & btn.Text";
__c.LogImpl("060948483","BOTON 2 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
RDebugUtils.currentLine=60948484;
 //BA.debugLineNum = 60948484;BA.debugLine="encuestaRes = btn.Text";
__ref._encuestares /*String*/  = _btn.getText();
RDebugUtils.currentLine=60948485;
 //BA.debugLineNum = 60948485;BA.debugLine="indicePregunta = btn.Tag";
__ref._indicepregunta /*int*/  = (int)(BA.ObjectToNumber(_btn.getTag()));
RDebugUtils.currentLine=60948486;
 //BA.debugLineNum = 60948486;BA.debugLine="ocultaPanelEncuesta";
__ref._ocultapanelencuesta /*String*/ (null);
RDebugUtils.currentLine=60948487;
 //BA.debugLineNum = 60948487;BA.debugLine="botonPresionado = 1";
__ref._botonpresionado /*int*/  = (int) (1);
RDebugUtils.currentLine=60948488;
 //BA.debugLineNum = 60948488;BA.debugLine="End Sub";
return "";
}
public String  _b_encuesta_3_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_encuesta_3_click", false))
	 {return ((String) Debug.delegate(ba, "b_encuesta_3_click", null));}
anywheresoftware.b4a.objects.ButtonWrapper _btn = null;
RDebugUtils.currentLine=61014016;
 //BA.debugLineNum = 61014016;BA.debugLine="Private Sub b_encuesta_3_Click";
RDebugUtils.currentLine=61014017;
 //BA.debugLineNum = 61014017;BA.debugLine="Log(\"BOTON 3 CLICK\")";
__c.LogImpl("061014017","BOTON 3 CLICK",0);
RDebugUtils.currentLine=61014018;
 //BA.debugLineNum = 61014018;BA.debugLine="Dim btn As Button = Sender";
_btn = new anywheresoftware.b4a.objects.ButtonWrapper();
_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)));
RDebugUtils.currentLine=61014019;
 //BA.debugLineNum = 61014019;BA.debugLine="Log(\"BOTON 3 CLICKED \"& \" clicked - \" & btn.Text";
__c.LogImpl("061014019","BOTON 3 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
RDebugUtils.currentLine=61014020;
 //BA.debugLineNum = 61014020;BA.debugLine="encuestaRes = btn.Text";
__ref._encuestares /*String*/  = _btn.getText();
RDebugUtils.currentLine=61014021;
 //BA.debugLineNum = 61014021;BA.debugLine="indicePregunta = btn.Tag";
__ref._indicepregunta /*int*/  = (int)(BA.ObjectToNumber(_btn.getTag()));
RDebugUtils.currentLine=61014022;
 //BA.debugLineNum = 61014022;BA.debugLine="ocultaPanelEncuesta";
__ref._ocultapanelencuesta /*String*/ (null);
RDebugUtils.currentLine=61014023;
 //BA.debugLineNum = 61014023;BA.debugLine="botonPresionado = 1";
__ref._botonpresionado /*int*/  = (int) (1);
RDebugUtils.currentLine=61014024;
 //BA.debugLineNum = 61014024;BA.debugLine="End Sub";
return "";
}
public String  _b_encuesta_continuar_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_encuesta_continuar_click", false))
	 {return ((String) Debug.delegate(ba, "b_encuesta_continuar_click", null));}
anywheresoftware.b4a.objects.ButtonWrapper _btn = null;
RDebugUtils.currentLine=61079552;
 //BA.debugLineNum = 61079552;BA.debugLine="Private Sub b_encuesta_continuar_Click";
RDebugUtils.currentLine=61079553;
 //BA.debugLineNum = 61079553;BA.debugLine="Dim btn As Button = Sender";
_btn = new anywheresoftware.b4a.objects.ButtonWrapper();
_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)));
RDebugUtils.currentLine=61079554;
 //BA.debugLineNum = 61079554;BA.debugLine="Log(\"BOTON CONTINUAR CLICK - \" & btn.Text & \" - \"";
__c.LogImpl("061079554","BOTON CONTINUAR CLICK - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
RDebugUtils.currentLine=61079555;
 //BA.debugLineNum = 61079555;BA.debugLine="encuestaRes = et_encuesta.Text";
__ref._encuestares /*String*/  = __ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText();
RDebugUtils.currentLine=61079556;
 //BA.debugLineNum = 61079556;BA.debugLine="indicePregunta = btn.Tag";
__ref._indicepregunta /*int*/  = (int)(BA.ObjectToNumber(_btn.getTag()));
RDebugUtils.currentLine=61079557;
 //BA.debugLineNum = 61079557;BA.debugLine="et_encuesta.Text = \"\"";
__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=61079558;
 //BA.debugLineNum = 61079558;BA.debugLine="et_encuesta.Visible = False";
__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=61079559;
 //BA.debugLineNum = 61079559;BA.debugLine="b_encuesta_continuar.Visible = False";
__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=61079560;
 //BA.debugLineNum = 61079560;BA.debugLine="ocultaPanelEncuesta";
__ref._ocultapanelencuesta /*String*/ (null);
RDebugUtils.currentLine=61079561;
 //BA.debugLineNum = 61079561;BA.debugLine="botonPresionado = 1";
__ref._botonpresionado /*int*/  = (int) (1);
RDebugUtils.currentLine=61079562;
 //BA.debugLineNum = 61079562;BA.debugLine="End Sub";
return "";
}
public String  _b_enviarticket_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_enviarticket_click", false))
	 {return ((String) Debug.delegate(ba, "b_enviarticket_click", null));}
RDebugUtils.currentLine=62390272;
 //BA.debugLineNum = 62390272;BA.debugLine="Private Sub b_enviarTicket_Click";
RDebugUtils.currentLine=62390273;
 //BA.debugLineNum = 62390273;BA.debugLine="et_numeroPDF.Text = telefono.trim";
__ref._et_numeropdf /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._telefono /*String*/ .trim()));
RDebugUtils.currentLine=62390274;
 //BA.debugLineNum = 62390274;BA.debugLine="p_transparentePDF.Visible = True";
__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=62390282;
 //BA.debugLineNum = 62390282;BA.debugLine="Log(\"Progress 2\")";
__c.LogImpl("062390282","Progress 2",0);
RDebugUtils.currentLine=62390283;
 //BA.debugLineNum = 62390283;BA.debugLine="End Sub";
return "";
}
public String  _b_enviarticket_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_enviarticket_longclick", false))
	 {return ((String) Debug.delegate(ba, "b_enviarticket_longclick", null));}
RDebugUtils.currentLine=62455808;
 //BA.debugLineNum = 62455808;BA.debugLine="Private Sub b_enviarTicket_LongClick";
RDebugUtils.currentLine=62455814;
 //BA.debugLineNum = 62455814;BA.debugLine="End Sub";
return "";
}
public void  _b_enviopdf_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_enviopdf_click", false))
	 {Debug.delegate(ba, "b_enviopdf_click", null); return;}
ResumableSub_b_envioPDF_Click rsub = new ResumableSub_b_envioPDF_Click(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_b_envioPDF_Click extends BA.ResumableSub {
public ResumableSub_b_envioPDF_Click(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=62717953;
 //BA.debugLineNum = 62717953;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";
if (true) break;

case 1:
//if
this.state = 12;
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(87)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(6))) { 
this.state = 3;
}else {
this.state = 11;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=62717954;
 //BA.debugLineNum = 62717954;BA.debugLine="If Subs.traemontoprod Then";
if (true) break;

case 4:
//if
this.state = 9;
if (parent._subs._traemontoprod /*boolean*/ (ba)) { 
this.state = 6;
}else {
this.state = 8;
}if (true) break;

case 6:
//C
this.state = 9;
RDebugUtils.currentLine=62717955;
 //BA.debugLineNum = 62717955;BA.debugLine="PDFGENERAR2";
__ref._pdfgenerar2 /*String*/ (null);
 if (true) break;

case 8:
//C
this.state = 9;
RDebugUtils.currentLine=62717957;
 //BA.debugLineNum = 62717957;BA.debugLine="PDFGENERAR";
__ref._pdfgenerar /*String*/ (null);
 if (true) break;

case 9:
//C
this.state = 12;
;
 if (true) break;

case 11:
//C
this.state = 12;
RDebugUtils.currentLine=62717960;
 //BA.debugLineNum = 62717960;BA.debugLine="PDFGENERAR";
__ref._pdfgenerar /*String*/ (null);
 if (true) break;

case 12:
//C
this.state = -1;
;
RDebugUtils.currentLine=62717963;
 //BA.debugLineNum = 62717963;BA.debugLine="Sleep(3000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_enviopdf_click"),(int) (3000));
this.state = 13;
return;
case 13:
//C
this.state = -1;
;
RDebugUtils.currentLine=62717964;
 //BA.debugLineNum = 62717964;BA.debugLine="EnviarPDFWhatsAppNumero(et_numeroPDF.Text)";
__ref._enviarpdfwhatsappnumero /*void*/ (null,__ref._et_numeropdf /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText());
RDebugUtils.currentLine=62717966;
 //BA.debugLineNum = 62717966;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)");
RDebugUtils.currentLine=62717967;
 //BA.debugLineNum = 62717967;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into TICKET_IMPRESO (idCliente) values ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"')"));
RDebugUtils.currentLine=62717969;
 //BA.debugLineNum = 62717969;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\"";
parent.__c.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss");
RDebugUtils.currentLine=62717970;
 //BA.debugLineNum = 62717970;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=62717971;
 //BA.debugLineNum = 62717971;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=62717972;
 //BA.debugLineNum = 62717972;BA.debugLine="cmd.Name = \"insertEnvioTicketPDF\"";
_cmd.Name /*String*/  = "insertEnvioTicketPDF";
RDebugUtils.currentLine=62717973;
 //BA.debugLineNum = 62717973;BA.debugLine="Log(DateTime.Date(DateTime.Now))";
parent.__c.LogImpl("062717973",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0);
RDebugUtils.currentLine=62717974;
 //BA.debugLineNum = 62717974;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeCliente";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(parent._subs._traecliente /*String*/ (ba)),(Object)(parent._subs._traeusuariodebd /*String*/ (ba)),(Object)(__ref._et_numeropdf /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()))};
RDebugUtils.currentLine=62717975;
 //BA.debugLineNum = 62717975;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertEnvioTicke";
__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("insertEnvioTicketPDF"));
RDebugUtils.currentLine=62717977;
 //BA.debugLineNum = 62717977;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=62717978;
 //BA.debugLineNum = 62717978;BA.debugLine="cmd.Name = \"insertaTelefonoTicketPDF\"";
_cmd.Name /*String*/  = "insertaTelefonoTicketPDF";
RDebugUtils.currentLine=62717979;
 //BA.debugLineNum = 62717979;BA.debugLine="Log(DateTime.Date(DateTime.Now))";
parent.__c.LogImpl("062717979",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0);
RDebugUtils.currentLine=62717980;
 //BA.debugLineNum = 62717980;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmacen";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(parent._subs._traealmacen /*String*/ (ba)),(Object)(parent._subs._traeruta /*String*/ (ba)),(Object)(parent._subs._traecliente /*String*/ (ba)),(Object)(__ref._et_numeropdf /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())};
RDebugUtils.currentLine=62717981;
 //BA.debugLineNum = 62717981;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertTelefonoTi";
__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("insertTelefonoTicketPDF"));
RDebugUtils.currentLine=62717983;
 //BA.debugLineNum = 62717983;BA.debugLine="Guardar_Click";
__ref._guardar_click /*String*/ (null);
RDebugUtils.currentLine=62717984;
 //BA.debugLineNum = 62717984;BA.debugLine="p_transparentePDF.Visible = False";
__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=62717985;
 //BA.debugLineNum = 62717985;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _pdfgenerar2(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "pdfgenerar2", false))
	 {return ((String) Debug.delegate(ba, "pdfgenerar2", null));}
gunav2.keymon.com.mx.cpdf _pdf = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null;
double _pagina = 0;
int _multiplicador = 0;
int _i = 0;
int _e = 0;
RDebugUtils.currentLine=62193664;
 //BA.debugLineNum = 62193664;BA.debugLine="Private Sub PDFGENERAR2";
RDebugUtils.currentLine=62193665;
 //BA.debugLineNum = 62193665;BA.debugLine="ESPACIO = 0";
__ref._espacio /*int*/  = (int) (0);
RDebugUtils.currentLine=62193666;
 //BA.debugLineNum = 62193666;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=62193667;
 //BA.debugLineNum = 62193667;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
RDebugUtils.currentLine=62193668;
 //BA.debugLineNum = 62193668;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=62193669;
 //BA.debugLineNum = 62193669;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=62193670;
 //BA.debugLineNum = 62193670;BA.debugLine="Dim PDF As cPDF";
_pdf = new gunav2.keymon.com.mx.cpdf();
RDebugUtils.currentLine=62193672;
 //BA.debugLineNum = 62193672;BA.debugLine="PDF.Initialize(\"mm\")";
_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (null,ba,"mm");
RDebugUtils.currentLine=62193674;
 //BA.debugLineNum = 62193674;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _";
_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform");
RDebugUtils.currentLine=62193679;
 //BA.debugLineNum = 62193679;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON";
_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa)  order by  PE_PROID",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62193680;
 //BA.debugLineNum = 62193680;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR";
_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3  AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by  PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62193682;
 //BA.debugLineNum = 62193682;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +";
_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+12;
RDebugUtils.currentLine=62193684;
 //BA.debugLineNum = 62193684;BA.debugLine="Dim multiplicador As Int = 0";
_multiplicador = (int) (0);
RDebugUtils.currentLine=62193685;
 //BA.debugLineNum = 62193685;BA.debugLine="PDF.pageAdd(-300,pagina)";
_pdf._pageadd /*gunav2.keymon.com.mx.cpdf*/ (null,-300,_pagina);
RDebugUtils.currentLine=62193688;
 //BA.debugLineNum = 62193688;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62193690;
 //BA.debugLineNum = 62193690;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1";
_pdf._outimage /*gunav2.keymon.com.mx.cpdf*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getDefaultFolder(),"guna-fondo.jpg",1,_pagina-45,45,0);
RDebugUtils.currentLine=62193691;
 //BA.debugLineNum = 62193691;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193692;
 //BA.debugLineNum = 62193692;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"GUNA");
RDebugUtils.currentLine=62193693;
 //BA.debugLineNum = 62193693;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193694;
 //BA.debugLineNum = 62193694;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ );
RDebugUtils.currentLine=62193695;
 //BA.debugLineNum = 62193695;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193696;
 //BA.debugLineNum = 62193696;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\"";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba));
RDebugUtils.currentLine=62193697;
 //BA.debugLineNum = 62193697;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193698;
 //BA.debugLineNum = 62193698;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText());
RDebugUtils.currentLine=62193699;
 //BA.debugLineNum = 62193699;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193700;
 //BA.debugLineNum = 62193700;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText());
RDebugUtils.currentLine=62193701;
 //BA.debugLineNum = 62193701;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193702;
 //BA.debugLineNum = 62193702;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText());
RDebugUtils.currentLine=62193703;
 //BA.debugLineNum = 62193703;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193704;
 //BA.debugLineNum = 62193704;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \"";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText());
RDebugUtils.currentLine=62193705;
 //BA.debugLineNum = 62193705;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193706;
 //BA.debugLineNum = 62193706;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62193707;
 //BA.debugLineNum = 62193707;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193708;
 //BA.debugLineNum = 62193708;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62193709;
 //BA.debugLineNum = 62193709;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62193710;
 //BA.debugLineNum = 62193710;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=62193711;
 //BA.debugLineNum = 62193711;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa)  order by  PE_PROID",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62193712;
 //BA.debugLineNum = 62193712;BA.debugLine="If S.RowCount>0 Then";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=62193713;
 //BA.debugLineNum = 62193713;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193714;
 //BA.debugLineNum = 62193714;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
RDebugUtils.currentLine=62193715;
 //BA.debugLineNum = 62193715;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193716;
 //BA.debugLineNum = 62193716;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant.                                    Precio                                    Importe");
RDebugUtils.currentLine=62193717;
 //BA.debugLineNum = 62193717;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193718;
 //BA.debugLineNum = 62193718;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62193719;
 //BA.debugLineNum = 62193719;BA.debugLine="For i=0 To S.RowCount -1";
{
final int step44 = 1;
final int limit44 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit44 ;_i = _i + step44 ) {
RDebugUtils.currentLine=62193720;
 //BA.debugLineNum = 62193720;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=62193721;
 //BA.debugLineNum = 62193721;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P";
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
RDebugUtils.currentLine=62193722;
 //BA.debugLineNum = 62193722;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193723;
 //BA.debugLineNum = 62193723;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
 }else {
RDebugUtils.currentLine=62193725;
 //BA.debugLineNum = 62193725;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62193726;
 //BA.debugLineNum = 62193726;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193727;
 //BA.debugLineNum = 62193727;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
RDebugUtils.currentLine=62193731;
 //BA.debugLineNum = 62193731;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT"));
RDebugUtils.currentLine=62193732;
 //BA.debugLineNum = 62193732;BA.debugLine="ESPACIO = 92";
__ref._espacio /*int*/  = (int) (92);
RDebugUtils.currentLine=62193733;
 //BA.debugLineNum = 62193733;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=62193734;
 //BA.debugLineNum = 62193734;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=62193735;
 //BA.debugLineNum = 62193735;BA.debugLine="ESPACIO = ESPACIO / 2";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ /(double)2);
RDebugUtils.currentLine=62193736;
 //BA.debugLineNum = 62193736;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step58 = 1;
final int limit58 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
for (;_e <= limit58 ;_e = _e + step58 ) {
RDebugUtils.currentLine=62193737;
 //BA.debugLineNum = 62193737;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 }
};
RDebugUtils.currentLine=62193739;
 //BA.debugLineNum = 62193739;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62193740;
 //BA.debugLineNum = 62193740;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193741;
 //BA.debugLineNum = 62193741;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"));
 };
 }
};
RDebugUtils.currentLine=62193747;
 //BA.debugLineNum = 62193747;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,108-9*6," ");
 };
RDebugUtils.currentLine=62193749;
 //BA.debugLineNum = 62193749;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=62193750;
 //BA.debugLineNum = 62193750;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3  AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by  PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62193751;
 //BA.debugLineNum = 62193751;BA.debugLine="If S.RowCount>0 Then";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=62193752;
 //BA.debugLineNum = 62193752;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193753;
 //BA.debugLineNum = 62193753;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------");
RDebugUtils.currentLine=62193754;
 //BA.debugLineNum = 62193754;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193755;
 //BA.debugLineNum = 62193755;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant.                                   Precio                                    Importe");
RDebugUtils.currentLine=62193756;
 //BA.debugLineNum = 62193756;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193757;
 //BA.debugLineNum = 62193757;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62193758;
 //BA.debugLineNum = 62193758;BA.debugLine="For i=0 To S.RowCount -1";
{
final int step77 = 1;
final int limit77 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit77 ;_i = _i + step77 ) {
RDebugUtils.currentLine=62193759;
 //BA.debugLineNum = 62193759;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=62193760;
 //BA.debugLineNum = 62193760;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P";
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
RDebugUtils.currentLine=62193761;
 //BA.debugLineNum = 62193761;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193762;
 //BA.debugLineNum = 62193762;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
 }else {
RDebugUtils.currentLine=62193764;
 //BA.debugLineNum = 62193764;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62193765;
 //BA.debugLineNum = 62193765;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193766;
 //BA.debugLineNum = 62193766;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
RDebugUtils.currentLine=62193767;
 //BA.debugLineNum = 62193767;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)";
__c.LogImpl("062193767",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")),__c.Colors.Magenta);
RDebugUtils.currentLine=62193768;
 //BA.debugLineNum = 62193768;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta";
__c.LogImpl("062193768",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")),__c.Colors.Magenta);
RDebugUtils.currentLine=62193769;
 //BA.debugLineNum = 62193769;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage";
__c.LogImpl("062193769",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")),__c.Colors.Magenta);
RDebugUtils.currentLine=62193770;
 //BA.debugLineNum = 62193770;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT"));
RDebugUtils.currentLine=62193771;
 //BA.debugLineNum = 62193771;BA.debugLine="ESPACIO = 92";
__ref._espacio /*int*/  = (int) (92);
RDebugUtils.currentLine=62193772;
 //BA.debugLineNum = 62193772;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=62193773;
 //BA.debugLineNum = 62193773;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=62193774;
 //BA.debugLineNum = 62193774;BA.debugLine="ESPACIO = ESPACIO / 2";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ /(double)2);
RDebugUtils.currentLine=62193775;
 //BA.debugLineNum = 62193775;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step94 = 1;
final int limit94 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
for (;_e <= limit94 ;_e = _e + step94 ) {
RDebugUtils.currentLine=62193776;
 //BA.debugLineNum = 62193776;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 }
};
RDebugUtils.currentLine=62193778;
 //BA.debugLineNum = 62193778;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62193779;
 //BA.debugLineNum = 62193779;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193780;
 //BA.debugLineNum = 62193780;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"));
 };
 }
};
 };
RDebugUtils.currentLine=62193784;
 //BA.debugLineNum = 62193784;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=62193787;
 //BA.debugLineNum = 62193787;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193788;
 //BA.debugLineNum = 62193788;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62193789;
 //BA.debugLineNum = 62193789;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193790;
 //BA.debugLineNum = 62193790;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62193791;
 //BA.debugLineNum = 62193791;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62193792;
 //BA.debugLineNum = 62193792;BA.debugLine="s.Position =0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=62193795;
 //BA.debugLineNum = 62193795;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193796;
 //BA.debugLineNum = 62193796;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento:";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Descuento:   $"+BA.NumberToString(150));
RDebugUtils.currentLine=62193797;
 //BA.debugLineNum = 62193797;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193798;
 //BA.debugLineNum = 62193798;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total prev";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Total preventa:   $"+BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-150)));
RDebugUtils.currentLine=62193799;
 //BA.debugLineNum = 62193799;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=62193800;
 //BA.debugLineNum = 62193800;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62193801;
 //BA.debugLineNum = 62193801;BA.debugLine="C.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=62193802;
 //BA.debugLineNum = 62193802;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193803;
 //BA.debugLineNum = 62193803;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Total articulos preventa:   "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"));
RDebugUtils.currentLine=62193804;
 //BA.debugLineNum = 62193804;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 };
RDebugUtils.currentLine=62193808;
 //BA.debugLineNum = 62193808;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193809;
 //BA.debugLineNum = 62193809;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62193810;
 //BA.debugLineNum = 62193810;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193811;
 //BA.debugLineNum = 62193811;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------");
RDebugUtils.currentLine=62193812;
 //BA.debugLineNum = 62193812;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193813;
 //BA.debugLineNum = 62193813;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------");
RDebugUtils.currentLine=62193814;
 //BA.debugLineNum = 62193814;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193815;
 //BA.debugLineNum = 62193815;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------");
RDebugUtils.currentLine=62193816;
 //BA.debugLineNum = 62193816;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193817;
 //BA.debugLineNum = 62193817;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62193818;
 //BA.debugLineNum = 62193818;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193819;
 //BA.debugLineNum = 62193819;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62193820;
 //BA.debugLineNum = 62193820;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193821;
 //BA.debugLineNum = 62193821;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62193822;
 //BA.debugLineNum = 62193822;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193823;
 //BA.debugLineNum = 62193823;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62193824;
 //BA.debugLineNum = 62193824;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62193825;
 //BA.debugLineNum = 62193825;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62193827;
 //BA.debugLineNum = 62193827;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62193835;
 //BA.debugLineNum = 62193835;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\"";
__c.DateTime.setDateFormat("ddmmyyyy");
RDebugUtils.currentLine=62193836;
 //BA.debugLineNum = 62193836;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
__c.DateTime.setTimeFormat("HHmmss");
RDebugUtils.currentLine=62193837;
 //BA.debugLineNum = 62193837;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=62193838;
 //BA.debugLineNum = 62193838;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=62193839;
 //BA.debugLineNum = 62193839;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\"";
__ref._archivoticketpdf /*String*/  = __ref._sdate /*String*/ +__ref._stime /*String*/ +".pdf";
RDebugUtils.currentLine=62193841;
 //BA.debugLineNum = 62193841;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways";
__ref._savepdf /*String*/ (null,_pdf,__ref._archivoticketpdf /*String*/ ,_pdf._compressalways /*int*/ );
RDebugUtils.currentLine=62193844;
 //BA.debugLineNum = 62193844;BA.debugLine="End Sub";
return "";
}
public String  _pdfgenerar(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "pdfgenerar", false))
	 {return ((String) Debug.delegate(ba, "pdfgenerar", null));}
gunav2.keymon.com.mx.cpdf _pdf = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null;
double _pagina = 0;
int _multiplicador = 0;
int _i = 0;
int _e = 0;
String _subtot = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null;
RDebugUtils.currentLine=62128128;
 //BA.debugLineNum = 62128128;BA.debugLine="Private Sub PDFGENERAR";
RDebugUtils.currentLine=62128129;
 //BA.debugLineNum = 62128129;BA.debugLine="ESPACIO = 0";
__ref._espacio /*int*/  = (int) (0);
RDebugUtils.currentLine=62128131;
 //BA.debugLineNum = 62128131;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=62128132;
 //BA.debugLineNum = 62128132;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
RDebugUtils.currentLine=62128133;
 //BA.debugLineNum = 62128133;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=62128134;
 //BA.debugLineNum = 62128134;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=62128135;
 //BA.debugLineNum = 62128135;BA.debugLine="Dim PDF As cPDF";
_pdf = new gunav2.keymon.com.mx.cpdf();
RDebugUtils.currentLine=62128137;
 //BA.debugLineNum = 62128137;BA.debugLine="PDF.Initialize(\"mm\")";
_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (null,ba,"mm");
RDebugUtils.currentLine=62128139;
 //BA.debugLineNum = 62128139;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _";
_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform");
RDebugUtils.currentLine=62128146;
 //BA.debugLineNum = 62128146;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON";
_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS  PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa)  order by  PE_PROID",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62128147;
 //BA.debugLineNum = 62128147;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR";
_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS  PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3  AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by  PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62128149;
 //BA.debugLineNum = 62128149;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +";
_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+25;
RDebugUtils.currentLine=62128151;
 //BA.debugLineNum = 62128151;BA.debugLine="Dim multiplicador As Int = 0";
_multiplicador = (int) (0);
RDebugUtils.currentLine=62128152;
 //BA.debugLineNum = 62128152;BA.debugLine="PDF.pageAdd(-300,pagina)";
_pdf._pageadd /*gunav2.keymon.com.mx.cpdf*/ (null,-300,_pagina);
RDebugUtils.currentLine=62128155;
 //BA.debugLineNum = 62128155;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128157;
 //BA.debugLineNum = 62128157;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1";
_pdf._outimage /*gunav2.keymon.com.mx.cpdf*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getDefaultFolder(),"guna-fondo.jpg",1,_pagina-45,45,0);
RDebugUtils.currentLine=62128158;
 //BA.debugLineNum = 62128158;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128159;
 //BA.debugLineNum = 62128159;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"GUNA");
RDebugUtils.currentLine=62128160;
 //BA.debugLineNum = 62128160;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128161;
 //BA.debugLineNum = 62128161;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ );
RDebugUtils.currentLine=62128162;
 //BA.debugLineNum = 62128162;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128163;
 //BA.debugLineNum = 62128163;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\"";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba));
RDebugUtils.currentLine=62128164;
 //BA.debugLineNum = 62128164;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128165;
 //BA.debugLineNum = 62128165;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText());
RDebugUtils.currentLine=62128166;
 //BA.debugLineNum = 62128166;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128167;
 //BA.debugLineNum = 62128167;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText());
RDebugUtils.currentLine=62128168;
 //BA.debugLineNum = 62128168;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128169;
 //BA.debugLineNum = 62128169;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText());
RDebugUtils.currentLine=62128170;
 //BA.debugLineNum = 62128170;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128171;
 //BA.debugLineNum = 62128171;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \"";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText());
RDebugUtils.currentLine=62128172;
 //BA.debugLineNum = 62128172;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128173;
 //BA.debugLineNum = 62128173;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128174;
 //BA.debugLineNum = 62128174;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128175;
 //BA.debugLineNum = 62128175;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128176;
 //BA.debugLineNum = 62128176;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62128177;
 //BA.debugLineNum = 62128177;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=62128180;
 //BA.debugLineNum = 62128180;BA.debugLine="If ALMACEN = 88 Then";
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(88))) { 
RDebugUtils.currentLine=62128182;
 //BA.debugLineNum = 62128182;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS  PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa)  order by  PE_PROID",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62128183;
 //BA.debugLineNum = 62128183;BA.debugLine="If S.RowCount>0 Then";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=62128184;
 //BA.debugLineNum = 62128184;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128185;
 //BA.debugLineNum = 62128185;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
RDebugUtils.currentLine=62128186;
 //BA.debugLineNum = 62128186;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128187;
 //BA.debugLineNum = 62128187;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant.                                    Precio                                    Importe");
RDebugUtils.currentLine=62128188;
 //BA.debugLineNum = 62128188;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128189;
 //BA.debugLineNum = 62128189;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62128190;
 //BA.debugLineNum = 62128190;BA.debugLine="For i=0 To S.RowCount -1";
{
final int step45 = 1;
final int limit45 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit45 ;_i = _i + step45 ) {
RDebugUtils.currentLine=62128191;
 //BA.debugLineNum = 62128191;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=62128193;
 //BA.debugLineNum = 62128193;BA.debugLine="If s.GetDouble(\"PE_RECALCULO\") = 0 Then";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_RECALCULO")==0) { 
RDebugUtils.currentLine=62128194;
 //BA.debugLineNum = 62128194;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
RDebugUtils.currentLine=62128195;
 //BA.debugLineNum = 62128195;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128196;
 //BA.debugLineNum = 62128196;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
 }else {
RDebugUtils.currentLine=62128198;
 //BA.debugLineNum = 62128198;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128199;
 //BA.debugLineNum = 62128199;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128200;
 //BA.debugLineNum = 62128200;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
RDebugUtils.currentLine=62128204;
 //BA.debugLineNum = 62128204;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT"));
RDebugUtils.currentLine=62128205;
 //BA.debugLineNum = 62128205;BA.debugLine="ESPACIO = 92";
__ref._espacio /*int*/  = (int) (92);
RDebugUtils.currentLine=62128206;
 //BA.debugLineNum = 62128206;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=62128207;
 //BA.debugLineNum = 62128207;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=62128208;
 //BA.debugLineNum = 62128208;BA.debugLine="ESPACIO = ESPACIO / 2";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ /(double)2);
RDebugUtils.currentLine=62128209;
 //BA.debugLineNum = 62128209;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step60 = 1;
final int limit60 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
for (;_e <= limit60 ;_e = _e + step60 ) {
RDebugUtils.currentLine=62128210;
 //BA.debugLineNum = 62128210;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 }
};
RDebugUtils.currentLine=62128212;
 //BA.debugLineNum = 62128212;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128213;
 //BA.debugLineNum = 62128213;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128214;
 //BA.debugLineNum = 62128214;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"));
 };
 }else 
{RDebugUtils.currentLine=62128219;
 //BA.debugLineNum = 62128219;BA.debugLine="Else if s.GetDouble(\"PE_CANT\") = s.GetDouble(";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_CANT")==__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_RECCANT")) { 
RDebugUtils.currentLine=62128220;
 //BA.debugLineNum = 62128220;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
RDebugUtils.currentLine=62128221;
 //BA.debugLineNum = 62128221;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128222;
 //BA.debugLineNum = 62128222;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
 }else {
RDebugUtils.currentLine=62128224;
 //BA.debugLineNum = 62128224;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128225;
 //BA.debugLineNum = 62128225;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128226;
 //BA.debugLineNum = 62128226;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
RDebugUtils.currentLine=62128230;
 //BA.debugLineNum = 62128230;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC"));
RDebugUtils.currentLine=62128231;
 //BA.debugLineNum = 62128231;BA.debugLine="ESPACIO = 92";
__ref._espacio /*int*/  = (int) (92);
RDebugUtils.currentLine=62128232;
 //BA.debugLineNum = 62128232;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=62128233;
 //BA.debugLineNum = 62128233;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=62128234;
 //BA.debugLineNum = 62128234;BA.debugLine="ESPACIO = ESPACIO / 2";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ /(double)2);
RDebugUtils.currentLine=62128235;
 //BA.debugLineNum = 62128235;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step80 = 1;
final int limit80 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
for (;_e <= limit80 ;_e = _e + step80 ) {
RDebugUtils.currentLine=62128236;
 //BA.debugLineNum = 62128236;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 }
};
RDebugUtils.currentLine=62128238;
 //BA.debugLineNum = 62128238;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128239;
 //BA.debugLineNum = 62128239;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128240;
 //BA.debugLineNum = 62128240;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOTREC"));
 };
 }else 
{RDebugUtils.currentLine=62128245;
 //BA.debugLineNum = 62128245;BA.debugLine="Else if s.GetDouble(\"PE_CANT\") <> s.GetDouble";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_CANT")!=__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_RECCANT")) { 
RDebugUtils.currentLine=62128248;
 //BA.debugLineNum = 62128248;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
RDebugUtils.currentLine=62128249;
 //BA.debugLineNum = 62128249;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128250;
 //BA.debugLineNum = 62128250;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
 }else {
RDebugUtils.currentLine=62128252;
 //BA.debugLineNum = 62128252;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128253;
 //BA.debugLineNum = 62128253;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128254;
 //BA.debugLineNum = 62128254;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
RDebugUtils.currentLine=62128255;
 //BA.debugLineNum = 62128255;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC"));
RDebugUtils.currentLine=62128256;
 //BA.debugLineNum = 62128256;BA.debugLine="ESPACIO = 92";
__ref._espacio /*int*/  = (int) (92);
RDebugUtils.currentLine=62128257;
 //BA.debugLineNum = 62128257;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=62128258;
 //BA.debugLineNum = 62128258;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=62128259;
 //BA.debugLineNum = 62128259;BA.debugLine="ESPACIO = ESPACIO / 2";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ /(double)2);
RDebugUtils.currentLine=62128260;
 //BA.debugLineNum = 62128260;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step100 = 1;
final int limit100 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
for (;_e <= limit100 ;_e = _e + step100 ) {
RDebugUtils.currentLine=62128261;
 //BA.debugLineNum = 62128261;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 }
};
RDebugUtils.currentLine=62128263;
 //BA.debugLineNum = 62128263;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128264;
 //BA.debugLineNum = 62128264;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128265;
 //BA.debugLineNum = 62128265;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+__ref._blanco /*String*/ +__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),__c.False));
 };
RDebugUtils.currentLine=62128269;
 //BA.debugLineNum = 62128269;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
RDebugUtils.currentLine=62128270;
 //BA.debugLineNum = 62128270;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128271;
 //BA.debugLineNum = 62128271;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
 }else {
RDebugUtils.currentLine=62128273;
 //BA.debugLineNum = 62128273;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE";
_subtot = BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))));
RDebugUtils.currentLine=62128274;
 //BA.debugLineNum = 62128274;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128275;
 //BA.debugLineNum = 62128275;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128276;
 //BA.debugLineNum = 62128276;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
RDebugUtils.currentLine=62128277;
 //BA.debugLineNum = 62128277;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC"));
RDebugUtils.currentLine=62128278;
 //BA.debugLineNum = 62128278;BA.debugLine="ESPACIO = 92";
__ref._espacio /*int*/  = (int) (92);
RDebugUtils.currentLine=62128279;
 //BA.debugLineNum = 62128279;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=62128280;
 //BA.debugLineNum = 62128280;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=62128281;
 //BA.debugLineNum = 62128281;BA.debugLine="ESPACIO = ESPACIO / 2";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ /(double)2);
RDebugUtils.currentLine=62128282;
 //BA.debugLineNum = 62128282;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step120 = 1;
final int limit120 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
for (;_e <= limit120 ;_e = _e + step120 ) {
RDebugUtils.currentLine=62128283;
 //BA.debugLineNum = 62128283;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 }
};
RDebugUtils.currentLine=62128285;
 //BA.debugLineNum = 62128285;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128286;
 //BA.debugLineNum = 62128286;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128287;
 //BA.debugLineNum = 62128287;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, (s.GE";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),__c.False));
 };
 }}}
;
 }
};
RDebugUtils.currentLine=62128293;
 //BA.debugLineNum = 62128293;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,108-9*6," ");
 };
RDebugUtils.currentLine=62128295;
 //BA.debugLineNum = 62128295;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }else {
RDebugUtils.currentLine=62128298;
 //BA.debugLineNum = 62128298;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa)  order by  PE_PROID",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62128299;
 //BA.debugLineNum = 62128299;BA.debugLine="If S.RowCount>0 Then";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=62128300;
 //BA.debugLineNum = 62128300;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128301;
 //BA.debugLineNum = 62128301;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
RDebugUtils.currentLine=62128302;
 //BA.debugLineNum = 62128302;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128303;
 //BA.debugLineNum = 62128303;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant.                                    Precio                                    Importe");
RDebugUtils.currentLine=62128304;
 //BA.debugLineNum = 62128304;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128305;
 //BA.debugLineNum = 62128305;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62128306;
 //BA.debugLineNum = 62128306;BA.debugLine="For i=0 To S.RowCount -1";
{
final int step141 = 1;
final int limit141 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit141 ;_i = _i + step141 ) {
RDebugUtils.currentLine=62128307;
 //BA.debugLineNum = 62128307;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=62128308;
 //BA.debugLineNum = 62128308;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_";
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
RDebugUtils.currentLine=62128309;
 //BA.debugLineNum = 62128309;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128310;
 //BA.debugLineNum = 62128310;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
 }else {
RDebugUtils.currentLine=62128312;
 //BA.debugLineNum = 62128312;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128313;
 //BA.debugLineNum = 62128313;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128314;
 //BA.debugLineNum = 62128314;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
RDebugUtils.currentLine=62128318;
 //BA.debugLineNum = 62128318;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT"));
RDebugUtils.currentLine=62128319;
 //BA.debugLineNum = 62128319;BA.debugLine="ESPACIO = 92";
__ref._espacio /*int*/  = (int) (92);
RDebugUtils.currentLine=62128320;
 //BA.debugLineNum = 62128320;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=62128321;
 //BA.debugLineNum = 62128321;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=62128322;
 //BA.debugLineNum = 62128322;BA.debugLine="ESPACIO = ESPACIO / 2";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ /(double)2);
RDebugUtils.currentLine=62128323;
 //BA.debugLineNum = 62128323;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step155 = 1;
final int limit155 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
for (;_e <= limit155 ;_e = _e + step155 ) {
RDebugUtils.currentLine=62128324;
 //BA.debugLineNum = 62128324;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 }
};
RDebugUtils.currentLine=62128326;
 //BA.debugLineNum = 62128326;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128327;
 //BA.debugLineNum = 62128327;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128328;
 //BA.debugLineNum = 62128328;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"));
 };
 }
};
RDebugUtils.currentLine=62128334;
 //BA.debugLineNum = 62128334;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,108-9*6," ");
 };
RDebugUtils.currentLine=62128336;
 //BA.debugLineNum = 62128336;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=62128337;
 //BA.debugLineNum = 62128337;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3  AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by  PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62128338;
 //BA.debugLineNum = 62128338;BA.debugLine="If S.RowCount>0 Then";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=62128339;
 //BA.debugLineNum = 62128339;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128340;
 //BA.debugLineNum = 62128340;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------");
RDebugUtils.currentLine=62128341;
 //BA.debugLineNum = 62128341;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128342;
 //BA.debugLineNum = 62128342;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant.                                   Precio                                    Importe");
RDebugUtils.currentLine=62128343;
 //BA.debugLineNum = 62128343;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128344;
 //BA.debugLineNum = 62128344;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62128345;
 //BA.debugLineNum = 62128345;BA.debugLine="For i=0 To S.RowCount -1";
{
final int step174 = 1;
final int limit174 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit174 ;_i = _i + step174 ) {
RDebugUtils.currentLine=62128346;
 //BA.debugLineNum = 62128346;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=62128347;
 //BA.debugLineNum = 62128347;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_";
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
RDebugUtils.currentLine=62128348;
 //BA.debugLineNum = 62128348;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128349;
 //BA.debugLineNum = 62128349;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
 }else {
RDebugUtils.currentLine=62128351;
 //BA.debugLineNum = 62128351;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128352;
 //BA.debugLineNum = 62128352;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128353;
 //BA.debugLineNum = 62128353;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"));
RDebugUtils.currentLine=62128354;
 //BA.debugLineNum = 62128354;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)";
__c.LogImpl("062128354",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")),__c.Colors.Magenta);
RDebugUtils.currentLine=62128355;
 //BA.debugLineNum = 62128355;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magent";
__c.LogImpl("062128355",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")),__c.Colors.Magenta);
RDebugUtils.currentLine=62128356;
 //BA.debugLineNum = 62128356;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mag";
__c.LogImpl("062128356",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")),__c.Colors.Magenta);
RDebugUtils.currentLine=62128357;
 //BA.debugLineNum = 62128357;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT"));
RDebugUtils.currentLine=62128358;
 //BA.debugLineNum = 62128358;BA.debugLine="ESPACIO = 92";
__ref._espacio /*int*/  = (int) (92);
RDebugUtils.currentLine=62128359;
 //BA.debugLineNum = 62128359;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=62128360;
 //BA.debugLineNum = 62128360;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=62128361;
 //BA.debugLineNum = 62128361;BA.debugLine="ESPACIO = ESPACIO / 2";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ /(double)2);
RDebugUtils.currentLine=62128362;
 //BA.debugLineNum = 62128362;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step191 = 1;
final int limit191 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
for (;_e <= limit191 ;_e = _e + step191 ) {
RDebugUtils.currentLine=62128363;
 //BA.debugLineNum = 62128363;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 }
};
RDebugUtils.currentLine=62128365;
 //BA.debugLineNum = 62128365;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
RDebugUtils.currentLine=62128366;
 //BA.debugLineNum = 62128366;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128367;
 //BA.debugLineNum = 62128367;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"));
 };
 }
};
 };
 };
RDebugUtils.currentLine=62128373;
 //BA.debugLineNum = 62128373;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=62128376;
 //BA.debugLineNum = 62128376;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128377;
 //BA.debugLineNum = 62128377;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128378;
 //BA.debugLineNum = 62128378;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128379;
 //BA.debugLineNum = 62128379;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62128388;
 //BA.debugLineNum = 62128388;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TO";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=62128389;
 //BA.debugLineNum = 62128389;BA.debugLine="s.Position =0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=62128390;
 //BA.debugLineNum = 62128390;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128391;
 //BA.debugLineNum = 62128391;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Subtotal p";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Subtotal preventa:   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"));
RDebugUtils.currentLine=62128393;
 //BA.debugLineNum = 62128393;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"})));
RDebugUtils.currentLine=62128394;
 //BA.debugLineNum = 62128394;BA.debugLine="C.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=62128395;
 //BA.debugLineNum = 62128395;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128396;
 //BA.debugLineNum = 62128396;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Total articulos preventa:   "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"));
RDebugUtils.currentLine=62128399;
 //BA.debugLineNum = 62128399;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0")));
RDebugUtils.currentLine=62128400;
 //BA.debugLineNum = 62128400;BA.debugLine="s3.Position =0";
_s3.setPosition((int) (0));
RDebugUtils.currentLine=62128401;
 //BA.debugLineNum = 62128401;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCUL";
__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0")));
RDebugUtils.currentLine=62128402;
 //BA.debugLineNum = 62128402;BA.debugLine="S2.Position =0";
__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=62128404;
 //BA.debugLineNum = 62128404;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.Get";
if ((__c.NumberFormat2(((double)(Double.parseDouble(_s3.GetString("TOTAL")))+(double)(Double.parseDouble(__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))),(int) (0),(int) (2),(int) (2),__c.False)).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")) == false) { 
RDebugUtils.currentLine=62128405;
 //BA.debugLineNum = 62128405;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128406;
 //BA.debugLineNum = 62128406;BA.debugLine="Log(s.GetString(\"TOTAL\") & \"|\" & Subs.calculaTo";
__c.LogImpl("062128406",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")+"|"+_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)),0);
RDebugUtils.currentLine=62128407;
 //BA.debugLineNum = 62128407;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Descuento:   $"+__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False));
 };
RDebugUtils.currentLine=62128410;
 //BA.debugLineNum = 62128410;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128412;
 //BA.debugLineNum = 62128412;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total Prev";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Total Preventa:   $"+__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False));
 };
RDebugUtils.currentLine=62128420;
 //BA.debugLineNum = 62128420;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128421;
 //BA.debugLineNum = 62128421;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62128422;
 //BA.debugLineNum = 62128422;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128423;
 //BA.debugLineNum = 62128423;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------");
RDebugUtils.currentLine=62128424;
 //BA.debugLineNum = 62128424;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128425;
 //BA.debugLineNum = 62128425;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------");
RDebugUtils.currentLine=62128426;
 //BA.debugLineNum = 62128426;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128427;
 //BA.debugLineNum = 62128427;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------");
RDebugUtils.currentLine=62128428;
 //BA.debugLineNum = 62128428;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128429;
 //BA.debugLineNum = 62128429;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
RDebugUtils.currentLine=62128430;
 //BA.debugLineNum = 62128430;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128431;
 //BA.debugLineNum = 62128431;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128432;
 //BA.debugLineNum = 62128432;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128433;
 //BA.debugLineNum = 62128433;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128434;
 //BA.debugLineNum = 62128434;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128435;
 //BA.debugLineNum = 62128435;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128436;
 //BA.debugLineNum = 62128436;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128437;
 //BA.debugLineNum = 62128437;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128438;
 //BA.debugLineNum = 62128438;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128439;
 //BA.debugLineNum = 62128439;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128440;
 //BA.debugLineNum = 62128440;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
RDebugUtils.currentLine=62128441;
 //BA.debugLineNum = 62128441;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," ");
RDebugUtils.currentLine=62128451;
 //BA.debugLineNum = 62128451;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\"";
__c.DateTime.setDateFormat("ddmmyyyy");
RDebugUtils.currentLine=62128452;
 //BA.debugLineNum = 62128452;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
__c.DateTime.setTimeFormat("HHmmss");
RDebugUtils.currentLine=62128453;
 //BA.debugLineNum = 62128453;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=62128454;
 //BA.debugLineNum = 62128454;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=62128455;
 //BA.debugLineNum = 62128455;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\"";
__ref._archivoticketpdf /*String*/  = __ref._sdate /*String*/ +__ref._stime /*String*/ +".pdf";
RDebugUtils.currentLine=62128457;
 //BA.debugLineNum = 62128457;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways";
__ref._savepdf /*String*/ (null,_pdf,__ref._archivoticketpdf /*String*/ ,_pdf._compressalways /*int*/ );
RDebugUtils.currentLine=62128460;
 //BA.debugLineNum = 62128460;BA.debugLine="End Sub";
return "";
}
public void  _enviarpdfwhatsappnumero(gunav2.keymon.com.mx.c_cliente __ref,String _numerotelefono) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "enviarpdfwhatsappnumero", false))
	 {Debug.delegate(ba, "enviarpdfwhatsappnumero", new Object[] {_numerotelefono}); return;}
ResumableSub_EnviarPDFWhatsAppNumero rsub = new ResumableSub_EnviarPDFWhatsAppNumero(this,__ref,_numerotelefono);
rsub.resume(ba, null);
}
public static class ResumableSub_EnviarPDFWhatsAppNumero extends BA.ResumableSub {
public ResumableSub_EnviarPDFWhatsAppNumero(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref,String _numerotelefono) {
this.parent = parent;
this.__ref = __ref;
this._numerotelefono = _numerotelefono;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _numerotelefono;
gunav2.keymon.com.mx.httpjob._multipartfiledata _fd = null;
String _link = "";
anywheresoftware.b4a.objects.collections.Map _campos = null;
gunav2.keymon.com.mx.httpjob _job = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=62586881;
 //BA.debugLineNum = 62586881;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono";
if (true) break;

case 1:
//if
this.state = 6;
if (_numerotelefono.length()==10) { 
this.state = 3;
;}if (true) break;

case 3:
//C
this.state = 6;
_numerotelefono = "521"+_numerotelefono;
if (true) break;

case 6:
//C
this.state = 7;
;
RDebugUtils.currentLine=62586887;
 //BA.debugLineNum = 62586887;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder";
if (true) break;

case 7:
//if
this.state = 12;
if (parent.__c.File.Exists(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,__ref._archivoticketpdf /*String*/ )) { 
this.state = 9;
}else {
this.state = 11;
}if (true) break;

case 9:
//C
this.state = 12;
RDebugUtils.currentLine=62586889;
 //BA.debugLineNum = 62586889;BA.debugLine="Dim fd As MultipartFileData";
_fd = new gunav2.keymon.com.mx.httpjob._multipartfiledata();
RDebugUtils.currentLine=62586890;
 //BA.debugLineNum = 62586890;BA.debugLine="fd.Initialize";
_fd.Initialize();
RDebugUtils.currentLine=62586891;
 //BA.debugLineNum = 62586891;BA.debugLine="fd.KeyName = \"file\"";
_fd.KeyName /*String*/  = "file";
RDebugUtils.currentLine=62586892;
 //BA.debugLineNum = 62586892;BA.debugLine="fd.Dir = Starter.fFileProvider.SharedFolder";
_fd.Dir /*String*/  = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ;
RDebugUtils.currentLine=62586893;
 //BA.debugLineNum = 62586893;BA.debugLine="fd.FileName = archivoTicketPDF";
_fd.FileName /*String*/  = __ref._archivoticketpdf /*String*/ ;
RDebugUtils.currentLine=62586894;
 //BA.debugLineNum = 62586894;BA.debugLine="fd.ContentType = \"application/pdf\"";
_fd.ContentType /*String*/  = "application/pdf";
RDebugUtils.currentLine=62586895;
 //BA.debugLineNum = 62586895;BA.debugLine="Private link As String = \"http://keymon.net:9001";
_link = "http://keymon.net:9001/v1/ticketpdf";
RDebugUtils.currentLine=62586896;
 //BA.debugLineNum = 62586896;BA.debugLine="Private campos As Map = CreateMap( \"message\":\"Tu";
_campos = new anywheresoftware.b4a.objects.collections.Map();
_campos = parent.__c.createMap(new Object[] {(Object)("message"),(Object)("Tu compra de Guna va ser a *crédito* por el monto de $${NumberFormat2(monto, 1, 2, 2, True)}\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)")});
RDebugUtils.currentLine=62586897;
 //BA.debugLineNum = 62586897;BA.debugLine="campos.Put(\"number\", NumeroTelefono)";
_campos.Put((Object)("number"),(Object)(_numerotelefono));
RDebugUtils.currentLine=62586898;
 //BA.debugLineNum = 62586898;BA.debugLine="Log(NumeroTelefono)";
parent.__c.LogImpl("062586898",_numerotelefono,0);
RDebugUtils.currentLine=62586899;
 //BA.debugLineNum = 62586899;BA.debugLine="campos.Put(\"message\",\"Tu recibo\")";
_campos.Put((Object)("message"),(Object)("Tu recibo"));
RDebugUtils.currentLine=62586900;
 //BA.debugLineNum = 62586900;BA.debugLine="Log(campos)";
parent.__c.LogImpl("062586900",BA.ObjectToString(_campos),0);
RDebugUtils.currentLine=62586901;
 //BA.debugLineNum = 62586901;BA.debugLine="Private job As HttpJob";
_job = new gunav2.keymon.com.mx.httpjob();
RDebugUtils.currentLine=62586902;
 //BA.debugLineNum = 62586902;BA.debugLine="job.Initialize(\"\", Me)";
_job._initialize /*String*/ (null,ba,"",parent);
RDebugUtils.currentLine=62586903;
 //BA.debugLineNum = 62586903;BA.debugLine="job.PostMultipart(link, campos, Array(fd))";
_job._postmultipart /*String*/ (null,_link,_campos,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fd)}));
RDebugUtils.currentLine=62586905;
 //BA.debugLineNum = 62586905;BA.debugLine="Log(5555)";
parent.__c.LogImpl("062586905",BA.NumberToString(5555),0);
RDebugUtils.currentLine=62586906;
 //BA.debugLineNum = 62586906;BA.debugLine="Wait For (job) JobDone(job As HttpJob)";
parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "enviarpdfwhatsappnumero"), (Object)(_job));
this.state = 13;
return;
case 13:
//C
this.state = 12;
_job = (gunav2.keymon.com.mx.httpjob) result[1];
;
 if (true) break;

case 11:
//C
this.state = 12;
RDebugUtils.currentLine=62586934;
 //BA.debugLineNum = 62586934;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe.\", Tr";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("El archivo PDF no existe."),parent.__c.True);
 if (true) break;

case 12:
//C
this.state = -1;
;
RDebugUtils.currentLine=62586936;
 //BA.debugLineNum = 62586936;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _guardar_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "guardar_click", false))
	 {return ((String) Debug.delegate(ba, "guardar_click", null));}
anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null;
float _suma = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null;
int _cbfactura = 0;
RDebugUtils.currentLine=53018624;
 //BA.debugLineNum = 53018624;BA.debugLine="Sub Guardar_Click";
RDebugUtils.currentLine=53018625;
 //BA.debugLineNum = 53018625;BA.debugLine="Guardar.SendToBack";
__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .SendToBack();
RDebugUtils.currentLine=53018626;
 //BA.debugLineNum = 53018626;BA.debugLine="bitacora.b_Inicio_Fin_venta2.Text = \"TERMINAR VIS";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("TERMINAR VISITA"));
RDebugUtils.currentLine=53018627;
 //BA.debugLineNum = 53018627;BA.debugLine="bitacora.enVenta = False";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._enventa /*boolean*/  = __c.False;
RDebugUtils.currentLine=53018628;
 //BA.debugLineNum = 53018628;BA.debugLine="bitacora.inicioFin";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciofin /*String*/ (null);
RDebugUtils.currentLine=53018629;
 //BA.debugLineNum = 53018629;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=53018630;
 //BA.debugLineNum = 53018630;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=53018631;
 //BA.debugLineNum = 53018631;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=53018632;
 //BA.debugLineNum = 53018632;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa")));
RDebugUtils.currentLine=53018633;
 //BA.debugLineNum = 53018633;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53018634;
 //BA.debugLineNum = 53018634;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
__ref._clie_id /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA");
RDebugUtils.currentLine=53018635;
 //BA.debugLineNum = 53018635;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53018636;
 //BA.debugLineNum = 53018636;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=53018637;
 //BA.debugLineNum = 53018637;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53018638;
 //BA.debugLineNum = 53018638;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=53018639;
 //BA.debugLineNum = 53018639;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53018640;
 //BA.debugLineNum = 53018640;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=53018641;
 //BA.debugLineNum = 53018641;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53018644;
 //BA.debugLineNum = 53018644;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?",new String[]{"","null",BA.ObjectToString(__c.Null)})));
RDebugUtils.currentLine=53018646;
 //BA.debugLineNum = 53018646;BA.debugLine="Private suma As Float = 0";
_suma = (float) (0);
RDebugUtils.currentLine=53018647;
 //BA.debugLineNum = 53018647;BA.debugLine="If s3.RowCount > 0 Then";
if (_s3.getRowCount()>0) { 
RDebugUtils.currentLine=53018648;
 //BA.debugLineNum = 53018648;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO = ? AND PE_RECALCULO = ? AND PE_RECALCULO = ?",new String[]{"","null",BA.ObjectToString(__c.Null)})));
RDebugUtils.currentLine=53018649;
 //BA.debugLineNum = 53018649;BA.debugLine="s.Position = 0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53018650;
 //BA.debugLineNum = 53018650;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?",new String[]{"","null",BA.ObjectToString(__c.Null)})));
RDebugUtils.currentLine=53018651;
 //BA.debugLineNum = 53018651;BA.debugLine="s5.Position = 0";
_s5.setPosition((int) (0));
RDebugUtils.currentLine=53018652;
 //BA.debugLineNum = 53018652;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\") + s5.GetString(";
_suma = (float) ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE"))));
RDebugUtils.currentLine=53018653;
 //BA.debugLineNum = 53018653;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }else 
{RDebugUtils.currentLine=53018654;
 //BA.debugLineNum = 53018654;BA.debugLine="Else If s3.RowCount = 0 Then";
if (_s3.getRowCount()==0) { 
RDebugUtils.currentLine=53018655;
 //BA.debugLineNum = 53018655;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=53018656;
 //BA.debugLineNum = 53018656;BA.debugLine="s.Position=0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53018657;
 //BA.debugLineNum = 53018657;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\")";
_suma = (float)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")));
RDebugUtils.currentLine=53018658;
 //BA.debugLineNum = 53018658;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }}
;
RDebugUtils.currentLine=53018661;
 //BA.debugLineNum = 53018661;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { 
RDebugUtils.currentLine=53018662;
 //BA.debugLineNum = 53018662;BA.debugLine="Private cbFactura As Int = 0";
_cbfactura = (int) (0);
RDebugUtils.currentLine=53018663;
 //BA.debugLineNum = 53018663;BA.debugLine="If CH_FACTURA.Checked Then cbFactura = 1";
if (__ref._ch_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_cbfactura = (int) (1);};
RDebugUtils.currentLine=53018664;
 //BA.debugLineNum = 53018664;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)");
RDebugUtils.currentLine=53018665;
 //BA.debugLineNum = 53018665;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");
RDebugUtils.currentLine=53018666;
 //BA.debugLineNum = 53018666;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_FACTURA,PC_ALMACEN,PC_RUTA) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__c.NumberFormat2(_suma,(int) (0),(int) (2),(int) (2),__c.False)),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_cbfactura),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}));
RDebugUtils.currentLine=53018667;
 //BA.debugLineNum = 53018667;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2  where CAT_CL_CODIGO In (select cuenta from cuentaa)");
 };
RDebugUtils.currentLine=53018671;
 //BA.debugLineNum = 53018671;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53018672;
 //BA.debugLineNum = 53018672;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
__c.DateTime.setTimeFormat("HHmmss");
RDebugUtils.currentLine=53018673;
 //BA.debugLineNum = 53018673;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=53018674;
 //BA.debugLineNum = 53018674;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ?  where HSS_OUT = 0 AND  HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )}));
RDebugUtils.currentLine=53018676;
 //BA.debugLineNum = 53018676;BA.debugLine="Try";
try {RDebugUtils.currentLine=53018677;
 //BA.debugLineNum = 53018677;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (sub";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when  (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when  (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+"	Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when  (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end  MINUTOS_TOTALES, "+"Case when  (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+"	Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+"	from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) ")));
RDebugUtils.currentLine=53018683;
 //BA.debugLineNum = 53018683;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53018684;
 //BA.debugLineNum = 53018684;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60";
__ref._stay_hh /*String*/  = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HORAS_TOTALES")))*60*60);
RDebugUtils.currentLine=53018685;
 //BA.debugLineNum = 53018685;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60";
__ref._stay_mi /*String*/  = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MINUTOS_TOTALES")))*60);
RDebugUtils.currentLine=53018686;
 //BA.debugLineNum = 53018686;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")";
__ref._stay_ss /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SEGUNDOS_TOTALES");
RDebugUtils.currentLine=53018687;
 //BA.debugLineNum = 53018687;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ?  where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(__ref._stay_hh /*String*/ ))+(double)(Double.parseDouble(__ref._stay_mi /*String*/ ))+(double)(Double.parseDouble(__ref._stay_ss /*String*/ )))}));
RDebugUtils.currentLine=53018688;
 //BA.debugLineNum = 53018688;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ?  ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )}));
RDebugUtils.currentLine=53018689;
 //BA.debugLineNum = 53018689;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 } 
       catch (Exception e55) {
			ba.setLastException(e55);RDebugUtils.currentLine=53018691;
 //BA.debugLineNum = 53018691;BA.debugLine="ToastMessageShow(\".\",True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("."),__c.True);
 };
RDebugUtils.currentLine=53018693;
 //BA.debugLineNum = 53018693;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
RDebugUtils.currentLine=53018695;
 //BA.debugLineNum = 53018695;BA.debugLine="Log(BCREDITO)";
__c.LogImpl("053018695",__ref._bcredito /*String*/ ,0);
RDebugUtils.currentLine=53018709;
 //BA.debugLineNum = 53018709;BA.debugLine="End Sub";
return "";
}
public String  _b_foto_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_foto_click", false))
	 {return ((String) Debug.delegate(ba, "b_foto_click", null));}
RDebugUtils.currentLine=63963136;
 //BA.debugLineNum = 63963136;BA.debugLine="Private Sub b_foto_Click";
RDebugUtils.currentLine=63963158;
 //BA.debugLineNum = 63963158;BA.debugLine="camEx.TakePicture";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._takepicture /*String*/ (null);
RDebugUtils.currentLine=63963159;
 //BA.debugLineNum = 63963159;BA.debugLine="p_camara.Visible = False";
__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=63963163;
 //BA.debugLineNum = 63963163;BA.debugLine="End Sub";
return "";
}
public String  _b_gallina_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_gallina_click", false))
	 {return ((String) Debug.delegate(ba, "b_gallina_click", null));}
RDebugUtils.currentLine=57540608;
 //BA.debugLineNum = 57540608;BA.debugLine="Private Sub B_GALLINA_Click";
RDebugUtils.currentLine=57540609;
 //BA.debugLineNum = 57540609;BA.debugLine="P_gallina.Visible = True";
__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57540611;
 //BA.debugLineNum = 57540611;BA.debugLine="B_GALLINA.Visible = False";
__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540612;
 //BA.debugLineNum = 57540612;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540613;
 //BA.debugLineNum = 57540613;BA.debugLine="BT_QR.Visible = False";
__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540615;
 //BA.debugLineNum = 57540615;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540616;
 //BA.debugLineNum = 57540616;BA.debugLine="Tar.Visible = False";
__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540617;
 //BA.debugLineNum = 57540617;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540618;
 //BA.debugLineNum = 57540618;BA.debugLine="gest.Visible = False ': ToastMessageShow(\"ccc\", F";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540619;
 //BA.debugLineNum = 57540619;BA.debugLine="b_venta.Visible = False";
__ref._b_venta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540620;
 //BA.debugLineNum = 57540620;BA.debugLine="Guardar.Visible = False";
__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540621;
 //BA.debugLineNum = 57540621;BA.debugLine="HIST.Visible = False";
__ref._hist /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57540622;
 //BA.debugLineNum = 57540622;BA.debugLine="End Sub";
return "";
}
public String  _b_geopass_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_geopass_click", false))
	 {return ((String) Debug.delegate(ba, "b_geopass_click", null));}
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=51118080;
 //BA.debugLineNum = 51118080;BA.debugLine="Private Sub b_geopass_Click";
RDebugUtils.currentLine=51118081;
 //BA.debugLineNum = 51118081;BA.debugLine="If et_geopass.Text.trim = \"KMTS1\" Then";
if ((__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()).equals("KMTS1")) { 
RDebugUtils.currentLine=51118082;
 //BA.debugLineNum = 51118082;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps";
__ref._m_lat /*String*/  = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ;
RDebugUtils.currentLine=51118083;
 //BA.debugLineNum = 51118083;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps";
__ref._m_lon /*String*/  = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ;
RDebugUtils.currentLine=51118084;
 //BA.debugLineNum = 51118084;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)";
__ref._gps_locationchanged /*String*/ (null,_starter._ubicacionactual /*anywheresoftware.b4a.gps.LocationWrapper*/ );
RDebugUtils.currentLine=51118085;
 //BA.debugLineNum = 51118085;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT_CL_";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info3 set CAT_CL_LAT = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ))+"', CAT_CL_LONG = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))+"' where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"'"));
RDebugUtils.currentLine=51118086;
 //BA.debugLineNum = 51118086;BA.debugLine="et_geopass.Text = \"\"";
__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 }else {
RDebugUtils.currentLine=51118088;
 //BA.debugLineNum = 51118088;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=51118089;
 //BA.debugLineNum = 51118089;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=51118090;
 //BA.debugLineNum = 51118090;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\"";
_cmd.Name /*String*/  = "select_geoPass_GUNA";
RDebugUtils.currentLine=51118091;
 //BA.debugLineNum = 51118091;BA.debugLine="cmd.Parameters = Array As Object(et_geopass.Text";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))};
RDebugUtils.currentLine=51118092;
 //BA.debugLineNum = 51118092;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPass\")";
__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("traeGeoPass"));
RDebugUtils.currentLine=51118093;
 //BA.debugLineNum = 51118093;BA.debugLine="Log($\"${Starter.server}, ${et_geopass.Text}, ${S";
__c.LogImpl("051118093",(""+__c.SmartStringFormatter("",(Object)(_starter._server /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+""),0);
RDebugUtils.currentLine=51118094;
 //BA.debugLineNum = 51118094;BA.debugLine="et_geopass.Text = \"\"";
__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=51118096;
 //BA.debugLineNum = 51118096;BA.debugLine="p_pideGeoPass.Visible = False";
__ref._p_pidegeopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51118103;
 //BA.debugLineNum = 51118103;BA.debugLine="End Sub";
return "";
}
public String  _gps_locationchanged(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "gps_locationchanged", false))
	 {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));}
anywheresoftware.b4a.objects.collections.List _ultimasubicaciones = null;
double _latpromedio = 0;
double _lonpromedio = 0;
anywheresoftware.b4a.gps.LocationWrapper _loc = null;
String _al_longitud = "";
String _al_latitud = "";
anywheresoftware.b4a.gps.LocationWrapper _ubi1 = null;
anywheresoftware.b4a.gps.LocationWrapper _ubi2 = null;
anywheresoftware.b4a.gps.LocationWrapper _l1 = null;
anywheresoftware.b4a.gps.LocationWrapper _l2 = null;
String _habi = "";
String _geo = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c5 = null;
RDebugUtils.currentLine=50921472;
 //BA.debugLineNum = 50921472;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
RDebugUtils.currentLine=50921473;
 //BA.debugLineNum = 50921473;BA.debugLine="LogColor($\"Entrando a Cliente.GPS_LocationChanged";
__c.LogImpl("050921473",("Entrando a Cliente.GPS_LocationChanged"),__c.Colors.Red);
RDebugUtils.currentLine=50921476;
 //BA.debugLineNum = 50921476;BA.debugLine="If Location1 = location2 Then";
if ((_location1).equals(__ref._location2 /*anywheresoftware.b4a.gps.LocationWrapper*/ )) { 
RDebugUtils.currentLine=50921477;
 //BA.debugLineNum = 50921477;BA.debugLine="contIguales = contIguales + 1";
__ref._contiguales /*int*/  = (int) (__ref._contiguales /*int*/ +1);
RDebugUtils.currentLine=50921478;
 //BA.debugLineNum = 50921478;BA.debugLine="Log(\"Coords Iguales\")";
__c.LogImpl("050921478","Coords Iguales",0);
RDebugUtils.currentLine=50921479;
 //BA.debugLineNum = 50921479;BA.debugLine="If contIguales >= 3 Then";
if (__ref._contiguales /*int*/ >=3) { 
RDebugUtils.currentLine=50921482;
 //BA.debugLineNum = 50921482;BA.debugLine="CallSubDelayed(Tracker, \"StopFLP\")";
__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StopFLP");
RDebugUtils.currentLine=50921483;
 //BA.debugLineNum = 50921483;BA.debugLine="Return";
if (true) return "";
 };
 }else {
RDebugUtils.currentLine=50921486;
 //BA.debugLineNum = 50921486;BA.debugLine="contIguales = 0";
__ref._contiguales /*int*/  = (int) (0);
 };
RDebugUtils.currentLine=50921488;
 //BA.debugLineNum = 50921488;BA.debugLine="Log(\"############################################";
__c.LogImpl("050921488","################################################################################",0);
RDebugUtils.currentLine=50921489;
 //BA.debugLineNum = 50921489;BA.debugLine="Log(\"############################################";
__c.LogImpl("050921489","################################################################################",0);
RDebugUtils.currentLine=50921490;
 //BA.debugLineNum = 50921490;BA.debugLine="Log(\"############################################";
__c.LogImpl("050921490","################################################################################",0);
RDebugUtils.currentLine=50921491;
 //BA.debugLineNum = 50921491;BA.debugLine="location2 = Location1";
__ref._location2 /*anywheresoftware.b4a.gps.LocationWrapper*/  = _location1;
RDebugUtils.currentLine=50921501;
 //BA.debugLineNum = 50921501;BA.debugLine="If Location1.Accuracy > 50 Then ' Mayor a 50 metr";
if (_location1.getAccuracy()>50) { 
RDebugUtils.currentLine=50921502;
 //BA.debugLineNum = 50921502;BA.debugLine="MejorarPrecisionGPS";
__ref._mejorarprecisiongps /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null);
RDebugUtils.currentLine=50921503;
 //BA.debugLineNum = 50921503;BA.debugLine="Return ' Esperar siguiente lectura";
if (true) return "";
 };
RDebugUtils.currentLine=50921507;
 //BA.debugLineNum = 50921507;BA.debugLine="If Location1.Accuracy > 50 Then ' Si la precisión";
if (_location1.getAccuracy()>50) { 
RDebugUtils.currentLine=50921508;
 //BA.debugLineNum = 50921508;BA.debugLine="Return";
if (true) return "";
 };
RDebugUtils.currentLine=50921512;
 //BA.debugLineNum = 50921512;BA.debugLine="Dim ultimasUbicaciones As List";
_ultimasubicaciones = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=50921513;
 //BA.debugLineNum = 50921513;BA.debugLine="If ultimasUbicaciones.IsInitialized = False Then";
if (_ultimasubicaciones.IsInitialized()==__c.False) { 
RDebugUtils.currentLine=50921514;
 //BA.debugLineNum = 50921514;BA.debugLine="ultimasUbicaciones.Initialize";
_ultimasubicaciones.Initialize();
 };
RDebugUtils.currentLine=50921517;
 //BA.debugLineNum = 50921517;BA.debugLine="ultimasUbicaciones.Add(Location1)";
_ultimasubicaciones.Add((Object)(_location1.getObject()));
RDebugUtils.currentLine=50921518;
 //BA.debugLineNum = 50921518;BA.debugLine="If ultimasUbicaciones.Size > 5 Then";
if (_ultimasubicaciones.getSize()>5) { 
RDebugUtils.currentLine=50921519;
 //BA.debugLineNum = 50921519;BA.debugLine="ultimasUbicaciones.RemoveAt(0)";
_ultimasubicaciones.RemoveAt((int) (0));
 };
RDebugUtils.currentLine=50921523;
 //BA.debugLineNum = 50921523;BA.debugLine="Dim latPromedio, lonPromedio As Double";
_latpromedio = 0;
_lonpromedio = 0;
RDebugUtils.currentLine=50921524;
 //BA.debugLineNum = 50921524;BA.debugLine="For Each loc As Location In ultimasUbicaciones";
_loc = new anywheresoftware.b4a.gps.LocationWrapper();
{
final anywheresoftware.b4a.BA.IterableList group32 = _ultimasubicaciones;
final int groupLen32 = group32.getSize()
;int index32 = 0;
;
for (; index32 < groupLen32;index32++){
_loc = (anywheresoftware.b4a.gps.LocationWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.gps.LocationWrapper(), (android.location.Location)(group32.Get(index32)));
RDebugUtils.currentLine=50921525;
 //BA.debugLineNum = 50921525;BA.debugLine="Log(\"***\")";
__c.LogImpl("050921525","***",0);
RDebugUtils.currentLine=50921526;
 //BA.debugLineNum = 50921526;BA.debugLine="latPromedio = latPromedio + loc.Latitude";
_latpromedio = _latpromedio+_loc.getLatitude();
RDebugUtils.currentLine=50921527;
 //BA.debugLineNum = 50921527;BA.debugLine="lonPromedio = lonPromedio + loc.Longitude";
_lonpromedio = _lonpromedio+_loc.getLongitude();
 }
};
RDebugUtils.currentLine=50921529;
 //BA.debugLineNum = 50921529;BA.debugLine="latPromedio = latPromedio / ultimasUbicaciones.Si";
_latpromedio = _latpromedio/(double)_ultimasubicaciones.getSize();
RDebugUtils.currentLine=50921530;
 //BA.debugLineNum = 50921530;BA.debugLine="lonPromedio = lonPromedio / ultimasUbicaciones.Si";
_lonpromedio = _lonpromedio/(double)_ultimasubicaciones.getSize();
RDebugUtils.currentLine=50921533;
 //BA.debugLineNum = 50921533;BA.debugLine="B4XPages.MainPage.lat_gps = latPromedio";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/  = BA.NumberToString(_latpromedio);
RDebugUtils.currentLine=50921534;
 //BA.debugLineNum = 50921534;BA.debugLine="B4XPages.MainPage.lon_gps = lonPromedio";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/  = BA.NumberToString(_lonpromedio);
RDebugUtils.currentLine=50921536;
 //BA.debugLineNum = 50921536;BA.debugLine="If Tels.IsInitialized Then";
if (__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { 
RDebugUtils.currentLine=50921537;
 //BA.debugLineNum = 50921537;BA.debugLine="Dim al_longitud As String = 0";
_al_longitud = BA.NumberToString(0);
RDebugUtils.currentLine=50921538;
 //BA.debugLineNum = 50921538;BA.debugLine="Dim al_latitud As String = 0";
_al_latitud = BA.NumberToString(0);
RDebugUtils.currentLine=50921539;
 //BA.debugLineNum = 50921539;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"LATITUD"})));
RDebugUtils.currentLine=50921540;
 //BA.debugLineNum = 50921540;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50921541;
 //BA.debugLineNum = 50921541;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50921542;
 //BA.debugLineNum = 50921542;BA.debugLine="Dim al_latitud As String = c.GetString(\"CAT_VA_";
_al_latitud = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR");
 };
RDebugUtils.currentLine=50921544;
 //BA.debugLineNum = 50921544;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50921545;
 //BA.debugLineNum = 50921545;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"LONGITUD"})));
RDebugUtils.currentLine=50921546;
 //BA.debugLineNum = 50921546;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50921547;
 //BA.debugLineNum = 50921547;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50921548;
 //BA.debugLineNum = 50921548;BA.debugLine="Dim al_longitud As String = c.GetString(\"CAT_VA";
_al_longitud = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR");
 };
RDebugUtils.currentLine=50921550;
 //BA.debugLineNum = 50921550;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50921551;
 //BA.debugLineNum = 50921551;BA.debugLine="Dim ubi1, ubi2 As Location";
_ubi1 = new anywheresoftware.b4a.gps.LocationWrapper();
_ubi2 = new anywheresoftware.b4a.gps.LocationWrapper();
RDebugUtils.currentLine=50921552;
 //BA.debugLineNum = 50921552;BA.debugLine="ubi1.Initialize2(B4XPages.MainPage.lat_gps, B4XP";
_ubi1.Initialize2(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ );
RDebugUtils.currentLine=50921553;
 //BA.debugLineNum = 50921553;BA.debugLine="ubi2.Initialize2(al_latitud, al_longitud)";
_ubi2.Initialize2(_al_latitud,_al_longitud);
RDebugUtils.currentLine=50921554;
 //BA.debugLineNum = 50921554;BA.debugLine="distancealm = ubi1.DistanceTo(ubi2)";
__ref._distancealm /*long*/  = (long) (_ubi1.DistanceTo((android.location.Location)(_ubi2.getObject())));
 };
RDebugUtils.currentLine=50921557;
 //BA.debugLineNum = 50921557;BA.debugLine="If LA_GPS.IsInitialized Then";
if (__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .IsInitialized()) { 
RDebugUtils.currentLine=50921558;
 //BA.debugLineNum = 50921558;BA.debugLine="LA_GPS.Text = $\"UBICACIÓN - Precisión: ${NumberF";
__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("UBICACIÓN - Precisión: "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_location1.getAccuracy(),(int) (0),(int) (1),(int) (1),__c.False)))+"m")));
 };
RDebugUtils.currentLine=50921561;
 //BA.debugLineNum = 50921561;BA.debugLine="If Location1.Accuracy < 30 Then ' Menos de 30 met";
if (_location1.getAccuracy()<30) { 
RDebugUtils.currentLine=50921563;
 //BA.debugLineNum = 50921563;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/  = BA.NumberToString(_location1.getLatitude());
RDebugUtils.currentLine=50921564;
 //BA.debugLineNum = 50921564;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/  = BA.NumberToString(_location1.getLongitude());
RDebugUtils.currentLine=50921566;
 //BA.debugLineNum = 50921566;BA.debugLine="If m_lat.Length > 0 And B4XPages.MainPage.lat_gp";
if (__ref._m_lat /*String*/ .length()>0 && (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0") == false) { 
RDebugUtils.currentLine=50921567;
 //BA.debugLineNum = 50921567;BA.debugLine="Dim l1, l2 As Location";
_l1 = new anywheresoftware.b4a.gps.LocationWrapper();
_l2 = new anywheresoftware.b4a.gps.LocationWrapper();
RDebugUtils.currentLine=50921568;
 //BA.debugLineNum = 50921568;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPa";
_l1.Initialize2(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ );
RDebugUtils.currentLine=50921570;
 //BA.debugLineNum = 50921570;BA.debugLine="l2.Initialize2(m_lat, m_lon)";
_l2.Initialize2(__ref._m_lat /*String*/ ,__ref._m_lon /*String*/ );
RDebugUtils.currentLine=50921571;
 //BA.debugLineNum = 50921571;BA.debugLine="BT_QR.Enabled = True";
__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);
RDebugUtils.currentLine=50921574;
 //BA.debugLineNum = 50921574;BA.debugLine="B_GPS.Enabled = True";
__ref._b_gps /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);
RDebugUtils.currentLine=50921576;
 //BA.debugLineNum = 50921576;BA.debugLine="Dim distance As Long";
_distance = 0L;
RDebugUtils.currentLine=50921577;
 //BA.debugLineNum = 50921577;BA.debugLine="distance = l1.DistanceTo(l2)  'the result is in";
__ref._distance /*long*/  = (long) (_l1.DistanceTo((android.location.Location)(_l2.getObject())));
RDebugUtils.currentLine=50921578;
 //BA.debugLineNum = 50921578;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\"";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADO FROM GPS")));
RDebugUtils.currentLine=50921579;
 //BA.debugLineNum = 50921579;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50921580;
 //BA.debugLineNum = 50921580;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50921581;
 //BA.debugLineNum = 50921581;BA.debugLine="Dim habi As String = c.GetString(\"HABILITADO\")";
_habi = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADO");
 };
RDebugUtils.currentLine=50921583;
 //BA.debugLineNum = 50921583;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50921584;
 //BA.debugLineNum = 50921584;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CA";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'")));
RDebugUtils.currentLine=50921585;
 //BA.debugLineNum = 50921585;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50921586;
 //BA.debugLineNum = 50921586;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50921587;
 //BA.debugLineNum = 50921587;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\"";
_geo = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR");
 };
RDebugUtils.currentLine=50921589;
 //BA.debugLineNum = 50921589;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50921590;
 //BA.debugLineNum = 50921590;BA.debugLine="If gest.IsInitialized And Tels.IsInitialized Th";
if (__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized() && __ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { 
RDebugUtils.currentLine=50921591;
 //BA.debugLineNum = 50921591;BA.debugLine="If geo = \"0\" Then";
if ((_geo).equals("0")) { 
RDebugUtils.currentLine=50921592;
 //BA.debugLineNum = 50921592;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921593;
 //BA.debugLineNum = 50921593;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921594;
 //BA.debugLineNum = 50921594;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50921595;
 //BA.debugLineNum = 50921595;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50921596;
 //BA.debugLineNum = 50921596;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50921597;
 //BA.debugLineNum = 50921597;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50921598;
 //BA.debugLineNum = 50921598;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
 }else 
{RDebugUtils.currentLine=50921599;
 //BA.debugLineNum = 50921599;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Th";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50921600;
 //BA.debugLineNum = 50921600;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921603;
 //BA.debugLineNum = 50921603;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
RDebugUtils.currentLine=50921605;
 //BA.debugLineNum = 50921605;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
 }else 
{RDebugUtils.currentLine=50921606;
 //BA.debugLineNum = 50921606;BA.debugLine="Else If geo = \"1\" Then";
if ((_geo).equals("1")) { 
RDebugUtils.currentLine=50921607;
 //BA.debugLineNum = 50921607;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921608;
 //BA.debugLineNum = 50921608;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921609;
 //BA.debugLineNum = 50921609;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921615;
 //BA.debugLineNum = 50921615;BA.debugLine="If geo = \"1\" Then";
if ((_geo).equals("1")) { 
RDebugUtils.currentLine=50921616;
 //BA.debugLineNum = 50921616;BA.debugLine="If distance < 100 Then";
if (__ref._distance /*long*/ <100) { 
RDebugUtils.currentLine=50921617;
 //BA.debugLineNum = 50921617;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue);
RDebugUtils.currentLine=50921618;
 //BA.debugLineNum = 50921618;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921619;
 //BA.debugLineNum = 50921619;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921620;
 //BA.debugLineNum = 50921620;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50921621;
 //BA.debugLineNum = 50921621;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50921622;
 //BA.debugLineNum = 50921622;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50921623;
 //BA.debugLineNum = 50921623;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50921624;
 //BA.debugLineNum = 50921624;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
 }else 
{RDebugUtils.currentLine=50921625;
 //BA.debugLineNum = 50921625;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Th";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50921626;
 //BA.debugLineNum = 50921626;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921629;
 //BA.debugLineNum = 50921629;BA.debugLine="bitacora.inicioFin";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciofin /*String*/ (null);
RDebugUtils.currentLine=50921630;
 //BA.debugLineNum = 50921630;BA.debugLine="precision = \"1\"";
__ref._precision /*String*/  = "1";
RDebugUtils.currentLine=50921632;
 //BA.debugLineNum = 50921632;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
 }else 
{RDebugUtils.currentLine=50921634;
 //BA.debugLineNum = 50921634;BA.debugLine="Else If habi = \"1\" Then";
if ((_habi).equals("1")) { 
RDebugUtils.currentLine=50921635;
 //BA.debugLineNum = 50921635;BA.debugLine="If distancealm < 50 Then";
if (__ref._distancealm /*long*/ <50) { 
RDebugUtils.currentLine=50921636;
 //BA.debugLineNum = 50921636;BA.debugLine="precision = \"0\"";
__ref._precision /*String*/  = "0";
RDebugUtils.currentLine=50921637;
 //BA.debugLineNum = 50921637;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue);
RDebugUtils.currentLine=50921638;
 //BA.debugLineNum = 50921638;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921639;
 //BA.debugLineNum = 50921639;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921640;
 //BA.debugLineNum = 50921640;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50921641;
 //BA.debugLineNum = 50921641;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50921642;
 //BA.debugLineNum = 50921642;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50921643;
 //BA.debugLineNum = 50921643;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50921644;
 //BA.debugLineNum = 50921644;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
 }else 
{RDebugUtils.currentLine=50921645;
 //BA.debugLineNum = 50921645;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 T";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50921646;
 //BA.debugLineNum = 50921646;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921650;
 //BA.debugLineNum = 50921650;BA.debugLine="bitacora.banderaGeoCerca = \"1\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "1";
RDebugUtils.currentLine=50921651;
 //BA.debugLineNum = 50921651;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 }else 
{RDebugUtils.currentLine=50921653;
 //BA.debugLineNum = 50921653;BA.debugLine="Else If distancealm > 50 Then";
if (__ref._distancealm /*long*/ >50) { 
RDebugUtils.currentLine=50921654;
 //BA.debugLineNum = 50921654;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921655;
 //BA.debugLineNum = 50921655;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921656;
 //BA.debugLineNum = 50921656;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921658;
 //BA.debugLineNum = 50921658;BA.debugLine="Log(998)";
__c.LogImpl("050921658",BA.NumberToString(998),0);
RDebugUtils.currentLine=50921660;
 //BA.debugLineNum = 50921660;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50921661;
 //BA.debugLineNum = 50921661;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50921662;
 //BA.debugLineNum = 50921662;BA.debugLine="precision = \"0\"";
__ref._precision /*String*/  = "0";
RDebugUtils.currentLine=50921663;
 //BA.debugLineNum = 50921663;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921664;
 //BA.debugLineNum = 50921664;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921665;
 //BA.debugLineNum = 50921665;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50921666;
 //BA.debugLineNum = 50921666;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50921667;
 //BA.debugLineNum = 50921667;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50921668;
 //BA.debugLineNum = 50921668;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50921669;
 //BA.debugLineNum = 50921669;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
 }else 
{RDebugUtils.currentLine=50921670;
 //BA.debugLineNum = 50921670;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50921671;
 //BA.debugLineNum = 50921671;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921675;
 //BA.debugLineNum = 50921675;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
RDebugUtils.currentLine=50921676;
 //BA.debugLineNum = 50921676;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 }else 
{RDebugUtils.currentLine=50921677;
 //BA.debugLineNum = 50921677;BA.debugLine="Else If c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
RDebugUtils.currentLine=50921678;
 //BA.debugLineNum = 50921678;BA.debugLine="Private c5 As Cursor = skmt.ExecQuery(\"SELE";
_c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50921679;
 //BA.debugLineNum = 50921679;BA.debugLine="If c5.RowCount > 0 Then";
if (_c5.getRowCount()>0) { 
RDebugUtils.currentLine=50921680;
 //BA.debugLineNum = 50921680;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921681;
 //BA.debugLineNum = 50921681;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921682;
 //BA.debugLineNum = 50921682;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.s";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50921683;
 //BA.debugLineNum = 50921683;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50921684;
 //BA.debugLineNum = 50921684;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50921685;
 //BA.debugLineNum = 50921685;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50921686;
 //BA.debugLineNum = 50921686;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
 }else 
{RDebugUtils.currentLine=50921687;
 //BA.debugLineNum = 50921687;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50921688;
 //BA.debugLineNum = 50921688;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921691;
 //BA.debugLineNum = 50921691;BA.debugLine="precision = \"0\"";
__ref._precision /*String*/  = "0";
RDebugUtils.currentLine=50921693;
 //BA.debugLineNum = 50921693;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 }else 
{RDebugUtils.currentLine=50921694;
 //BA.debugLineNum = 50921694;BA.debugLine="Else If c5.RowCount = 0 Then";
if (_c5.getRowCount()==0) { 
RDebugUtils.currentLine=50921695;
 //BA.debugLineNum = 50921695;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921696;
 //BA.debugLineNum = 50921696;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921698;
 //BA.debugLineNum = 50921698;BA.debugLine="Log(997)";
__c.LogImpl("050921698",BA.NumberToString(997),0);
RDebugUtils.currentLine=50921700;
 //BA.debugLineNum = 50921700;BA.debugLine="LA_GEO.TextColor = Colors.Red";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red);
RDebugUtils.currentLine=50921701;
 //BA.debugLineNum = 50921701;BA.debugLine="If ALMACEN = \"1\" Then";
if ((__ref._almacen /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=50921702;
 //BA.debugLineNum = 50921702;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921703;
 //BA.debugLineNum = 50921703;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921704;
 //BA.debugLineNum = 50921704;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921706;
 //BA.debugLineNum = 50921706;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
RDebugUtils.currentLine=50921707;
 //BA.debugLineNum = 50921707;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 };
 }}
;
RDebugUtils.currentLine=50921710;
 //BA.debugLineNum = 50921710;BA.debugLine="c5.Close";
_c5.Close();
 }}
;
RDebugUtils.currentLine=50921712;
 //BA.debugLineNum = 50921712;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50921713;
 //BA.debugLineNum = 50921713;BA.debugLine="LA_GEO.TextColor = Colors.Red";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red);
RDebugUtils.currentLine=50921714;
 //BA.debugLineNum = 50921714;BA.debugLine="If ALMACEN = \"1\" Then";
if ((__ref._almacen /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=50921715;
 //BA.debugLineNum = 50921715;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921716;
 //BA.debugLineNum = 50921716;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921718;
 //BA.debugLineNum = 50921718;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
RDebugUtils.currentLine=50921719;
 //BA.debugLineNum = 50921719;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 };
 }}
;
 }else 
{RDebugUtils.currentLine=50921722;
 //BA.debugLineNum = 50921722;BA.debugLine="Else If habi = 0 Then";
if ((_habi).equals(BA.NumberToString(0))) { 
RDebugUtils.currentLine=50921723;
 //BA.debugLineNum = 50921723;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE  FROM P";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE  FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50921724;
 //BA.debugLineNum = 50921724;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50921725;
 //BA.debugLineNum = 50921725;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921726;
 //BA.debugLineNum = 50921726;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921727;
 //BA.debugLineNum = 50921727;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50921728;
 //BA.debugLineNum = 50921728;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50921729;
 //BA.debugLineNum = 50921729;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50921730;
 //BA.debugLineNum = 50921730;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50921731;
 //BA.debugLineNum = 50921731;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
 }else 
{RDebugUtils.currentLine=50921732;
 //BA.debugLineNum = 50921732;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 T";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50921733;
 //BA.debugLineNum = 50921733;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921737;
 //BA.debugLineNum = 50921737;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
RDebugUtils.currentLine=50921738;
 //BA.debugLineNum = 50921738;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 }else 
{RDebugUtils.currentLine=50921739;
 //BA.debugLineNum = 50921739;BA.debugLine="Else If c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
RDebugUtils.currentLine=50921740;
 //BA.debugLineNum = 50921740;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921741;
 //BA.debugLineNum = 50921741;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921742;
 //BA.debugLineNum = 50921742;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921744;
 //BA.debugLineNum = 50921744;BA.debugLine="Log(996)";
__c.LogImpl("050921744",BA.NumberToString(996),0);
RDebugUtils.currentLine=50921746;
 //BA.debugLineNum = 50921746;BA.debugLine="c2 = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50921747;
 //BA.debugLineNum = 50921747;BA.debugLine="If c2.RowCount > 0 Then";
if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50921748;
 //BA.debugLineNum = 50921748;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921749;
 //BA.debugLineNum = 50921749;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921750;
 //BA.debugLineNum = 50921750;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50921751;
 //BA.debugLineNum = 50921751;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50921752;
 //BA.debugLineNum = 50921752;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50921753;
 //BA.debugLineNum = 50921753;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50921754;
 //BA.debugLineNum = 50921754;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
 }else 
{RDebugUtils.currentLine=50921755;
 //BA.debugLineNum = 50921755;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50921756;
 //BA.debugLineNum = 50921756;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921760;
 //BA.debugLineNum = 50921760;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
RDebugUtils.currentLine=50921761;
 //BA.debugLineNum = 50921761;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 }else 
{RDebugUtils.currentLine=50921762;
 //BA.debugLineNum = 50921762;BA.debugLine="Else If c2.RowCount = 0 Then";
if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
RDebugUtils.currentLine=50921763;
 //BA.debugLineNum = 50921763;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921764;
 //BA.debugLineNum = 50921764;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921765;
 //BA.debugLineNum = 50921765;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921767;
 //BA.debugLineNum = 50921767;BA.debugLine="Log(995)";
__c.LogImpl("050921767",BA.NumberToString(995),0);
RDebugUtils.currentLine=50921769;
 //BA.debugLineNum = 50921769;BA.debugLine="LA_GEO.TextColor = Colors.Red";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red);
RDebugUtils.currentLine=50921770;
 //BA.debugLineNum = 50921770;BA.debugLine="If ALMACEN = \"1\" Then";
if ((__ref._almacen /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=50921771;
 //BA.debugLineNum = 50921771;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921772;
 //BA.debugLineNum = 50921772;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921773;
 //BA.debugLineNum = 50921773;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921775;
 //BA.debugLineNum = 50921775;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
RDebugUtils.currentLine=50921776;
 //BA.debugLineNum = 50921776;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 };
 }}
;
RDebugUtils.currentLine=50921779;
 //BA.debugLineNum = 50921779;BA.debugLine="c2.Close";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50921780;
 //BA.debugLineNum = 50921780;BA.debugLine="LA_GEO.TextColor = Colors.Red";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red);
RDebugUtils.currentLine=50921781;
 //BA.debugLineNum = 50921781;BA.debugLine="If ALMACEN = \"1\" Then";
if ((__ref._almacen /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=50921782;
 //BA.debugLineNum = 50921782;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921783;
 //BA.debugLineNum = 50921783;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921784;
 //BA.debugLineNum = 50921784;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921786;
 //BA.debugLineNum = 50921786;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
RDebugUtils.currentLine=50921787;
 //BA.debugLineNum = 50921787;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 };
 }}
;
RDebugUtils.currentLine=50921790;
 //BA.debugLineNum = 50921790;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }else {
RDebugUtils.currentLine=50921792;
 //BA.debugLineNum = 50921792;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921793;
 //BA.debugLineNum = 50921793;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921794;
 //BA.debugLineNum = 50921794;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921796;
 //BA.debugLineNum = 50921796;BA.debugLine="Log(994)";
__c.LogImpl("050921796",BA.NumberToString(994),0);
RDebugUtils.currentLine=50921798;
 //BA.debugLineNum = 50921798;BA.debugLine="LA_GEO.TextColor = Colors.Red";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red);
RDebugUtils.currentLine=50921799;
 //BA.debugLineNum = 50921799;BA.debugLine="If ALMACEN = \"1\" Then";
if ((__ref._almacen /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=50921800;
 //BA.debugLineNum = 50921800;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921801;
 //BA.debugLineNum = 50921801;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50921802;
 //BA.debugLineNum = 50921802;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921804;
 //BA.debugLineNum = 50921804;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "0";
RDebugUtils.currentLine=50921805;
 //BA.debugLineNum = 50921805;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 };
 }}}
;
 };
 };
 }else {
RDebugUtils.currentLine=50921812;
 //BA.debugLineNum = 50921812;BA.debugLine="If LA_GPS.IsInitialized Then";
if (__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .IsInitialized()) { 
RDebugUtils.currentLine=50921814;
 //BA.debugLineNum = 50921814;BA.debugLine="LA_GPS.Text = $\"BAJA PRECISIÓN (${NumberFormat2";
__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("BAJA PRECISIÓN ("+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_location1.getAccuracy(),(int) (0),(int) (1),(int) (1),__c.False)))+"m)")));
RDebugUtils.currentLine=50921815;
 //BA.debugLineNum = 50921815;BA.debugLine="LA_GPS.TextColor = Colors.Red";
__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red);
 };
 };
RDebugUtils.currentLine=50921819;
 //BA.debugLineNum = 50921819;BA.debugLine="If cuenta.StartsWith(\"N\") Then";
if (__ref._cuenta /*String*/ .startsWith("N")) { 
RDebugUtils.currentLine=50921820;
 //BA.debugLineNum = 50921820;BA.debugLine="precision = \"0\"";
__ref._precision /*String*/  = "0";
RDebugUtils.currentLine=50921821;
 //BA.debugLineNum = 50921821;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue);
RDebugUtils.currentLine=50921822;
 //BA.debugLineNum = 50921822;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921823;
 //BA.debugLineNum = 50921823;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50921824;
 //BA.debugLineNum = 50921824;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50921825;
 //BA.debugLineNum = 50921825;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50921826;
 //BA.debugLineNum = 50921826;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50921827;
 //BA.debugLineNum = 50921827;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50921828;
 //BA.debugLineNum = 50921828;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }else 
{RDebugUtils.currentLine=50921829;
 //BA.debugLineNum = 50921829;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50921830;
 //BA.debugLineNum = 50921830;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=50921834;
 //BA.debugLineNum = 50921834;BA.debugLine="bitacora.banderaGeoCerca = \"1\"";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/  = "1";
RDebugUtils.currentLine=50921835;
 //BA.debugLineNum = 50921835;BA.debugLine="iniciofin";
__ref._iniciofin /*String*/ (null);
 };
RDebugUtils.currentLine=50921840;
 //BA.debugLineNum = 50921840;BA.debugLine="If LA_GEO.IsInitialized Then LA_GEO.Text= $\"$1.2{";
if (__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .IsInitialized()) { 
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.2",(Object)(__ref._distance /*long*/ /(double)1000))+" kms")));};
RDebugUtils.currentLine=50921843;
 //BA.debugLineNum = 50921843;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS");
RDebugUtils.currentLine=50921844;
 //BA.debugLineNum = 50921844;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO  HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
RDebugUtils.currentLine=50921846;
 //BA.debugLineNum = 50921846;BA.debugLine="End Sub";
return "";
}
public String  _b_gps_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_gps_click", false))
	 {return ((String) Debug.delegate(ba, "b_gps_click", null));}
RDebugUtils.currentLine=55050240;
 //BA.debugLineNum = 55050240;BA.debugLine="Sub B_GPS_Click";
RDebugUtils.currentLine=55050241;
 //BA.debugLineNum = 55050241;BA.debugLine="Dim result As Int";
_result = 0;
RDebugUtils.currentLine=55050242;
 //BA.debugLineNum = 55050242;BA.debugLine="result = Msgbox2(\"Esta seguro de cambiar las coor";
__ref._result /*int*/  = __c.Msgbox2(BA.ObjectToCharSequence("Esta seguro de cambiar las coordenadas de este cliente"),BA.ObjectToCharSequence("Aviso GPS"),"SI","","NO",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alerta.jpg").getObject()),ba);
RDebugUtils.currentLine=55050243;
 //BA.debugLineNum = 55050243;BA.debugLine="If result = DialogResponse.Positive Then";
if (__ref._result /*int*/ ==__c.DialogResponse.POSITIVE) { 
RDebugUtils.currentLine=55050244;
 //BA.debugLineNum = 55050244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET CAT_CL_LAT = ?, CAT_CL_LONG = ? where CAT_CL_CODIGO In (Select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
RDebugUtils.currentLine=55050245;
 //BA.debugLineNum = 55050245;BA.debugLine="B4XPage_Appear";
__ref._b4xpage_appear /*void*/ (null);
 };
RDebugUtils.currentLine=55050247;
 //BA.debugLineNum = 55050247;BA.debugLine="End Sub";
return "";
}
public void  _b4xpage_appear(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b4xpage_appear", false))
	 {Debug.delegate(ba, "b4xpage_appear", null); return;}
ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub {
public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _permission = "";
boolean _resultc = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar1 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar = null;
byte[] _fotomostrarfinal = null;
anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _inputstream1 = null;
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bitmap1 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null;
int _resultado = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _j3 = null;
int _i = 0;
float _des = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null;
float _rec = 0f;
float _cantres = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c5 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null;
float _recalculo = 0f;
float _recalculototal = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c6 = null;
float _rec1 = 0f;
float _cantres1 = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null;
String _geo = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _fac = null;
String _factura = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null;
String _fechainicio = "";
long _ticksinicio = 0L;
long _tickshoy = 0L;
int _diferenciadias = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _coloressaldo = null;
int step266;
int limit266;
int step307;
int limit307;
int step327;
int limit327;
int step374;
int limit374;
int step395;
int limit395;
int step418;
int limit418;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=50462721;
 //BA.debugLineNum = 50462721;BA.debugLine="Starter.enCliente = True";
parent._starter._encliente /*boolean*/  = parent.__c.True;
RDebugUtils.currentLine=50462722;
 //BA.debugLineNum = 50462722;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462723;
 //BA.debugLineNum = 50462723;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462724;
 //BA.debugLineNum = 50462724;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462731;
 //BA.debugLineNum = 50462731;BA.debugLine="recalculoXcant";
__ref._recalculoxcant /*String*/ (null);
RDebugUtils.currentLine=50462733;
 //BA.debugLineNum = 50462733;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"im";
__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"images.png").getObject()));
RDebugUtils.currentLine=50462734;
 //BA.debugLineNum = 50462734;BA.debugLine="btnPlanLealtad.Visible = False";
__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462735;
 //BA.debugLineNum = 50462735;BA.debugLine="bitacora.inicioFin";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciofin /*String*/ (null);
RDebugUtils.currentLine=50462737;
 //BA.debugLineNum = 50462737;BA.debugLine="que_modulo = 1";
__ref._que_modulo /*String*/  = BA.NumberToString(1);
RDebugUtils.currentLine=50462738;
 //BA.debugLineNum = 50462738;BA.debugLine="dentroDeGeocerca = False";
__ref._dentrodegeocerca /*boolean*/  = parent.__c.False;
RDebugUtils.currentLine=50462739;
 //BA.debugLineNum = 50462739;BA.debugLine="indicePregunta = 0";
__ref._indicepregunta /*int*/  = (int) (0);
RDebugUtils.currentLine=50462740;
 //BA.debugLineNum = 50462740;BA.debugLine="l_credito.Visible = False";
__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462741;
 //BA.debugLineNum = 50462741;BA.debugLine="l_limite.Visible = False";
__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462742;
 //BA.debugLineNum = 50462742;BA.debugLine="pnlPlanLealtad.Top = 0";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0));
RDebugUtils.currentLine=50462743;
 //BA.debugLineNum = 50462743;BA.debugLine="pnlPlanLealtad.Left = 0";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0));
RDebugUtils.currentLine=50462744;
 //BA.debugLineNum = 50462744;BA.debugLine="pnlPlanLealtad.Width = Root.Width";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50462745;
 //BA.debugLineNum = 50462745;BA.debugLine="pnlPlanLealtad.Height = Root.Height";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50462746;
 //BA.debugLineNum = 50462746;BA.debugLine="p_cliente.Width = Root.Width";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50462747;
 //BA.debugLineNum = 50462747;BA.debugLine="p_cliente.Height = Root.Height";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50462748;
 //BA.debugLineNum = 50462748;BA.debugLine="p_cliente_.Width = Root.Width";
__ref._p_cliente_ /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50462749;
 //BA.debugLineNum = 50462749;BA.debugLine="Subs.centraPanel(p_atiende, Root.Width)";
parent._subs._centrapanel /*String*/ (ba,__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50462750;
 //BA.debugLineNum = 50462750;BA.debugLine="Subs.centraPanel(p_telefono, Root.Width)";
parent._subs._centrapanel /*String*/ (ba,__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50462753;
 //BA.debugLineNum = 50462753;BA.debugLine="If TOMAR_FOTO <> 0 Then Cuestionario";
if (true) break;

case 1:
//if
this.state = 6;
if ((__ref._tomar_foto /*String*/ ).equals(BA.NumberToString(0)) == false) { 
this.state = 3;
;}if (true) break;

case 3:
//C
this.state = 6;
__ref._cuestionario /*void*/ (null);
if (true) break;

case 6:
//C
this.state = 7;
;
RDebugUtils.currentLine=50462754;
 //BA.debugLineNum = 50462754;BA.debugLine="Starter.idCliente = Subs.traeCliente";
parent._starter._idcliente /*String*/  = parent._subs._traecliente /*String*/ (ba);
RDebugUtils.currentLine=50462756;
 //BA.debugLineNum = 50462756;BA.debugLine="If Subs.traeCliente = \"0\" Then";
if (true) break;

case 7:
//if
this.state = 12;
if ((parent._subs._traecliente /*String*/ (ba)).equals("0")) { 
this.state = 9;
}else {
this.state = 11;
}if (true) break;

case 9:
//C
this.state = 12;
RDebugUtils.currentLine=50462757;
 //BA.debugLineNum = 50462757;BA.debugLine="tipo_venta = \"ABORDO\"";
__ref._tipo_venta /*String*/  = "ABORDO";
RDebugUtils.currentLine=50462758;
 //BA.debugLineNum = 50462758;BA.debugLine="Log(1)";
parent.__c.LogImpl("050462758",BA.NumberToString(1),0);
RDebugUtils.currentLine=50462759;
 //BA.debugLineNum = 50462759;BA.debugLine="Log(\"ABORDO\")";
parent.__c.LogImpl("050462759","ABORDO",0);
 if (true) break;

case 11:
//C
this.state = 12;
RDebugUtils.currentLine=50462761;
 //BA.debugLineNum = 50462761;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD";
__ref._tipo_venta /*String*/  = parent._subs._traetipoventadebd /*String*/ (ba);
RDebugUtils.currentLine=50462763;
 //BA.debugLineNum = 50462763;BA.debugLine="Log(Subs.traeTipoVentaDeBD)";
parent.__c.LogImpl("050462763",parent._subs._traetipoventadebd /*String*/ (ba),0);
 if (true) break;

case 12:
//C
this.state = 13;
;
RDebugUtils.currentLine=50462765;
 //BA.debugLineNum = 50462765;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/  = __ref._tipo_venta /*String*/ ;
RDebugUtils.currentLine=50462766;
 //BA.debugLineNum = 50462766;BA.debugLine="Log($\"TIPO_VENTA: ${tipo_venta}\"$)";
parent.__c.LogImpl("050462766",("TIPO_VENTA: "+parent.__c.SmartStringFormatter("",(Object)(__ref._tipo_venta /*String*/ ))+""),0);
RDebugUtils.currentLine=50462767;
 //BA.debugLineNum = 50462767;BA.debugLine="encuentasmapa.Initialize";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize();
RDebugUtils.currentLine=50462768;
 //BA.debugLineNum = 50462768;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA);
RDebugUtils.currentLine=50462769;
 //BA.debugLineNum = 50462769;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null);
this.state = 554;
return;
case 554:
//C
this.state = 13;
_permission = (String) result[1];
_resultc = (Boolean) result[2];
;
RDebugUtils.currentLine=50462770;
 //BA.debugLineNum = 50462770;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE);
RDebugUtils.currentLine=50462771;
 //BA.debugLineNum = 50462771;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null);
this.state = 555;
return;
case 555:
//C
this.state = 13;
_permission = (String) result[1];
_resultc = (Boolean) result[2];
;
RDebugUtils.currentLine=50462772;
 //BA.debugLineNum = 50462772;BA.debugLine="LA_GPS.TextColor = Colors.Red";
__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red);
RDebugUtils.currentLine=50462773;
 //BA.debugLineNum = 50462773;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\"";
__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SIN UBICACION GPS"));
RDebugUtils.currentLine=50462774;
 //BA.debugLineNum = 50462774;BA.debugLine="cercavalor = 0";
__ref._cercavalor /*String*/  = BA.NumberToString(0);
RDebugUtils.currentLine=50462775;
 //BA.debugLineNum = 50462775;BA.debugLine="l_version.Text = Application.VersionName";
__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Application.getVersionName()));
RDebugUtils.currentLine=50462776;
 //BA.debugLineNum = 50462776;BA.debugLine="b_preventa.left = (Root.Width / 2) - (b_preventa.";
__ref._b_preventa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._b_preventa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2)));
RDebugUtils.currentLine=50462791;
 //BA.debugLineNum = 50462791;BA.debugLine="If Subs.hayPedido Then 'Si hay pedido, deshabilit";
if (true) break;

case 13:
//if
this.state = 18;
if (parent._subs._haypedido /*boolean*/ (ba)) { 
this.state = 15;
}else {
this.state = 17;
}if (true) break;

case 15:
//C
this.state = 18;
RDebugUtils.currentLine=50462792;
 //BA.debugLineNum = 50462792;BA.debugLine="Log(\">>>>>     HAY PEDIDO\")";
parent.__c.LogImpl("050462792",">>>>>     HAY PEDIDO",0);
RDebugUtils.currentLine=50462793;
 //BA.debugLineNum = 50462793;BA.debugLine="Tels.Enabled = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False);
 if (true) break;

case 17:
//C
this.state = 18;
RDebugUtils.currentLine=50462795;
 //BA.debugLineNum = 50462795;BA.debugLine="Tels.Enabled = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.True);
 if (true) break;
;
RDebugUtils.currentLine=50462798;
 //BA.debugLineNum = 50462798;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";

case 18:
//if
this.state = 21;
if (parent.__c.Not(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { 
this.state = 20;
}if (true) break;

case 20:
//C
this.state = 21;
RDebugUtils.currentLine=50462799;
 //BA.debugLineNum = 50462799;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),parent.__c.True);
RDebugUtils.currentLine=50462800;
 //BA.debugLineNum = 50462800;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent";
parent.__c.StartActivity(ba,(Object)(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent()));
 if (true) break;

case 21:
//C
this.state = 22;
;
RDebugUtils.currentLine=50462802;
 //BA.debugLineNum = 50462802;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",parent.__c.True);
RDebugUtils.currentLine=50462803;
 //BA.debugLineNum = 50462803;BA.debugLine="reqManager.Initialize(Me, Starter.server)";
__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._server /*String*/ );
RDebugUtils.currentLine=50462826;
 //BA.debugLineNum = 50462826;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQue";
_fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NOT NULL")));
RDebugUtils.currentLine=50462827;
 //BA.debugLineNum = 50462827;BA.debugLine="If fotomostrar1.RowCount = 0 Then";
if (true) break;

case 22:
//if
this.state = 33;
if (_fotomostrar1.getRowCount()==0) { 
this.state = 24;
}else {
this.state = 32;
}if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=50462829;
 //BA.debugLineNum = 50462829;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQue";
_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=50462830;
 //BA.debugLineNum = 50462830;BA.debugLine="If fotomostrar.RowCount > 0 Then";
if (true) break;

case 25:
//if
this.state = 30;
if (_fotomostrar.getRowCount()>0) { 
this.state = 27;
}else {
this.state = 29;
}if (true) break;

case 27:
//C
this.state = 30;
RDebugUtils.currentLine=50462832;
 //BA.debugLineNum = 50462832;BA.debugLine="fotomostrar.Position = 0";
_fotomostrar.setPosition((int) (0));
RDebugUtils.currentLine=50462833;
 //BA.debugLineNum = 50462833;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostra";
_fotomostrarfinal = _fotomostrar.GetBlob("FOTO");
RDebugUtils.currentLine=50462834;
 //BA.debugLineNum = 50462834;BA.debugLine="Dim InputStream1 As InputStream";
_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
RDebugUtils.currentLine=50462835;
 //BA.debugLineNum = 50462835;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostr";
_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
RDebugUtils.currentLine=50462836;
 //BA.debugLineNum = 50462836;BA.debugLine="Dim Bitmap1 As Bitmap";
_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
RDebugUtils.currentLine=50462837;
 //BA.debugLineNum = 50462837;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
RDebugUtils.currentLine=50462838;
 //BA.debugLineNum = 50462838;BA.debugLine="InputStream1.Close";
_inputstream1.Close();
RDebugUtils.currentLine=50462839;
 //BA.debugLineNum = 50462839;BA.debugLine="ImageView4.Bitmap = Bitmap1";
__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
RDebugUtils.currentLine=50462840;
 //BA.debugLineNum = 50462840;BA.debugLine="Log(\"aqui si hay foto\")";
parent.__c.LogImpl("050462840","aqui si hay foto",0);
 if (true) break;

case 29:
//C
this.state = 30;
RDebugUtils.currentLine=50462842;
 //BA.debugLineNum = 50462842;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"";
__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"images.png").getObject()));
RDebugUtils.currentLine=50462843;
 //BA.debugLineNum = 50462843;BA.debugLine="Log(\"aqui no hay foto\")";
parent.__c.LogImpl("050462843","aqui no hay foto",0);
 if (true) break;

case 30:
//C
this.state = 33;
;
 if (true) break;

case 32:
//C
this.state = 33;
RDebugUtils.currentLine=50462847;
 //BA.debugLineNum = 50462847;BA.debugLine="fotomostrar1.Position = 0";
_fotomostrar1.setPosition((int) (0));
RDebugUtils.currentLine=50462848;
 //BA.debugLineNum = 50462848;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostrar";
_fotomostrarfinal = _fotomostrar1.GetBlob("foto");
RDebugUtils.currentLine=50462849;
 //BA.debugLineNum = 50462849;BA.debugLine="Dim InputStream1 As InputStream";
_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
RDebugUtils.currentLine=50462850;
 //BA.debugLineNum = 50462850;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostra";
_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
RDebugUtils.currentLine=50462851;
 //BA.debugLineNum = 50462851;BA.debugLine="Dim Bitmap1 As Bitmap";
_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
RDebugUtils.currentLine=50462852;
 //BA.debugLineNum = 50462852;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
RDebugUtils.currentLine=50462853;
 //BA.debugLineNum = 50462853;BA.debugLine="InputStream1.Close";
_inputstream1.Close();
RDebugUtils.currentLine=50462854;
 //BA.debugLineNum = 50462854;BA.debugLine="ImageView4.Bitmap = Bitmap1";
__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
RDebugUtils.currentLine=50462855;
 //BA.debugLineNum = 50462855;BA.debugLine="Log(\"aqui si hay foto\")";
parent.__c.LogImpl("050462855","aqui si hay foto",0);
 if (true) break;

case 33:
//C
this.state = 34;
;
RDebugUtils.currentLine=50462863;
 //BA.debugLineNum = 50462863;BA.debugLine="l_tipocliente.Text = Subs.traeTipoCliente";
__ref._l_tipocliente /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent._subs._traetipocliente /*int*/ (ba)));
RDebugUtils.currentLine=50462864;
 //BA.debugLineNum = 50462864;BA.debugLine="p_camara.Width = Root.Width";
__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50462865;
 //BA.debugLineNum = 50462865;BA.debugLine="p_camara.Height = Root.Height";
__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50462866;
 //BA.debugLineNum = 50462866;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count";
__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50462867;
 //BA.debugLineNum = 50462867;BA.debugLine="S2.Position =0";
__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50462868;
 //BA.debugLineNum = 50462868;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")";
__ref._cuantos /*String*/  = __ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");
RDebugUtils.currentLine=50462869;
 //BA.debugLineNum = 50462869;BA.debugLine="S2.Close";
__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50462870;
 //BA.debugLineNum = 50462870;BA.debugLine="If CUANTOS > 0 Then";
if (true) break;

case 34:
//if
this.state = 39;
if ((double)(Double.parseDouble(__ref._cuantos /*String*/ ))>0) { 
this.state = 36;
}else {
this.state = 38;
}if (true) break;

case 36:
//C
this.state = 39;
RDebugUtils.currentLine=50462871;
 //BA.debugLineNum = 50462871;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum(";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50462872;
 //BA.debugLineNum = 50462872;BA.debugLine="c2.Position =0";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50462873;
 //BA.debugLineNum = 50462873;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")";
__ref._monto_compra /*String*/  = __ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL");
RDebugUtils.currentLine=50462874;
 //BA.debugLineNum = 50462874;BA.debugLine="c2.Close";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 if (true) break;

case 38:
//C
this.state = 39;
RDebugUtils.currentLine=50462876;
 //BA.debugLineNum = 50462876;BA.debugLine="MONTO_COMPRA = \"0\"";
__ref._monto_compra /*String*/  = "0";
 if (true) break;

case 39:
//C
this.state = 40;
;
RDebugUtils.currentLine=50462878;
 //BA.debugLineNum = 50462878;BA.debugLine="la_saldotot.Text = MONTO_COMPRA";
__ref._la_saldotot /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._monto_compra /*String*/ ));
RDebugUtils.currentLine=50462879;
 //BA.debugLineNum = 50462879;BA.debugLine="If MONTO_COMPRA <> \"0\" Then";
if (true) break;

case 40:
//if
this.state = 45;
if ((__ref._monto_compra /*String*/ ).equals("0") == false) { 
this.state = 42;
}else {
this.state = 44;
}if (true) break;

case 42:
//C
this.state = 45;
RDebugUtils.currentLine=50462880;
 //BA.debugLineNum = 50462880;BA.debugLine="META2 = 300 -  MONTO_COMPRA";
__ref._meta2 /*String*/  = BA.NumberToString(300-(double)(Double.parseDouble(__ref._monto_compra /*String*/ )));
 if (true) break;

case 44:
//C
this.state = 45;
RDebugUtils.currentLine=50462882;
 //BA.debugLineNum = 50462882;BA.debugLine="META2 = 300";
__ref._meta2 /*String*/  = BA.NumberToString(300);
 if (true) break;
;
RDebugUtils.currentLine=50462884;
 //BA.debugLineNum = 50462884;BA.debugLine="If META2 < 1 Then";

case 45:
//if
this.state = 48;
if ((double)(Double.parseDouble(__ref._meta2 /*String*/ ))<1) { 
this.state = 47;
}if (true) break;

case 47:
//C
this.state = 48;
RDebugUtils.currentLine=50462885;
 //BA.debugLineNum = 50462885;BA.debugLine="META2 = \"CUBIERTO\"";
__ref._meta2 /*String*/  = "CUBIERTO";
 if (true) break;
;
RDebugUtils.currentLine=50462887;
 //BA.debugLineNum = 50462887;BA.debugLine="If IsNumber(META2) Then META2 = NumberFormat2(MET";

case 48:
//if
this.state = 53;
if (parent.__c.IsNumber(__ref._meta2 /*String*/ )) { 
this.state = 50;
;}if (true) break;

case 50:
//C
this.state = 53;
__ref._meta2 /*String*/  = parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._meta2 /*String*/ )),(int) (0),(int) (2),(int) (2),parent.__c.True);
if (true) break;

case 53:
//C
this.state = 54;
;
RDebugUtils.currentLine=50462888;
 //BA.debugLineNum = 50462888;BA.debugLine="la_saldooper.Text = META2";
__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._meta2 /*String*/ ));
RDebugUtils.currentLine=50462889;
 //BA.debugLineNum = 50462889;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=50462890;
 //BA.debugLineNum = 50462890;BA.debugLine="If c.RowCount>0 Then";
if (true) break;

case 54:
//if
this.state = 57;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 56;
}if (true) break;

case 56:
//C
this.state = 57;
RDebugUtils.currentLine=50462891;
 //BA.debugLineNum = 50462891;BA.debugLine="C.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50462892;
 //BA.debugLineNum = 50462892;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
__ref._almacen /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN");
 if (true) break;

case 57:
//C
this.state = 58;
;
RDebugUtils.currentLine=50462894;
 //BA.debugLineNum = 50462894;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50462896;
 //BA.debugLineNum = 50462896;BA.debugLine="If ALMACEN = \"1\" Then";
if (true) break;

case 58:
//if
this.state = 61;
if ((__ref._almacen /*String*/ ).equals("1")) { 
this.state = 60;
}if (true) break;

case 60:
//C
this.state = 61;
RDebugUtils.currentLine=50462897;
 //BA.debugLineNum = 50462897;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462898;
 //BA.debugLineNum = 50462898;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50462899;
 //BA.debugLineNum = 50462899;BA.debugLine="B_GPS.Visible = False";
__ref._b_gps /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;
;
RDebugUtils.currentLine=50462901;
 //BA.debugLineNum = 50462901;BA.debugLine="If ALMACEN = \"4\"  Then";

case 61:
//if
this.state = 78;
if ((__ref._almacen /*String*/ ).equals("4")) { 
this.state = 63;
}else {
this.state = 77;
}if (true) break;

case 63:
//C
this.state = 64;
RDebugUtils.currentLine=50462902;
 //BA.debugLineNum = 50462902;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462903;
 //BA.debugLineNum = 50462903;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"})));
RDebugUtils.currentLine=50462904;
 //BA.debugLineNum = 50462904;BA.debugLine="DD.Position =0";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50462905;
 //BA.debugLineNum = 50462905;BA.debugLine="If DD.GetString(\"CUANTOS\")  = 0 Then";
if (true) break;

case 64:
//if
this.state = 75;
if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { 
this.state = 66;
}else {
this.state = 74;
}if (true) break;

case 66:
//C
this.state = 67;
RDebugUtils.currentLine=50462906;
 //BA.debugLineNum = 50462906;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"})));
RDebugUtils.currentLine=50462907;
 //BA.debugLineNum = 50462907;BA.debugLine="c.Position =0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50462908;
 //BA.debugLineNum = 50462908;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
if (true) break;

case 67:
//if
this.state = 72;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { 
this.state = 69;
}else {
this.state = 71;
}if (true) break;

case 69:
//C
this.state = 72;
RDebugUtils.currentLine=50462909;
 //BA.debugLineNum = 50462909;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 71:
//C
this.state = 72;
RDebugUtils.currentLine=50462911;
 //BA.debugLineNum = 50462911;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 72:
//C
this.state = 75;
;
RDebugUtils.currentLine=50462913;
 //BA.debugLineNum = 50462913;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 if (true) break;

case 74:
//C
this.state = 75;
RDebugUtils.currentLine=50462915;
 //BA.debugLineNum = 50462915;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 75:
//C
this.state = 78;
;
RDebugUtils.currentLine=50462917;
 //BA.debugLineNum = 50462917;BA.debugLine="DD.Close";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 if (true) break;

case 77:
//C
this.state = 78;
RDebugUtils.currentLine=50462919;
 //BA.debugLineNum = 50462919;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;
;
RDebugUtils.currentLine=50462921;
 //BA.debugLineNum = 50462921;BA.debugLine="If ALMACEN = \"16\" Or ALMACEN = \"13\" Then";

case 78:
//if
this.state = 81;
if ((__ref._almacen /*String*/ ).equals("16") || (__ref._almacen /*String*/ ).equals("13")) { 
this.state = 80;
}if (true) break;

case 80:
//C
this.state = 81;
RDebugUtils.currentLine=50462922;
 //BA.debugLineNum = 50462922;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50462923;
 //BA.debugLineNum = 50462923;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 81:
//C
this.state = 82;
;
RDebugUtils.currentLine=50462925;
 //BA.debugLineNum = 50462925;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE  FROM PEDID";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE  FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50462926;
 //BA.debugLineNum = 50462926;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 82:
//if
this.state = 121;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 84;
}else 
{RDebugUtils.currentLine=50462939;
 //BA.debugLineNum = 50462939;BA.debugLine="Else If c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
this.state = 96;
}}
if (true) break;

case 84:
//C
this.state = 85;
RDebugUtils.currentLine=50462927;
 //BA.debugLineNum = 50462927;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50462928;
 //BA.debugLineNum = 50462928;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50462929;
 //BA.debugLineNum = 50462929;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50462930;
 //BA.debugLineNum = 50462930;BA.debugLine="If future.RowCount > 0 Then";
if (true) break;

case 85:
//if
this.state = 94;
if (_future.getRowCount()>0) { 
this.state = 87;
}if (true) break;

case 87:
//C
this.state = 88;
RDebugUtils.currentLine=50462931;
 //BA.debugLineNum = 50462931;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50462932;
 //BA.debugLineNum = 50462932;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (true) break;

case 88:
//if
this.state = 93;
if (_future.GetInt("CAT_VA_VALOR")==1) { 
this.state = 90;
}else 
{RDebugUtils.currentLine=50462934;
 //BA.debugLineNum = 50462934;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
this.state = 92;
}}
if (true) break;

case 90:
//C
this.state = 93;
RDebugUtils.currentLine=50462933;
 //BA.debugLineNum = 50462933;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 92:
//C
this.state = 93;
RDebugUtils.currentLine=50462935;
 //BA.debugLineNum = 50462935;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 93:
//C
this.state = 94;
;
 if (true) break;

case 94:
//C
this.state = 121;
;
 if (true) break;

case 96:
//C
this.state = 97;
RDebugUtils.currentLine=50462940;
 //BA.debugLineNum = 50462940;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462941;
 //BA.debugLineNum = 50462941;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462943;
 //BA.debugLineNum = 50462943;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462945;
 //BA.debugLineNum = 50462945;BA.debugLine="c = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM NOVEN";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50462946;
 //BA.debugLineNum = 50462946;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 97:
//if
this.state = 116;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 99;
}else 
{RDebugUtils.currentLine=50462958;
 //BA.debugLineNum = 50462958;BA.debugLine="Else If c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
this.state = 111;
}}
if (true) break;

case 99:
//C
this.state = 100;
RDebugUtils.currentLine=50462947;
 //BA.debugLineNum = 50462947;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50462948;
 //BA.debugLineNum = 50462948;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50462949;
 //BA.debugLineNum = 50462949;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50462950;
 //BA.debugLineNum = 50462950;BA.debugLine="If future.RowCount > 0 Then";
if (true) break;

case 100:
//if
this.state = 109;
if (_future.getRowCount()>0) { 
this.state = 102;
}if (true) break;

case 102:
//C
this.state = 103;
RDebugUtils.currentLine=50462951;
 //BA.debugLineNum = 50462951;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50462952;
 //BA.debugLineNum = 50462952;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (true) break;

case 103:
//if
this.state = 108;
if (_future.GetInt("CAT_VA_VALOR")==1) { 
this.state = 105;
}else 
{RDebugUtils.currentLine=50462954;
 //BA.debugLineNum = 50462954;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
this.state = 107;
}}
if (true) break;

case 105:
//C
this.state = 108;
RDebugUtils.currentLine=50462953;
 //BA.debugLineNum = 50462953;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 107:
//C
this.state = 108;
RDebugUtils.currentLine=50462955;
 //BA.debugLineNum = 50462955;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 108:
//C
this.state = 109;
;
 if (true) break;

case 109:
//C
this.state = 116;
;
 if (true) break;

case 111:
//C
this.state = 112;
RDebugUtils.currentLine=50462959;
 //BA.debugLineNum = 50462959;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462960;
 //BA.debugLineNum = 50462960;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462961;
 //BA.debugLineNum = 50462961;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462962;
 //BA.debugLineNum = 50462962;BA.debugLine="LA_GEO.TextColor = Colors.Red";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red);
RDebugUtils.currentLine=50462963;
 //BA.debugLineNum = 50462963;BA.debugLine="If ALMACEN = \"1\" Then";
if (true) break;

case 112:
//if
this.state = 115;
if ((__ref._almacen /*String*/ ).equals("1")) { 
this.state = 114;
}if (true) break;

case 114:
//C
this.state = 115;
RDebugUtils.currentLine=50462964;
 //BA.debugLineNum = 50462964;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462965;
 //BA.debugLineNum = 50462965;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 115:
//C
this.state = 116;
;
 if (true) break;

case 116:
//C
this.state = 117;
;
RDebugUtils.currentLine=50462968;
 //BA.debugLineNum = 50462968;BA.debugLine="LA_GEO.TextColor = Colors.Red";
__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red);
RDebugUtils.currentLine=50462969;
 //BA.debugLineNum = 50462969;BA.debugLine="If ALMACEN = \"1\" Then";
if (true) break;

case 117:
//if
this.state = 120;
if ((__ref._almacen /*String*/ ).equals("1")) { 
this.state = 119;
}if (true) break;

case 119:
//C
this.state = 120;
RDebugUtils.currentLine=50462970;
 //BA.debugLineNum = 50462970;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50462971;
 //BA.debugLineNum = 50462971;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 120:
//C
this.state = 121;
;
 if (true) break;

case 121:
//C
this.state = 122;
;
RDebugUtils.currentLine=50462975;
 //BA.debugLineNum = 50462975;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")";
parent.__c.CallSubDelayed(ba,(Object)(parent._tracker.getObject()),"StartFLPSmall");
RDebugUtils.currentLine=50462977;
 //BA.debugLineNum = 50462977;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized";
if (true) break;

case 122:
//if
this.state = 125;
if (parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { 
this.state = 124;
}if (true) break;

case 124:
//C
this.state = 125;
RDebugUtils.currentLine=50462978;
 //BA.debugLineNum = 50462978;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/  = BA.NumberToString(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude());
RDebugUtils.currentLine=50462979;
 //BA.debugLineNum = 50462979;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/  = BA.NumberToString(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude());
RDebugUtils.currentLine=50462980;
 //BA.debugLineNum = 50462980;BA.debugLine="Log($\"Tenemos UUC: ${Tracker.FLP.GetLastKnownLoc";
parent.__c.LogImpl("050462980",("Tenemos UUC: "+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+""),0);
RDebugUtils.currentLine=50462981;
 //BA.debugLineNum = 50462981;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca";
__ref._gps_locationchanged /*String*/ (null,parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation());
 if (true) break;
;
RDebugUtils.currentLine=50462983;
 //BA.debugLineNum = 50462983;BA.debugLine="If ALMACEN = \"1\" Or ALMACEN = \"2\" Or ALMACEN = \"4";

case 125:
//if
this.state = 142;
if ((__ref._almacen /*String*/ ).equals("1") || (__ref._almacen /*String*/ ).equals("2") || (__ref._almacen /*String*/ ).equals("4") || (__ref._almacen /*String*/ ).equals("5") || (__ref._almacen /*String*/ ).equals("25")) { 
this.state = 127;
}else {
this.state = 141;
}if (true) break;

case 127:
//C
this.state = 128;
RDebugUtils.currentLine=50462984;
 //BA.debugLineNum = 50462984;BA.debugLine="DD=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR SUIZA GALLINA"})));
RDebugUtils.currentLine=50462985;
 //BA.debugLineNum = 50462985;BA.debugLine="DD.Position =0";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50462986;
 //BA.debugLineNum = 50462986;BA.debugLine="If DD.GetString(\"CUANTOS\")  = 0 Then";
if (true) break;

case 128:
//if
this.state = 139;
if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { 
this.state = 130;
}else {
this.state = 138;
}if (true) break;

case 130:
//C
this.state = 131;
RDebugUtils.currentLine=50462987;
 //BA.debugLineNum = 50462987;BA.debugLine="c=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO  WHERE PE_CLIENTE  IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR SUIZA GALLINA"})));
RDebugUtils.currentLine=50462988;
 //BA.debugLineNum = 50462988;BA.debugLine="c.Position =0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50462989;
 //BA.debugLineNum = 50462989;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
if (true) break;

case 131:
//if
this.state = 136;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { 
this.state = 133;
}else {
this.state = 135;
}if (true) break;

case 133:
//C
this.state = 136;
RDebugUtils.currentLine=50462990;
 //BA.debugLineNum = 50462990;BA.debugLine="B_GALLINA.Visible = True";
__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 135:
//C
this.state = 136;
RDebugUtils.currentLine=50462992;
 //BA.debugLineNum = 50462992;BA.debugLine="B_GALLINA.Visible = False";
__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 136:
//C
this.state = 139;
;
RDebugUtils.currentLine=50462994;
 //BA.debugLineNum = 50462994;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 if (true) break;

case 138:
//C
this.state = 139;
RDebugUtils.currentLine=50462996;
 //BA.debugLineNum = 50462996;BA.debugLine="B_GALLINA.Visible = False";
__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 139:
//C
this.state = 142;
;
RDebugUtils.currentLine=50462998;
 //BA.debugLineNum = 50462998;BA.debugLine="DD.Close";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 if (true) break;

case 141:
//C
this.state = 142;
RDebugUtils.currentLine=50463000;
 //BA.debugLineNum = 50463000;BA.debugLine="B_GALLINA.Visible = False";
__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 142:
//C
this.state = 143;
;
RDebugUtils.currentLine=50463002;
 //BA.debugLineNum = 50463002;BA.debugLine="P_gallina.Visible = False";
__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463003;
 //BA.debugLineNum = 50463003;BA.debugLine="B_GALLINA.Visible = False";
__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463004;
 //BA.debugLineNum = 50463004;BA.debugLine="que_modulo = 1";
__ref._que_modulo /*String*/  = BA.NumberToString(1);
RDebugUtils.currentLine=50463005;
 //BA.debugLineNum = 50463005;BA.debugLine="If ALMACEN = \"2\" Or ALMACEN = \"4\" Or  ALMACEN = \"";
if (true) break;

case 143:
//if
this.state = 148;
if ((__ref._almacen /*String*/ ).equals("2") || (__ref._almacen /*String*/ ).equals("4") || (__ref._almacen /*String*/ ).equals("5") || (__ref._almacen /*String*/ ).equals("4") || (__ref._almacen /*String*/ ).equals("53") || (__ref._almacen /*String*/ ).equals("64") || (__ref._almacen /*String*/ ).equals("25")) { 
this.state = 145;
}else {
this.state = 147;
}if (true) break;

case 145:
//C
this.state = 148;
RDebugUtils.currentLine=50463006;
 //BA.debugLineNum = 50463006;BA.debugLine="b_like.Visible = True";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 147:
//C
this.state = 148;
RDebugUtils.currentLine=50463008;
 //BA.debugLineNum = 50463008;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 148:
//C
this.state = 149;
;
RDebugUtils.currentLine=50463010;
 //BA.debugLineNum = 50463010;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"})));
RDebugUtils.currentLine=50463011;
 //BA.debugLineNum = 50463011;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 149:
//if
this.state = 152;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 151;
}if (true) break;

case 151:
//C
this.state = 152;
RDebugUtils.currentLine=50463012;
 //BA.debugLineNum = 50463012;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463013;
 //BA.debugLineNum = 50463013;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO";
parent._starter._mac_impresora /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR");
 if (true) break;
;
RDebugUtils.currentLine=50463015;
 //BA.debugLineNum = 50463015;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM";

case 152:
//if
this.state = 157;
if ((parent._starter._mac_impresora /*String*/ ).equals("")) { 
this.state = 154;
;}if (true) break;

case 154:
//C
this.state = 157;
parent._starter._mac_impresora /*String*/  = "0";
if (true) break;

case 157:
//C
this.state = 158;
;
RDebugUtils.currentLine=50463017;
 //BA.debugLineNum = 50463017;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._initialize /*String*/ (null,ba,parent,"Printer1");
RDebugUtils.currentLine=50463019;
 //BA.debugLineNum = 50463019;BA.debugLine="If Printer1.IsConnected = False Then";
if (true) break;

case 158:
//if
this.state = 163;
if (__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null)==parent.__c.False) { 
this.state = 160;
}else {
this.state = 162;
}if (true) break;

case 160:
//C
this.state = 163;
 if (true) break;

case 162:
//C
this.state = 163;
RDebugUtils.currentLine=50463023;
 //BA.debugLineNum = 50463023;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=50463024;
 //BA.debugLineNum = 50463024;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=50463025;
 //BA.debugLineNum = 50463025;BA.debugLine="Log(\"2\")";
parent.__c.LogImpl("050463025","2",0);
 if (true) break;

case 163:
//C
this.state = 164;
;
RDebugUtils.currentLine=50463027;
 //BA.debugLineNum = 50463027;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADA FROM IMPRESORA")));
RDebugUtils.currentLine=50463028;
 //BA.debugLineNum = 50463028;BA.debugLine="If c.RowCount >  0 Then";
if (true) break;

case 164:
//if
this.state = 175;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 166;
}else 
{RDebugUtils.currentLine=50463035;
 //BA.debugLineNum = 50463035;BA.debugLine="Else If c.RowCount =  0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
this.state = 174;
}}
if (true) break;

case 166:
//C
this.state = 167;
RDebugUtils.currentLine=50463029;
 //BA.debugLineNum = 50463029;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463030;
 //BA.debugLineNum = 50463030;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then";
if (true) break;

case 167:
//if
this.state = 172;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADA")).equals(BA.NumberToString(1))) { 
this.state = 169;
}else 
{RDebugUtils.currentLine=50463032;
 //BA.debugLineNum = 50463032;BA.debugLine="Else If c.GetString(\"HABILITADA\") = 0 Then";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADA")).equals(BA.NumberToString(0))) { 
this.state = 171;
}}
if (true) break;

case 169:
//C
this.state = 172;
RDebugUtils.currentLine=50463031;
 //BA.debugLineNum = 50463031;BA.debugLine="B_IMP.Visible = True";
__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 171:
//C
this.state = 172;
RDebugUtils.currentLine=50463033;
 //BA.debugLineNum = 50463033;BA.debugLine="B_IMP.Visible = False";
__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 172:
//C
this.state = 175;
;
 if (true) break;

case 174:
//C
this.state = 175;
RDebugUtils.currentLine=50463036;
 //BA.debugLineNum = 50463036;BA.debugLine="B_IMP.Visible = False";
__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;
;
RDebugUtils.currentLine=50463042;
 //BA.debugLineNum = 50463042;BA.debugLine="If ALMACEN = 32 Then";

case 175:
//if
this.state = 201;
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(32))) { 
this.state = 177;
}if (true) break;

case 177:
//C
this.state = 178;
RDebugUtils.currentLine=50463043;
 //BA.debugLineNum = 50463043;BA.debugLine="If Subs.traemontoprod And Subs.InvSuficienteProm";
if (true) break;

case 178:
//if
this.state = 187;
if (parent._subs._traemontoprod /*boolean*/ (ba) && parent._subs._invsuficientepromoesp /*boolean*/ (ba) && parent.__c.Not(parent._subs._vendidopromoesp /*boolean*/ (ba))) { 
this.state = 180;
}else {
this.state = 186;
}if (true) break;

case 180:
//C
this.state = 181;
RDebugUtils.currentLine=50463044;
 //BA.debugLineNum = 50463044;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a una pr";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a una promo por la compra de mas de $120 en productos Helmanns, Maizena y/o Knorr"),BA.ObjectToCharSequence("Promo disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=50463045;
 //BA.debugLineNum = 50463045;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null);
this.state = 556;
return;
case 556:
//C
this.state = 181;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=50463046;
 //BA.debugLineNum = 50463046;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 181:
//if
this.state = 184;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 183;
}if (true) break;

case 183:
//C
this.state = 184;
RDebugUtils.currentLine=50463047;
 //BA.debugLineNum = 50463047;BA.debugLine="B4XPages.MainPage.productos.terminarpromoesp";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._terminarpromoesp /*String*/ (null);
 if (true) break;

case 184:
//C
this.state = 187;
;
 if (true) break;

case 186:
//C
this.state = 187;
 if (true) break;
;
RDebugUtils.currentLine=50463051;
 //BA.debugLineNum = 50463051;BA.debugLine="If Not(Subs.traemontoprod) And Subs.vendidoPromo";

case 187:
//if
this.state = 200;
if (parent.__c.Not(parent._subs._traemontoprod /*boolean*/ (ba)) && parent._subs._vendidopromoesp /*boolean*/ (ba)) { 
this.state = 189;
}else {
this.state = 199;
}if (true) break;

case 189:
//C
this.state = 190;
RDebugUtils.currentLine=50463052;
 //BA.debugLineNum = 50463052;BA.debugLine="Private j3 As Cursor";
_j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=50463053;
 //BA.debugLineNum = 50463053;BA.debugLine="Log(\"SI PROMO\")";
parent.__c.LogImpl("050463053","SI PROMO",0);
RDebugUtils.currentLine=50463054;
 //BA.debugLineNum = 50463054;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PROID = ?)",new String[]{"PROUNI01"})));
RDebugUtils.currentLine=50463055;
 //BA.debugLineNum = 50463055;BA.debugLine="Log(j3.RowCount)";
parent.__c.LogImpl("050463055",BA.NumberToString(_j3.getRowCount()),0);
RDebugUtils.currentLine=50463056;
 //BA.debugLineNum = 50463056;BA.debugLine="If j3.RowCount = 0 Then";
if (true) break;

case 190:
//if
this.state = 197;
if (_j3.getRowCount()==0) { 
this.state = 192;
}if (true) break;

case 192:
//C
this.state = 193;
RDebugUtils.currentLine=50463057;
 //BA.debugLineNum = 50463057;BA.debugLine="Log(\"estoy aqui\")";
parent.__c.LogImpl("050463057","estoy aqui",0);
RDebugUtils.currentLine=50463058;
 //BA.debugLineNum = 50463058;BA.debugLine="For i = 0 To j3.RowCount -1";
if (true) break;

case 193:
//for
this.state = 196;
step266 = 1;
limit266 = (int) (_j3.getRowCount()-1);
_i = (int) (0) ;
this.state = 557;
if (true) break;

case 557:
//C
this.state = 196;
if ((step266 > 0 && _i <= limit266) || (step266 < 0 && _i >= limit266)) this.state = 195;
if (true) break;

case 558:
//C
this.state = 557;
_i = ((int)(0 + _i + step266)) ;
if (true) break;

case 195:
//C
this.state = 558;
RDebugUtils.currentLine=50463059;
 //BA.debugLineNum = 50463059;BA.debugLine="Log(\"aqui tronare?\")";
parent.__c.LogImpl("050463059","aqui tronare?",0);
RDebugUtils.currentLine=50463060;
 //BA.debugLineNum = 50463060;BA.debugLine="j3.Position = i";
_j3.setPosition(_i);
RDebugUtils.currentLine=50463061;
 //BA.debugLineNum = 50463061;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+parent.__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+parent.__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"));
RDebugUtils.currentLine=50463062;
 //BA.debugLineNum = 50463062;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where  pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_j3.GetString("PE_PRONOMBRE")),(Object)(__ref._tipo_venta /*String*/ )}));
 if (true) break;
if (true) break;

case 196:
//C
this.state = 197;
;
 if (true) break;

case 197:
//C
this.state = 200;
;
RDebugUtils.currentLine=50463065;
 //BA.debugLineNum = 50463065;BA.debugLine="j3.Close";
_j3.Close();
 if (true) break;

case 199:
//C
this.state = 200;
 if (true) break;

case 200:
//C
this.state = 201;
;
 if (true) break;
;
RDebugUtils.currentLine=50463070;
 //BA.debugLineNum = 50463070;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";

case 201:
//if
this.state = 321;
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(87)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(6))) { 
this.state = 203;
}if (true) break;

case 203:
//C
this.state = 204;
RDebugUtils.currentLine=50463071;
 //BA.debugLineNum = 50463071;BA.debugLine="If Subs.traemontoprod And Subs.traeCliente <> \"0";
if (true) break;

case 204:
//if
this.state = 301;
if (parent._subs._traemontoprod /*boolean*/ (ba) && (parent._subs._traecliente /*String*/ (ba)).equals("0") == false) { 
this.state = 206;
}else 
{RDebugUtils.currentLine=50463140;
 //BA.debugLineNum = 50463140;BA.debugLine="Else If Subs.traemontoprod2 And Subs.traeCliente";
if (parent._subs._traemontoprod2 /*boolean*/ (ba) && (parent._subs._traecliente /*String*/ (ba)).equals("0") == false) { 
this.state = 254;
}}
if (true) break;

case 206:
//C
this.state = 207;
RDebugUtils.currentLine=50463072;
 //BA.debugLineNum = 50463072;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a un descuento de 150 pesos por la compra de mas de $500 en productos participantes"),BA.ObjectToCharSequence("Descuento disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=50463073;
 //BA.debugLineNum = 50463073;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null);
this.state = 559;
return;
case 559:
//C
this.state = 207;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=50463074;
 //BA.debugLineNum = 50463074;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 207:
//if
this.state = 252;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 209;
}if (true) break;

case 209:
//C
this.state = 210;
RDebugUtils.currentLine=50463075;
 //BA.debugLineNum = 50463075;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E";
parent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS PIEZAS FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=50463076;
 //BA.debugLineNum = 50463076;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 210:
//if
this.state = 251;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 212;
}if (true) break;

case 212:
//C
this.state = 213;
RDebugUtils.currentLine=50463077;
 //BA.debugLineNum = 50463077;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463078;
 //BA.debugLineNum = 50463078;BA.debugLine="Private des As Float = NumberFormat2(150/c.Ge";
_des = (float)(Double.parseDouble(parent.__c.NumberFormat2(150/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PIEZAS"))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
RDebugUtils.currentLine=50463079;
 //BA.debugLineNum = 50463079;BA.debugLine="Log( NumberFormat2(des,0,2,2,False))";
parent.__c.LogImpl("050463079",parent.__c.NumberFormat2(_des,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463080;
 //BA.debugLineNum = 50463080;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt";
parent._c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU < ?",new String[]{BA.NumberToString(_des)})));
RDebugUtils.currentLine=50463081;
 //BA.debugLineNum = 50463081;BA.debugLine="If c2.RowCount > 0 Then";
if (true) break;

case 213:
//if
this.state = 216;
if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 215;
}if (true) break;

case 215:
//C
this.state = 216;
RDebugUtils.currentLine=50463082;
 //BA.debugLineNum = 50463082;BA.debugLine="c2.Position = 0";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463083;
 //BA.debugLineNum = 50463083;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))";
parent.__c.LogImpl("050463083",__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"),0);
 if (true) break;

case 216:
//C
this.state = 217;
;
RDebugUtils.currentLine=50463085;
 //BA.debugLineNum = 50463085;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_des)})));
RDebugUtils.currentLine=50463086;
 //BA.debugLineNum = 50463086;BA.debugLine="If c3.RowCount > 0 Then";
if (true) break;

case 217:
//if
this.state = 250;
if (_c3.getRowCount()>0) { 
this.state = 219;
}if (true) break;

case 219:
//C
this.state = 220;
RDebugUtils.currentLine=50463087;
 //BA.debugLineNum = 50463087;BA.debugLine="c3.Position = 0";
_c3.setPosition((int) (0));
RDebugUtils.currentLine=50463088;
 //BA.debugLineNum = 50463088;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))";
parent.__c.LogImpl("050463088",_c3.GetString("PE_CANT"),0);
RDebugUtils.currentLine=50463089;
 //BA.debugLineNum = 50463089;BA.debugLine="Private rec As Float = (des * c2.GetString(\"";
_rec = (float) ((_des*(double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c3.GetString("PE_CANT"))));
RDebugUtils.currentLine=50463090;
 //BA.debugLineNum = 50463090;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))";
parent.__c.LogImpl("050463090",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463091;
 //BA.debugLineNum = 50463091;BA.debugLine="Private cantres As Float = des + rec";
_cantres = (float) (_des+_rec);
RDebugUtils.currentLine=50463092;
 //BA.debugLineNum = 50463092;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))";
parent.__c.LogImpl("050463092",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463093;
 //BA.debugLineNum = 50463093;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm";
_c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU > ? and PE_COSTOU < ?",new String[]{BA.NumberToString(_des),BA.NumberToString(_cantres)})));
RDebugUtils.currentLine=50463094;
 //BA.debugLineNum = 50463094;BA.debugLine="If c5.RowCount > 0 Then";
if (true) break;

case 220:
//if
this.state = 249;
if (_c5.getRowCount()>0) { 
this.state = 222;
}if (true) break;

case 222:
//C
this.state = 223;
RDebugUtils.currentLine=50463095;
 //BA.debugLineNum = 50463095;BA.debugLine="c5.Position = 0";
_c5.setPosition((int) (0));
RDebugUtils.currentLine=50463096;
 //BA.debugLineNum = 50463096;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))";
parent.__c.LogImpl("050463096",_c5.GetString("PE_CANT"),0);
RDebugUtils.currentLine=50463097;
 //BA.debugLineNum = 50463097;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then";
if (true) break;

case 223:
//if
this.state = 248;
if ((_c5.GetString("PE_CANT")).equals("0")) { 
this.state = 225;
}else {
this.state = 235;
}if (true) break;

case 225:
//C
this.state = 226;
RDebugUtils.currentLine=50463098;
 //BA.debugLineNum = 50463098;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False)})));
RDebugUtils.currentLine=50463099;
 //BA.debugLineNum = 50463099;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;

case 226:
//if
this.state = 233;
if (_c4.getRowCount()>0) { 
this.state = 228;
}if (true) break;

case 228:
//C
this.state = 229;
RDebugUtils.currentLine=50463100;
 //BA.debugLineNum = 50463100;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;

case 229:
//for
this.state = 232;
step307 = 1;
limit307 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 560;
if (true) break;

case 560:
//C
this.state = 232;
if ((step307 > 0 && _i <= limit307) || (step307 < 0 && _i >= limit307)) this.state = 231;
if (true) break;

case 561:
//C
this.state = 560;
_i = ((int)(0 + _i + step307)) ;
if (true) break;

case 231:
//C
this.state = 561;
RDebugUtils.currentLine=50463101;
 //BA.debugLineNum = 50463101;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
RDebugUtils.currentLine=50463102;
 //BA.debugLineNum = 50463102;BA.debugLine="Private recalculo As Float = c4.GetStrin";
_recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False))));
RDebugUtils.currentLine=50463103;
 //BA.debugLineNum = 50463103;BA.debugLine="LogColor(recalculo,Colors.Blue)";
parent.__c.LogImpl("050463103",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
RDebugUtils.currentLine=50463104;
 //BA.debugLineNum = 50463104;BA.debugLine="Private recalculototal As Float = c4.Get";
_recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False))));
RDebugUtils.currentLine=50463106;
 //BA.debugLineNum = 50463106;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")}));
 if (true) break;
if (true) break;

case 232:
//C
this.state = 233;
;
 if (true) break;

case 233:
//C
this.state = 248;
;
RDebugUtils.currentLine=50463109;
 //BA.debugLineNum = 50463109;BA.debugLine="c4.Close";
_c4.Close();
 if (true) break;

case 235:
//C
this.state = 236;
RDebugUtils.currentLine=50463111;
 //BA.debugLineNum = 50463111;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s";
_c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_cantres)})));
RDebugUtils.currentLine=50463112;
 //BA.debugLineNum = 50463112;BA.debugLine="If c6.RowCount > 0 Then";
if (true) break;

case 236:
//if
this.state = 247;
if (_c6.getRowCount()>0) { 
this.state = 238;
}if (true) break;

case 238:
//C
this.state = 239;
RDebugUtils.currentLine=50463113;
 //BA.debugLineNum = 50463113;BA.debugLine="c6.Position = 0";
_c6.setPosition((int) (0));
RDebugUtils.currentLine=50463114;
 //BA.debugLineNum = 50463114;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))";
parent.__c.LogImpl("050463114",_c6.GetString("PE_CANT"),0);
RDebugUtils.currentLine=50463115;
 //BA.debugLineNum = 50463115;BA.debugLine="Private rec1 As Float = (cantres * c5.Get";
_rec1 = (float) ((_cantres*(double)(Double.parseDouble(_c5.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c6.GetString("PE_CANT"))));
RDebugUtils.currentLine=50463116;
 //BA.debugLineNum = 50463116;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))";
parent.__c.LogImpl("050463116",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463117;
 //BA.debugLineNum = 50463117;BA.debugLine="Private cantres1 As Float = cantres + rec";
_cantres1 = (float) (_cantres+_rec1);
RDebugUtils.currentLine=50463118;
 //BA.debugLineNum = 50463118;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))";
parent.__c.LogImpl("050463118",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463119;
 //BA.debugLineNum = 50463119;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False)})));
RDebugUtils.currentLine=50463120;
 //BA.debugLineNum = 50463120;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;

case 239:
//if
this.state = 246;
if (_c4.getRowCount()>0) { 
this.state = 241;
}if (true) break;

case 241:
//C
this.state = 242;
RDebugUtils.currentLine=50463121;
 //BA.debugLineNum = 50463121;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;

case 242:
//for
this.state = 245;
step327 = 1;
limit327 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 562;
if (true) break;

case 562:
//C
this.state = 245;
if ((step327 > 0 && _i <= limit327) || (step327 < 0 && _i >= limit327)) this.state = 244;
if (true) break;

case 563:
//C
this.state = 562;
_i = ((int)(0 + _i + step327)) ;
if (true) break;

case 244:
//C
this.state = 563;
RDebugUtils.currentLine=50463122;
 //BA.debugLineNum = 50463122;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
RDebugUtils.currentLine=50463123;
 //BA.debugLineNum = 50463123;BA.debugLine="Private recalculo As Float = c4.GetStri";
_recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False))));
RDebugUtils.currentLine=50463124;
 //BA.debugLineNum = 50463124;BA.debugLine="LogColor(recalculo,Colors.Blue)";
parent.__c.LogImpl("050463124",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
RDebugUtils.currentLine=50463125;
 //BA.debugLineNum = 50463125;BA.debugLine="Private recalculototal As Float = c4.Ge";
_recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False))));
RDebugUtils.currentLine=50463127;
 //BA.debugLineNum = 50463127;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")}));
 if (true) break;
if (true) break;

case 245:
//C
this.state = 246;
;
 if (true) break;

case 246:
//C
this.state = 247;
;
RDebugUtils.currentLine=50463130;
 //BA.debugLineNum = 50463130;BA.debugLine="c4.Close";
_c4.Close();
 if (true) break;

case 247:
//C
this.state = 248;
;
 if (true) break;

case 248:
//C
this.state = 249;
;
 if (true) break;

case 249:
//C
this.state = 250;
;
 if (true) break;

case 250:
//C
this.state = 251;
;
 if (true) break;

case 251:
//C
this.state = 252;
;
 if (true) break;

case 252:
//C
this.state = 301;
;
RDebugUtils.currentLine=50463137;
 //BA.debugLineNum = 50463137;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50463138;
 //BA.debugLineNum = 50463138;BA.debugLine="c2.Close";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50463139;
 //BA.debugLineNum = 50463139;BA.debugLine="c3.Close";
_c3.Close();
 if (true) break;

case 254:
//C
this.state = 255;
RDebugUtils.currentLine=50463141;
 //BA.debugLineNum = 50463141;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a un descuento de 70 pesos por la compra de mas de $350 en productos participantes"),BA.ObjectToCharSequence("Descuento disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=50463142;
 //BA.debugLineNum = 50463142;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null);
this.state = 564;
return;
case 564:
//C
this.state = 255;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=50463143;
 //BA.debugLineNum = 50463143;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 255:
//if
this.state = 300;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 257;
}if (true) break;

case 257:
//C
this.state = 258;
RDebugUtils.currentLine=50463144;
 //BA.debugLineNum = 50463144;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E";
parent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS PIEZAS FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=50463145;
 //BA.debugLineNum = 50463145;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 258:
//if
this.state = 299;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 260;
}if (true) break;

case 260:
//C
this.state = 261;
RDebugUtils.currentLine=50463146;
 //BA.debugLineNum = 50463146;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463147;
 //BA.debugLineNum = 50463147;BA.debugLine="Private des As Float = NumberFormat2(70/c.Get";
_des = (float)(Double.parseDouble(parent.__c.NumberFormat2(70/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PIEZAS"))),(int) (0),(int) (5),(int) (5),parent.__c.False)));
RDebugUtils.currentLine=50463148;
 //BA.debugLineNum = 50463148;BA.debugLine="Log(des)";
parent.__c.LogImpl("050463148",BA.NumberToString(_des),0);
RDebugUtils.currentLine=50463149;
 //BA.debugLineNum = 50463149;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt";
parent._c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU < ?",new String[]{BA.NumberToString(_des)})));
RDebugUtils.currentLine=50463150;
 //BA.debugLineNum = 50463150;BA.debugLine="If c2.RowCount > 0 Then";
if (true) break;

case 261:
//if
this.state = 264;
if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 263;
}if (true) break;

case 263:
//C
this.state = 264;
RDebugUtils.currentLine=50463151;
 //BA.debugLineNum = 50463151;BA.debugLine="c2.Position = 0";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463152;
 //BA.debugLineNum = 50463152;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))";
parent.__c.LogImpl("050463152",__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"),0);
 if (true) break;

case 264:
//C
this.state = 265;
;
RDebugUtils.currentLine=50463154;
 //BA.debugLineNum = 50463154;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_des)})));
RDebugUtils.currentLine=50463155;
 //BA.debugLineNum = 50463155;BA.debugLine="If c3.RowCount > 0 Then";
if (true) break;

case 265:
//if
this.state = 298;
if (_c3.getRowCount()>0) { 
this.state = 267;
}if (true) break;

case 267:
//C
this.state = 268;
RDebugUtils.currentLine=50463156;
 //BA.debugLineNum = 50463156;BA.debugLine="c3.Position = 0";
_c3.setPosition((int) (0));
RDebugUtils.currentLine=50463157;
 //BA.debugLineNum = 50463157;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))";
parent.__c.LogImpl("050463157",_c3.GetString("PE_CANT"),0);
RDebugUtils.currentLine=50463158;
 //BA.debugLineNum = 50463158;BA.debugLine="Private rec As Float = (des * c2.GetString(\"";
_rec = (float) ((_des*(double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c3.GetString("PE_CANT"))));
RDebugUtils.currentLine=50463159;
 //BA.debugLineNum = 50463159;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))";
parent.__c.LogImpl("050463159",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463160;
 //BA.debugLineNum = 50463160;BA.debugLine="Private cantres As Float = des + rec";
_cantres = (float) (_des+_rec);
RDebugUtils.currentLine=50463161;
 //BA.debugLineNum = 50463161;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))";
parent.__c.LogImpl("050463161",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463162;
 //BA.debugLineNum = 50463162;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm";
_c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU > ? and PE_COSTOU < ?",new String[]{BA.NumberToString(_des),BA.NumberToString(_cantres)})));
RDebugUtils.currentLine=50463163;
 //BA.debugLineNum = 50463163;BA.debugLine="If c5.RowCount > 0 Then";
if (true) break;

case 268:
//if
this.state = 297;
if (_c5.getRowCount()>0) { 
this.state = 270;
}if (true) break;

case 270:
//C
this.state = 271;
RDebugUtils.currentLine=50463164;
 //BA.debugLineNum = 50463164;BA.debugLine="c5.Position = 0";
_c5.setPosition((int) (0));
RDebugUtils.currentLine=50463165;
 //BA.debugLineNum = 50463165;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))";
parent.__c.LogImpl("050463165",_c5.GetString("PE_CANT"),0);
RDebugUtils.currentLine=50463166;
 //BA.debugLineNum = 50463166;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then";
if (true) break;

case 271:
//if
this.state = 296;
if ((_c5.GetString("PE_CANT")).equals("0")) { 
this.state = 273;
}else {
this.state = 283;
}if (true) break;

case 273:
//C
this.state = 274;
RDebugUtils.currentLine=50463167;
 //BA.debugLineNum = 50463167;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False)})));
RDebugUtils.currentLine=50463168;
 //BA.debugLineNum = 50463168;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;

case 274:
//if
this.state = 281;
if (_c4.getRowCount()>0) { 
this.state = 276;
}if (true) break;

case 276:
//C
this.state = 277;
RDebugUtils.currentLine=50463169;
 //BA.debugLineNum = 50463169;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;

case 277:
//for
this.state = 280;
step374 = 1;
limit374 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 565;
if (true) break;

case 565:
//C
this.state = 280;
if ((step374 > 0 && _i <= limit374) || (step374 < 0 && _i >= limit374)) this.state = 279;
if (true) break;

case 566:
//C
this.state = 565;
_i = ((int)(0 + _i + step374)) ;
if (true) break;

case 279:
//C
this.state = 566;
RDebugUtils.currentLine=50463170;
 //BA.debugLineNum = 50463170;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
RDebugUtils.currentLine=50463171;
 //BA.debugLineNum = 50463171;BA.debugLine="Private recalculo As Float = c4.GetStrin";
_recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False))));
RDebugUtils.currentLine=50463172;
 //BA.debugLineNum = 50463172;BA.debugLine="LogColor(recalculo,Colors.Blue)";
parent.__c.LogImpl("050463172",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
RDebugUtils.currentLine=50463173;
 //BA.debugLineNum = 50463173;BA.debugLine="Private recalculototal As Float = c4.Get";
_recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False))));
RDebugUtils.currentLine=50463174;
 //BA.debugLineNum = 50463174;BA.debugLine="Log(recalculo&\"|||||\"&recalculototal&\"||";
parent.__c.LogImpl("050463174",BA.NumberToString(_recalculo)+"|||||"+BA.NumberToString(_recalculototal)+"|||||||||||||||||||"+_c4.GetString("PE_PROID"),0);
RDebugUtils.currentLine=50463175;
 //BA.debugLineNum = 50463175;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")}));
 if (true) break;
if (true) break;

case 280:
//C
this.state = 281;
;
 if (true) break;

case 281:
//C
this.state = 296;
;
RDebugUtils.currentLine=50463178;
 //BA.debugLineNum = 50463178;BA.debugLine="c4.Close";
_c4.Close();
 if (true) break;

case 283:
//C
this.state = 284;
RDebugUtils.currentLine=50463180;
 //BA.debugLineNum = 50463180;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s";
_c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_cantres)})));
RDebugUtils.currentLine=50463181;
 //BA.debugLineNum = 50463181;BA.debugLine="If c6.RowCount > 0 Then";
if (true) break;

case 284:
//if
this.state = 295;
if (_c6.getRowCount()>0) { 
this.state = 286;
}if (true) break;

case 286:
//C
this.state = 287;
RDebugUtils.currentLine=50463182;
 //BA.debugLineNum = 50463182;BA.debugLine="c6.Position = 0";
_c6.setPosition((int) (0));
RDebugUtils.currentLine=50463183;
 //BA.debugLineNum = 50463183;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))";
parent.__c.LogImpl("050463183",_c6.GetString("PE_CANT"),0);
RDebugUtils.currentLine=50463184;
 //BA.debugLineNum = 50463184;BA.debugLine="Private rec1 As Float = (cantres * c5.Get";
_rec1 = (float) ((_cantres*(double)(Double.parseDouble(_c5.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c6.GetString("PE_CANT"))));
RDebugUtils.currentLine=50463185;
 //BA.debugLineNum = 50463185;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))";
parent.__c.LogImpl("050463185",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463186;
 //BA.debugLineNum = 50463186;BA.debugLine="Private cantres1 As Float = cantres + rec";
_cantres1 = (float) (_cantres+_rec1);
RDebugUtils.currentLine=50463187;
 //BA.debugLineNum = 50463187;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))";
parent.__c.LogImpl("050463187",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
RDebugUtils.currentLine=50463188;
 //BA.debugLineNum = 50463188;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False)})));
RDebugUtils.currentLine=50463189;
 //BA.debugLineNum = 50463189;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;

case 287:
//if
this.state = 294;
if (_c4.getRowCount()>0) { 
this.state = 289;
}if (true) break;

case 289:
//C
this.state = 290;
RDebugUtils.currentLine=50463190;
 //BA.debugLineNum = 50463190;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;

case 290:
//for
this.state = 293;
step395 = 1;
limit395 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 567;
if (true) break;

case 567:
//C
this.state = 293;
if ((step395 > 0 && _i <= limit395) || (step395 < 0 && _i >= limit395)) this.state = 292;
if (true) break;

case 568:
//C
this.state = 567;
_i = ((int)(0 + _i + step395)) ;
if (true) break;

case 292:
//C
this.state = 568;
RDebugUtils.currentLine=50463191;
 //BA.debugLineNum = 50463191;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
RDebugUtils.currentLine=50463192;
 //BA.debugLineNum = 50463192;BA.debugLine="Private recalculo As Float = c4.GetStri";
_recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False))));
RDebugUtils.currentLine=50463193;
 //BA.debugLineNum = 50463193;BA.debugLine="LogColor(recalculo,Colors.Blue)";
parent.__c.LogImpl("050463193",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
RDebugUtils.currentLine=50463194;
 //BA.debugLineNum = 50463194;BA.debugLine="Private recalculototal As Float = c4.Ge";
_recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False))));
RDebugUtils.currentLine=50463196;
 //BA.debugLineNum = 50463196;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")}));
 if (true) break;
if (true) break;

case 293:
//C
this.state = 294;
;
 if (true) break;

case 294:
//C
this.state = 295;
;
RDebugUtils.currentLine=50463199;
 //BA.debugLineNum = 50463199;BA.debugLine="c4.Close";
_c4.Close();
 if (true) break;

case 295:
//C
this.state = 296;
;
 if (true) break;

case 296:
//C
this.state = 297;
;
 if (true) break;

case 297:
//C
this.state = 298;
;
 if (true) break;

case 298:
//C
this.state = 299;
;
 if (true) break;

case 299:
//C
this.state = 300;
;
 if (true) break;

case 300:
//C
this.state = 301;
;
RDebugUtils.currentLine=50463206;
 //BA.debugLineNum = 50463206;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50463207;
 //BA.debugLineNum = 50463207;BA.debugLine="c2.Close";
__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50463208;
 //BA.debugLineNum = 50463208;BA.debugLine="c3.Close";
_c3.Close();
 if (true) break;
;
RDebugUtils.currentLine=50463210;
 //BA.debugLineNum = 50463210;BA.debugLine="If Not(Subs.traemontoprod)  Then";

case 301:
//if
this.state = 320;
if (parent.__c.Not(parent._subs._traemontoprod /*boolean*/ (ba))) { 
this.state = 303;
}else {
this.state = 319;
}if (true) break;

case 303:
//C
this.state = 304;
RDebugUtils.currentLine=50463211;
 //BA.debugLineNum = 50463211;BA.debugLine="If Not(Subs.traemontoprod2) Then";
if (true) break;

case 304:
//if
this.state = 317;
if (parent.__c.Not(parent._subs._traemontoprod2 /*boolean*/ (ba))) { 
this.state = 306;
}else {
this.state = 316;
}if (true) break;

case 306:
//C
this.state = 307;
RDebugUtils.currentLine=50463212;
 //BA.debugLineNum = 50463212;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.skmt.";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND (PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"null"})));
RDebugUtils.currentLine=50463213;
 //BA.debugLineNum = 50463213;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;

case 307:
//if
this.state = 314;
if (_c4.getRowCount()>0) { 
this.state = 309;
}if (true) break;

case 309:
//C
this.state = 310;
RDebugUtils.currentLine=50463214;
 //BA.debugLineNum = 50463214;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;

case 310:
//for
this.state = 313;
step418 = 1;
limit418 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 569;
if (true) break;

case 569:
//C
this.state = 313;
if ((step418 > 0 && _i <= limit418) || (step418 < 0 && _i >= limit418)) this.state = 312;
if (true) break;

case 570:
//C
this.state = 569;
_i = ((int)(0 + _i + step418)) ;
if (true) break;

case 312:
//C
this.state = 570;
RDebugUtils.currentLine=50463215;
 //BA.debugLineNum = 50463215;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
RDebugUtils.currentLine=50463219;
 //BA.debugLineNum = 50463219;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"","",_c4.GetString("PE_PROID")}));
 if (true) break;
if (true) break;

case 313:
//C
this.state = 314;
;
 if (true) break;

case 314:
//C
this.state = 317;
;
 if (true) break;

case 316:
//C
this.state = 317;
 if (true) break;

case 317:
//C
this.state = 320;
;
 if (true) break;

case 319:
//C
this.state = 320;
 if (true) break;

case 320:
//C
this.state = 321;
;
 if (true) break;

case 321:
//C
this.state = 322;
;
RDebugUtils.currentLine=50463230;
 //BA.debugLineNum = 50463230;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{"","null"})));
RDebugUtils.currentLine=50463232;
 //BA.debugLineNum = 50463232;BA.debugLine="If s3.RowCount > 0 Then";
if (true) break;

case 322:
//if
this.state = 419;
if (_s3.getRowCount()>0) { 
this.state = 324;
}else 
{RDebugUtils.currentLine=50463283;
 //BA.debugLineNum = 50463283;BA.debugLine="Else If s3.RowCount = 0 Then";
if (_s3.getRowCount()==0) { 
this.state = 372;
}}
if (true) break;

case 324:
//C
this.state = 325;
RDebugUtils.currentLine=50463234;
 //BA.debugLineNum = 50463234;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=50463235;
 //BA.debugLineNum = 50463235;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iFNU";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"})));
RDebugUtils.currentLine=50463236;
 //BA.debugLineNum = 50463236;BA.debugLine="s.Position=0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463237;
 //BA.debugLineNum = 50463237;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"","null"})));
RDebugUtils.currentLine=50463238;
 //BA.debugLineNum = 50463238;BA.debugLine="s5.Position = 0";
_s5.setPosition((int) (0));
RDebugUtils.currentLine=50463239;
 //BA.debugLineNum = 50463239;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 325:
//if
this.state = 370;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 327;
}if (true) break;

case 327:
//C
this.state = 328;
RDebugUtils.currentLine=50463240;
 //BA.debugLineNum = 50463240;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463241;
 //BA.debugLineNum = 50463241;BA.debugLine="Log(\">>>>>>  \" & c.GetString(\"CAT_CL_CODIGO\"))";
parent.__c.LogImpl("050463241",">>>>>>  "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"),0);
RDebugUtils.currentLine=50463242;
 //BA.debugLineNum = 50463242;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")));
RDebugUtils.currentLine=50463243;
 //BA.debugLineNum = 50463243;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO";
__ref._la_cuenta_gallina /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")));
RDebugUtils.currentLine=50463244;
 //BA.debugLineNum = 50463244;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")));
RDebugUtils.currentLine=50463245;
 //BA.debugLineNum = 50463245;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \"";
__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT")));
RDebugUtils.currentLine=50463246;
 //BA.debugLineNum = 50463246;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_COLONIA")));
RDebugUtils.currentLine=50463247;
 //BA.debugLineNum = 50463247;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
__ref._la_edo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EDO")));
RDebugUtils.currentLine=50463248;
 //BA.debugLineNum = 50463248;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE1")));
RDebugUtils.currentLine=50463249;
 //BA.debugLineNum = 50463249;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE2")));
RDebugUtils.currentLine=50463250;
 //BA.debugLineNum = 50463250;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")));
RDebugUtils.currentLine=50463251;
 //BA.debugLineNum = 50463251;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\"";
__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")));
RDebugUtils.currentLine=50463252;
 //BA.debugLineNum = 50463252;BA.debugLine="telefono  = c.GetString(\"CAT_CL_TELEFONO\")";
__ref._telefono /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO");
RDebugUtils.currentLine=50463253;
 //BA.debugLineNum = 50463253;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")";
__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO")));
RDebugUtils.currentLine=50463254;
 //BA.debugLineNum = 50463254;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '####";
__ref._bcredito /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO");
RDebugUtils.currentLine=50463256;
 //BA.debugLineNum = 50463256;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
if (true) break;

case 328:
//if
this.state = 333;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")== null) { 
this.state = 330;
}else {
this.state = 332;
}if (true) break;

case 330:
//C
this.state = 333;
RDebugUtils.currentLine=50463257;
 //BA.debugLineNum = 50463257;BA.debugLine="l_total.Text = 0";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0));
 if (true) break;

case 332:
//C
this.state = 333;
RDebugUtils.currentLine=50463259;
 //BA.debugLineNum = 50463259;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TOTA";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
 if (true) break;

case 333:
//C
this.state = 334;
;
RDebugUtils.currentLine=50463261;
 //BA.debugLineNum = 50463261;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s5.";
__ref._total_cliente /*String*/  = BA.NumberToString((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE"))));
RDebugUtils.currentLine=50463262;
 //BA.debugLineNum = 50463262;BA.debugLine="m_lat = \"0\"";
__ref._m_lat /*String*/  = "0";
RDebugUtils.currentLine=50463263;
 //BA.debugLineNum = 50463263;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =";
if (true) break;

case 334:
//if
this.state = 339;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")).equals("") == false) { 
this.state = 336;
;}if (true) break;

case 336:
//C
this.state = 339;
__ref._m_lat /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT");
if (true) break;

case 339:
//C
this.state = 340;
;
RDebugUtils.currentLine=50463264;
 //BA.debugLineNum = 50463264;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\"";
if (true) break;

case 340:
//if
this.state = 345;
if (__ref._m_lat /*String*/ .length()<5) { 
this.state = 342;
;}if (true) break;

case 342:
//C
this.state = 345;
__ref._m_lat /*String*/  = "0";
if (true) break;

case 345:
//C
this.state = 346;
;
RDebugUtils.currentLine=50463265;
 //BA.debugLineNum = 50463265;BA.debugLine="m_lon = \"0\"";
__ref._m_lon /*String*/  = "0";
RDebugUtils.currentLine=50463266;
 //BA.debugLineNum = 50463266;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon";
if (true) break;

case 346:
//if
this.state = 351;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")).equals("") == false) { 
this.state = 348;
;}if (true) break;

case 348:
//C
this.state = 351;
__ref._m_lon /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG");
if (true) break;

case 351:
//C
this.state = 352;
;
RDebugUtils.currentLine=50463267;
 //BA.debugLineNum = 50463267;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\"";
if (true) break;

case 352:
//if
this.state = 357;
if (__ref._m_lon /*String*/ .length()<5) { 
this.state = 354;
;}if (true) break;

case 354:
//C
this.state = 357;
__ref._m_lon /*String*/  = "0";
if (true) break;

case 357:
//C
this.state = 358;
;
RDebugUtils.currentLine=50463268;
 //BA.debugLineNum = 50463268;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")";
__ref._la_ruta /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA");
RDebugUtils.currentLine=50463270;
 //BA.debugLineNum = 50463270;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\"";
if (true) break;

case 358:
//if
this.state = 369;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO")).equals("0")) { 
this.state = 360;
}else {
this.state = 368;
}if (true) break;

case 360:
//C
this.state = 361;
RDebugUtils.currentLine=50463271;
 //BA.debugLineNum = 50463271;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\"";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SIN CODIGO"));
RDebugUtils.currentLine=50463272;
 //BA.debugLineNum = 50463272;BA.debugLine="L_QR.TextColor = Colors.Red";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red);
RDebugUtils.currentLine=50463273;
 //BA.debugLineNum = 50463273;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM";
if (true) break;

case 361:
//if
this.state = 366;
if ((__ref._almacen /*String*/ ).equals("32") == false && (__ref._almacen /*String*/ ).equals("33") == false && (__ref._almacen /*String*/ ).equals(BA.NumberToString(6)) == false) { 
this.state = 363;
;}if (true) break;

case 363:
//C
this.state = 366;
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True && __ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==parent.__c.True);
if (true) break;

case 366:
//C
this.state = 369;
;
RDebugUtils.currentLine=50463274;
 //BA.debugLineNum = 50463274;BA.debugLine="BT_QR.Visible = True";
__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 368:
//C
this.state = 369;
RDebugUtils.currentLine=50463276;
 //BA.debugLineNum = 50463276;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO")));
RDebugUtils.currentLine=50463277;
 //BA.debugLineNum = 50463277;BA.debugLine="L_QR.TextColor = Colors.Blue";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Blue);
RDebugUtils.currentLine=50463278;
 //BA.debugLineNum = 50463278;BA.debugLine="BT_QR.Visible = False";
__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 369:
//C
this.state = 370;
;
 if (true) break;

case 370:
//C
this.state = 419;
;
RDebugUtils.currentLine=50463281;
 //BA.debugLineNum = 50463281;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50463282;
 //BA.debugLineNum = 50463282;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 if (true) break;

case 372:
//C
this.state = 373;
RDebugUtils.currentLine=50463285;
 //BA.debugLineNum = 50463285;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=50463286;
 //BA.debugLineNum = 50463286;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50463287;
 //BA.debugLineNum = 50463287;BA.debugLine="s.Position=0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463288;
 //BA.debugLineNum = 50463288;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 373:
//if
this.state = 418;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 375;
}if (true) break;

case 375:
//C
this.state = 376;
RDebugUtils.currentLine=50463289;
 //BA.debugLineNum = 50463289;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463290;
 //BA.debugLineNum = 50463290;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")));
RDebugUtils.currentLine=50463291;
 //BA.debugLineNum = 50463291;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO";
__ref._la_cuenta_gallina /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")));
RDebugUtils.currentLine=50463292;
 //BA.debugLineNum = 50463292;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")));
RDebugUtils.currentLine=50463293;
 //BA.debugLineNum = 50463293;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \"";
__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT")));
RDebugUtils.currentLine=50463294;
 //BA.debugLineNum = 50463294;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_COLONIA")));
RDebugUtils.currentLine=50463295;
 //BA.debugLineNum = 50463295;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
__ref._la_edo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EDO")));
RDebugUtils.currentLine=50463296;
 //BA.debugLineNum = 50463296;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE1")));
RDebugUtils.currentLine=50463297;
 //BA.debugLineNum = 50463297;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE2")));
RDebugUtils.currentLine=50463298;
 //BA.debugLineNum = 50463298;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")));
RDebugUtils.currentLine=50463299;
 //BA.debugLineNum = 50463299;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\"";
__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")));
RDebugUtils.currentLine=50463300;
 //BA.debugLineNum = 50463300;BA.debugLine="telefono  = c.GetString(\"CAT_CL_TELEFONO\")";
__ref._telefono /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO");
RDebugUtils.currentLine=50463301;
 //BA.debugLineNum = 50463301;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")";
__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO")));
RDebugUtils.currentLine=50463302;
 //BA.debugLineNum = 50463302;BA.debugLine="BCREDITO  = c.GetString(\"CAT_CL_BCREDITO\") '###";
__ref._bcredito /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO");
RDebugUtils.currentLine=50463305;
 //BA.debugLineNum = 50463305;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
if (true) break;

case 376:
//if
this.state = 381;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")== null) { 
this.state = 378;
}else {
this.state = 380;
}if (true) break;

case 378:
//C
this.state = 381;
RDebugUtils.currentLine=50463306;
 //BA.debugLineNum = 50463306;BA.debugLine="l_total.Text = 0";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0));
 if (true) break;

case 380:
//C
this.state = 381;
RDebugUtils.currentLine=50463308;
 //BA.debugLineNum = 50463308;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOTAL";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
 if (true) break;

case 381:
//C
this.state = 382;
;
RDebugUtils.currentLine=50463310;
 //BA.debugLineNum = 50463310;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
__ref._total_cliente /*String*/  = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE");
RDebugUtils.currentLine=50463311;
 //BA.debugLineNum = 50463311;BA.debugLine="m_lat = \"0\"";
__ref._m_lat /*String*/  = "0";
RDebugUtils.currentLine=50463312;
 //BA.debugLineNum = 50463312;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =";
if (true) break;

case 382:
//if
this.state = 387;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")).equals("") == false) { 
this.state = 384;
;}if (true) break;

case 384:
//C
this.state = 387;
__ref._m_lat /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT");
if (true) break;

case 387:
//C
this.state = 388;
;
RDebugUtils.currentLine=50463313;
 //BA.debugLineNum = 50463313;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\"";
if (true) break;

case 388:
//if
this.state = 393;
if (__ref._m_lat /*String*/ .length()<5) { 
this.state = 390;
;}if (true) break;

case 390:
//C
this.state = 393;
__ref._m_lat /*String*/  = "0";
if (true) break;

case 393:
//C
this.state = 394;
;
RDebugUtils.currentLine=50463314;
 //BA.debugLineNum = 50463314;BA.debugLine="m_lon = \"0\"";
__ref._m_lon /*String*/  = "0";
RDebugUtils.currentLine=50463315;
 //BA.debugLineNum = 50463315;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon";
if (true) break;

case 394:
//if
this.state = 399;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")).equals("") == false) { 
this.state = 396;
;}if (true) break;

case 396:
//C
this.state = 399;
__ref._m_lon /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG");
if (true) break;

case 399:
//C
this.state = 400;
;
RDebugUtils.currentLine=50463316;
 //BA.debugLineNum = 50463316;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\"";
if (true) break;

case 400:
//if
this.state = 405;
if (__ref._m_lon /*String*/ .length()<5) { 
this.state = 402;
;}if (true) break;

case 402:
//C
this.state = 405;
__ref._m_lon /*String*/  = "0";
if (true) break;

case 405:
//C
this.state = 406;
;
RDebugUtils.currentLine=50463317;
 //BA.debugLineNum = 50463317;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")";
__ref._la_ruta /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA");
RDebugUtils.currentLine=50463319;
 //BA.debugLineNum = 50463319;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\"";
if (true) break;

case 406:
//if
this.state = 417;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO")).equals("0")) { 
this.state = 408;
}else {
this.state = 416;
}if (true) break;

case 408:
//C
this.state = 409;
RDebugUtils.currentLine=50463320;
 //BA.debugLineNum = 50463320;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\"";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SIN CODIGO"));
RDebugUtils.currentLine=50463321;
 //BA.debugLineNum = 50463321;BA.debugLine="L_QR.TextColor = Colors.Red";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red);
RDebugUtils.currentLine=50463322;
 //BA.debugLineNum = 50463322;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM";
if (true) break;

case 409:
//if
this.state = 414;
if ((__ref._almacen /*String*/ ).equals("32") == false && (__ref._almacen /*String*/ ).equals("33") == false && (__ref._almacen /*String*/ ).equals(BA.NumberToString(6)) == false) { 
this.state = 411;
;}if (true) break;

case 411:
//C
this.state = 414;
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True && __ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==parent.__c.True);
if (true) break;

case 414:
//C
this.state = 417;
;
RDebugUtils.currentLine=50463323;
 //BA.debugLineNum = 50463323;BA.debugLine="BT_QR.Visible = True";
__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 416:
//C
this.state = 417;
RDebugUtils.currentLine=50463325;
 //BA.debugLineNum = 50463325;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO")));
RDebugUtils.currentLine=50463326;
 //BA.debugLineNum = 50463326;BA.debugLine="L_QR.TextColor = Colors.Blue";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Blue);
RDebugUtils.currentLine=50463327;
 //BA.debugLineNum = 50463327;BA.debugLine="BT_QR.Visible = False";
__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 417:
//C
this.state = 418;
;
 if (true) break;

case 418:
//C
this.state = 419;
;
RDebugUtils.currentLine=50463330;
 //BA.debugLineNum = 50463330;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50463331;
 //BA.debugLineNum = 50463331;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 if (true) break;

case 419:
//C
this.state = 420;
;
RDebugUtils.currentLine=50463335;
 //BA.debugLineNum = 50463335;BA.debugLine="Starter.idCliente = la_cuenta.text";
parent._starter._idcliente /*String*/  = __ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText();
RDebugUtils.currentLine=50463336;
 //BA.debugLineNum = 50463336;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CAT_";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'")));
RDebugUtils.currentLine=50463337;
 //BA.debugLineNum = 50463337;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 420:
//if
this.state = 423;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 422;
}if (true) break;

case 422:
//C
this.state = 423;
RDebugUtils.currentLine=50463338;
 //BA.debugLineNum = 50463338;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463339;
 //BA.debugLineNum = 50463339;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\")";
_geo = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR");
 if (true) break;

case 423:
//C
this.state = 424;
;
RDebugUtils.currentLine=50463341;
 //BA.debugLineNum = 50463341;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50463343;
 //BA.debugLineNum = 50463343;BA.debugLine="If geo = \"0\" Then";
if (true) break;

case 424:
//if
this.state = 443;
if ((_geo).equals("0")) { 
this.state = 426;
}else 
{RDebugUtils.currentLine=50463358;
 //BA.debugLineNum = 50463358;BA.debugLine="Else If geo = \"1\" And distance > 100 Then";
if ((_geo).equals("1") && __ref._distance /*long*/ >100) { 
this.state = 438;
}}
if (true) break;

case 426:
//C
this.state = 427;
RDebugUtils.currentLine=50463344;
 //BA.debugLineNum = 50463344;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50463345;
 //BA.debugLineNum = 50463345;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50463346;
 //BA.debugLineNum = 50463346;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50463347;
 //BA.debugLineNum = 50463347;BA.debugLine="If future.RowCount > 0 Then";
if (true) break;

case 427:
//if
this.state = 436;
if (_future.getRowCount()>0) { 
this.state = 429;
}if (true) break;

case 429:
//C
this.state = 430;
RDebugUtils.currentLine=50463348;
 //BA.debugLineNum = 50463348;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50463349;
 //BA.debugLineNum = 50463349;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (true) break;

case 430:
//if
this.state = 435;
if (_future.GetInt("CAT_VA_VALOR")==1) { 
this.state = 432;
}else 
{RDebugUtils.currentLine=50463351;
 //BA.debugLineNum = 50463351;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
this.state = 434;
}}
if (true) break;

case 432:
//C
this.state = 435;
RDebugUtils.currentLine=50463350;
 //BA.debugLineNum = 50463350;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 434:
//C
this.state = 435;
RDebugUtils.currentLine=50463352;
 //BA.debugLineNum = 50463352;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 435:
//C
this.state = 436;
;
 if (true) break;

case 436:
//C
this.state = 443;
;
RDebugUtils.currentLine=50463356;
 //BA.debugLineNum = 50463356;BA.debugLine="precision = \"1\"";
__ref._precision /*String*/  = "1";
 if (true) break;

case 438:
//C
this.state = 439;
RDebugUtils.currentLine=50463359;
 //BA.debugLineNum = 50463359;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463360;
 //BA.debugLineNum = 50463360;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463361;
 //BA.debugLineNum = 50463361;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463362;
 //BA.debugLineNum = 50463362;BA.debugLine="If b_Inicio_Fin_venta.IsInitialized Then";
if (true) break;

case 439:
//if
this.state = 442;
if (__ref._b_inicio_fin_venta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { 
this.state = 441;
}if (true) break;

case 441:
//C
this.state = 442;
RDebugUtils.currentLine=50463364;
 //BA.debugLineNum = 50463364;BA.debugLine="b_Inicio_Fin_venta.Visible = False";
__ref._b_inicio_fin_venta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 442:
//C
this.state = 443;
;
 if (true) break;

case 443:
//C
this.state = 444;
;
RDebugUtils.currentLine=50463368;
 //BA.debugLineNum = 50463368;BA.debugLine="gest.Typeface =Typeface.CreateNew(Typeface.FONTAW";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTypeface(parent.__c.Typeface.CreateNew(parent.__c.Typeface.getFONTAWESOME(),parent.__c.Typeface.STYLE_BOLD));
RDebugUtils.currentLine=50463369;
 //BA.debugLineNum = 50463369;BA.debugLine="gest.Text = \"  Preventa\"";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("  Preventa"));
RDebugUtils.currentLine=50463370;
 //BA.debugLineNum = 50463370;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Then gest.Tex";
if (true) break;

case 444:
//if
this.state = 449;
if ((parent._subs._traetipoventadebd /*String*/ (ba)).equals("VENTA")) { 
this.state = 446;
;}if (true) break;

case 446:
//C
this.state = 449;
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("  Venta"));
if (true) break;

case 449:
//C
this.state = 450;
;
RDebugUtils.currentLine=50463372;
 //BA.debugLineNum = 50463372;BA.debugLine="If la_cuenta.Text.trim = \"0\" Then gest.Text = \"Ca";
if (true) break;

case 450:
//if
this.state = 455;
if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText().trim()).equals("0")) { 
this.state = 452;
;}if (true) break;

case 452:
//C
this.state = 455;
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Carga Abordo"));
if (true) break;

case 455:
//C
this.state = 456;
;
RDebugUtils.currentLine=50463374;
 //BA.debugLineNum = 50463374;BA.debugLine="Log(Subs.traeRuta)";
parent.__c.LogImpl("050463374",parent._subs._traeruta /*String*/ (ba),0);
RDebugUtils.currentLine=50463375;
 //BA.debugLineNum = 50463375;BA.debugLine="If Subs.hayPedido Then";
if (true) break;

case 456:
//if
this.state = 461;
if (parent._subs._haypedido /*boolean*/ (ba)) { 
this.state = 458;
}else {
this.state = 460;
}if (true) break;

case 458:
//C
this.state = 461;
RDebugUtils.currentLine=50463376;
 //BA.debugLineNum = 50463376;BA.debugLine="B_IMP.Enabled = True";
__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.True);
RDebugUtils.currentLine=50463377;
 //BA.debugLineNum = 50463377;BA.debugLine="b_enviarTicket.Enabled = False";
__ref._b_enviarticket /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False);
 if (true) break;

case 460:
//C
this.state = 461;
RDebugUtils.currentLine=50463379;
 //BA.debugLineNum = 50463379;BA.debugLine="B_IMP.Enabled = False";
__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False);
RDebugUtils.currentLine=50463380;
 //BA.debugLineNum = 50463380;BA.debugLine="b_enviarTicket.Enabled = False";
__ref._b_enviarticket /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False);
 if (true) break;
;
RDebugUtils.currentLine=50463383;
 //BA.debugLineNum = 50463383;BA.debugLine="If ALMACEN = 46 Or ALMACEN = 6 Then";

case 461:
//if
this.state = 478;
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(46)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(6))) { 
this.state = 463;
}else {
this.state = 477;
}if (true) break;

case 463:
//C
this.state = 464;
RDebugUtils.currentLine=50463384;
 //BA.debugLineNum = 50463384;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IfNull(PL_BAN";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IfNull(PL_BANDERA, 0) AS PL_BANDERA FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=50463385;
 //BA.debugLineNum = 50463385;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 464:
//if
this.state = 475;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 466;
}else {
this.state = 474;
}if (true) break;

case 466:
//C
this.state = 467;
RDebugUtils.currentLine=50463386;
 //BA.debugLineNum = 50463386;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463387;
 //BA.debugLineNum = 50463387;BA.debugLine="If c.GetString(\"PL_BANDERA\") = 0 Then";
if (true) break;

case 467:
//if
this.state = 472;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PL_BANDERA")).equals(BA.NumberToString(0))) { 
this.state = 469;
}else {
this.state = 471;
}if (true) break;

case 469:
//C
this.state = 472;
RDebugUtils.currentLine=50463388;
 //BA.debugLineNum = 50463388;BA.debugLine="btnPlanLealtad.Visible = True";
__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 471:
//C
this.state = 472;
RDebugUtils.currentLine=50463390;
 //BA.debugLineNum = 50463390;BA.debugLine="btnPlanLealtad.Visible = False";
__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 472:
//C
this.state = 475;
;
 if (true) break;

case 474:
//C
this.state = 475;
RDebugUtils.currentLine=50463393;
 //BA.debugLineNum = 50463393;BA.debugLine="btnPlanLealtad.Visible = True";
__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 475:
//C
this.state = 478;
;
 if (true) break;

case 477:
//C
this.state = 478;
RDebugUtils.currentLine=50463396;
 //BA.debugLineNum = 50463396;BA.debugLine="btnPlanLealtad.Visible = False";
__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
 if (true) break;
;
RDebugUtils.currentLine=50463407;
 //BA.debugLineNum = 50463407;BA.debugLine="If ALMACEN = 88 Then";

case 478:
//if
this.state = 511;
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(88))) { 
this.state = 480;
}if (true) break;

case 480:
//C
this.state = 481;
RDebugUtils.currentLine=50463408;
 //BA.debugLineNum = 50463408;BA.debugLine="If Not(Subs.TraeMontoProd) Then";
if (true) break;

case 481:
//if
this.state = 510;
if (parent.__c.Not(parent._subs._traemontoprod /*boolean*/ (ba))) { 
this.state = 483;
}if (true) break;

case 483:
//C
this.state = 484;
RDebugUtils.currentLine=50463409;
 //BA.debugLineNum = 50463409;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where  pe_cedis = 'MYKONOS_01' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._tipo_venta /*String*/ )}));
RDebugUtils.currentLine=50463411;
 //BA.debugLineNum = 50463411;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{"","null"})));
RDebugUtils.currentLine=50463413;
 //BA.debugLineNum = 50463413;BA.debugLine="If s3.RowCount > 0 Then";
if (true) break;

case 484:
//if
this.state = 509;
if (_s3.getRowCount()>0) { 
this.state = 486;
}else {
this.state = 498;
}if (true) break;

case 486:
//C
this.state = 487;
RDebugUtils.currentLine=50463414;
 //BA.debugLineNum = 50463414;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=50463415;
 //BA.debugLineNum = 50463415;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iF";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"})));
RDebugUtils.currentLine=50463416;
 //BA.debugLineNum = 50463416;BA.debugLine="s.Position=0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463417;
 //BA.debugLineNum = 50463417;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"","null"})));
RDebugUtils.currentLine=50463418;
 //BA.debugLineNum = 50463418;BA.debugLine="s5.Position = 0";
_s5.setPosition((int) (0));
RDebugUtils.currentLine=50463419;
 //BA.debugLineNum = 50463419;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 487:
//if
this.state = 496;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 489;
}if (true) break;

case 489:
//C
this.state = 490;
RDebugUtils.currentLine=50463420;
 //BA.debugLineNum = 50463420;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463421;
 //BA.debugLineNum = 50463421;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
if (true) break;

case 490:
//if
this.state = 495;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")== null) { 
this.state = 492;
}else {
this.state = 494;
}if (true) break;

case 492:
//C
this.state = 495;
RDebugUtils.currentLine=50463422;
 //BA.debugLineNum = 50463422;BA.debugLine="l_total.Text = 0";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0));
 if (true) break;

case 494:
//C
this.state = 495;
RDebugUtils.currentLine=50463424;
 //BA.debugLineNum = 50463424;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TO";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
 if (true) break;

case 495:
//C
this.state = 496;
;
RDebugUtils.currentLine=50463426;
 //BA.debugLineNum = 50463426;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s";
__ref._total_cliente /*String*/  = BA.NumberToString((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE"))));
 if (true) break;

case 496:
//C
this.state = 509;
;
 if (true) break;

case 498:
//C
this.state = 499;
RDebugUtils.currentLine=50463429;
 //BA.debugLineNum = 50463429;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=50463430;
 //BA.debugLineNum = 50463430;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50463431;
 //BA.debugLineNum = 50463431;BA.debugLine="s.Position=0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463432;
 //BA.debugLineNum = 50463432;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 499:
//if
this.state = 508;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 501;
}if (true) break;

case 501:
//C
this.state = 502;
RDebugUtils.currentLine=50463433;
 //BA.debugLineNum = 50463433;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463434;
 //BA.debugLineNum = 50463434;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
if (true) break;

case 502:
//if
this.state = 507;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")== null) { 
this.state = 504;
}else {
this.state = 506;
}if (true) break;

case 504:
//C
this.state = 507;
RDebugUtils.currentLine=50463435;
 //BA.debugLineNum = 50463435;BA.debugLine="l_total.Text = 0";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0));
 if (true) break;

case 506:
//C
this.state = 507;
RDebugUtils.currentLine=50463437;
 //BA.debugLineNum = 50463437;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOT";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
 if (true) break;

case 507:
//C
this.state = 508;
;
RDebugUtils.currentLine=50463439;
 //BA.debugLineNum = 50463439;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
__ref._total_cliente /*String*/  = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE");
 if (true) break;

case 508:
//C
this.state = 509;
;
 if (true) break;

case 509:
//C
this.state = 510;
;
 if (true) break;

case 510:
//C
this.state = 511;
;
 if (true) break;

case 511:
//C
this.state = 512;
;
RDebugUtils.currentLine=50463445;
 //BA.debugLineNum = 50463445;BA.debugLine="Log(\"============================================";
parent.__c.LogImpl("050463445","============================================================",0);
RDebugUtils.currentLine=50463446;
 //BA.debugLineNum = 50463446;BA.debugLine="Log(\"============================================";
parent.__c.LogImpl("050463446","============================================================",0);
RDebugUtils.currentLine=50463447;
 //BA.debugLineNum = 50463447;BA.debugLine="Log(\"============================================";
parent.__c.LogImpl("050463447","============================================================",0);
RDebugUtils.currentLine=50463449;
 //BA.debugLineNum = 50463449;BA.debugLine="l_total.Text = Subs.calculaTotalConPromoXRango(Su";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))));
RDebugUtils.currentLine=50463452;
 //BA.debugLineNum = 50463452;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463453;
 //BA.debugLineNum = 50463453;BA.debugLine="P_gallina.Visible = False";
__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463454;
 //BA.debugLineNum = 50463454;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463455;
 //BA.debugLineNum = 50463455;BA.debugLine="p_camara.Visible = False";
__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463456;
 //BA.debugLineNum = 50463456;BA.debugLine="Panel2.Visible = False";
__ref._panel2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463457;
 //BA.debugLineNum = 50463457;BA.debugLine="p_comentario.Visible = False";
__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463458;
 //BA.debugLineNum = 50463458;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463459;
 //BA.debugLineNum = 50463459;BA.debugLine="p_encuesta.Visible = False";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463460;
 //BA.debugLineNum = 50463460;BA.debugLine="pnlPlanLealtad.Visible = False";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463461;
 //BA.debugLineNum = 50463461;BA.debugLine="Panel10.Visible = False";
__ref._panel10 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463462;
 //BA.debugLineNum = 50463462;BA.debugLine="p_transparentePDF.Visible = False";
__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463463;
 //BA.debugLineNum = 50463463;BA.debugLine="CH_FACTURA.Checked = False";
__ref._ch_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.False);
RDebugUtils.currentLine=50463464;
 //BA.debugLineNum = 50463464;BA.debugLine="Dim fac As Cursor=B4XPages.MainPage.skmt.ExecQuer";
_fac = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fac = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select ifnull(SUM(PE_COSTO_TOT), 0)  As TOTAL_CLIE, SUM(PE_CANT)  As CANT_CLIE, PC_FACTURA FROM PEDIDO_CLIENTE INNER JOIN PEDIDO ON PEDIDO_CLIENTE.PC_CLIENTE = PEDIDO.PE_CLIENTE WHERE (PE_CLIENTE IN (Select cuenta from cuentaa))")));
RDebugUtils.currentLine=50463465;
 //BA.debugLineNum = 50463465;BA.debugLine="fac.Position = 0";
_fac.setPosition((int) (0));
RDebugUtils.currentLine=50463466;
 //BA.debugLineNum = 50463466;BA.debugLine="Private factura As String = 0";
_factura = BA.NumberToString(0);
RDebugUtils.currentLine=50463467;
 //BA.debugLineNum = 50463467;BA.debugLine="If fac.GetString(\"PC_FACTURA\") <> Null And IsNumb";
if (true) break;

case 512:
//if
this.state = 517;
if (_fac.GetString("PC_FACTURA")!= null && parent.__c.IsNumber(_fac.GetString("PC_FACTURA"))) { 
this.state = 514;
;}if (true) break;

case 514:
//C
this.state = 517;
_factura = _fac.GetString("PC_FACTURA");
if (true) break;

case 517:
//C
this.state = 518;
;
RDebugUtils.currentLine=50463468;
 //BA.debugLineNum = 50463468;BA.debugLine="If factura = \"1\" Then CH_FACTURA.Checked = True";
if (true) break;

case 518:
//if
this.state = 523;
if ((_factura).equals("1")) { 
this.state = 520;
;}if (true) break;

case 520:
//C
this.state = 523;
__ref._ch_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.True);
if (true) break;

case 523:
//C
this.state = 524;
;
RDebugUtils.currentLine=50463471;
 //BA.debugLineNum = 50463471;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=50463472;
 //BA.debugLineNum = 50463472;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50463473;
 //BA.debugLineNum = 50463473;BA.debugLine="If c.GetInt(\"CAT_CL_BCREDITO\") = 1 Then";
if (true) break;

case 524:
//if
this.state = 541;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCREDITO")==1) { 
this.state = 526;
}else 
{RDebugUtils.currentLine=50463509;
 //BA.debugLineNum = 50463509;BA.debugLine="Else If c.GetInt(\"CAT_CL_BCREDITO\") = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCREDITO")==0) { 
this.state = 540;
}}
if (true) break;

case 526:
//C
this.state = 527;
RDebugUtils.currentLine=50463475;
 //BA.debugLineNum = 50463475;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt";
_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=50463476;
 //BA.debugLineNum = 50463476;BA.debugLine="If pagarepen.RowCount > 0 Then";
if (true) break;

case 527:
//if
this.state = 538;
if (_pagarepen.getRowCount()>0) { 
this.state = 529;
}else {
this.state = 537;
}if (true) break;

case 529:
//C
this.state = 530;
RDebugUtils.currentLine=50463477;
 //BA.debugLineNum = 50463477;BA.debugLine="pagarepen.Position = 0";
_pagarepen.setPosition((int) (0));
RDebugUtils.currentLine=50463478;
 //BA.debugLineNum = 50463478;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=50463479;
 //BA.debugLineNum = 50463479;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString";
_fechainicio = _pagarepen.GetString("FECHA");
RDebugUtils.currentLine=50463481;
 //BA.debugLineNum = 50463481;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
parent.__c.LogImpl("050463481",_pagarepen.GetString("FECHA"),0);
RDebugUtils.currentLine=50463483;
 //BA.debugLineNum = 50463483;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fe";
_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio);
RDebugUtils.currentLine=50463484;
 //BA.debugLineNum = 50463484;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateT";
_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()));
RDebugUtils.currentLine=50463487;
 //BA.debugLineNum = 50463487;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIn";
_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay);
RDebugUtils.currentLine=50463490;
 //BA.debugLineNum = 50463490;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
parent.__c.LogImpl("050463490",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
RDebugUtils.currentLine=50463492;
 //BA.debugLineNum = 50463492;BA.debugLine="Dim c4 As Cursor=B4XPages.MainPage.skmt.ExecQue";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=50463493;
 //BA.debugLineNum = 50463493;BA.debugLine="c4.Position = 0";
_c4.setPosition((int) (0));
RDebugUtils.currentLine=50463495;
 //BA.debugLineNum = 50463495;BA.debugLine="If DiferenciaDias <= c4.GetInt(\"CAT_CL_DIASCRED";
if (true) break;

case 530:
//if
this.state = 535;
if (_diferenciadias<=_c4.GetInt("CAT_CL_DIASCREDITO")+1) { 
this.state = 532;
}else 
{RDebugUtils.currentLine=50463498;
 //BA.debugLineNum = 50463498;BA.debugLine="Else If DiferenciaDias > c4.GetInt(\"CAT_CL_DIAS";
if (_diferenciadias>_c4.GetInt("CAT_CL_DIASCREDITO")+1) { 
this.state = 534;
}}
if (true) break;

case 532:
//C
this.state = 535;
RDebugUtils.currentLine=50463496;
 //BA.debugLineNum = 50463496;BA.debugLine="l_credito.Color = Colors.Green";
__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Green);
RDebugUtils.currentLine=50463497;
 //BA.debugLineNum = 50463497;BA.debugLine="l_limite.Color = Colors.Green";
__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Green);
 if (true) break;

case 534:
//C
this.state = 535;
RDebugUtils.currentLine=50463499;
 //BA.debugLineNum = 50463499;BA.debugLine="l_credito.Color = Colors.Red";
__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Red);
RDebugUtils.currentLine=50463500;
 //BA.debugLineNum = 50463500;BA.debugLine="l_limite.Color = Colors.Red";
__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Red);
 if (true) break;

case 535:
//C
this.state = 538;
;
 if (true) break;

case 537:
//C
this.state = 538;
RDebugUtils.currentLine=50463503;
 //BA.debugLineNum = 50463503;BA.debugLine="l_credito.Color = Colors.Transparent";
__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Transparent);
RDebugUtils.currentLine=50463504;
 //BA.debugLineNum = 50463504;BA.debugLine="l_limite.Color = Colors.Transparent";
__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Transparent);
 if (true) break;

case 538:
//C
this.state = 541;
;
RDebugUtils.currentLine=50463506;
 //BA.debugLineNum = 50463506;BA.debugLine="l_credito.Visible = True";
__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50463507;
 //BA.debugLineNum = 50463507;BA.debugLine="l_limite.Visible = True";
__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=50463508;
 //BA.debugLineNum = 50463508;BA.debugLine="l_limite.Text = c.GetInt(\"CAT_CL_LIMITECREDITO\"";
__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_LIMITECREDITO")));
 if (true) break;

case 540:
//C
this.state = 541;
RDebugUtils.currentLine=50463510;
 //BA.debugLineNum = 50463510;BA.debugLine="l_credito.Visible = False";
__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463511;
 //BA.debugLineNum = 50463511;BA.debugLine="l_limite.Visible = False";
__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 541:
//C
this.state = 542;
;
RDebugUtils.currentLine=50463515;
 //BA.debugLineNum = 50463515;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463516;
 //BA.debugLineNum = 50463516;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463517;
 //BA.debugLineNum = 50463517;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=50463519;
 //BA.debugLineNum = 50463519;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt";
_coloressaldo = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coloressaldo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR3,0) AS CAT_CL_CLASIFICADOR3, IFNULL(CAT_CL_CLASIFICADOR4,0) AS CAT_CL_CLASIFICADOR4, IFNULL(CAT_CL_CLASIFICADOR2,'') AS CAT_CL_CLASIFICADOR2 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=50463520;
 //BA.debugLineNum = 50463520;BA.debugLine="coloressaldo.Position = 0";
_coloressaldo.setPosition((int) (0));
RDebugUtils.currentLine=50463521;
 //BA.debugLineNum = 50463521;BA.debugLine="la_saldooper.Text = NumberFormat2(coloressaldo.Ge";
__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(_coloressaldo.GetDouble("CAT_CL_CLASIFICADOR3"),(int) (0),(int) (0),(int) (0),parent.__c.False)));
RDebugUtils.currentLine=50463522;
 //BA.debugLineNum = 50463522;BA.debugLine="l_cajetillas.Text = NumberFormat2(coloressaldo.Ge";
__ref._l_cajetillas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(_coloressaldo.GetDouble("CAT_CL_CLASIFICADOR4"),(int) (0),(int) (0),(int) (0),parent.__c.False)));
RDebugUtils.currentLine=50463523;
 //BA.debugLineNum = 50463523;BA.debugLine="l_animal.Text = coloressaldo.GetString(\"CAT_CL_CL";
__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")));
RDebugUtils.currentLine=50463524;
 //BA.debugLineNum = 50463524;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\")";
if (true) break;

case 542:
//if
this.state = 553;
if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Chimpancé KIN")) { 
this.state = 544;
}else 
{RDebugUtils.currentLine=50463527;
 //BA.debugLineNum = 50463527;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD";
if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Delfín Niky")) { 
this.state = 546;
}else 
{RDebugUtils.currentLine=50463530;
 //BA.debugLineNum = 50463530;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD";
if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Tortuga KOPI")) { 
this.state = 548;
}else 
{RDebugUtils.currentLine=50463533;
 //BA.debugLineNum = 50463533;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD";
if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Lechuza MON")) { 
this.state = 550;
}else {
this.state = 552;
}}}}
if (true) break;

case 544:
//C
this.state = 553;
RDebugUtils.currentLine=50463525;
 //BA.debugLineNum = 50463525;BA.debugLine="l_animal.Color = Colors.RGB(84,255,172)";
__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (172)));
RDebugUtils.currentLine=50463526;
 //BA.debugLineNum = 50463526;BA.debugLine="Label22.Color = Colors.RGB(84,255,172)";
__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (172)));
 if (true) break;

case 546:
//C
this.state = 553;
RDebugUtils.currentLine=50463528;
 //BA.debugLineNum = 50463528;BA.debugLine="l_animal.Color = Colors.RGB(84,255,245)";
__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (245)));
RDebugUtils.currentLine=50463529;
 //BA.debugLineNum = 50463529;BA.debugLine="Label22.Color = Colors.RGB(84,255,245)";
__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (245)));
 if (true) break;

case 548:
//C
this.state = 553;
RDebugUtils.currentLine=50463531;
 //BA.debugLineNum = 50463531;BA.debugLine="l_animal.Color = Colors.RGB(255,123,84)";
__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (255),(int) (123),(int) (84)));
RDebugUtils.currentLine=50463532;
 //BA.debugLineNum = 50463532;BA.debugLine="Label22.Color = Colors.RGB(255,123,84)";
__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (255),(int) (123),(int) (84)));
 if (true) break;

case 550:
//C
this.state = 553;
RDebugUtils.currentLine=50463534;
 //BA.debugLineNum = 50463534;BA.debugLine="l_animal.Color = Colors.RGB(255,250,140)";
__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (255),(int) (250),(int) (140)));
RDebugUtils.currentLine=50463535;
 //BA.debugLineNum = 50463535;BA.debugLine="Label22.Color = Colors.RGB(255,250,140)";
__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (255),(int) (250),(int) (140)));
 if (true) break;

case 552:
//C
this.state = 553;
RDebugUtils.currentLine=50463537;
 //BA.debugLineNum = 50463537;BA.debugLine="l_animal.Color = Colors.Transparent";
__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Transparent);
RDebugUtils.currentLine=50463538;
 //BA.debugLineNum = 50463538;BA.debugLine="Label22.Color = Colors.Transparent";
__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Transparent);
 if (true) break;

case 553:
//C
this.state = -1;
;
RDebugUtils.currentLine=50463543;
 //BA.debugLineNum = 50463543;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _b_guarda_c_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_guarda_c_click", false))
	 {return ((String) Debug.delegate(ba, "b_guarda_c_click", null));}
anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null;
RDebugUtils.currentLine=54525952;
 //BA.debugLineNum = 54525952;BA.debugLine="Sub B_GUARDA_C_Click";
RDebugUtils.currentLine=54525953;
 //BA.debugLineNum = 54525953;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=54525954;
 //BA.debugLineNum = 54525954;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=54525955;
 //BA.debugLineNum = 54525955;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=54525956;
 //BA.debugLineNum = 54525956;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa")));
RDebugUtils.currentLine=54525957;
 //BA.debugLineNum = 54525957;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54525958;
 //BA.debugLineNum = 54525958;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
__ref._clie_id /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA");
RDebugUtils.currentLine=54525959;
 //BA.debugLineNum = 54525959;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54525960;
 //BA.debugLineNum = 54525960;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=54525961;
 //BA.debugLineNum = 54525961;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54525962;
 //BA.debugLineNum = 54525962;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=54525963;
 //BA.debugLineNum = 54525963;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54525964;
 //BA.debugLineNum = 54525964;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO  PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("4"),(Object)(.01),(Object)(.01),(Object)(2),(Object)("KNORR RINDE MAS 70 GR"),(Object)("GUNA2"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}));
RDebugUtils.currentLine=54525965;
 //BA.debugLineNum = 54525965;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._i_compra /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._la_ruta /*String*/ ),(Object)(__ref._almacen /*String*/ )}));
RDebugUtils.currentLine=54525966;
 //BA.debugLineNum = 54525966;BA.debugLine="Panel1.Visible = False";
__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54525967;
 //BA.debugLineNum = 54525967;BA.debugLine="b_like.Visible = True";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=54525968;
 //BA.debugLineNum = 54525968;BA.debugLine="Tar.Visible = True";
__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=54525969;
 //BA.debugLineNum = 54525969;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=54525970;
 //BA.debugLineNum = 54525970;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=54525971;
 //BA.debugLineNum = 54525971;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=54525972;
 //BA.debugLineNum = 54525972;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=54525973;
 //BA.debugLineNum = 54525973;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=54525974;
 //BA.debugLineNum = 54525974;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=54525975;
 //BA.debugLineNum = 54525975;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
 }else 
{RDebugUtils.currentLine=54525976;
 //BA.debugLineNum = 54525976;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=54525977;
 //BA.debugLineNum = 54525977;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
RDebugUtils.currentLine=54525980;
 //BA.debugLineNum = 54525980;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54525981;
 //BA.debugLineNum = 54525981;BA.debugLine="Guardar.Visible = True";
__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=54525982;
 //BA.debugLineNum = 54525982;BA.debugLine="End Sub";
return "";
}
public String  _b_guarda_ce_ped_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_guarda_ce_ped_click", false))
	 {return ((String) Debug.delegate(ba, "b_guarda_ce_ped_click", null));}
RDebugUtils.currentLine=58195968;
 //BA.debugLineNum = 58195968;BA.debugLine="Private Sub B_GUARDA_CE_PED_Click";
RDebugUtils.currentLine=58195970;
 //BA.debugLineNum = 58195970;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=58195971;
 //BA.debugLineNum = 58195971;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=58195972;
 //BA.debugLineNum = 58195972;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=58195973;
 //BA.debugLineNum = 58195973;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa")));
RDebugUtils.currentLine=58195974;
 //BA.debugLineNum = 58195974;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=58195975;
 //BA.debugLineNum = 58195975;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
__ref._clie_id /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA");
RDebugUtils.currentLine=58195976;
 //BA.debugLineNum = 58195976;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=58195977;
 //BA.debugLineNum = 58195977;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=58195978;
 //BA.debugLineNum = 58195978;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=58195979;
 //BA.debugLineNum = 58195979;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=58195980;
 //BA.debugLineNum = 58195980;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=58195981;
 //BA.debugLineNum = 58195981;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=58195982;
 //BA.debugLineNum = 58195982;BA.debugLine="If c.RowCount>0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=58195983;
 //BA.debugLineNum = 58195983;BA.debugLine="C.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=58195984;
 //BA.debugLineNum = 58195984;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
__ref._almacen /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN");
 };
RDebugUtils.currentLine=58195986;
 //BA.debugLineNum = 58195986;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=58196003;
 //BA.debugLineNum = 58196003;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA_PED_DIST_1(ALMACEN , TIENDA , KP_01  , KP_02  , KP_03  , KP_04  , KP_05  , KP_06  , KP_07  , KP_08  , KP_09  , KP_10  , KP_11  , KP_12  , KP_13  , KP_14  , KP_15  , KP_16  , KP_17  , KP_18  , KP_19  , KP_20  , KG_01  , KG_02  , KG_03  , KG_04  , KG_05  , KG_06  , PK_01  , PK_02  , PK_03  , PK_04  , PK_05  , PK_06  , PK_07  , PK_08) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._kp_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_05 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_06 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_07 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_08 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_09 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_10 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_12 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_14 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_20 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_05 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_06 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_05 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_06 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_07 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_08 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked())}));
RDebugUtils.currentLine=58196005;
 //BA.debugLineNum = 58196005;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA_PED_DIST_2(ALMACEN , TIENDA , HPG_01  , HPG_02  , HPG_03  , HPG_04  , HPG_05  , HPG_06  , HPG_07  , HPG_08  , HPG_09  , HPG_10  , HC_01  , HC_02  , HC_03  , HC_04  , B_01  , B_02) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._hpg_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_05 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_06 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_07 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_08 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_09 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_10 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hc_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hc_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hc_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hc_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._b_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._b_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked())}));
RDebugUtils.currentLine=58196018;
 //BA.debugLineNum = 58196018;BA.debugLine="I_COMPRA.TEXT  = \"\"";
__ref._i_compra /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=58196019;
 //BA.debugLineNum = 58196019;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=58196020;
 //BA.debugLineNum = 58196020;BA.debugLine="Panel1.Visible = False";
__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=58196022;
 //BA.debugLineNum = 58196022;BA.debugLine="b_like.Visible = True";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=58196023;
 //BA.debugLineNum = 58196023;BA.debugLine="Tar.Visible = True";
__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=58196024;
 //BA.debugLineNum = 58196024;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=58196025;
 //BA.debugLineNum = 58196025;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=58196027;
 //BA.debugLineNum = 58196027;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=58196028;
 //BA.debugLineNum = 58196028;BA.debugLine="Guardar.Visible = True";
__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=58196030;
 //BA.debugLineNum = 58196030;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
RDebugUtils.currentLine=58196032;
 //BA.debugLineNum = 58196032;BA.debugLine="End Sub";
return "";
}
public String  _b_guardaencuesta_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_guardaencuesta_click", false))
	 {return ((String) Debug.delegate(ba, "b_guardaencuesta_click", null));}
String _si_guardar = "";
RDebugUtils.currentLine=52690944;
 //BA.debugLineNum = 52690944;BA.debugLine="Sub B_guardaencuesta_Click";
RDebugUtils.currentLine=52690945;
 //BA.debugLineNum = 52690945;BA.debugLine="Dim SI_GUARDAR As String";
_si_guardar = "";
RDebugUtils.currentLine=52690946;
 //BA.debugLineNum = 52690946;BA.debugLine="SI_GUARDAR = 1";
_si_guardar = BA.NumberToString(1);
RDebugUtils.currentLine=52690948;
 //BA.debugLineNum = 52690948;BA.debugLine="If RB1_E1.Checked = False And RB2_E1.Checked = Fa";
if (__ref._rb1_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._rb2_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._rb3_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { 
RDebugUtils.currentLine=52690949;
 //BA.debugLineNum = 52690949;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
 };
RDebugUtils.currentLine=52690952;
 //BA.debugLineNum = 52690952;BA.debugLine="If Panel7.Visible = True Then";
if (__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()==__c.True) { 
RDebugUtils.currentLine=52690953;
 //BA.debugLineNum = 52690953;BA.debugLine="If RadioButton15.Checked = False And RadioButton";
if (__ref._radiobutton15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { 
RDebugUtils.currentLine=52690954;
 //BA.debugLineNum = 52690954;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
 };
 };
RDebugUtils.currentLine=52690958;
 //BA.debugLineNum = 52690958;BA.debugLine="If RadioButton1.Checked = False And  RadioButton2";
if (__ref._radiobutton1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { 
RDebugUtils.currentLine=52690959;
 //BA.debugLineNum = 52690959;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
 };
RDebugUtils.currentLine=52690962;
 //BA.debugLineNum = 52690962;BA.debugLine="If RadioButton5.Checked = False And  RadioButton6";
if (__ref._radiobutton5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { 
RDebugUtils.currentLine=52690963;
 //BA.debugLineNum = 52690963;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
 };
RDebugUtils.currentLine=52690966;
 //BA.debugLineNum = 52690966;BA.debugLine="If RadioButton10.Checked = False And  RadioButton";
if (__ref._radiobutton10 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton12 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton14 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { 
RDebugUtils.currentLine=52690967;
 //BA.debugLineNum = 52690967;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
 };
RDebugUtils.currentLine=52690970;
 //BA.debugLineNum = 52690970;BA.debugLine="If p6.Text = \"\" Then";
if ((__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { 
RDebugUtils.currentLine=52690971;
 //BA.debugLineNum = 52690971;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
 };
RDebugUtils.currentLine=52690973;
 //BA.debugLineNum = 52690973;BA.debugLine="If p7.Text = \"\" Then";
if ((__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { 
RDebugUtils.currentLine=52690974;
 //BA.debugLineNum = 52690974;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
 };
RDebugUtils.currentLine=52690976;
 //BA.debugLineNum = 52690976;BA.debugLine="If p8.Text = \"\" Then";
if ((__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { 
RDebugUtils.currentLine=52690977;
 //BA.debugLineNum = 52690977;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
 };
RDebugUtils.currentLine=52690980;
 //BA.debugLineNum = 52690980;BA.debugLine="If CheckBox1.Checked = False And CheckBox2.Checke";
if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { 
RDebugUtils.currentLine=52690981;
 //BA.debugLineNum = 52690981;BA.debugLine="encuentasmapa.Put(\"P9\", \"\")";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(""));
RDebugUtils.currentLine=52690982;
 //BA.debugLineNum = 52690982;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("052690982",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
 };
RDebugUtils.currentLine=52690985;
 //BA.debugLineNum = 52690985;BA.debugLine="If SI_GUARDAR = 1 Then";
if ((_si_guardar).equals(BA.NumberToString(1))) { 
RDebugUtils.currentLine=52690986;
 //BA.debugLineNum = 52690986;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO1";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO1 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P3")),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P1")),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P2")),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P4")),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P5")),(Object)(__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P9"))}));
RDebugUtils.currentLine=52690992;
 //BA.debugLineNum = 52690992;BA.debugLine="RB1_E1.Checked = False";
__ref._rb1_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52690993;
 //BA.debugLineNum = 52690993;BA.debugLine="RB2_E1.Checked = False";
__ref._rb2_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52690994;
 //BA.debugLineNum = 52690994;BA.debugLine="RB3_E1.Checked = False";
__ref._rb3_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52690995;
 //BA.debugLineNum = 52690995;BA.debugLine="RadioButton15.Checked = False";
__ref._radiobutton15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52690996;
 //BA.debugLineNum = 52690996;BA.debugLine="RadioButton16.Checked = False";
__ref._radiobutton16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52690997;
 //BA.debugLineNum = 52690997;BA.debugLine="RadioButton17.Checked = False";
__ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52690998;
 //BA.debugLineNum = 52690998;BA.debugLine="RadioButton1.Checked = False";
__ref._radiobutton1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52690999;
 //BA.debugLineNum = 52690999;BA.debugLine="RadioButton2.Checked = False";
__ref._radiobutton2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691000;
 //BA.debugLineNum = 52691000;BA.debugLine="RadioButton3.Checked = False";
__ref._radiobutton3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691001;
 //BA.debugLineNum = 52691001;BA.debugLine="RadioButton4.Checked = False";
__ref._radiobutton4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691002;
 //BA.debugLineNum = 52691002;BA.debugLine="RadioButton5.Checked = False";
__ref._radiobutton5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691003;
 //BA.debugLineNum = 52691003;BA.debugLine="RadioButton6.Checked = False";
__ref._radiobutton6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691004;
 //BA.debugLineNum = 52691004;BA.debugLine="RadioButton7.Checked = False";
__ref._radiobutton7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691005;
 //BA.debugLineNum = 52691005;BA.debugLine="RadioButton8.Checked = False";
__ref._radiobutton8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691006;
 //BA.debugLineNum = 52691006;BA.debugLine="RadioButton9.Checked = False";
__ref._radiobutton9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691007;
 //BA.debugLineNum = 52691007;BA.debugLine="RadioButton10.Checked = False";
__ref._radiobutton10 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691008;
 //BA.debugLineNum = 52691008;BA.debugLine="RadioButton11.Checked = False";
__ref._radiobutton11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691009;
 //BA.debugLineNum = 52691009;BA.debugLine="RadioButton12.Checked = False";
__ref._radiobutton12 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691010;
 //BA.debugLineNum = 52691010;BA.debugLine="RadioButton13.Checked = False";
__ref._radiobutton13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691011;
 //BA.debugLineNum = 52691011;BA.debugLine="RadioButton14.Checked = False";
__ref._radiobutton14 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691012;
 //BA.debugLineNum = 52691012;BA.debugLine="p6.Text = \"\"";
__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=52691013;
 //BA.debugLineNum = 52691013;BA.debugLine="p7.Text = \"\"";
__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=52691014;
 //BA.debugLineNum = 52691014;BA.debugLine="p8.Text = \"\"";
__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=52691015;
 //BA.debugLineNum = 52691015;BA.debugLine="CheckBox1.Checked = False";
__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691016;
 //BA.debugLineNum = 52691016;BA.debugLine="CheckBox2.Checked = False";
__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691017;
 //BA.debugLineNum = 52691017;BA.debugLine="CheckBox3.Checked = False";
__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691018;
 //BA.debugLineNum = 52691018;BA.debugLine="CheckBox4.Checked = False";
__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691019;
 //BA.debugLineNum = 52691019;BA.debugLine="CheckBox5.Checked = False";
__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691020;
 //BA.debugLineNum = 52691020;BA.debugLine="CheckBox6.Checked = False";
__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691021;
 //BA.debugLineNum = 52691021;BA.debugLine="CheckBox7.Checked = False";
__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691022;
 //BA.debugLineNum = 52691022;BA.debugLine="CheckBox8.Checked = False";
__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=52691024;
 //BA.debugLineNum = 52691024;BA.debugLine="If ENCUESTA > 1 Then";
if ((double)(Double.parseDouble(__ref._encuesta /*String*/ ))>1) { 
RDebugUtils.currentLine=52691026;
 //BA.debugLineNum = 52691026;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible Then";
if (__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=52691027;
 //BA.debugLineNum = 52691027;BA.debugLine="p_m1.Visible = False";
__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 };
RDebugUtils.currentLine=52691031;
 //BA.debugLineNum = 52691031;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=52691032;
 //BA.debugLineNum = 52691032;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=52691033;
 //BA.debugLineNum = 52691033;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=52691034;
 //BA.debugLineNum = 52691034;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2\")";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ESNCUESTA_m2",ba);
RDebugUtils.currentLine=52691035;
 //BA.debugLineNum = 52691035;BA.debugLine="p_m2.Width = Root.Width * 0.94";
__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=52691036;
 //BA.debugLineNum = 52691036;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 60";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60));
RDebugUtils.currentLine=52691037;
 //BA.debugLineNum = 52691037;BA.debugLine="Panel7_M2.Visible = False";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
RDebugUtils.currentLine=52691039;
 //BA.debugLineNum = 52691039;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=52691040;
 //BA.debugLineNum = 52691040;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=52691041;
 //BA.debugLineNum = 52691041;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=52691044;
 //BA.debugLineNum = 52691044;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
 };
 }else {
RDebugUtils.currentLine=52691047;
 //BA.debugLineNum = 52691047;BA.debugLine="Msgbox(\"FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR";
__c.Msgbox(BA.ObjectToCharSequence("FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR"),BA.ObjectToCharSequence("AVISO"),ba);
 };
RDebugUtils.currentLine=52691049;
 //BA.debugLineNum = 52691049;BA.debugLine="End Sub";
return "";
}
public String  _b_guardaencuesta_m2_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_guardaencuesta_m2_click", false))
	 {return ((String) Debug.delegate(ba, "b_guardaencuesta_m2_click", null));}
RDebugUtils.currentLine=57081856;
 //BA.debugLineNum = 57081856;BA.debugLine="Private Sub B_guardaencuesta_m2_Click";
RDebugUtils.currentLine=57081857;
 //BA.debugLineNum = 57081857;BA.debugLine="P3_M2 = \"\"";
__ref._p3_m2 /*String*/  = "";
RDebugUtils.currentLine=57081858;
 //BA.debugLineNum = 57081858;BA.debugLine="P6_M2 = \"\"";
__ref._p6_m2 /*String*/  = "";
RDebugUtils.currentLine=57081859;
 //BA.debugLineNum = 57081859;BA.debugLine="P4_M2 = \"\"";
__ref._p4_m2 /*String*/  = "";
RDebugUtils.currentLine=57081861;
 //BA.debugLineNum = 57081861;BA.debugLine="PASA = \"1\"";
__ref._pasa /*String*/  = "1";
RDebugUtils.currentLine=57081862;
 //BA.debugLineNum = 57081862;BA.debugLine="If et_p1_m2.Text = \"\" Then PASA = \"0\"";
if ((__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57081863;
 //BA.debugLineNum = 57081863;BA.debugLine="If et_p2_m2.Text = \"\" Then PASA = \"0\"";
if ((__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57081864;
 //BA.debugLineNum = 57081864;BA.debugLine="P4_M2 = \"\"";
__ref._p4_m2 /*String*/  = "";
RDebugUtils.currentLine=57081865;
 //BA.debugLineNum = 57081865;BA.debugLine="If rd1_p4_m2.Checked Then P4_M2 = \"ALTO\"";
if (__ref._rd1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p4_m2 /*String*/  = "ALTO";};
RDebugUtils.currentLine=57081866;
 //BA.debugLineNum = 57081866;BA.debugLine="If rd2_p4_m2.Checked Then P4_M2 = \"MEDIO\"";
if (__ref._rd2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p4_m2 /*String*/  = "MEDIO";};
RDebugUtils.currentLine=57081867;
 //BA.debugLineNum = 57081867;BA.debugLine="If rd3_p4_m2.Checked Then P4_M2 = \"BAJO\"";
if (__ref._rd3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p4_m2 /*String*/  = "BAJO";};
RDebugUtils.currentLine=57081869;
 //BA.debugLineNum = 57081869;BA.debugLine="If P4_M2 = \"\" Then PASA = \"0\"";
if ((__ref._p4_m2 /*String*/ ).equals("")) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57081871;
 //BA.debugLineNum = 57081871;BA.debugLine="P6_M2 = \"\"";
__ref._p6_m2 /*String*/  = "";
RDebugUtils.currentLine=57081872;
 //BA.debugLineNum = 57081872;BA.debugLine="If RB1_P6_M2.Checked Then P6_M2 = \"LUNES\"";
if (__ref._rb1_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p6_m2 /*String*/  = "LUNES";};
RDebugUtils.currentLine=57081873;
 //BA.debugLineNum = 57081873;BA.debugLine="If RB2_P6_M2.Checked Then P6_M2 = \"MARTES\"";
if (__ref._rb2_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p6_m2 /*String*/  = "MARTES";};
RDebugUtils.currentLine=57081874;
 //BA.debugLineNum = 57081874;BA.debugLine="If RB3_P6_M2.Checked Then P6_M2 = \"MIERCOLES\"";
if (__ref._rb3_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p6_m2 /*String*/  = "MIERCOLES";};
RDebugUtils.currentLine=57081875;
 //BA.debugLineNum = 57081875;BA.debugLine="If RB4_P6_M2.Checked Then P6_M2 = \"JUEVES\"";
if (__ref._rb4_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p6_m2 /*String*/  = "JUEVES";};
RDebugUtils.currentLine=57081876;
 //BA.debugLineNum = 57081876;BA.debugLine="If RB5_P6_M2.Checked Then P6_M2 = \"VIERNES\"";
if (__ref._rb5_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p6_m2 /*String*/  = "VIERNES";};
RDebugUtils.currentLine=57081877;
 //BA.debugLineNum = 57081877;BA.debugLine="If RB6_P6_M2.Checked Then P6_M2 = \"SABADO\"";
if (__ref._rb6_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p6_m2 /*String*/  = "SABADO";};
RDebugUtils.currentLine=57081878;
 //BA.debugLineNum = 57081878;BA.debugLine="If RB7_P6_M2.Checked Then P6_M2 = \"DOMINGO\"";
if (__ref._rb7_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p6_m2 /*String*/  = "DOMINGO";};
RDebugUtils.currentLine=57081880;
 //BA.debugLineNum = 57081880;BA.debugLine="If P6_M2 = \"\" Then PASA = \"0\"";
if ((__ref._p6_m2 /*String*/ ).equals("")) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57081883;
 //BA.debugLineNum = 57081883;BA.debugLine="If  CB1_P3_M2.Checked = False And  CB2_P3_M2.Chec";
if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb6_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && (__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(BA.ObjectToString(__c.False)) && __ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57081884;
 //BA.debugLineNum = 57081884;BA.debugLine="If et_p5_m2.Text = \"\" Then PASA = \"0\"";
if ((__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57081885;
 //BA.debugLineNum = 57081885;BA.debugLine="Log(textemp2)";
__c.LogImpl("057081885",__ref._textemp2 /*String*/ ,0);
RDebugUtils.currentLine=57081886;
 //BA.debugLineNum = 57081886;BA.debugLine="If textemp2 <> \"\" And textemp2.SubString2(0,2) =";
if ((__ref._textemp2 /*String*/ ).equals("") == false && (__ref._textemp2 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ .substring((int) (2));};
RDebugUtils.currentLine=57081887;
 //BA.debugLineNum = 57081887;BA.debugLine="Log(textemp2)";
__c.LogImpl("057081887",__ref._textemp2 /*String*/ ,0);
RDebugUtils.currentLine=57081888;
 //BA.debugLineNum = 57081888;BA.debugLine="P3_M2 = textemp2";
__ref._p3_m2 /*String*/  = __ref._textemp2 /*String*/ ;
RDebugUtils.currentLine=57081889;
 //BA.debugLineNum = 57081889;BA.debugLine="If RB2_P4_M2.Checked  Then";
if (__ref._rb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=57081890;
 //BA.debugLineNum = 57081890;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"NO\"";
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"NO";
 }else 
{RDebugUtils.currentLine=57081892;
 //BA.debugLineNum = 57081892;BA.debugLine="Else if RB1_P4_M2.Checked Then";
if (__ref._rb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=57081893;
 //BA.debugLineNum = 57081893;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"SI\"";
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"SI";
RDebugUtils.currentLine=57081894;
 //BA.debugLineNum = 57081894;BA.debugLine="If ET_P3_M2.Text = \"\" Then";
if ((__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { 
RDebugUtils.currentLine=57081895;
 //BA.debugLineNum = 57081895;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (__ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"Rappi";};
RDebugUtils.currentLine=57081896;
 //BA.debugLineNum = 57081896;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (__ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"Coca Cola";};
RDebugUtils.currentLine=57081897;
 //BA.debugLineNum = 57081897;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (__ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"Modelo";};
RDebugUtils.currentLine=57081898;
 //BA.debugLineNum = 57081898;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (__ref._rb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"Rabbit";};
 }else 
{RDebugUtils.currentLine=57081899;
 //BA.debugLineNum = 57081899;BA.debugLine="Else If ET_P3_M2.Text <> \"\" Then";
if ((__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { 
RDebugUtils.currentLine=57081900;
 //BA.debugLineNum = 57081900;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (__ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"Rappi";};
RDebugUtils.currentLine=57081901;
 //BA.debugLineNum = 57081901;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (__ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"Coca Cola";};
RDebugUtils.currentLine=57081902;
 //BA.debugLineNum = 57081902;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (__ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"Modelo";};
RDebugUtils.currentLine=57081903;
 //BA.debugLineNum = 57081903;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (__ref._rb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+"Rabbit";};
RDebugUtils.currentLine=57081904;
 //BA.debugLineNum = 57081904;BA.debugLine="P3_M2 = P3_M2 &\", \" & ET_P3_M2.Text";
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +", "+__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText();
 }}
;
 }}
;
RDebugUtils.currentLine=57081907;
 //BA.debugLineNum = 57081907;BA.debugLine="If textemp3 <> \"\" And textemp3.SubString2(0,2) =";
if ((__ref._textemp3 /*String*/ ).equals("") == false && (__ref._textemp3 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ .substring((int) (2));};
RDebugUtils.currentLine=57081909;
 //BA.debugLineNum = 57081909;BA.debugLine="P3_M2 = P3_M2 &\"|\" & textemp3";
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ +"|"+__ref._textemp3 /*String*/ ;
RDebugUtils.currentLine=57081911;
 //BA.debugLineNum = 57081911;BA.debugLine="If P3_M2 <> \"\" And P3_M2.SubString2(0,2) = \", \" T";
if ((__ref._p3_m2 /*String*/ ).equals("") == false && (__ref._p3_m2 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { 
__ref._p3_m2 /*String*/  = __ref._p3_m2 /*String*/ .substring((int) (2));};
RDebugUtils.currentLine=57081912;
 //BA.debugLineNum = 57081912;BA.debugLine="LogColor(P3_M2,Colors.BlUE)";
__c.LogImpl("057081912",__ref._p3_m2 /*String*/ ,__c.Colors.Blue);
RDebugUtils.currentLine=57081913;
 //BA.debugLineNum = 57081913;BA.debugLine="If PASA = \"1\" Then";
if ((__ref._pasa /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=57081914;
 //BA.debugLineNum = 57081914;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO2";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO2 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p3_m2 /*String*/ ),(Object)(__ref._p4_m2 /*String*/ ),(Object)(__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p6_m2 /*String*/ )}));
RDebugUtils.currentLine=57081915;
 //BA.debugLineNum = 57081915;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57081916;
 //BA.debugLineNum = 57081916;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57081917;
 //BA.debugLineNum = 57081917;BA.debugLine="et_p1_m2.Text = \"\"";
__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=57081918;
 //BA.debugLineNum = 57081918;BA.debugLine="et_p2_m2.TEXT = \"\"";
__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=57081919;
 //BA.debugLineNum = 57081919;BA.debugLine="RB7_P6_M2.Checked = False";
__ref._rb7_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081920;
 //BA.debugLineNum = 57081920;BA.debugLine="RB6_P6_M2.Checked = False";
__ref._rb6_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081921;
 //BA.debugLineNum = 57081921;BA.debugLine="RB5_P6_M2.Checked = False";
__ref._rb5_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081922;
 //BA.debugLineNum = 57081922;BA.debugLine="RB4_P6_M2.Checked = False";
__ref._rb4_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081923;
 //BA.debugLineNum = 57081923;BA.debugLine="RB3_P6_M2.Checked = False";
__ref._rb3_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081924;
 //BA.debugLineNum = 57081924;BA.debugLine="RB2_P6_M2.Checked = False";
__ref._rb2_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081925;
 //BA.debugLineNum = 57081925;BA.debugLine="RB1_P6_M2.Checked = False";
__ref._rb1_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081926;
 //BA.debugLineNum = 57081926;BA.debugLine="et_p5_m2.Text = \"\"";
__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=57081927;
 //BA.debugLineNum = 57081927;BA.debugLine="rd3_p4_m2.Checked = False";
__ref._rd3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081928;
 //BA.debugLineNum = 57081928;BA.debugLine="rd2_p4_m2.Checked = False";
__ref._rd2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081929;
 //BA.debugLineNum = 57081929;BA.debugLine="rd1_p4_m2.Checked = False";
__ref._rd1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081930;
 //BA.debugLineNum = 57081930;BA.debugLine="RB1_P3_M2.Checked = False";
__ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081931;
 //BA.debugLineNum = 57081931;BA.debugLine="RB2_P3_M2.Checked = False";
__ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081932;
 //BA.debugLineNum = 57081932;BA.debugLine="RB3_P3_M2.Checked = False";
__ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081933;
 //BA.debugLineNum = 57081933;BA.debugLine="RB4_P3_M2.Checked = False";
__ref._rb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081935;
 //BA.debugLineNum = 57081935;BA.debugLine="CB1_P3_M2.Checked = False";
__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081936;
 //BA.debugLineNum = 57081936;BA.debugLine="CB2_P3_M2.Checked = False";
__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081937;
 //BA.debugLineNum = 57081937;BA.debugLine="CB3_P3_M2.Checked = False";
__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081938;
 //BA.debugLineNum = 57081938;BA.debugLine="CB4_P3_M2.Checked = False";
__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081939;
 //BA.debugLineNum = 57081939;BA.debugLine="CB5_P3_M2.Checked = False";
__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081940;
 //BA.debugLineNum = 57081940;BA.debugLine="CB6_P3_M2.Checked = False";
__ref._cb6_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57081942;
 //BA.debugLineNum = 57081942;BA.debugLine="ET_P3_M2.Text = \"\"";
__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=57081943;
 //BA.debugLineNum = 57081943;BA.debugLine="P3_M2 = \"\"";
__ref._p3_m2 /*String*/  = "";
RDebugUtils.currentLine=57081944;
 //BA.debugLineNum = 57081944;BA.debugLine="P4_M2 = \"\"";
__ref._p4_m2 /*String*/  = "";
RDebugUtils.currentLine=57081945;
 //BA.debugLineNum = 57081945;BA.debugLine="P6_M2 = \"\"";
__ref._p6_m2 /*String*/  = "";
RDebugUtils.currentLine=57081947;
 //BA.debugLineNum = 57081947;BA.debugLine="Panel7_M2.Visible = False";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57081952;
 //BA.debugLineNum = 57081952;BA.debugLine="If ENCUESTA > 2 Then";
if ((double)(Double.parseDouble(__ref._encuesta /*String*/ ))>2) { 
RDebugUtils.currentLine=57081953;
 //BA.debugLineNum = 57081953;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible Then";
if (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=57081954;
 //BA.debugLineNum = 57081954;BA.debugLine="p_m2.Visible = False";
__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 };
RDebugUtils.currentLine=57081958;
 //BA.debugLineNum = 57081958;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57081959;
 //BA.debugLineNum = 57081959;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57081960;
 //BA.debugLineNum = 57081960;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57081961;
 //BA.debugLineNum = 57081961;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3\")";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESSTA_M3",ba);
RDebugUtils.currentLine=57081962;
 //BA.debugLineNum = 57081962;BA.debugLine="p_m3.Width = Root.Width * 0.94";
__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=57081963;
 //BA.debugLineNum = 57081963;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 60";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60));
RDebugUtils.currentLine=57081965;
 //BA.debugLineNum = 57081965;BA.debugLine="If  Subs.traeAlmacen  = 1  Or  Subs.traeAlmacen";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(1)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(2)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(4)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(5)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(35)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(36)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(45)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(46)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(47)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(54)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(64)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(65)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(71)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(3)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(25)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(27)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(38))) { 
RDebugUtils.currentLine=57081966;
 //BA.debugLineNum = 57081966;BA.debugLine="CB1_P6_M3.Text = \"GARIS\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("GARIS"));
RDebugUtils.currentLine=57081967;
 //BA.debugLineNum = 57081967;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57081968;
 //BA.debugLineNum = 57081968;BA.debugLine="CB3_P6_M3.Text = \"ZORRO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZORRO"));
RDebugUtils.currentLine=57081969;
 //BA.debugLineNum = 57081969;BA.debugLine="CB4_P6_M3.Text = \"ESCORPION\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ESCORPION"));
RDebugUtils.currentLine=57081970;
 //BA.debugLineNum = 57081970;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RABBIT"));
RDebugUtils.currentLine=57081971;
 //BA.debugLineNum = 57081971;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS"));
 }else 
{RDebugUtils.currentLine=57081973;
 //BA.debugLineNum = 57081973;BA.debugLine="else If  Subs.traeAlmacen = 12  Then '";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(12))) { 
RDebugUtils.currentLine=57081974;
 //BA.debugLineNum = 57081974;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA"));
RDebugUtils.currentLine=57081975;
 //BA.debugLineNum = 57081975;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA"));
RDebugUtils.currentLine=57081976;
 //BA.debugLineNum = 57081976;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57081977;
 //BA.debugLineNum = 57081977;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO"));
RDebugUtils.currentLine=57081978;
 //BA.debugLineNum = 57081978;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("HUGOSS"));
RDebugUtils.currentLine=57081979;
 //BA.debugLineNum = 57081979;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZORRO"));
 }else 
{RDebugUtils.currentLine=57081980;
 //BA.debugLineNum = 57081980;BA.debugLine="else If  Subs.traeAlmacen = 13  Then '";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(13))) { 
RDebugUtils.currentLine=57081981;
 //BA.debugLineNum = 57081981;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA"));
RDebugUtils.currentLine=57081982;
 //BA.debugLineNum = 57081982;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA"));
RDebugUtils.currentLine=57081983;
 //BA.debugLineNum = 57081983;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57081984;
 //BA.debugLineNum = 57081984;BA.debugLine="CB4_P6_M3.Text = \"SCORPION\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SCORPION"));
RDebugUtils.currentLine=57081985;
 //BA.debugLineNum = 57081985;BA.debugLine="CB5_P6_M3.Text = \"ZORRO\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZORRO"));
RDebugUtils.currentLine=57081986;
 //BA.debugLineNum = 57081986;BA.debugLine="CB6_P6_M3.Text = \"GARIS\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("GARIS"));
 }else 
{RDebugUtils.currentLine=57081987;
 //BA.debugLineNum = 57081987;BA.debugLine="else If  Subs.traeAlmacen = 14   Or  Subs.traeA";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(14)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(69)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(37))) { 
RDebugUtils.currentLine=57081988;
 //BA.debugLineNum = 57081988;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA"));
RDebugUtils.currentLine=57081989;
 //BA.debugLineNum = 57081989;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA"));
RDebugUtils.currentLine=57081990;
 //BA.debugLineNum = 57081990;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57081991;
 //BA.debugLineNum = 57081991;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO"));
RDebugUtils.currentLine=57081992;
 //BA.debugLineNum = 57081992;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA"));
RDebugUtils.currentLine=57081993;
 //BA.debugLineNum = 57081993;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZORRO"));
 }else 
{RDebugUtils.currentLine=57081994;
 //BA.debugLineNum = 57081994;BA.debugLine="else If  Subs.traeAlmacen = 16  Or  Subs.traeAl";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(16)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(70))) { 
RDebugUtils.currentLine=57081995;
 //BA.debugLineNum = 57081995;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA"));
RDebugUtils.currentLine=57081996;
 //BA.debugLineNum = 57081996;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA"));
RDebugUtils.currentLine=57081997;
 //BA.debugLineNum = 57081997;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57081998;
 //BA.debugLineNum = 57081998;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO"));
RDebugUtils.currentLine=57081999;
 //BA.debugLineNum = 57081999;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA"));
RDebugUtils.currentLine=57082000;
 //BA.debugLineNum = 57082000;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS"));
 }else 
{RDebugUtils.currentLine=57082001;
 //BA.debugLineNum = 57082001;BA.debugLine="else If  Subs.traeAlmacen = 17  Then '";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(17))) { 
RDebugUtils.currentLine=57082002;
 //BA.debugLineNum = 57082002;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA"));
RDebugUtils.currentLine=57082003;
 //BA.debugLineNum = 57082003;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57082004;
 //BA.debugLineNum = 57082004;BA.debugLine="CB3_P6_M3.Text = \"\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=57082005;
 //BA.debugLineNum = 57082005;BA.debugLine="CB4_P6_M3.Text = \"\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=57082006;
 //BA.debugLineNum = 57082006;BA.debugLine="CB5_P6_M3.Text = \"\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=57082007;
 //BA.debugLineNum = 57082007;BA.debugLine="CB6_P6_M3.Text = \"\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(""));
 }else 
{RDebugUtils.currentLine=57082008;
 //BA.debugLineNum = 57082008;BA.debugLine="else If  Subs.traeAlmacen = 29  Or  Subs.traeAl";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(29)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(31))) { 
RDebugUtils.currentLine=57082009;
 //BA.debugLineNum = 57082009;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA"));
RDebugUtils.currentLine=57082010;
 //BA.debugLineNum = 57082010;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA"));
RDebugUtils.currentLine=57082011;
 //BA.debugLineNum = 57082011;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57082012;
 //BA.debugLineNum = 57082012;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO"));
RDebugUtils.currentLine=57082013;
 //BA.debugLineNum = 57082013;BA.debugLine="CB5_P6_M3.Text = \"SAMS\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS"));
RDebugUtils.currentLine=57082014;
 //BA.debugLineNum = 57082014;BA.debugLine="CB6_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA"));
 }else 
{RDebugUtils.currentLine=57082015;
 //BA.debugLineNum = 57082015;BA.debugLine="else If  Subs.traeAlmacen = 32  Or  Subs.traeAl";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(32)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(33))) { 
RDebugUtils.currentLine=57082016;
 //BA.debugLineNum = 57082016;BA.debugLine="CB1_P6_M3.Text = \"MAS BODEGA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("MAS BODEGA"));
RDebugUtils.currentLine=57082017;
 //BA.debugLineNum = 57082017;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57082018;
 //BA.debugLineNum = 57082018;BA.debugLine="CB3_P6_M3.Text = \"TREVIÑO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("TREVIÑO"));
RDebugUtils.currentLine=57082019;
 //BA.debugLineNum = 57082019;BA.debugLine="CB4_P6_M3.Text = \"HUGOSS\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("HUGOSS"));
RDebugUtils.currentLine=57082020;
 //BA.debugLineNum = 57082020;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RABBIT"));
RDebugUtils.currentLine=57082021;
 //BA.debugLineNum = 57082021;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS"));
 }else 
{RDebugUtils.currentLine=57082022;
 //BA.debugLineNum = 57082022;BA.debugLine="else If  Subs.traeAlmacen = 66  Or  Subs.traeAl";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(66)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(67))) { 
RDebugUtils.currentLine=57082023;
 //BA.debugLineNum = 57082023;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA"));
RDebugUtils.currentLine=57082024;
 //BA.debugLineNum = 57082024;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA"));
RDebugUtils.currentLine=57082025;
 //BA.debugLineNum = 57082025;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57082026;
 //BA.debugLineNum = 57082026;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO"));
RDebugUtils.currentLine=57082027;
 //BA.debugLineNum = 57082027;BA.debugLine="CB5_P6_M3.Text = \"SCORPION\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SCORPION"));
RDebugUtils.currentLine=57082028;
 //BA.debugLineNum = 57082028;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS"));
 }else 
{RDebugUtils.currentLine=57082030;
 //BA.debugLineNum = 57082030;BA.debugLine="else If  Subs.traeAlmacen = 22  Or  Subs.traeAl";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(22)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(34))) { 
RDebugUtils.currentLine=57082031;
 //BA.debugLineNum = 57082031;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA"));
RDebugUtils.currentLine=57082032;
 //BA.debugLineNum = 57082032;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA"));
RDebugUtils.currentLine=57082033;
 //BA.debugLineNum = 57082033;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO"));
RDebugUtils.currentLine=57082034;
 //BA.debugLineNum = 57082034;BA.debugLine="CB4_P6_M3.Text = \"MERZA/DUERO\"";
__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("MERZA/DUERO"));
RDebugUtils.currentLine=57082035;
 //BA.debugLineNum = 57082035;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\"";
__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("HUGOSS"));
 }}}}}}}}}}
;
 }else {
RDebugUtils.currentLine=57082038;
 //BA.debugLineNum = 57082038;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57082039;
 //BA.debugLineNum = 57082039;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57082040;
 //BA.debugLineNum = 57082040;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57082042;
 //BA.debugLineNum = 57082042;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
RDebugUtils.currentLine=57082043;
 //BA.debugLineNum = 57082043;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba);
 };
 }else {
RDebugUtils.currentLine=57082046;
 //BA.debugLineNum = 57082046;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
 };
RDebugUtils.currentLine=57082048;
 //BA.debugLineNum = 57082048;BA.debugLine="End Sub";
return "";
}
public String  _b_guardaencuesta_m3_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_guardaencuesta_m3_click", false))
	 {return ((String) Debug.delegate(ba, "b_guardaencuesta_m3_click", null));}
String _p3_m3 = "";
String _p4_m3 = "";
String _p5_m3 = "";
String _p6_m3 = "";
String _p7_m3 = "";
String _p8_m3 = "";
String _p9_m3 = "";
anywheresoftware.b4a.objects.collections.List _items2 = null;
anywheresoftware.b4a.objects.collections.List _items3 = null;
RDebugUtils.currentLine=57212928;
 //BA.debugLineNum = 57212928;BA.debugLine="Private Sub B_guardaencuesta_m3_Click";
RDebugUtils.currentLine=57212930;
 //BA.debugLineNum = 57212930;BA.debugLine="PASA = \"1\"";
__ref._pasa /*String*/  = "1";
RDebugUtils.currentLine=57212936;
 //BA.debugLineNum = 57212936;BA.debugLine="Private P3_M3 As String = \"\"";
_p3_m3 = "";
RDebugUtils.currentLine=57212937;
 //BA.debugLineNum = 57212937;BA.debugLine="Private P4_M3 As String = \"\"";
_p4_m3 = "";
RDebugUtils.currentLine=57212938;
 //BA.debugLineNum = 57212938;BA.debugLine="Private P5_M3 As String = \"\"";
_p5_m3 = "";
RDebugUtils.currentLine=57212939;
 //BA.debugLineNum = 57212939;BA.debugLine="Private P6_M3 As String = \"\"";
_p6_m3 = "";
RDebugUtils.currentLine=57212940;
 //BA.debugLineNum = 57212940;BA.debugLine="Private P7_M3 As String = \"\"";
_p7_m3 = "";
RDebugUtils.currentLine=57212941;
 //BA.debugLineNum = 57212941;BA.debugLine="Private P8_M3 As String = \"\"";
_p8_m3 = "";
RDebugUtils.currentLine=57212942;
 //BA.debugLineNum = 57212942;BA.debugLine="Private P9_M3 As String = \"\"";
_p9_m3 = "";
RDebugUtils.currentLine=57212948;
 //BA.debugLineNum = 57212948;BA.debugLine="If rd1_p5_m3.Checked Then P5_M3 = \"SI\"";
if (__ref._rd1_p5_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p5_m3 = "SI";};
RDebugUtils.currentLine=57212949;
 //BA.debugLineNum = 57212949;BA.debugLine="If rd2_p5_m3.Checked Then P5_M3 = \"NO\"";
if (__ref._rd2_p5_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p5_m3 = "NO";};
RDebugUtils.currentLine=57212951;
 //BA.debugLineNum = 57212951;BA.debugLine="If RB1_P9_M3.Checked Then P9_M3 = \"DIARIO\"";
if (__ref._rb1_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p9_m3 = "DIARIO";};
RDebugUtils.currentLine=57212952;
 //BA.debugLineNum = 57212952;BA.debugLine="If RB2_P9_M3.Checked Then P9_M3 = \"BISEMANAL\"";
if (__ref._rb2_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p9_m3 = "BISEMANAL";};
RDebugUtils.currentLine=57212953;
 //BA.debugLineNum = 57212953;BA.debugLine="If RB3_P9_M3.Checked Then P9_M3 = \"SEMANAL\"";
if (__ref._rb3_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p9_m3 = "SEMANAL";};
RDebugUtils.currentLine=57212954;
 //BA.debugLineNum = 57212954;BA.debugLine="If RB4_P9_M3.Checked Then P9_M3 = \"QUINCENAL\"";
if (__ref._rb4_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p9_m3 = "QUINCENAL";};
RDebugUtils.currentLine=57212955;
 //BA.debugLineNum = 57212955;BA.debugLine="If RB5_P9_M3.Checked Then P9_M3 = \"MENSUAL\"";
if (__ref._rb5_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p9_m3 = "MENSUAL";};
RDebugUtils.currentLine=57212956;
 //BA.debugLineNum = 57212956;BA.debugLine="If P9_M3 = \"\" Then PASA = \"0\"";
if ((_p9_m3).equals("")) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57212957;
 //BA.debugLineNum = 57212957;BA.debugLine="If P5_M3 = \"\" Then PASA = \"0\"";
if ((_p5_m3).equals("")) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57212960;
 //BA.debugLineNum = 57212960;BA.debugLine="If CB1_P3_M3.Checked = False And  CB2_P3_M3.Check";
if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57212962;
 //BA.debugLineNum = 57212962;BA.debugLine="If  CB1_P4_M3.Checked  = False And  CB2_P4_M3.Che";
if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57212967;
 //BA.debugLineNum = 57212967;BA.debugLine="If CB1_P7_M3.Checked  = False And  CB2_P7_M3.Chec";
if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57212970;
 //BA.debugLineNum = 57212970;BA.debugLine="If CB1_P8_M3.Checked = False And  CB2_P8_M3.Check";
if (__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { 
__ref._pasa /*String*/  = "0";};
RDebugUtils.currentLine=57212971;
 //BA.debugLineNum = 57212971;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\"";
if (__ref._rb1_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p3_m3 = "7 A 9";};
RDebugUtils.currentLine=57212972;
 //BA.debugLineNum = 57212972;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\"";
if (__ref._rb2_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p3_m3 = "9 A 11";};
RDebugUtils.currentLine=57212973;
 //BA.debugLineNum = 57212973;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\"";
if (__ref._rb3_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p3_m3 = "11 A 13";};
RDebugUtils.currentLine=57212974;
 //BA.debugLineNum = 57212974;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\"";
if (__ref._rb4_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p3_m3 = "13 +";};
RDebugUtils.currentLine=57212976;
 //BA.debugLineNum = 57212976;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\"";
if (__ref._rb1_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p4_m3 = "2 A 4";};
RDebugUtils.currentLine=57212977;
 //BA.debugLineNum = 57212977;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\"";
if (__ref._rb2_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p4_m3 = "4 A 6";};
RDebugUtils.currentLine=57212978;
 //BA.debugLineNum = 57212978;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\"";
if (__ref._rb3_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p4_m3 = "6 A 8";};
RDebugUtils.currentLine=57212979;
 //BA.debugLineNum = 57212979;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\"";
if (__ref._rb4_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p4_m3 = "8 +";};
RDebugUtils.currentLine=57212981;
 //BA.debugLineNum = 57212981;BA.debugLine="If CB5_P4_M3.Checked  = True And ( CB2_P4_M3.Chec";
if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True && (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True || __ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True || __ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True || __ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True)) { 
RDebugUtils.currentLine=57212982;
 //BA.debugLineNum = 57212982;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
RDebugUtils.currentLine=57212983;
 //BA.debugLineNum = 57212983;BA.debugLine="CB5_P4_M3.Checked = False";
__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57212984;
 //BA.debugLineNum = 57212984;BA.debugLine="CB2_P4_M3.Checked = False";
__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57212985;
 //BA.debugLineNum = 57212985;BA.debugLine="CB3_P4_M3.Checked = False";
__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57212986;
 //BA.debugLineNum = 57212986;BA.debugLine="CB4_P4_M3.Checked = False";
__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=57212987;
 //BA.debugLineNum = 57212987;BA.debugLine="CB1_P4_M3.Checked = False";
__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
 };
RDebugUtils.currentLine=57212991;
 //BA.debugLineNum = 57212991;BA.debugLine="If PASA = \"1\" Then";
if ((__ref._pasa /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=57212992;
 //BA.debugLineNum = 57212992;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\"";
if (__ref._rb1_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p3_m3 = "7 A 9";};
RDebugUtils.currentLine=57212993;
 //BA.debugLineNum = 57212993;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\"";
if (__ref._rb2_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p3_m3 = "9 A 11";};
RDebugUtils.currentLine=57212994;
 //BA.debugLineNum = 57212994;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\"";
if (__ref._rb3_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p3_m3 = "11 A 13";};
RDebugUtils.currentLine=57212995;
 //BA.debugLineNum = 57212995;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\"";
if (__ref._rb4_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p3_m3 = "13 +";};
RDebugUtils.currentLine=57212997;
 //BA.debugLineNum = 57212997;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\"";
if (__ref._rb1_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p4_m3 = "2 A 4";};
RDebugUtils.currentLine=57212998;
 //BA.debugLineNum = 57212998;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\"";
if (__ref._rb2_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p4_m3 = "4 A 6";};
RDebugUtils.currentLine=57212999;
 //BA.debugLineNum = 57212999;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\"";
if (__ref._rb3_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p4_m3 = "6 A 8";};
RDebugUtils.currentLine=57213000;
 //BA.debugLineNum = 57213000;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\"";
if (__ref._rb4_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { 
_p4_m3 = "8 +";};
RDebugUtils.currentLine=57213002;
 //BA.debugLineNum = 57213002;BA.debugLine="If ET_P6_M3.Text <> \"\" Then";
if ((__ref._et_p6_m3 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { 
RDebugUtils.currentLine=57213003;
 //BA.debugLineNum = 57213003;BA.debugLine="textemp6 = textemp6 & \", \" & ET_P6_M3.Text";
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._et_p6_m3 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText();
 };
RDebugUtils.currentLine=57213006;
 //BA.debugLineNum = 57213006;BA.debugLine="If textemp4 <> \"\" And textemp4.SubString2(0,2) =";
if ((__ref._textemp4 /*String*/ ).equals("") == false && (__ref._textemp4 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ .substring((int) (2));};
RDebugUtils.currentLine=57213007;
 //BA.debugLineNum = 57213007;BA.debugLine="If textemp5 <> \"\" And textemp5.SubString2(0,2) =";
if ((__ref._textemp5 /*String*/ ).equals("") == false && (__ref._textemp5 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ .substring((int) (2));};
RDebugUtils.currentLine=57213008;
 //BA.debugLineNum = 57213008;BA.debugLine="If textemp6 <> \"\" And textemp6.SubString2(0,2) =";
if ((__ref._textemp6 /*String*/ ).equals("") == false && (__ref._textemp6 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ .substring((int) (2));};
RDebugUtils.currentLine=57213009;
 //BA.debugLineNum = 57213009;BA.debugLine="If textemp7 <> \"\" And textemp7.SubString2(0,2) =";
if ((__ref._textemp7 /*String*/ ).equals("") == false && (__ref._textemp7 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ .substring((int) (2));};
RDebugUtils.currentLine=57213010;
 //BA.debugLineNum = 57213010;BA.debugLine="If textemp8 <> \"\" And textemp8.SubString2(0,2) =";
if ((__ref._textemp8 /*String*/ ).equals("") == false && (__ref._textemp8 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ .substring((int) (2));};
RDebugUtils.currentLine=57213014;
 //BA.debugLineNum = 57213014;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO3";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO3 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6,P7,P8,P9,P10,P11) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),(Object)("x"),(Object)("x"),(Object)(_p3_m3),(Object)(_p4_m3),(Object)(__ref._textemp4 /*String*/ ),(Object)(__ref._textemp5 /*String*/ ),(Object)(_p5_m3),(Object)(__ref._textemp6 /*String*/ ),(Object)(__ref._textemp7 /*String*/ ),(Object)(__ref._textemp8 /*String*/ ),(Object)(_p9_m3)}));
RDebugUtils.currentLine=57213015;
 //BA.debugLineNum = 57213015;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57213016;
 //BA.debugLineNum = 57213016;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57213019;
 //BA.debugLineNum = 57213019;BA.debugLine="If ENCUESTA > 3 Then";
if ((double)(Double.parseDouble(__ref._encuesta /*String*/ ))>3) { 
RDebugUtils.currentLine=57213020;
 //BA.debugLineNum = 57213020;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible Then";
if (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=57213021;
 //BA.debugLineNum = 57213021;BA.debugLine="p_m3.Visible = False";
__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 };
RDebugUtils.currentLine=57213025;
 //BA.debugLineNum = 57213025;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57213026;
 //BA.debugLineNum = 57213026;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57213027;
 //BA.debugLineNum = 57213027;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57213028;
 //BA.debugLineNum = 57213028;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57213029;
 //BA.debugLineNum = 57213029;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\")";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA_M4",ba);
RDebugUtils.currentLine=57213030;
 //BA.debugLineNum = 57213030;BA.debugLine="p_m4.Width = Root.Width * 0.94";
__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=57213031;
 //BA.debugLineNum = 57213031;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 60";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60));
RDebugUtils.currentLine=57213033;
 //BA.debugLineNum = 57213033;BA.debugLine="Dim Items2 As List";
_items2 = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=57213034;
 //BA.debugLineNum = 57213034;BA.debugLine="Items2.Initialize";
_items2.Initialize();
RDebugUtils.currentLine=57213035;
 //BA.debugLineNum = 57213035;BA.debugLine="Items2.Add(\"Selecciona una opcion\")";
_items2.Add((Object)("Selecciona una opcion"));
RDebugUtils.currentLine=57213036;
 //BA.debugLineNum = 57213036;BA.debugLine="Items2.Add(\"Propio\")";
_items2.Add((Object)("Propio"));
RDebugUtils.currentLine=57213037;
 //BA.debugLineNum = 57213037;BA.debugLine="Items2.Add(\"Rentado\")";
_items2.Add((Object)("Rentado"));
RDebugUtils.currentLine=57213038;
 //BA.debugLineNum = 57213038;BA.debugLine="cb_p3_m4.SetItems(Items2)";
__ref._cb_p3_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items2);
RDebugUtils.currentLine=57213039;
 //BA.debugLineNum = 57213039;BA.debugLine="itemselect2 = \"Selecciona una opcion\"";
__ref._itemselect2 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57213042;
 //BA.debugLineNum = 57213042;BA.debugLine="Dim Items3 As List";
_items3 = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=57213043;
 //BA.debugLineNum = 57213043;BA.debugLine="Items3.Initialize";
_items3.Initialize();
RDebugUtils.currentLine=57213044;
 //BA.debugLineNum = 57213044;BA.debugLine="Items3.Add(\"Selecciona una opcion\")";
_items3.Add((Object)("Selecciona una opcion"));
RDebugUtils.currentLine=57213045;
 //BA.debugLineNum = 57213045;BA.debugLine="Items3.Add(\"Completamente Surtido\")";
_items3.Add((Object)("Completamente Surtido"));
RDebugUtils.currentLine=57213046;
 //BA.debugLineNum = 57213046;BA.debugLine="Items3.Add(\"Bien Surtido\")";
_items3.Add((Object)("Bien Surtido"));
RDebugUtils.currentLine=57213047;
 //BA.debugLineNum = 57213047;BA.debugLine="Items3.Add(\"Poco Surtido\")";
_items3.Add((Object)("Poco Surtido"));
RDebugUtils.currentLine=57213048;
 //BA.debugLineNum = 57213048;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")";
_items3.Add((Object)("Muy Poco Surtido"));
RDebugUtils.currentLine=57213049;
 //BA.debugLineNum = 57213049;BA.debugLine="Items3.Add(\"Sin Existencias\")";
_items3.Add((Object)("Sin Existencias"));
RDebugUtils.currentLine=57213050;
 //BA.debugLineNum = 57213050;BA.debugLine="cb_p4_1_m4.SetItems(Items3)";
__ref._cb_p4_1_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=57213051;
 //BA.debugLineNum = 57213051;BA.debugLine="itemselect3 = \"Selecciona una opcion\"";
__ref._itemselect3 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57213052;
 //BA.debugLineNum = 57213052;BA.debugLine="cb_p4_2_m4.SetItems(Items3)";
__ref._cb_p4_2_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=57213053;
 //BA.debugLineNum = 57213053;BA.debugLine="itemselect4 = \"Selecciona una opcion\"";
__ref._itemselect4 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57213054;
 //BA.debugLineNum = 57213054;BA.debugLine="cb_p4_3_m4.SetItems(Items3)";
__ref._cb_p4_3_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=57213055;
 //BA.debugLineNum = 57213055;BA.debugLine="itemselect5 = \"Selecciona una opcion\"";
__ref._itemselect5 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57213056;
 //BA.debugLineNum = 57213056;BA.debugLine="cb_p4_4_m4.SetItems(Items3)";
__ref._cb_p4_4_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=57213057;
 //BA.debugLineNum = 57213057;BA.debugLine="itemselect6 = \"Selecciona una opcion\"";
__ref._itemselect6 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57213058;
 //BA.debugLineNum = 57213058;BA.debugLine="cb_p4_5_m4.SetItems(Items3)";
__ref._cb_p4_5_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=57213059;
 //BA.debugLineNum = 57213059;BA.debugLine="itemselect7 = \"Selecciona una opcion\"";
__ref._itemselect7 /*String*/  = "Selecciona una opcion";
 }else {
RDebugUtils.currentLine=57213061;
 //BA.debugLineNum = 57213061;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57213062;
 //BA.debugLineNum = 57213062;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57213063;
 //BA.debugLineNum = 57213063;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57213065;
 //BA.debugLineNum = 57213065;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
RDebugUtils.currentLine=57213066;
 //BA.debugLineNum = 57213066;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba);
 };
 }else {
RDebugUtils.currentLine=57213069;
 //BA.debugLineNum = 57213069;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
 };
RDebugUtils.currentLine=57213071;
 //BA.debugLineNum = 57213071;BA.debugLine="End Sub";
return "";
}
public String  _b_guardaencuesta_m4_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_guardaencuesta_m4_click", false))
	 {return ((String) Debug.delegate(ba, "b_guardaencuesta_m4_click", null));}
anywheresoftware.b4a.objects.collections.List _items8 = null;
RDebugUtils.currentLine=57278464;
 //BA.debugLineNum = 57278464;BA.debugLine="Private Sub B_guardaencuesta_m4_Click";
RDebugUtils.currentLine=57278466;
 //BA.debugLineNum = 57278466;BA.debugLine="PASA = \"1\"";
__ref._pasa /*String*/  = "1";
RDebugUtils.currentLine=57278468;
 //BA.debugLineNum = 57278468;BA.debugLine="If itemselect2 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect2 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57278469;
 //BA.debugLineNum = 57278469;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57278471;
 //BA.debugLineNum = 57278471;BA.debugLine="If itemselect3 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect3 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57278472;
 //BA.debugLineNum = 57278472;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57278474;
 //BA.debugLineNum = 57278474;BA.debugLine="If itemselect4 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect4 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57278475;
 //BA.debugLineNum = 57278475;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57278477;
 //BA.debugLineNum = 57278477;BA.debugLine="If itemselect5 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect5 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57278478;
 //BA.debugLineNum = 57278478;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57278480;
 //BA.debugLineNum = 57278480;BA.debugLine="If itemselect6 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect6 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57278481;
 //BA.debugLineNum = 57278481;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57278483;
 //BA.debugLineNum = 57278483;BA.debugLine="If itemselect7 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect7 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57278484;
 //BA.debugLineNum = 57278484;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57278486;
 //BA.debugLineNum = 57278486;BA.debugLine="If et_p1_m4.Text.Length  < 2 Then";
if (__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()<2) { 
RDebugUtils.currentLine=57278488;
 //BA.debugLineNum = 57278488;BA.debugLine="et_p1_m4.Text = \"\"";
__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=57278489;
 //BA.debugLineNum = 57278489;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57278491;
 //BA.debugLineNum = 57278491;BA.debugLine="If PASA = \"1\" Then";
if ((__ref._pasa /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=57278492;
 //BA.debugLineNum = 57278492;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO4";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO4 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_p2_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._itemselect2 /*String*/ ),(Object)(__ref._itemselect3 /*String*/ ),(Object)(__ref._itemselect4 /*String*/ ),(Object)(__ref._itemselect5 /*String*/ ),(Object)(__ref._itemselect6 /*String*/ ),(Object)(__ref._itemselect7 /*String*/ )}));
RDebugUtils.currentLine=57278493;
 //BA.debugLineNum = 57278493;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57278494;
 //BA.debugLineNum = 57278494;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57278496;
 //BA.debugLineNum = 57278496;BA.debugLine="If ENCUESTA > 4 Then";
if ((double)(Double.parseDouble(__ref._encuesta /*String*/ ))>4) { 
RDebugUtils.currentLine=57278497;
 //BA.debugLineNum = 57278497;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible Then";
if (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=57278498;
 //BA.debugLineNum = 57278498;BA.debugLine="p_m4.Visible = False";
__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 };
RDebugUtils.currentLine=57278502;
 //BA.debugLineNum = 57278502;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57278503;
 //BA.debugLineNum = 57278503;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57278504;
 //BA.debugLineNum = 57278504;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57278505;
 //BA.debugLineNum = 57278505;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\")";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA_M5",ba);
RDebugUtils.currentLine=57278506;
 //BA.debugLineNum = 57278506;BA.debugLine="p_modulo5.Width = Root.Width * 0.94";
__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=57278507;
 //BA.debugLineNum = 57278507;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Height + 6";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60));
RDebugUtils.currentLine=57278509;
 //BA.debugLineNum = 57278509;BA.debugLine="Dim Items8 As List";
_items8 = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=57278510;
 //BA.debugLineNum = 57278510;BA.debugLine="Items8.Initialize";
_items8.Initialize();
RDebugUtils.currentLine=57278511;
 //BA.debugLineNum = 57278511;BA.debugLine="Items8.Add(\"Selecciona una opcion\")";
_items8.Add((Object)("Selecciona una opcion"));
RDebugUtils.currentLine=57278512;
 //BA.debugLineNum = 57278512;BA.debugLine="Items8.Add(\"Completamente Surtido\")";
_items8.Add((Object)("Completamente Surtido"));
RDebugUtils.currentLine=57278513;
 //BA.debugLineNum = 57278513;BA.debugLine="Items8.Add(\"Bien Surtido\")";
_items8.Add((Object)("Bien Surtido"));
RDebugUtils.currentLine=57278514;
 //BA.debugLineNum = 57278514;BA.debugLine="Items8.Add(\"Poco Surtido\")";
_items8.Add((Object)("Poco Surtido"));
RDebugUtils.currentLine=57278515;
 //BA.debugLineNum = 57278515;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")";
_items8.Add((Object)("Muy Poco Surtido"));
RDebugUtils.currentLine=57278516;
 //BA.debugLineNum = 57278516;BA.debugLine="Items8.Add(\"Sin Existencias\")";
_items8.Add((Object)("Sin Existencias"));
RDebugUtils.currentLine=57278517;
 //BA.debugLineNum = 57278517;BA.debugLine="cb_p1_m5.SetItems(Items8)";
__ref._cb_p1_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278518;
 //BA.debugLineNum = 57278518;BA.debugLine="itemselect8 = \"Selecciona una opcion\"";
__ref._itemselect8 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278519;
 //BA.debugLineNum = 57278519;BA.debugLine="cb_p2_m5.SetItems(Items8)";
__ref._cb_p2_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278520;
 //BA.debugLineNum = 57278520;BA.debugLine="itemselect9 = \"Selecciona una opcion\"";
__ref._itemselect9 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278521;
 //BA.debugLineNum = 57278521;BA.debugLine="cb_p3_m5.SetItems(Items8)";
__ref._cb_p3_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278522;
 //BA.debugLineNum = 57278522;BA.debugLine="itemselect10 = \"Selecciona una opcion\"";
__ref._itemselect10 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278523;
 //BA.debugLineNum = 57278523;BA.debugLine="cb_p4_m5.SetItems(Items8)";
__ref._cb_p4_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278524;
 //BA.debugLineNum = 57278524;BA.debugLine="itemselect11 = \"Selecciona una opcion\"";
__ref._itemselect11 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278525;
 //BA.debugLineNum = 57278525;BA.debugLine="cb_p5_m5.SetItems(Items8)";
__ref._cb_p5_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278526;
 //BA.debugLineNum = 57278526;BA.debugLine="itemselect12 = \"Selecciona una opcion\"";
__ref._itemselect12 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278527;
 //BA.debugLineNum = 57278527;BA.debugLine="cb_p6_m5.SetItems(Items8)";
__ref._cb_p6_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278528;
 //BA.debugLineNum = 57278528;BA.debugLine="itemselect13 = \"Selecciona una opcion\"";
__ref._itemselect13 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278529;
 //BA.debugLineNum = 57278529;BA.debugLine="cb_p7_m5.SetItems(Items8)";
__ref._cb_p7_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278530;
 //BA.debugLineNum = 57278530;BA.debugLine="itemselect14 = \"Selecciona una opcion\"";
__ref._itemselect14 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278531;
 //BA.debugLineNum = 57278531;BA.debugLine="cb_p8_m5.SetItems(Items8)";
__ref._cb_p8_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278532;
 //BA.debugLineNum = 57278532;BA.debugLine="itemselect15 = \"Selecciona una opcion\"";
__ref._itemselect15 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278533;
 //BA.debugLineNum = 57278533;BA.debugLine="cb_p9_m5.SetItems(Items8)";
__ref._cb_p9_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=57278534;
 //BA.debugLineNum = 57278534;BA.debugLine="itemselect16 = \"Selecciona una opcion\"";
__ref._itemselect16 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=57278535;
 //BA.debugLineNum = 57278535;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba);
 }else {
RDebugUtils.currentLine=57278537;
 //BA.debugLineNum = 57278537;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/  = __ref._tipo_venta /*String*/ ;
RDebugUtils.currentLine=57278539;
 //BA.debugLineNum = 57278539;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57278540;
 //BA.debugLineNum = 57278540;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57278541;
 //BA.debugLineNum = 57278541;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57278542;
 //BA.debugLineNum = 57278542;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
 };
 }else {
RDebugUtils.currentLine=57278545;
 //BA.debugLineNum = 57278545;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
 };
RDebugUtils.currentLine=57278548;
 //BA.debugLineNum = 57278548;BA.debugLine="End Sub";
return "";
}
public String  _b_guardaencuesta_m5_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_guardaencuesta_m5_click", false))
	 {return ((String) Debug.delegate(ba, "b_guardaencuesta_m5_click", null));}
RDebugUtils.currentLine=57344000;
 //BA.debugLineNum = 57344000;BA.debugLine="Private Sub B_guardaencuesta_m5_Click";
RDebugUtils.currentLine=57344002;
 //BA.debugLineNum = 57344002;BA.debugLine="PASA = \"1\"";
__ref._pasa /*String*/  = "1";
RDebugUtils.currentLine=57344004;
 //BA.debugLineNum = 57344004;BA.debugLine="If itemselect8 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect8 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344005;
 //BA.debugLineNum = 57344005;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344007;
 //BA.debugLineNum = 57344007;BA.debugLine="If itemselect9 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect9 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344008;
 //BA.debugLineNum = 57344008;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344010;
 //BA.debugLineNum = 57344010;BA.debugLine="If itemselect10 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect10 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344011;
 //BA.debugLineNum = 57344011;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344013;
 //BA.debugLineNum = 57344013;BA.debugLine="If itemselect11 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect11 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344014;
 //BA.debugLineNum = 57344014;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344016;
 //BA.debugLineNum = 57344016;BA.debugLine="If itemselect12 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect12 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344017;
 //BA.debugLineNum = 57344017;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344019;
 //BA.debugLineNum = 57344019;BA.debugLine="If itemselect13 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect13 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344020;
 //BA.debugLineNum = 57344020;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344022;
 //BA.debugLineNum = 57344022;BA.debugLine="If itemselect14 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect14 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344023;
 //BA.debugLineNum = 57344023;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344025;
 //BA.debugLineNum = 57344025;BA.debugLine="If itemselect15 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect15 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344026;
 //BA.debugLineNum = 57344026;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344028;
 //BA.debugLineNum = 57344028;BA.debugLine="If itemselect16 = \"Selecciona una opcion\" Then";
if ((__ref._itemselect16 /*String*/ ).equals("Selecciona una opcion")) { 
RDebugUtils.currentLine=57344029;
 //BA.debugLineNum = 57344029;BA.debugLine="PASA = \"0\"";
__ref._pasa /*String*/  = "0";
 };
RDebugUtils.currentLine=57344032;
 //BA.debugLineNum = 57344032;BA.debugLine="If PASA = \"1\" Then";
if ((__ref._pasa /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=57344033;
 //BA.debugLineNum = 57344033;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO5";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO5 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._itemselect8 /*String*/ ),(Object)(__ref._itemselect9 /*String*/ ),(Object)(__ref._itemselect10 /*String*/ ),(Object)(__ref._itemselect11 /*String*/ ),(Object)(__ref._itemselect12 /*String*/ ),(Object)(__ref._itemselect13 /*String*/ ),(Object)(__ref._itemselect14 /*String*/ ),(Object)(__ref._itemselect15 /*String*/ ),(Object)(__ref._itemselect16 /*String*/ )}));
RDebugUtils.currentLine=57344034;
 //BA.debugLineNum = 57344034;BA.debugLine="SV_ENCUESTA.Visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=57344035;
 //BA.debugLineNum = 57344035;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=57344036;
 //BA.debugLineNum = 57344036;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/  = __ref._tipo_venta /*String*/ ;
RDebugUtils.currentLine=57344037;
 //BA.debugLineNum = 57344037;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
RDebugUtils.currentLine=57344038;
 //BA.debugLineNum = 57344038;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba);
 }else {
RDebugUtils.currentLine=57344040;
 //BA.debugLineNum = 57344040;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
 };
RDebugUtils.currentLine=57344042;
 //BA.debugLineNum = 57344042;BA.debugLine="End Sub";
return "";
}
public void  _b_imp_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_imp_click", false))
	 {Debug.delegate(ba, "b_imp_click", null); return;}
ResumableSub_B_IMP_Click rsub = new ResumableSub_B_IMP_Click(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_B_IMP_Click extends BA.ResumableSub {
public ResumableSub_B_IMP_Click(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
int _resultado = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _creditocod = null;
anywheresoftware.b4a.objects.CSBuilder _cs = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=53739537;
 //BA.debugLineNum = 53739537;BA.debugLine="If ALMACEN = 87 Then";
if (true) break;

case 1:
//if
this.state = 44;
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(87))) { 
this.state = 3;
}else 
{RDebugUtils.currentLine=53739543;
 //BA.debugLineNum = 53739543;BA.debugLine="Else If ALMACEN = 88 Then";
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(88))) { 
this.state = 11;
}else 
{RDebugUtils.currentLine=53739546;
 //BA.debugLineNum = 53739546;BA.debugLine="Else If ALMACEN = 81 Or ALMACEN = 102 Or ALMACEN";
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(81)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(102)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(94))) { 
this.state = 13;
}else {
this.state = 43;
}}}
if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=53739538;
 //BA.debugLineNum = 53739538;BA.debugLine="If Subs.traemontoprod Then";
if (true) break;

case 4:
//if
this.state = 9;
if (parent._subs._traemontoprod /*boolean*/ (ba)) { 
this.state = 6;
}else {
this.state = 8;
}if (true) break;

case 6:
//C
this.state = 9;
RDebugUtils.currentLine=53739539;
 //BA.debugLineNum = 53739539;BA.debugLine="Impresion2";
__ref._impresion2 /*void*/ (null);
 if (true) break;

case 8:
//C
this.state = 9;
RDebugUtils.currentLine=53739541;
 //BA.debugLineNum = 53739541;BA.debugLine="Impresion";
__ref._impresion /*void*/ (null);
 if (true) break;

case 9:
//C
this.state = 44;
;
 if (true) break;

case 11:
//C
this.state = 44;
RDebugUtils.currentLine=53739545;
 //BA.debugLineNum = 53739545;BA.debugLine="Impresion4";
__ref._impresion4 /*void*/ (null);
 if (true) break;

case 13:
//C
this.state = 14;
RDebugUtils.currentLine=53739548;
 //BA.debugLineNum = 53739548;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, IFNULL(CONFIRMADO,0) AS CONFIRMADO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=53739549;
 //BA.debugLineNum = 53739549;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53739551;
 //BA.debugLineNum = 53739551;BA.debugLine="If c.GetString(\"CAT_CL_BCREDITO\") = 0 Then";
if (true) break;

case 14:
//if
this.state = 41;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals(BA.NumberToString(0))) { 
this.state = 16;
}else 
{RDebugUtils.currentLine=53739554;
 //BA.debugLineNum = 53739554;BA.debugLine="Else If c.GetString(\"CAT_CL_BCREDITO\") = 1 Then";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals(BA.NumberToString(1))) { 
this.state = 18;
}}
if (true) break;

case 16:
//C
this.state = 41;
RDebugUtils.currentLine=53739552;
 //BA.debugLineNum = 53739552;BA.debugLine="Impresion4";
__ref._impresion4 /*void*/ (null);
 if (true) break;

case 18:
//C
this.state = 19;
RDebugUtils.currentLine=53739555;
 //BA.debugLineNum = 53739555;BA.debugLine="If c.GetString(\"CONFIRMADO\") = 0 Then";
if (true) break;

case 19:
//if
this.state = 40;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONFIRMADO")).equals(BA.NumberToString(0))) { 
this.state = 21;
}else {
this.state = 39;
}if (true) break;

case 21:
//C
this.state = 22;
RDebugUtils.currentLine=53739557;
 //BA.debugLineNum = 53739557;BA.debugLine="Msgbox2Async(\"La entrega sera a credito o de c";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("La entrega sera a credito o de contado?"),BA.ObjectToCharSequence("Atención"),"Credito","Contado","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=53739558;
 //BA.debugLineNum = 53739558;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"), null);
this.state = 45;
return;
case 45:
//C
this.state = 22;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=53739559;
 //BA.debugLineNum = 53739559;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 22:
//if
this.state = 37;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 24;
}else 
{RDebugUtils.currentLine=53739590;
 //BA.debugLineNum = 53739590;BA.debugLine="Else If resultado = DialogResponse.CANCEL Then";
if (_resultado==parent.__c.DialogResponse.CANCEL) { 
this.state = 36;
}}
if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=53739560;
 //BA.debugLineNum = 53739560;BA.debugLine="Dim creditocod As Cursor = Starter.skmt.ExecQ";
_creditocod = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_creditocod = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=53739561;
 //BA.debugLineNum = 53739561;BA.debugLine="Log(creditocod.RowCount)";
parent.__c.LogImpl("053739561",BA.NumberToString(_creditocod.getRowCount()),0);
RDebugUtils.currentLine=53739562;
 //BA.debugLineNum = 53739562;BA.debugLine="If creditocod.RowCount > 0 Then";
if (true) break;

case 25:
//if
this.state = 34;
if (_creditocod.getRowCount()>0) { 
this.state = 27;
}else {
this.state = 33;
}if (true) break;

case 27:
//C
this.state = 28;
RDebugUtils.currentLine=53739563;
 //BA.debugLineNum = 53739563;BA.debugLine="creditocod.Position = 0";
_creditocod.setPosition((int) (0));
RDebugUtils.currentLine=53739564;
 //BA.debugLineNum = 53739564;BA.debugLine="Dim cs As CSBuilder";
_cs = new anywheresoftware.b4a.objects.CSBuilder();
RDebugUtils.currentLine=53739565;
 //BA.debugLineNum = 53739565;BA.debugLine="cs.Initialize";
_cs.Initialize();
RDebugUtils.currentLine=53739568;
 //BA.debugLineNum = 53739568;BA.debugLine="cs.Size(16).Append(\"Proporciona el siguiente";
_cs.Size((int) (16)).Append(BA.ObjectToCharSequence("Proporciona el siguiente codigo al cliente '"));
RDebugUtils.currentLine=53739571;
 //BA.debugLineNum = 53739571;BA.debugLine="cs.Bold.Append(creditocod.GetString(\"CODIGO\"";
_cs.Bold().Append(BA.ObjectToCharSequence(_creditocod.GetString("CODIGO"))).Pop();
RDebugUtils.currentLine=53739574;
 //BA.debugLineNum = 53739574;BA.debugLine="cs.Append(\"' para su entrega\").PopAll";
_cs.Append(BA.ObjectToCharSequence("' para su entrega")).PopAll();
RDebugUtils.currentLine=53739577;
 //BA.debugLineNum = 53739577;BA.debugLine="Msgbox2Async(cs, \"Atención\", \"Ok\", \"\", \"\", L";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence(_cs.getObject()),BA.ObjectToCharSequence("Atención"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=53739578;
 //BA.debugLineNum = 53739578;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"), null);
this.state = 46;
return;
case 46:
//C
this.state = 28;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=53739579;
 //BA.debugLineNum = 53739579;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 28:
//if
this.state = 31;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 30;
}if (true) break;

case 30:
//C
this.state = 31;
RDebugUtils.currentLine=53739580;
 //BA.debugLineNum = 53739580;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 1  WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)");
RDebugUtils.currentLine=53739581;
 //BA.debugLineNum = 53739581;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_C";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 1  WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)");
RDebugUtils.currentLine=53739583;
 //BA.debugLineNum = 53739583;BA.debugLine="Impresion4";
__ref._impresion4 /*void*/ (null);
 if (true) break;

case 31:
//C
this.state = 34;
;
 if (true) break;

case 33:
//C
this.state = 34;
RDebugUtils.currentLine=53739586;
 //BA.debugLineNum = 53739586;BA.debugLine="Impresion4";
__ref._impresion4 /*void*/ (null);
 if (true) break;

case 34:
//C
this.state = 37;
;
 if (true) break;

case 36:
//C
this.state = 37;
RDebugUtils.currentLine=53739591;
 //BA.debugLineNum = 53739591;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 1  WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)");
RDebugUtils.currentLine=53739592;
 //BA.debugLineNum = 53739592;BA.debugLine="Impresion4";
__ref._impresion4 /*void*/ (null);
 if (true) break;

case 37:
//C
this.state = 40;
;
 if (true) break;

case 39:
//C
this.state = 40;
RDebugUtils.currentLine=53739595;
 //BA.debugLineNum = 53739595;BA.debugLine="Impresion4";
__ref._impresion4 /*void*/ (null);
 if (true) break;

case 40:
//C
this.state = 41;
;
 if (true) break;

case 41:
//C
this.state = 44;
;
 if (true) break;

case 43:
//C
this.state = 44;
RDebugUtils.currentLine=53739600;
 //BA.debugLineNum = 53739600;BA.debugLine="Impresion";
__ref._impresion /*void*/ (null);
 if (true) break;

case 44:
//C
this.state = -1;
;
RDebugUtils.currentLine=53739603;
 //BA.debugLineNum = 53739603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)");
RDebugUtils.currentLine=53739604;
 //BA.debugLineNum = 53739604;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into TICKET_IMPRESO (idCliente) values ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"')"));
RDebugUtils.currentLine=53739605;
 //BA.debugLineNum = 53739605;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public void  _impresion2(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "impresion2", false))
	 {Debug.delegate(ba, "impresion2", null); return;}
ResumableSub_Impresion2 rsub = new ResumableSub_Impresion2(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_Impresion2 extends BA.ResumableSub {
public ResumableSub_Impresion2(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _elinefeed = "";
int _cont = 0;
int _i = 0;
int _e = 0;
int step50;
int limit50;
int step60;
int limit60;
int step75;
int limit75;
int step85;
int limit85;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=54132737;
 //BA.debugLineNum = 54132737;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=54132738;
 //BA.debugLineNum = 54132738;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54132739;
 //BA.debugLineNum = 54132739;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=54132740;
 //BA.debugLineNum = 54132740;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=54132742;
 //BA.debugLineNum = 54132742;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=54132743;
 //BA.debugLineNum = 54132743;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=54132744;
 //BA.debugLineNum = 54132744;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54132749;
 //BA.debugLineNum = 54132749;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
RDebugUtils.currentLine=54132750;
 //BA.debugLineNum = 54132750;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
RDebugUtils.currentLine=54132751;
 //BA.debugLineNum = 54132751;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=54132752;
 //BA.debugLineNum = 54132752;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;

case 1:
//if
this.state = 38;
if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { 
this.state = 3;
}else {
this.state = 21;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=54132754;
 //BA.debugLineNum = 54132754;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=54132755;
 //BA.debugLineNum = 54132755;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=54132756;
 //BA.debugLineNum = 54132756;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;

case 4:
//do while
this.state = 19;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) {
this.state = 6;
if (true) break;
}
if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=54132757;
 //BA.debugLineNum = 54132757;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (1000));
this.state = 75;
return;
case 75:
//C
this.state = 7;
;
RDebugUtils.currentLine=54132758;
 //BA.debugLineNum = 54132758;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=54132759;
 //BA.debugLineNum = 54132759;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;

case 7:
//if
this.state = 12;
if (_cont==7) { 
this.state = 9;
;}if (true) break;

case 9:
//C
this.state = 12;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 12:
//C
this.state = 13;
;
RDebugUtils.currentLine=54132760;
 //BA.debugLineNum = 54132760;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;

case 13:
//if
this.state = 18;
if (_cont>15) { 
this.state = 15;
;}if (true) break;

case 15:
//C
this.state = 18;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 18:
//C
this.state = 4;
;
 if (true) break;

case 19:
//C
this.state = 38;
;
RDebugUtils.currentLine=54132762;
 //BA.debugLineNum = 54132762;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (500));
this.state = 76;
return;
case 76:
//C
this.state = 38;
;
RDebugUtils.currentLine=54132763;
 //BA.debugLineNum = 54132763;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 21:
//C
this.state = 22;
RDebugUtils.currentLine=54132766;
 //BA.debugLineNum = 54132766;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=54132767;
 //BA.debugLineNum = 54132767;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=54132768;
 //BA.debugLineNum = 54132768;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;

case 22:
//do while
this.state = 37;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) {
this.state = 24;
if (true) break;
}
if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=54132769;
 //BA.debugLineNum = 54132769;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (1000));
this.state = 77;
return;
case 77:
//C
this.state = 25;
;
RDebugUtils.currentLine=54132770;
 //BA.debugLineNum = 54132770;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=54132771;
 //BA.debugLineNum = 54132771;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;

case 25:
//if
this.state = 30;
if (_cont==2) { 
this.state = 27;
;}if (true) break;

case 27:
//C
this.state = 30;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 30:
//C
this.state = 31;
;
RDebugUtils.currentLine=54132772;
 //BA.debugLineNum = 54132772;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;

case 31:
//if
this.state = 36;
if (_cont>4) { 
this.state = 33;
;}if (true) break;

case 33:
//C
this.state = 36;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 36:
//C
this.state = 22;
;
 if (true) break;

case 37:
//C
this.state = 38;
;
RDebugUtils.currentLine=54132774;
 //BA.debugLineNum = 54132774;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (500));
this.state = 78;
return;
case 78:
//C
this.state = 38;
;
RDebugUtils.currentLine=54132775;
 //BA.debugLineNum = 54132775;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 38:
//C
this.state = 39;
;
RDebugUtils.currentLine=54132778;
 //BA.debugLineNum = 54132778;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54132779;
 //BA.debugLineNum = 54132779;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54132780;
 //BA.debugLineNum = 54132780;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=54132797;
 //BA.debugLineNum = 54132797;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed);
RDebugUtils.currentLine=54132799;
 //BA.debugLineNum = 54132799;BA.debugLine="Printer1.WriteString(sDate &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed);
RDebugUtils.currentLine=54132800;
 //BA.debugLineNum = 54132800;BA.debugLine="Printer1.WriteString(sTime &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed);
RDebugUtils.currentLine=54132801;
 //BA.debugLineNum = 54132801;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed);
RDebugUtils.currentLine=54132802;
 //BA.debugLineNum = 54132802;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54132803;
 //BA.debugLineNum = 54132803;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54132804;
 //BA.debugLineNum = 54132804;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54132805;
 //BA.debugLineNum = 54132805;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54132807;
 //BA.debugLineNum = 54132807;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54132808;
 //BA.debugLineNum = 54132808;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54132810;
 //BA.debugLineNum = 54132810;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-----------PREVENTA-----------"+_elinefeed);
RDebugUtils.currentLine=54132812;
 //BA.debugLineNum = 54132812;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_CEDIS <> ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa)  order by  PE_PROID",new String[]{"DUR"})));
RDebugUtils.currentLine=54132813;
 //BA.debugLineNum = 54132813;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 39:
//if
this.state = 56;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 41;
}if (true) break;

case 41:
//C
this.state = 42;
RDebugUtils.currentLine=54132814;
 //BA.debugLineNum = 54132814;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 42:
//for
this.state = 55;
step50 = 1;
limit50 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 79;
if (true) break;

case 79:
//C
this.state = 55;
if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44;
if (true) break;

case 80:
//C
this.state = 79;
_i = ((int)(0 + _i + step50)) ;
if (true) break;

case 44:
//C
this.state = 45;
RDebugUtils.currentLine=54132815;
 //BA.debugLineNum = 54132815;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=54132816;
 //BA.debugLineNum = 54132816;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;

case 45:
//if
this.state = 54;
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
this.state = 47;
}else {
this.state = 49;
}if (true) break;

case 47:
//C
this.state = 54;
RDebugUtils.currentLine=54132817;
 //BA.debugLineNum = 54132817;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
 if (true) break;

case 49:
//C
this.state = 50;
RDebugUtils.currentLine=54132821;
 //BA.debugLineNum = 54132821;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54132822;
 //BA.debugLineNum = 54132822;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54132823;
 //BA.debugLineNum = 54132823;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54132824;
 //BA.debugLineNum = 54132824;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54132826;
 //BA.debugLineNum = 54132826;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54132828;
 //BA.debugLineNum = 54132828;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 50:
//for
this.state = 53;
step60 = 1;
limit60 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 81;
if (true) break;

case 81:
//C
this.state = 53;
if ((step60 > 0 && _e <= limit60) || (step60 < 0 && _e >= limit60)) this.state = 52;
if (true) break;

case 82:
//C
this.state = 81;
_e = ((int)(0 + _e + step60)) ;
if (true) break;

case 52:
//C
this.state = 82;
RDebugUtils.currentLine=54132829;
 //BA.debugLineNum = 54132829;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 53:
//C
this.state = 54;
;
RDebugUtils.currentLine=54132831;
 //BA.debugLineNum = 54132831;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed);
RDebugUtils.currentLine=54132832;
 //BA.debugLineNum = 54132832;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54132833;
 //BA.debugLineNum = 54132833;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54132834;
 //BA.debugLineNum = 54132834;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 54:
//C
this.state = 80;
;
 if (true) break;
if (true) break;

case 55:
//C
this.state = 56;
;
 if (true) break;

case 56:
//C
this.state = 57;
;
RDebugUtils.currentLine=54132838;
 //BA.debugLineNum = 54132838;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54132839;
 //BA.debugLineNum = 54132839;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54132840;
 //BA.debugLineNum = 54132840;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa)  order by  PE_CEDIS, PE_COSTOU")));
RDebugUtils.currentLine=54132841;
 //BA.debugLineNum = 54132841;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 57:
//if
this.state = 74;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 59;
}if (true) break;

case 59:
//C
this.state = 60;
RDebugUtils.currentLine=54132842;
 //BA.debugLineNum = 54132842;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------PROMOS------------"+_elinefeed);
RDebugUtils.currentLine=54132843;
 //BA.debugLineNum = 54132843;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 60:
//for
this.state = 73;
step75 = 1;
limit75 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 83;
if (true) break;

case 83:
//C
this.state = 73;
if ((step75 > 0 && _i <= limit75) || (step75 < 0 && _i >= limit75)) this.state = 62;
if (true) break;

case 84:
//C
this.state = 83;
_i = ((int)(0 + _i + step75)) ;
if (true) break;

case 62:
//C
this.state = 63;
RDebugUtils.currentLine=54132844;
 //BA.debugLineNum = 54132844;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=54132845;
 //BA.debugLineNum = 54132845;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;

case 63:
//if
this.state = 72;
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
this.state = 65;
}else {
this.state = 67;
}if (true) break;

case 65:
//C
this.state = 72;
RDebugUtils.currentLine=54132846;
 //BA.debugLineNum = 54132846;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
 if (true) break;

case 67:
//C
this.state = 68;
RDebugUtils.currentLine=54132850;
 //BA.debugLineNum = 54132850;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54132851;
 //BA.debugLineNum = 54132851;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54132852;
 //BA.debugLineNum = 54132852;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54132853;
 //BA.debugLineNum = 54132853;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54132855;
 //BA.debugLineNum = 54132855;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54132857;
 //BA.debugLineNum = 54132857;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 68:
//for
this.state = 71;
step85 = 1;
limit85 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 85;
if (true) break;

case 85:
//C
this.state = 71;
if ((step85 > 0 && _e <= limit85) || (step85 < 0 && _e >= limit85)) this.state = 70;
if (true) break;

case 86:
//C
this.state = 85;
_e = ((int)(0 + _e + step85)) ;
if (true) break;

case 70:
//C
this.state = 86;
RDebugUtils.currentLine=54132858;
 //BA.debugLineNum = 54132858;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 71:
//C
this.state = 72;
;
RDebugUtils.currentLine=54132860;
 //BA.debugLineNum = 54132860;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed);
RDebugUtils.currentLine=54132861;
 //BA.debugLineNum = 54132861;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54132862;
 //BA.debugLineNum = 54132862;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54132863;
 //BA.debugLineNum = 54132863;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 72:
//C
this.state = 84;
;
 if (true) break;
if (true) break;

case 73:
//C
this.state = 74;
;
RDebugUtils.currentLine=54132866;
 //BA.debugLineNum = 54132866;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
 if (true) break;

case 74:
//C
this.state = -1;
;
RDebugUtils.currentLine=54132868;
 //BA.debugLineNum = 54132868;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54132870;
 //BA.debugLineNum = 54132870;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=54132871;
 //BA.debugLineNum = 54132871;BA.debugLine="s.Position =0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54132875;
 //BA.debugLineNum = 54132875;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa:   $\" & s";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal Preventa:   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")+_elinefeed);
RDebugUtils.currentLine=54132876;
 //BA.debugLineNum = 54132876;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54132877;
 //BA.debugLineNum = 54132877;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")));
RDebugUtils.currentLine=54132878;
 //BA.debugLineNum = 54132878;BA.debugLine="C.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54132879;
 //BA.debugLineNum = 54132879;BA.debugLine="Printer1.WriteString(\"Total Articulos:   \" & c.Ge";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Articulos:   "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+_elinefeed);
RDebugUtils.currentLine=54132880;
 //BA.debugLineNum = 54132880;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54132881;
 //BA.debugLineNum = 54132881;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=54132882;
 //BA.debugLineNum = 54132882;BA.debugLine="s.Position =0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54132886;
 //BA.debugLineNum = 54132886;BA.debugLine="Printer1.WriteString(\"Descuento:   $\" & 150 &  eL";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Descuento:   $"+BA.NumberToString(150)+_elinefeed);
RDebugUtils.currentLine=54132887;
 //BA.debugLineNum = 54132887;BA.debugLine="Printer1.WriteString(\"Total Preventa:   $\" & (s.G";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa:   $"+BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-150))+_elinefeed);
RDebugUtils.currentLine=54132889;
 //BA.debugLineNum = 54132889;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54132890;
 //BA.debugLineNum = 54132890;BA.debugLine="Printer1.WriteString(\"---------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed);
RDebugUtils.currentLine=54132891;
 //BA.debugLineNum = 54132891;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed);
RDebugUtils.currentLine=54132892;
 //BA.debugLineNum = 54132892;BA.debugLine="Printer1.WriteString(la_Calle.Text &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54132893;
 //BA.debugLineNum = 54132893;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+_elinefeed);
RDebugUtils.currentLine=54132894;
 //BA.debugLineNum = 54132894;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed);
RDebugUtils.currentLine=54132895;
 //BA.debugLineNum = 54132895;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+_elinefeed);
RDebugUtils.currentLine=54132896;
 //BA.debugLineNum = 54132896;BA.debugLine="Printer1.WriteString(\"---------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed);
RDebugUtils.currentLine=54132897;
 //BA.debugLineNum = 54132897;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54132899;
 //BA.debugLineNum = 54132899;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (1000));
this.state = 87;
return;
case 87:
//C
this.state = -1;
;
RDebugUtils.currentLine=54132900;
 //BA.debugLineNum = 54132900;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=54132902;
 //BA.debugLineNum = 54132902;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
RDebugUtils.currentLine=54132905;
 //BA.debugLineNum = 54132905;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public void  _impresion(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "impresion", false))
	 {Debug.delegate(ba, "impresion", null); return;}
ResumableSub_Impresion rsub = new ResumableSub_Impresion(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_Impresion extends BA.ResumableSub {
public ResumableSub_Impresion(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _elinefeed = "";
int _cont = 0;
int _i = 0;
int _e = 0;
int step50;
int limit50;
int step57;
int limit57;
int step71;
int limit71;
int step78;
int limit78;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=54198273;
 //BA.debugLineNum = 54198273;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=54198274;
 //BA.debugLineNum = 54198274;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54198275;
 //BA.debugLineNum = 54198275;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=54198277;
 //BA.debugLineNum = 54198277;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=54198278;
 //BA.debugLineNum = 54198278;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=54198279;
 //BA.debugLineNum = 54198279;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=54198280;
 //BA.debugLineNum = 54198280;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54198285;
 //BA.debugLineNum = 54198285;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
RDebugUtils.currentLine=54198286;
 //BA.debugLineNum = 54198286;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
RDebugUtils.currentLine=54198287;
 //BA.debugLineNum = 54198287;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=54198288;
 //BA.debugLineNum = 54198288;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;

case 1:
//if
this.state = 38;
if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { 
this.state = 3;
}else {
this.state = 21;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=54198290;
 //BA.debugLineNum = 54198290;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=54198291;
 //BA.debugLineNum = 54198291;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=54198292;
 //BA.debugLineNum = 54198292;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;

case 4:
//do while
this.state = 19;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) {
this.state = 6;
if (true) break;
}
if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=54198293;
 //BA.debugLineNum = 54198293;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (1000));
this.state = 63;
return;
case 63:
//C
this.state = 7;
;
RDebugUtils.currentLine=54198294;
 //BA.debugLineNum = 54198294;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=54198295;
 //BA.debugLineNum = 54198295;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;

case 7:
//if
this.state = 12;
if (_cont==7) { 
this.state = 9;
;}if (true) break;

case 9:
//C
this.state = 12;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 12:
//C
this.state = 13;
;
RDebugUtils.currentLine=54198296;
 //BA.debugLineNum = 54198296;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;

case 13:
//if
this.state = 18;
if (_cont>15) { 
this.state = 15;
;}if (true) break;

case 15:
//C
this.state = 18;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 18:
//C
this.state = 4;
;
 if (true) break;

case 19:
//C
this.state = 38;
;
RDebugUtils.currentLine=54198298;
 //BA.debugLineNum = 54198298;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (500));
this.state = 64;
return;
case 64:
//C
this.state = 38;
;
RDebugUtils.currentLine=54198299;
 //BA.debugLineNum = 54198299;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 21:
//C
this.state = 22;
RDebugUtils.currentLine=54198302;
 //BA.debugLineNum = 54198302;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=54198303;
 //BA.debugLineNum = 54198303;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=54198304;
 //BA.debugLineNum = 54198304;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;

case 22:
//do while
this.state = 37;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) {
this.state = 24;
if (true) break;
}
if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=54198305;
 //BA.debugLineNum = 54198305;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (1000));
this.state = 65;
return;
case 65:
//C
this.state = 25;
;
RDebugUtils.currentLine=54198306;
 //BA.debugLineNum = 54198306;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=54198307;
 //BA.debugLineNum = 54198307;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;

case 25:
//if
this.state = 30;
if (_cont==2) { 
this.state = 27;
;}if (true) break;

case 27:
//C
this.state = 30;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 30:
//C
this.state = 31;
;
RDebugUtils.currentLine=54198308;
 //BA.debugLineNum = 54198308;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;

case 31:
//if
this.state = 36;
if (_cont>4) { 
this.state = 33;
;}if (true) break;

case 33:
//C
this.state = 36;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 36:
//C
this.state = 22;
;
 if (true) break;

case 37:
//C
this.state = 38;
;
RDebugUtils.currentLine=54198310;
 //BA.debugLineNum = 54198310;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (500));
this.state = 66;
return;
case 66:
//C
this.state = 38;
;
RDebugUtils.currentLine=54198311;
 //BA.debugLineNum = 54198311;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 38:
//C
this.state = 39;
;
RDebugUtils.currentLine=54198314;
 //BA.debugLineNum = 54198314;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54198315;
 //BA.debugLineNum = 54198315;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54198316;
 //BA.debugLineNum = 54198316;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=54198333;
 //BA.debugLineNum = 54198333;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed);
RDebugUtils.currentLine=54198335;
 //BA.debugLineNum = 54198335;BA.debugLine="Printer1.WriteString(sDate &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed);
RDebugUtils.currentLine=54198336;
 //BA.debugLineNum = 54198336;BA.debugLine="Printer1.WriteString(sTime &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed);
RDebugUtils.currentLine=54198337;
 //BA.debugLineNum = 54198337;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed);
RDebugUtils.currentLine=54198338;
 //BA.debugLineNum = 54198338;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54198339;
 //BA.debugLineNum = 54198339;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54198340;
 //BA.debugLineNum = 54198340;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54198341;
 //BA.debugLineNum = 54198341;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54198343;
 //BA.debugLineNum = 54198343;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54198344;
 //BA.debugLineNum = 54198344;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54198346;
 //BA.debugLineNum = 54198346;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-----------PREVENTA-----------"+_elinefeed);
RDebugUtils.currentLine=54198349;
 //BA.debugLineNum = 54198349;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_CEDIS <> ?  AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU > 0.01  GROUP by  PE_PROID",new String[]{"DUR"})));
RDebugUtils.currentLine=54198350;
 //BA.debugLineNum = 54198350;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 39:
//if
this.state = 50;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 41;
}if (true) break;

case 41:
//C
this.state = 42;
RDebugUtils.currentLine=54198351;
 //BA.debugLineNum = 54198351;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 42:
//for
this.state = 49;
step50 = 1;
limit50 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 67;
if (true) break;

case 67:
//C
this.state = 49;
if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44;
if (true) break;

case 68:
//C
this.state = 67;
_i = ((int)(0 + _i + step50)) ;
if (true) break;

case 44:
//C
this.state = 45;
RDebugUtils.currentLine=54198352;
 //BA.debugLineNum = 54198352;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=54198354;
 //BA.debugLineNum = 54198354;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54198359;
 //BA.debugLineNum = 54198359;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54198360;
 //BA.debugLineNum = 54198360;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54198361;
 //BA.debugLineNum = 54198361;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54198363;
 //BA.debugLineNum = 54198363;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54198365;
 //BA.debugLineNum = 54198365;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 45:
//for
this.state = 48;
step57 = 1;
limit57 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 69;
if (true) break;

case 69:
//C
this.state = 48;
if ((step57 > 0 && _e <= limit57) || (step57 < 0 && _e >= limit57)) this.state = 47;
if (true) break;

case 70:
//C
this.state = 69;
_e = ((int)(0 + _e + step57)) ;
if (true) break;

case 47:
//C
this.state = 70;
RDebugUtils.currentLine=54198366;
 //BA.debugLineNum = 54198366;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 48:
//C
this.state = 68;
;
RDebugUtils.currentLine=54198368;
 //BA.debugLineNum = 54198368;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed);
RDebugUtils.currentLine=54198369;
 //BA.debugLineNum = 54198369;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54198370;
 //BA.debugLineNum = 54198370;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54198371;
 //BA.debugLineNum = 54198371;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;
if (true) break;

case 49:
//C
this.state = 50;
;
 if (true) break;

case 50:
//C
this.state = 51;
;
RDebugUtils.currentLine=54198375;
 //BA.debugLineNum = 54198375;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54198376;
 //BA.debugLineNum = 54198376;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54198378;
 //BA.debugLineNum = 54198378;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE PE_CEDIS <> ?  AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU = 0.01  GROUP by  PE_PROID",new String[]{"DUR"})));
RDebugUtils.currentLine=54198380;
 //BA.debugLineNum = 54198380;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 51:
//if
this.state = 62;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 53;
}if (true) break;

case 53:
//C
this.state = 54;
RDebugUtils.currentLine=54198381;
 //BA.debugLineNum = 54198381;BA.debugLine="Printer1.WriteString(\"--------BONIFICACIONES----";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------BONIFICACIONES--------"+_elinefeed);
RDebugUtils.currentLine=54198382;
 //BA.debugLineNum = 54198382;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 54:
//for
this.state = 61;
step71 = 1;
limit71 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 71;
if (true) break;

case 71:
//C
this.state = 61;
if ((step71 > 0 && _i <= limit71) || (step71 < 0 && _i >= limit71)) this.state = 56;
if (true) break;

case 72:
//C
this.state = 71;
_i = ((int)(0 + _i + step71)) ;
if (true) break;

case 56:
//C
this.state = 57;
RDebugUtils.currentLine=54198383;
 //BA.debugLineNum = 54198383;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=54198385;
 //BA.debugLineNum = 54198385;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54198390;
 //BA.debugLineNum = 54198390;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54198391;
 //BA.debugLineNum = 54198391;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54198392;
 //BA.debugLineNum = 54198392;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54198394;
 //BA.debugLineNum = 54198394;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54198396;
 //BA.debugLineNum = 54198396;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 57:
//for
this.state = 60;
step78 = 1;
limit78 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 73;
if (true) break;

case 73:
//C
this.state = 60;
if ((step78 > 0 && _e <= limit78) || (step78 < 0 && _e >= limit78)) this.state = 59;
if (true) break;

case 74:
//C
this.state = 73;
_e = ((int)(0 + _e + step78)) ;
if (true) break;

case 59:
//C
this.state = 74;
RDebugUtils.currentLine=54198397;
 //BA.debugLineNum = 54198397;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 60:
//C
this.state = 72;
;
RDebugUtils.currentLine=54198399;
 //BA.debugLineNum = 54198399;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed);
RDebugUtils.currentLine=54198400;
 //BA.debugLineNum = 54198400;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54198401;
 //BA.debugLineNum = 54198401;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54198402;
 //BA.debugLineNum = 54198402;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;
if (true) break;

case 61:
//C
this.state = 62;
;
RDebugUtils.currentLine=54198405;
 //BA.debugLineNum = 54198405;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
 if (true) break;

case 62:
//C
this.state = -1;
;
RDebugUtils.currentLine=54198407;
 //BA.debugLineNum = 54198407;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54198439;
 //BA.debugLineNum = 54198439;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=54198440;
 //BA.debugLineNum = 54198440;BA.debugLine="s.Position =0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54198444;
 //BA.debugLineNum = 54198444;BA.debugLine="Printer1.WriteString(\"Total Preventa:   $\" & s.Ge";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa:   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")+_elinefeed);
RDebugUtils.currentLine=54198445;
 //BA.debugLineNum = 54198445;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54198446;
 //BA.debugLineNum = 54198446;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")));
RDebugUtils.currentLine=54198447;
 //BA.debugLineNum = 54198447;BA.debugLine="C.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54198448;
 //BA.debugLineNum = 54198448;BA.debugLine="Printer1.WriteString(\"Total Articulos:   \" & c.Ge";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Articulos:   "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+_elinefeed);
RDebugUtils.currentLine=54198449;
 //BA.debugLineNum = 54198449;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54198451;
 //BA.debugLineNum = 54198451;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54198452;
 //BA.debugLineNum = 54198452;BA.debugLine="Printer1.WriteString(\"---------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed);
RDebugUtils.currentLine=54198453;
 //BA.debugLineNum = 54198453;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed);
RDebugUtils.currentLine=54198454;
 //BA.debugLineNum = 54198454;BA.debugLine="Printer1.WriteString(la_Calle.Text &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54198455;
 //BA.debugLineNum = 54198455;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+_elinefeed);
RDebugUtils.currentLine=54198456;
 //BA.debugLineNum = 54198456;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed);
RDebugUtils.currentLine=54198457;
 //BA.debugLineNum = 54198457;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+_elinefeed);
RDebugUtils.currentLine=54198458;
 //BA.debugLineNum = 54198458;BA.debugLine="Printer1.WriteString(\"---------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed);
RDebugUtils.currentLine=54198459;
 //BA.debugLineNum = 54198459;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54198461;
 //BA.debugLineNum = 54198461;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (1000));
this.state = 75;
return;
case 75:
//C
this.state = -1;
;
RDebugUtils.currentLine=54198462;
 //BA.debugLineNum = 54198462;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=54198464;
 //BA.debugLineNum = 54198464;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
RDebugUtils.currentLine=54198467;
 //BA.debugLineNum = 54198467;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public void  _impresion4(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "impresion4", false))
	 {Debug.delegate(ba, "impresion4", null); return;}
ResumableSub_Impresion4 rsub = new ResumableSub_Impresion4(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_Impresion4 extends BA.ResumableSub {
public ResumableSub_Impresion4(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
anywheresoftware.b4a.sql.SQL.CursorWrapper _pedinow = null;
String _elinefeed = "";
int _cont = 0;
int _i = 0;
int _e = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null;
String _subtot = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _contadocredito = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _pedifutu = null;
int step58;
int limit58;
int step68;
int limit68;
int step81;
int limit81;
int step102;
int limit102;
int step114;
int limit114;
int step131;
int limit131;
int step140;
int limit140;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=53805057;
 //BA.debugLineNum = 53805057;BA.debugLine="Dim pedinow As Cursor = skmt.ExecQuery(\"select *";
_pedinow = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pedinow = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '0' ")));
RDebugUtils.currentLine=53805058;
 //BA.debugLineNum = 53805058;BA.debugLine="If pedinow.RowCount > 0 Then";
if (true) break;

case 1:
//if
this.state = 125;
if (_pedinow.getRowCount()>0) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=53805059;
 //BA.debugLineNum = 53805059;BA.debugLine="Mandap";
__ref._mandap /*String*/ (null);
RDebugUtils.currentLine=53805061;
 //BA.debugLineNum = 53805061;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=53805062;
 //BA.debugLineNum = 53805062;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53805063;
 //BA.debugLineNum = 53805063;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=53805065;
 //BA.debugLineNum = 53805065;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=53805066;
 //BA.debugLineNum = 53805066;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=53805067;
 //BA.debugLineNum = 53805067;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=53805068;
 //BA.debugLineNum = 53805068;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53805073;
 //BA.debugLineNum = 53805073;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
RDebugUtils.currentLine=53805074;
 //BA.debugLineNum = 53805074;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
RDebugUtils.currentLine=53805075;
 //BA.debugLineNum = 53805075;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=53805076;
 //BA.debugLineNum = 53805076;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;

case 4:
//if
this.state = 41;
if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { 
this.state = 6;
}else {
this.state = 24;
}if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=53805078;
 //BA.debugLineNum = 53805078;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=53805079;
 //BA.debugLineNum = 53805079;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=53805080;
 //BA.debugLineNum = 53805080;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;

case 7:
//do while
this.state = 22;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) {
this.state = 9;
if (true) break;
}
if (true) break;

case 9:
//C
this.state = 10;
RDebugUtils.currentLine=53805081;
 //BA.debugLineNum = 53805081;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (1000));
this.state = 130;
return;
case 130:
//C
this.state = 10;
;
RDebugUtils.currentLine=53805082;
 //BA.debugLineNum = 53805082;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=53805083;
 //BA.debugLineNum = 53805083;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;

case 10:
//if
this.state = 15;
if (_cont==7) { 
this.state = 12;
;}if (true) break;

case 12:
//C
this.state = 15;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 15:
//C
this.state = 16;
;
RDebugUtils.currentLine=53805084;
 //BA.debugLineNum = 53805084;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;

case 16:
//if
this.state = 21;
if (_cont>15) { 
this.state = 18;
;}if (true) break;

case 18:
//C
this.state = 21;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 21:
//C
this.state = 7;
;
 if (true) break;

case 22:
//C
this.state = 41;
;
RDebugUtils.currentLine=53805086;
 //BA.debugLineNum = 53805086;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (500));
this.state = 131;
return;
case 131:
//C
this.state = 41;
;
RDebugUtils.currentLine=53805087;
 //BA.debugLineNum = 53805087;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=53805090;
 //BA.debugLineNum = 53805090;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=53805091;
 //BA.debugLineNum = 53805091;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=53805092;
 //BA.debugLineNum = 53805092;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;

case 25:
//do while
this.state = 40;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) {
this.state = 27;
if (true) break;
}
if (true) break;

case 27:
//C
this.state = 28;
RDebugUtils.currentLine=53805093;
 //BA.debugLineNum = 53805093;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (1000));
this.state = 132;
return;
case 132:
//C
this.state = 28;
;
RDebugUtils.currentLine=53805094;
 //BA.debugLineNum = 53805094;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=53805095;
 //BA.debugLineNum = 53805095;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;

case 28:
//if
this.state = 33;
if (_cont==2) { 
this.state = 30;
;}if (true) break;

case 30:
//C
this.state = 33;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 33:
//C
this.state = 34;
;
RDebugUtils.currentLine=53805096;
 //BA.debugLineNum = 53805096;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;

case 34:
//if
this.state = 39;
if (_cont>4) { 
this.state = 36;
;}if (true) break;

case 36:
//C
this.state = 39;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 39:
//C
this.state = 25;
;
 if (true) break;

case 40:
//C
this.state = 41;
;
RDebugUtils.currentLine=53805098;
 //BA.debugLineNum = 53805098;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (500));
this.state = 133;
return;
case 133:
//C
this.state = 41;
;
RDebugUtils.currentLine=53805099;
 //BA.debugLineNum = 53805099;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 41:
//C
this.state = 42;
;
RDebugUtils.currentLine=53805102;
 //BA.debugLineNum = 53805102;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53805103;
 //BA.debugLineNum = 53805103;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53805104;
 //BA.debugLineNum = 53805104;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=53805120;
 //BA.debugLineNum = 53805120;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Centro de atencion a Clientes Bat"+_elinefeed);
RDebugUtils.currentLine=53805121;
 //BA.debugLineNum = 53805121;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Telefono: 800 400 5000"+_elinefeed);
RDebugUtils.currentLine=53805122;
 //BA.debugLineNum = 53805122;BA.debugLine="Printer1.WriteString(eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,_elinefeed);
RDebugUtils.currentLine=53805123;
 //BA.debugLineNum = 53805123;BA.debugLine="Printer1.WriteString(eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,_elinefeed);
RDebugUtils.currentLine=53805126;
 //BA.debugLineNum = 53805126;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"DISTRIBUIDORA ROCHA TULA PACHUCA"+_elinefeed);
RDebugUtils.currentLine=53805127;
 //BA.debugLineNum = 53805127;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed);
RDebugUtils.currentLine=53805129;
 //BA.debugLineNum = 53805129;BA.debugLine="Printer1.WriteString(sDate &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed);
RDebugUtils.currentLine=53805130;
 //BA.debugLineNum = 53805130;BA.debugLine="Printer1.WriteString(sTime &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed);
RDebugUtils.currentLine=53805131;
 //BA.debugLineNum = 53805131;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed);
RDebugUtils.currentLine=53805132;
 //BA.debugLineNum = 53805132;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53805133;
 //BA.debugLineNum = 53805133;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53805134;
 //BA.debugLineNum = 53805134;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53805135;
 //BA.debugLineNum = 53805135;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53805137;
 //BA.debugLineNum = 53805137;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53805138;
 //BA.debugLineNum = 53805138;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53805140;
 //BA.debugLineNum = 53805140;BA.debugLine="Printer1.WriteString(\"--------------------PREVENT";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------------------PREVENTA--------------------"+_elinefeed);
RDebugUtils.currentLine=53805142;
 //BA.debugLineNum = 53805142;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS  PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by  PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)})));
RDebugUtils.currentLine=53805143;
 //BA.debugLineNum = 53805143;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 42:
//if
this.state = 79;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 44;
}if (true) break;

case 44:
//C
this.state = 45;
RDebugUtils.currentLine=53805144;
 //BA.debugLineNum = 53805144;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 45:
//for
this.state = 78;
step58 = 1;
limit58 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 134;
if (true) break;

case 134:
//C
this.state = 78;
if ((step58 > 0 && _i <= limit58) || (step58 < 0 && _i >= limit58)) this.state = 47;
if (true) break;

case 135:
//C
this.state = 134;
_i = ((int)(0 + _i + step58)) ;
if (true) break;

case 47:
//C
this.state = 48;
RDebugUtils.currentLine=53805145;
 //BA.debugLineNum = 53805145;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=53805146;
 //BA.debugLineNum = 53805146;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;

case 48:
//if
this.state = 77;
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
this.state = 50;
}else {
this.state = 52;
}if (true) break;

case 50:
//C
this.state = 77;
 if (true) break;

case 52:
//C
this.state = 53;
RDebugUtils.currentLine=53805149;
 //BA.debugLineNum = 53805149;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
if (true) break;

case 53:
//if
this.state = 76;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECALCULO")==0) { 
this.state = 55;
}else 
{RDebugUtils.currentLine=53805164;
 //BA.debugLineNum = 53805164;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")==__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { 
this.state = 61;
}else 
{RDebugUtils.currentLine=53805187;
 //BA.debugLineNum = 53805187;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")!=__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { 
this.state = 67;
}}}
if (true) break;

case 55:
//C
this.state = 56;
RDebugUtils.currentLine=53805150;
 //BA.debugLineNum = 53805150;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53805151;
 //BA.debugLineNum = 53805151;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805152;
 //BA.debugLineNum = 53805152;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805153;
 //BA.debugLineNum = 53805153;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805155;
 //BA.debugLineNum = 53805155;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805157;
 //BA.debugLineNum = 53805157;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 56:
//for
this.state = 59;
step68 = 1;
limit68 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 136;
if (true) break;

case 136:
//C
this.state = 59;
if ((step68 > 0 && _e <= limit68) || (step68 < 0 && _e >= limit68)) this.state = 58;
if (true) break;

case 137:
//C
this.state = 136;
_e = ((int)(0 + _e + step68)) ;
if (true) break;

case 58:
//C
this.state = 137;
RDebugUtils.currentLine=53805158;
 //BA.debugLineNum = 53805158;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 59:
//C
this.state = 76;
;
RDebugUtils.currentLine=53805160;
 //BA.debugLineNum = 53805160;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53805161;
 //BA.debugLineNum = 53805161;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53805162;
 //BA.debugLineNum = 53805162;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53805163;
 //BA.debugLineNum = 53805163;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 61:
//C
this.state = 62;
RDebugUtils.currentLine=53805165;
 //BA.debugLineNum = 53805165;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53805166;
 //BA.debugLineNum = 53805166;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805167;
 //BA.debugLineNum = 53805167;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805168;
 //BA.debugLineNum = 53805168;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805170;
 //BA.debugLineNum = 53805170;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805172;
 //BA.debugLineNum = 53805172;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 62:
//for
this.state = 65;
step81 = 1;
limit81 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 138;
if (true) break;

case 138:
//C
this.state = 65;
if ((step81 > 0 && _e <= limit81) || (step81 < 0 && _e >= limit81)) this.state = 64;
if (true) break;

case 139:
//C
this.state = 138;
_e = ((int)(0 + _e + step81)) ;
if (true) break;

case 64:
//C
this.state = 139;
RDebugUtils.currentLine=53805173;
 //BA.debugLineNum = 53805173;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 65:
//C
this.state = 76;
;
RDebugUtils.currentLine=53805176;
 //BA.debugLineNum = 53805176;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
RDebugUtils.currentLine=53805177;
 //BA.debugLineNum = 53805177;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
RDebugUtils.currentLine=53805179;
 //BA.debugLineNum = 53805179;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53805181;
 //BA.debugLineNum = 53805181;BA.debugLine="Log(s.GetString(\"PE_PRONOMBRE\"))";
parent.__c.LogImpl("053805181",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"),0);
RDebugUtils.currentLine=53805182;
 //BA.debugLineNum = 53805182;BA.debugLine="Log(descpro.GetDouble(\"CAT_PD_DESCUENTO\"))";
parent.__c.LogImpl("053805182",BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO")),0);
RDebugUtils.currentLine=53805183;
 //BA.debugLineNum = 53805183;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53805184;
 //BA.debugLineNum = 53805184;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53805185;
 //BA.debugLineNum = 53805185;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53805186;
 //BA.debugLineNum = 53805186;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 67:
//C
this.state = 68;
RDebugUtils.currentLine=53805188;
 //BA.debugLineNum = 53805188;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
parent.__c.LogImpl("053805188",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")),0);
RDebugUtils.currentLine=53805189;
 //BA.debugLineNum = 53805189;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
parent.__c.LogImpl("053805189",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),0);
RDebugUtils.currentLine=53805190;
 //BA.debugLineNum = 53805190;BA.debugLine="Log(\"aqui\")";
parent.__c.LogImpl("053805190","aqui",0);
RDebugUtils.currentLine=53805191;
 //BA.debugLineNum = 53805191;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53805192;
 //BA.debugLineNum = 53805192;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805193;
 //BA.debugLineNum = 53805193;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805194;
 //BA.debugLineNum = 53805194;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805196;
 //BA.debugLineNum = 53805196;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805198;
 //BA.debugLineNum = 53805198;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 68:
//for
this.state = 71;
step102 = 1;
limit102 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 140;
if (true) break;

case 140:
//C
this.state = 71;
if ((step102 > 0 && _e <= limit102) || (step102 < 0 && _e >= limit102)) this.state = 70;
if (true) break;

case 141:
//C
this.state = 140;
_e = ((int)(0 + _e + step102)) ;
if (true) break;

case 70:
//C
this.state = 141;
RDebugUtils.currentLine=53805199;
 //BA.debugLineNum = 53805199;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 71:
//C
this.state = 72;
;
RDebugUtils.currentLine=53805203;
 //BA.debugLineNum = 53805203;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
RDebugUtils.currentLine=53805204;
 //BA.debugLineNum = 53805204;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
RDebugUtils.currentLine=53805206;
 //BA.debugLineNum = 53805206;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+"   $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53805207;
 //BA.debugLineNum = 53805207;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53805209;
 //BA.debugLineNum = 53805209;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
_subtot = BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))));
RDebugUtils.currentLine=53805210;
 //BA.debugLineNum = 53805210;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805211;
 //BA.debugLineNum = 53805211;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805212;
 //BA.debugLineNum = 53805212;BA.debugLine="TAMANO = subTot + TAMANO";
__ref._tamano /*int*/  = (int) ((double)(Double.parseDouble(_subtot))+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805214;
 //BA.debugLineNum = 53805214;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805216;
 //BA.debugLineNum = 53805216;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 72:
//for
this.state = 75;
step114 = 1;
limit114 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 142;
if (true) break;

case 142:
//C
this.state = 75;
if ((step114 > 0 && _e <= limit114) || (step114 < 0 && _e >= limit114)) this.state = 74;
if (true) break;

case 143:
//C
this.state = 142;
_e = ((int)(0 + _e + step114)) ;
if (true) break;

case 74:
//C
this.state = 143;
RDebugUtils.currentLine=53805217;
 //BA.debugLineNum = 53805217;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 75:
//C
this.state = 76;
;
RDebugUtils.currentLine=53805220;
 //BA.debugLineNum = 53805220;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53805221;
 //BA.debugLineNum = 53805221;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53805224;
 //BA.debugLineNum = 53805224;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53805225;
 //BA.debugLineNum = 53805225;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53805226;
 //BA.debugLineNum = 53805226;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 76:
//C
this.state = 77;
;
 if (true) break;

case 77:
//C
this.state = 135;
;
 if (true) break;
if (true) break;

case 78:
//C
this.state = 79;
;
 if (true) break;

case 79:
//C
this.state = 80;
;
RDebugUtils.currentLine=53805231;
 //BA.debugLineNum = 53805231;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53805234;
 //BA.debugLineNum = 53805234;BA.debugLine="totalpromos = 0";
__ref._totalpromos /*double*/  = 0;
RDebugUtils.currentLine=53805235;
 //BA.debugLineNum = 53805235;BA.debugLine="totalpromostotal = 0";
__ref._totalpromostotal /*double*/  = 0;
RDebugUtils.currentLine=53805236;
 //BA.debugLineNum = 53805236;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3  AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by  PE_CEDIS, PE_COSTOU")));
RDebugUtils.currentLine=53805237;
 //BA.debugLineNum = 53805237;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 80:
//if
this.state = 110;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 82;
}if (true) break;

case 82:
//C
this.state = 83;
RDebugUtils.currentLine=53805239;
 //BA.debugLineNum = 53805239;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 83:
//for
this.state = 109;
step131 = 1;
limit131 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 144;
if (true) break;

case 144:
//C
this.state = 109;
if ((step131 > 0 && _i <= limit131) || (step131 < 0 && _i >= limit131)) this.state = 85;
if (true) break;

case 145:
//C
this.state = 144;
_i = ((int)(0 + _i + step131)) ;
if (true) break;

case 85:
//C
this.state = 86;
RDebugUtils.currentLine=53805240;
 //BA.debugLineNum = 53805240;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=53805241;
 //BA.debugLineNum = 53805241;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;

case 86:
//if
this.state = 108;
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
this.state = 88;
}else {
this.state = 90;
}if (true) break;

case 88:
//C
this.state = 108;
 if (true) break;

case 90:
//C
this.state = 91;
RDebugUtils.currentLine=53805246;
 //BA.debugLineNum = 53805246;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53805247;
 //BA.debugLineNum = 53805247;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805248;
 //BA.debugLineNum = 53805248;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805249;
 //BA.debugLineNum = 53805249;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805251;
 //BA.debugLineNum = 53805251;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53805253;
 //BA.debugLineNum = 53805253;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 91:
//for
this.state = 94;
step140 = 1;
limit140 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 146;
if (true) break;

case 146:
//C
this.state = 94;
if ((step140 > 0 && _e <= limit140) || (step140 < 0 && _e >= limit140)) this.state = 93;
if (true) break;

case 147:
//C
this.state = 146;
_e = ((int)(0 + _e + step140)) ;
if (true) break;

case 93:
//C
this.state = 147;
RDebugUtils.currentLine=53805254;
 //BA.debugLineNum = 53805254;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 94:
//C
this.state = 95;
;
RDebugUtils.currentLine=53805256;
 //BA.debugLineNum = 53805256;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed);
RDebugUtils.currentLine=53805259;
 //BA.debugLineNum = 53805259;BA.debugLine="If Subs.traeTipoCliente= 5 Then";
if (true) break;

case 95:
//if
this.state = 100;
if (parent._subs._traetipocliente /*int*/ (ba)==5) { 
this.state = 97;
}else {
this.state = 99;
}if (true) break;

case 97:
//C
this.state = 100;
RDebugUtils.currentLine=53805260;
 //BA.debugLineNum = 53805260;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec";
_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_LISTAPRECIO AS CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"' "))));
 if (true) break;

case 99:
//C
this.state = 100;
RDebugUtils.currentLine=53805262;
 //BA.debugLineNum = 53805262;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec";
_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"' "))));
 if (true) break;
;
RDebugUtils.currentLine=53805265;
 //BA.debugLineNum = 53805265;BA.debugLine="If precioprom.RowCount > 0 Then";

case 100:
//if
this.state = 107;
if (_precioprom.getRowCount()>0) { 
this.state = 102;
}if (true) break;

case 102:
//C
this.state = 103;
RDebugUtils.currentLine=53805266;
 //BA.debugLineNum = 53805266;BA.debugLine="precioprom.Position = 0";
_precioprom.setPosition((int) (0));
RDebugUtils.currentLine=53805267;
 //BA.debugLineNum = 53805267;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))";
parent.__c.LogImpl("053805267",_precioprom.GetString("CAT_GP_PRECIO"),0);
RDebugUtils.currentLine=53805268;
 //BA.debugLineNum = 53805268;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))";
parent.__c.LogImpl("053805268",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0);
RDebugUtils.currentLine=53805269;
 //BA.debugLineNum = 53805269;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP";
if (true) break;

case 103:
//if
this.state = 106;
if ((parent.__c.NumberFormat2((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)) == false) { 
this.state = 105;
}if (true) break;

case 105:
//C
this.state = 106;
RDebugUtils.currentLine=53805271;
 //BA.debugLineNum = 53805271;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & prec";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+_precioprom.GetString("CAT_GP_PRECIO")+" Desc.: "+parent.__c.NumberFormat2(((((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))))*100)/(double)(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))),(int) (0.),(int) (2),(int) (2),parent.__c.False)+"%"+_elinefeed+_elinefeed);
 if (true) break;

case 106:
//C
this.state = 107;
;
 if (true) break;

case 107:
//C
this.state = 108;
;
RDebugUtils.currentLine=53805275;
 //BA.debugLineNum = 53805275;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53805276;
 //BA.debugLineNum = 53805276;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53805277;
 //BA.debugLineNum = 53805277;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 108:
//C
this.state = 145;
;
 if (true) break;
if (true) break;

case 109:
//C
this.state = 110;
;
RDebugUtils.currentLine=53805280;
 //BA.debugLineNum = 53805280;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
 if (true) break;

case 110:
//C
this.state = 111;
;
RDebugUtils.currentLine=53805282;
 //BA.debugLineNum = 53805282;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53805312;
 //BA.debugLineNum = 53805312;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa:   $\" &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal Preventa:   $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
RDebugUtils.currentLine=53805313;
 //BA.debugLineNum = 53805313;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango";
if (true) break;

case 111:
//if
this.state = 114;
if ((parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)) == false) { 
this.state = 113;
}if (true) break;

case 113:
//C
this.state = 114;
RDebugUtils.currentLine=53805314;
 //BA.debugLineNum = 53805314;BA.debugLine="Printer1.WriteString(\"Descuento:   $\" & NumberF";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Descuento:   $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
 if (true) break;

case 114:
//C
this.state = 115;
;
RDebugUtils.currentLine=53805317;
 //BA.debugLineNum = 53805317;BA.debugLine="Printer1.WriteString(\"Total Preventa:   $\" & Num";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa:   $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
RDebugUtils.currentLine=53805318;
 //BA.debugLineNum = 53805318;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=53805320;
 //BA.debugLineNum = 53805320;BA.debugLine="Private contadocredito As Cursor = Starter.skmt.";
_contadocredito = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_contadocredito = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT BANDERA FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA) "))));
RDebugUtils.currentLine=53805321;
 //BA.debugLineNum = 53805321;BA.debugLine="If contadocredito.RowCount > 0 Then";
if (true) break;

case 115:
//if
this.state = 124;
if (_contadocredito.getRowCount()>0) { 
this.state = 117;
}if (true) break;

case 117:
//C
this.state = 118;
RDebugUtils.currentLine=53805322;
 //BA.debugLineNum = 53805322;BA.debugLine="contadocredito.Position = 0";
_contadocredito.setPosition((int) (0));
RDebugUtils.currentLine=53805323;
 //BA.debugLineNum = 53805323;BA.debugLine="If contadocredito.getstring(\"BANDERA\") = \"1\" Th";
if (true) break;

case 118:
//if
this.state = 123;
if ((_contadocredito.GetString("BANDERA")).equals("1")) { 
this.state = 120;
}else {
this.state = 122;
}if (true) break;

case 120:
//C
this.state = 123;
RDebugUtils.currentLine=53805324;
 //BA.debugLineNum = 53805324;BA.debugLine="Printer1.WriteString(\"Tipo de entrega:   CREDI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tipo de entrega:   CREDITO"+_elinefeed);
 if (true) break;

case 122:
//C
this.state = 123;
RDebugUtils.currentLine=53805326;
 //BA.debugLineNum = 53805326;BA.debugLine="Printer1.WriteString(\"Tipo de entrega:   CONTA";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tipo de entrega:   CONTADO"+_elinefeed);
 if (true) break;

case 123:
//C
this.state = 124;
;
 if (true) break;

case 124:
//C
this.state = 125;
;
RDebugUtils.currentLine=53805330;
 //BA.debugLineNum = 53805330;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=53805331;
 //BA.debugLineNum = 53805331;BA.debugLine="Printer1.WriteString(\"--------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------------------------"+_elinefeed);
RDebugUtils.currentLine=53805332;
 //BA.debugLineNum = 53805332;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" &  eLINEFEED";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed);
RDebugUtils.currentLine=53805333;
 //BA.debugLineNum = 53805333;BA.debugLine="Printer1.WriteString(la_Calle.Text &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53805334;
 //BA.debugLineNum = 53805334;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------------ESTE TICKET NO ES UN--------------"+_elinefeed);
RDebugUtils.currentLine=53805335;
 //BA.debugLineNum = 53805335;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISC";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----------COMPROBANTE FISCAL, SOLO ES-----------"+_elinefeed);
RDebugUtils.currentLine=53805336;
 //BA.debugLineNum = 53805336;BA.debugLine="Printer1.WriteString(\"------------------INFORMAT";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------INFORMATIVO-------------------"+_elinefeed);
RDebugUtils.currentLine=53805337;
 //BA.debugLineNum = 53805337;BA.debugLine="Printer1.WriteString(\"--------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------------------------"+_elinefeed);
RDebugUtils.currentLine=53805338;
 //BA.debugLineNum = 53805338;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=53805340;
 //BA.debugLineNum = 53805340;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (1000));
this.state = 148;
return;
case 148:
//C
this.state = 125;
;
RDebugUtils.currentLine=53805341;
 //BA.debugLineNum = 53805341;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=53805343;
 //BA.debugLineNum = 53805343;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
 if (true) break;

case 125:
//C
this.state = 126;
;
RDebugUtils.currentLine=53805347;
 //BA.debugLineNum = 53805347;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (1000));
this.state = 149;
return;
case 149:
//C
this.state = 126;
;
RDebugUtils.currentLine=53805348;
 //BA.debugLineNum = 53805348;BA.debugLine="Dim pedifutu As Cursor = skmt.ExecQuery(\"select *";
_pedifutu = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pedifutu = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '1' ")));
RDebugUtils.currentLine=53805349;
 //BA.debugLineNum = 53805349;BA.debugLine="If pedifutu.RowCount > 0 Then";
if (true) break;

case 126:
//if
this.state = 129;
if (_pedifutu.getRowCount()>0) { 
this.state = 128;
}if (true) break;

case 128:
//C
this.state = 129;
RDebugUtils.currentLine=53805350;
 //BA.debugLineNum = 53805350;BA.debugLine="Impresion5";
__ref._impresion5 /*void*/ (null);
 if (true) break;

case 129:
//C
this.state = -1;
;
RDebugUtils.currentLine=53805352;
 //BA.debugLineNum = 53805352;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _b_inicio_fin_venta_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_inicio_fin_venta_click", false))
	 {return ((String) Debug.delegate(ba, "b_inicio_fin_venta_click", null));}
RDebugUtils.currentLine=61669376;
 //BA.debugLineNum = 61669376;BA.debugLine="Private Sub b_Inicio_Fin_venta_Click";
RDebugUtils.currentLine=61669411;
 //BA.debugLineNum = 61669411;BA.debugLine="End Sub";
return "";
}
public String  _b_like_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_like_click", false))
	 {return ((String) Debug.delegate(ba, "b_like_click", null));}
RDebugUtils.currentLine=54984704;
 //BA.debugLineNum = 54984704;BA.debugLine="Sub b_like_Click";
RDebugUtils.currentLine=54984705;
 //BA.debugLineNum = 54984705;BA.debugLine="Panel1.Visible = True";
__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=54984706;
 //BA.debugLineNum = 54984706;BA.debugLine="b_like.Visible = False";
__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54984707;
 //BA.debugLineNum = 54984707;BA.debugLine="Tar.Visible = False";
__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54984708;
 //BA.debugLineNum = 54984708;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54984709;
 //BA.debugLineNum = 54984709;BA.debugLine="gest.Visible = False ' : ToastMessageShow(\"bbbb\",";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54984710;
 //BA.debugLineNum = 54984710;BA.debugLine="b_venta.Visible = False";
__ref._b_venta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54984711;
 //BA.debugLineNum = 54984711;BA.debugLine="Guardar.Visible = False";
__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=54984712;
 //BA.debugLineNum = 54984712;BA.debugLine="End Sub";
return "";
}
public String  _b_mapa_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_mapa_click", false))
	 {return ((String) Debug.delegate(ba, "b_mapa_click", null));}
RDebugUtils.currentLine=53673984;
 //BA.debugLineNum = 53673984;BA.debugLine="Sub b_mapa_Click";
RDebugUtils.currentLine=53673985;
 //BA.debugLineNum = 53673985;BA.debugLine="B4XPages.ShowPage(\"mapas\")";
_b4xpages._showpage /*String*/ (ba,"mapas");
RDebugUtils.currentLine=53673986;
 //BA.debugLineNum = 53673986;BA.debugLine="End Sub";
return "";
}
public String  _b_okdeuda_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_okdeuda_click", false))
	 {return ((String) Debug.delegate(ba, "b_okdeuda_click", null));}
RDebugUtils.currentLine=64356352;
 //BA.debugLineNum = 64356352;BA.debugLine="Private Sub b_okdeuda_Click";
RDebugUtils.currentLine=64356353;
 //BA.debugLineNum = 64356353;BA.debugLine="p_deuda.Visible = False";
__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=64356354;
 //BA.debugLineNum = 64356354;BA.debugLine="End Sub";
return "";
}
public String  _b_preguntag_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_preguntag_click", false))
	 {return ((String) Debug.delegate(ba, "b_preguntag_click", null));}
anywheresoftware.b4a.objects.collections.List _items2 = null;
anywheresoftware.b4a.objects.collections.List _items3 = null;
anywheresoftware.b4a.objects.collections.List _items8 = null;
RDebugUtils.currentLine=51642368;
 //BA.debugLineNum = 51642368;BA.debugLine="Private Sub b_preguntag_Click";
RDebugUtils.currentLine=51642369;
 //BA.debugLineNum = 51642369;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt_";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET CAT_CL_GIRO = ? WHERE CAT_CL_CODIGO = ? And CAT_CL_NOMBRE = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._girotienda /*String*/ ),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}));
RDebugUtils.currentLine=51642370;
 //BA.debugLineNum = 51642370;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_AVI";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA_AVISO_GIRO(HEAV_CLIENTE , HEAV_MODULO , HEAV_AVISO ,HEAV_GIRO  ) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._encuesta /*String*/ ),(Object)("ACEPTA"),(Object)(__ref._girotienda /*String*/ )}));
RDebugUtils.currentLine=51642371;
 //BA.debugLineNum = 51642371;BA.debugLine="If girotienda <> \"Selecciona una opcion\" Then";
if ((__ref._girotienda /*String*/ ).equals("Selecciona una opcion") == false) { 
RDebugUtils.currentLine=51642372;
 //BA.debugLineNum = 51642372;BA.debugLine="If girotienda = \"Tienda de Abarrotes (Abarrotes,";
if ((__ref._girotienda /*String*/ ).equals("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)")) { 
RDebugUtils.currentLine=51642373;
 //BA.debugLineNum = 51642373;BA.debugLine="Dim result As Int= -3";
_result = (int) (-3);
RDebugUtils.currentLine=51642374;
 //BA.debugLineNum = 51642374;BA.debugLine="Do While result=-3";
while (__ref._result /*int*/ ==-3) {
RDebugUtils.currentLine=51642375;
 //BA.debugLineNum = 51642375;BA.debugLine="result = 	Msgbox2(\"Entiendo, acepto y consient";
__ref._result /*int*/  = __c.Msgbox2(BA.ObjectToCharSequence("Entiendo, acepto y consiento que GUNA usará mis datos Personales y serán tratados acorde con lo establecido en la Ley Federal de Protección de Datos Personales en Posesión de los Particulares (en lo sucesivo la “Ley”), y su respectivo Reglamento; bajo lo manifestado en el Aviso de Privacidad – Texto Completo – que se encuentra en la página www.guna.com.mx"),BA.ObjectToCharSequence("AVISO DE PRIVACIDAD"),"ACEPTO","","NO ACEPTO",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba);
RDebugUtils.currentLine=51642376;
 //BA.debugLineNum = 51642376;BA.debugLine="Select Case result";
switch (BA.switchObjectToInt(__ref._result /*int*/ ,__c.DialogResponse.POSITIVE,__c.DialogResponse.NEGATIVE)) {
case 0: {
RDebugUtils.currentLine=51642395;
 //BA.debugLineNum = 51642395;BA.debugLine="Log(que_modulo)";
__c.LogImpl("051642395",__ref._que_modulo /*String*/ ,0);
RDebugUtils.currentLine=51642396;
 //BA.debugLineNum = 51642396;BA.debugLine="If que_modulo = Null Or que_modulo = \" \" The";
if (__ref._que_modulo /*String*/ == null || (__ref._que_modulo /*String*/ ).equals(" ")) { 
__ref._que_modulo /*String*/  = "1";};
RDebugUtils.currentLine=51642398;
 //BA.debugLineNum = 51642398;BA.debugLine="If que_modulo < =  ENCUESTA	Then";
if ((double)(Double.parseDouble(__ref._que_modulo /*String*/ ))<=(double)(Double.parseDouble(__ref._encuesta /*String*/ ))) { 
RDebugUtils.currentLine=51642399;
 //BA.debugLineNum = 51642399;BA.debugLine="If que_modulo = \"1\" Then";
if ((__ref._que_modulo /*String*/ ).equals("1")) { 
RDebugUtils.currentLine=51642402;
 //BA.debugLineNum = 51642402;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The";
if (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=51642403;
 //BA.debugLineNum = 51642403;BA.debugLine="p_m2.Visible = False";
__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else 
{RDebugUtils.currentLine=51642404;
 //BA.debugLineNum = 51642404;BA.debugLine="Else If p_m3.IsInitialized And p_m3.Visibl";
if (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=51642405;
 //BA.debugLineNum = 51642405;BA.debugLine="p_m3.Visible = False";
__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else 
{RDebugUtils.currentLine=51642406;
 //BA.debugLineNum = 51642406;BA.debugLine="Else If p_m4.IsInitialized And p_m4.Visibl";
if (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=51642407;
 //BA.debugLineNum = 51642407;BA.debugLine="p_m4.Visible = False";
__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else 
{RDebugUtils.currentLine=51642408;
 //BA.debugLineNum = 51642408;BA.debugLine="Else If p_modulo5.IsInitialized And p_modu";
if (__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=51642409;
 //BA.debugLineNum = 51642409;BA.debugLine="p_modulo5.Visible = False";
__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 }}}}
;
RDebugUtils.currentLine=51642413;
 //BA.debugLineNum = 51642413;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642414;
 //BA.debugLineNum = 51642414;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642415;
 //BA.debugLineNum = 51642415;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=51642416;
 //BA.debugLineNum = 51642416;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA\")";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA",ba);
RDebugUtils.currentLine=51642417;
 //BA.debugLineNum = 51642417;BA.debugLine="p_m1.Width = Root.Width * 0.94";
__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=51642418;
 //BA.debugLineNum = 51642418;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m1.Height + 6";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60));
RDebugUtils.currentLine=51642419;
 //BA.debugLineNum = 51642419;BA.debugLine="Panel7.Visible = False";
__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else 
{RDebugUtils.currentLine=51642421;
 //BA.debugLineNum = 51642421;BA.debugLine="else if que_modulo = \"2\" Then";
if ((__ref._que_modulo /*String*/ ).equals("2")) { 
RDebugUtils.currentLine=51642423;
 //BA.debugLineNum = 51642423;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible The";
if (__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=51642424;
 //BA.debugLineNum = 51642424;BA.debugLine="p_m1.Visible = False";
__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 };
RDebugUtils.currentLine=51642428;
 //BA.debugLineNum = 51642428;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642429;
 //BA.debugLineNum = 51642429;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642430;
 //BA.debugLineNum = 51642430;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=51642431;
 //BA.debugLineNum = 51642431;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ESNCUESTA_m2",ba);
RDebugUtils.currentLine=51642432;
 //BA.debugLineNum = 51642432;BA.debugLine="p_m2.Width = Root.Width * 0.94";
__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=51642433;
 //BA.debugLineNum = 51642433;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 6";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60));
RDebugUtils.currentLine=51642434;
 //BA.debugLineNum = 51642434;BA.debugLine="Panel7_M2.Visible = False";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else 
{RDebugUtils.currentLine=51642435;
 //BA.debugLineNum = 51642435;BA.debugLine="else if que_modulo = \"3\" Then";
if ((__ref._que_modulo /*String*/ ).equals("3")) { 
RDebugUtils.currentLine=51642437;
 //BA.debugLineNum = 51642437;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The";
if (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=51642438;
 //BA.debugLineNum = 51642438;BA.debugLine="p_m2.Visible = False";
__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 };
RDebugUtils.currentLine=51642442;
 //BA.debugLineNum = 51642442;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642443;
 //BA.debugLineNum = 51642443;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642444;
 //BA.debugLineNum = 51642444;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=51642445;
 //BA.debugLineNum = 51642445;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESSTA_M3",ba);
RDebugUtils.currentLine=51642447;
 //BA.debugLineNum = 51642447;BA.debugLine="p_m3.Width = Root.Width * 0.94";
__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=51642448;
 //BA.debugLineNum = 51642448;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 6";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60));
 }else 
{RDebugUtils.currentLine=51642449;
 //BA.debugLineNum = 51642449;BA.debugLine="else if que_modulo = \"4\" Then";
if ((__ref._que_modulo /*String*/ ).equals("4")) { 
RDebugUtils.currentLine=51642451;
 //BA.debugLineNum = 51642451;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible The";
if (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=51642453;
 //BA.debugLineNum = 51642453;BA.debugLine="p_m3.Visible = False";
__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 };
RDebugUtils.currentLine=51642456;
 //BA.debugLineNum = 51642456;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642457;
 //BA.debugLineNum = 51642457;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642458;
 //BA.debugLineNum = 51642458;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=51642459;
 //BA.debugLineNum = 51642459;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642460;
 //BA.debugLineNum = 51642460;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\"";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA_M4",ba);
RDebugUtils.currentLine=51642461;
 //BA.debugLineNum = 51642461;BA.debugLine="p_m4.Width = Root.Width * 0.94";
__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=51642462;
 //BA.debugLineNum = 51642462;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 6";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60));
RDebugUtils.currentLine=51642464;
 //BA.debugLineNum = 51642464;BA.debugLine="Dim Items2 As List";
_items2 = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=51642465;
 //BA.debugLineNum = 51642465;BA.debugLine="Items2.Initialize";
_items2.Initialize();
RDebugUtils.currentLine=51642466;
 //BA.debugLineNum = 51642466;BA.debugLine="Items2.Add(\"Selecciona una opcion\")";
_items2.Add((Object)("Selecciona una opcion"));
RDebugUtils.currentLine=51642467;
 //BA.debugLineNum = 51642467;BA.debugLine="Items2.Add(\"Propio\")";
_items2.Add((Object)("Propio"));
RDebugUtils.currentLine=51642468;
 //BA.debugLineNum = 51642468;BA.debugLine="Items2.Add(\"Rentado\")";
_items2.Add((Object)("Rentado"));
RDebugUtils.currentLine=51642469;
 //BA.debugLineNum = 51642469;BA.debugLine="cb_p3_m4.SetItems(Items2)";
__ref._cb_p3_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items2);
RDebugUtils.currentLine=51642470;
 //BA.debugLineNum = 51642470;BA.debugLine="itemselect2 = \"Selecciona una opcion\"";
__ref._itemselect2 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642472;
 //BA.debugLineNum = 51642472;BA.debugLine="Dim Items3 As List";
_items3 = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=51642473;
 //BA.debugLineNum = 51642473;BA.debugLine="Items3.Initialize";
_items3.Initialize();
RDebugUtils.currentLine=51642474;
 //BA.debugLineNum = 51642474;BA.debugLine="Items3.Add(\"Selecciona una opcion\")";
_items3.Add((Object)("Selecciona una opcion"));
RDebugUtils.currentLine=51642475;
 //BA.debugLineNum = 51642475;BA.debugLine="Items3.Add(\"Completamente Surtido\")";
_items3.Add((Object)("Completamente Surtido"));
RDebugUtils.currentLine=51642476;
 //BA.debugLineNum = 51642476;BA.debugLine="Items3.Add(\"Bien Surtido\")";
_items3.Add((Object)("Bien Surtido"));
RDebugUtils.currentLine=51642477;
 //BA.debugLineNum = 51642477;BA.debugLine="Items3.Add(\"Poco Surtido\")";
_items3.Add((Object)("Poco Surtido"));
RDebugUtils.currentLine=51642478;
 //BA.debugLineNum = 51642478;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")";
_items3.Add((Object)("Muy Poco Surtido"));
RDebugUtils.currentLine=51642479;
 //BA.debugLineNum = 51642479;BA.debugLine="Items3.Add(\"Sin Existencias\")";
_items3.Add((Object)("Sin Existencias"));
RDebugUtils.currentLine=51642480;
 //BA.debugLineNum = 51642480;BA.debugLine="cb_p4_1_m4.SetItems(Items3)";
__ref._cb_p4_1_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=51642481;
 //BA.debugLineNum = 51642481;BA.debugLine="itemselect3 = \"Selecciona una opcion\"";
__ref._itemselect3 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642482;
 //BA.debugLineNum = 51642482;BA.debugLine="cb_p4_2_m4.SetItems(Items3)";
__ref._cb_p4_2_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=51642483;
 //BA.debugLineNum = 51642483;BA.debugLine="itemselect4 = \"Selecciona una opcion\"";
__ref._itemselect4 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642484;
 //BA.debugLineNum = 51642484;BA.debugLine="cb_p4_3_m4.SetItems(Items3)";
__ref._cb_p4_3_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=51642485;
 //BA.debugLineNum = 51642485;BA.debugLine="itemselect5 = \"Selecciona una opcion\"";
__ref._itemselect5 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642486;
 //BA.debugLineNum = 51642486;BA.debugLine="cb_p4_4_m4.SetItems(Items3)";
__ref._cb_p4_4_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=51642487;
 //BA.debugLineNum = 51642487;BA.debugLine="itemselect6 = \"Selecciona una opcion\"";
__ref._itemselect6 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642488;
 //BA.debugLineNum = 51642488;BA.debugLine="cb_p4_5_m4.SetItems(Items3)";
__ref._cb_p4_5_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3);
RDebugUtils.currentLine=51642489;
 //BA.debugLineNum = 51642489;BA.debugLine="itemselect7 = \"Selecciona una opcion\"";
__ref._itemselect7 /*String*/  = "Selecciona una opcion";
 }else 
{RDebugUtils.currentLine=51642490;
 //BA.debugLineNum = 51642490;BA.debugLine="else if que_modulo = \"5\" Then";
if ((__ref._que_modulo /*String*/ ).equals("5")) { 
RDebugUtils.currentLine=51642492;
 //BA.debugLineNum = 51642492;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible The";
if (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
RDebugUtils.currentLine=51642493;
 //BA.debugLineNum = 51642493;BA.debugLine="p_m4.Visible = False";
__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 }else {
 };
RDebugUtils.currentLine=51642496;
 //BA.debugLineNum = 51642496;BA.debugLine="p_cliente.Visible = False";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642497;
 //BA.debugLineNum = 51642497;BA.debugLine="SV_ENCUESTA.Visible = True";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=51642498;
 //BA.debugLineNum = 51642498;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642499;
 //BA.debugLineNum = 51642499;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\"";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA_M5",ba);
RDebugUtils.currentLine=51642500;
 //BA.debugLineNum = 51642500;BA.debugLine="p_modulo5.Width = Root.Width * 0.94";
__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94));
RDebugUtils.currentLine=51642501;
 //BA.debugLineNum = 51642501;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Heigh";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+30));
RDebugUtils.currentLine=51642502;
 //BA.debugLineNum = 51642502;BA.debugLine="Dim Items8 As List";
_items8 = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=51642503;
 //BA.debugLineNum = 51642503;BA.debugLine="Items8.Initialize";
_items8.Initialize();
RDebugUtils.currentLine=51642504;
 //BA.debugLineNum = 51642504;BA.debugLine="Items8.Add(\"Selecciona una opcion\")";
_items8.Add((Object)("Selecciona una opcion"));
RDebugUtils.currentLine=51642505;
 //BA.debugLineNum = 51642505;BA.debugLine="Items8.Add(\"Completamente Surtido\")";
_items8.Add((Object)("Completamente Surtido"));
RDebugUtils.currentLine=51642506;
 //BA.debugLineNum = 51642506;BA.debugLine="Items8.Add(\"Bien Surtido\")";
_items8.Add((Object)("Bien Surtido"));
RDebugUtils.currentLine=51642507;
 //BA.debugLineNum = 51642507;BA.debugLine="Items8.Add(\"Poco Surtido\")";
_items8.Add((Object)("Poco Surtido"));
RDebugUtils.currentLine=51642508;
 //BA.debugLineNum = 51642508;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")";
_items8.Add((Object)("Muy Poco Surtido"));
RDebugUtils.currentLine=51642509;
 //BA.debugLineNum = 51642509;BA.debugLine="Items8.Add(\"Sin Existencias\")";
_items8.Add((Object)("Sin Existencias"));
RDebugUtils.currentLine=51642510;
 //BA.debugLineNum = 51642510;BA.debugLine="cb_p1_m5.SetItems(Items8)";
__ref._cb_p1_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642511;
 //BA.debugLineNum = 51642511;BA.debugLine="itemselect8 = \"Selecciona una opcion\"";
__ref._itemselect8 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642512;
 //BA.debugLineNum = 51642512;BA.debugLine="cb_p2_m5.SetItems(Items8)";
__ref._cb_p2_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642513;
 //BA.debugLineNum = 51642513;BA.debugLine="itemselect9 = \"Selecciona una opcion\"";
__ref._itemselect9 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642514;
 //BA.debugLineNum = 51642514;BA.debugLine="cb_p3_m5.SetItems(Items8)";
__ref._cb_p3_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642515;
 //BA.debugLineNum = 51642515;BA.debugLine="itemselect10 = \"Selecciona una opcion\"";
__ref._itemselect10 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642516;
 //BA.debugLineNum = 51642516;BA.debugLine="cb_p4_m5.SetItems(Items8)";
__ref._cb_p4_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642517;
 //BA.debugLineNum = 51642517;BA.debugLine="itemselect11 = \"Selecciona una opcion\"";
__ref._itemselect11 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642518;
 //BA.debugLineNum = 51642518;BA.debugLine="cb_p5_m5.SetItems(Items8)";
__ref._cb_p5_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642519;
 //BA.debugLineNum = 51642519;BA.debugLine="itemselect12 = \"Selecciona una opcion\"";
__ref._itemselect12 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642520;
 //BA.debugLineNum = 51642520;BA.debugLine="cb_p6_m5.SetItems(Items8)";
__ref._cb_p6_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642521;
 //BA.debugLineNum = 51642521;BA.debugLine="itemselect13 = \"Selecciona una opcion\"";
__ref._itemselect13 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642522;
 //BA.debugLineNum = 51642522;BA.debugLine="cb_p7_m5.SetItems(Items8)";
__ref._cb_p7_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642523;
 //BA.debugLineNum = 51642523;BA.debugLine="itemselect14 = \"Selecciona una opcion\"";
__ref._itemselect14 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642524;
 //BA.debugLineNum = 51642524;BA.debugLine="cb_p8_m5.SetItems(Items8)";
__ref._cb_p8_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642525;
 //BA.debugLineNum = 51642525;BA.debugLine="itemselect15 = \"Selecciona una opcion\"";
__ref._itemselect15 /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51642526;
 //BA.debugLineNum = 51642526;BA.debugLine="cb_p9_m5.SetItems(Items8)";
__ref._cb_p9_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8);
RDebugUtils.currentLine=51642527;
 //BA.debugLineNum = 51642527;BA.debugLine="itemselect16 = \"Selecciona una opcion\"";
__ref._itemselect16 /*String*/  = "Selecciona una opcion";
 }}}}}
;
 }else {
RDebugUtils.currentLine=51642530;
 //BA.debugLineNum = 51642530;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642531;
 //BA.debugLineNum = 51642531;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
 };
 break; }
case 1: {
RDebugUtils.currentLine=51642535;
 //BA.debugLineNum = 51642535;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
 break; }
}
;
 }
;
 }else {
RDebugUtils.currentLine=51642687;
 //BA.debugLineNum = 51642687;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51642688;
 //BA.debugLineNum = 51642688;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
 };
 }else {
RDebugUtils.currentLine=51642691;
 //BA.debugLineNum = 51642691;BA.debugLine="Msgbox(\"Contesta la pregunta por favor\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("Contesta la pregunta por favor"),BA.ObjectToCharSequence("AVISO"),ba);
 };
RDebugUtils.currentLine=51642693;
 //BA.debugLineNum = 51642693;BA.debugLine="End Sub";
return "";
}
public String  _b_preventa_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_preventa_click", false))
	 {return ((String) Debug.delegate(ba, "b_preventa_click", null));}
RDebugUtils.currentLine=61865984;
 //BA.debugLineNum = 61865984;BA.debugLine="Private Sub b_preventa_Click";
RDebugUtils.currentLine=61865986;
 //BA.debugLineNum = 61865986;BA.debugLine="End Sub";
return "";
}
public void  _b_preventa2_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_preventa2_click", false))
	 {Debug.delegate(ba, "b_preventa2_click", null); return;}
ResumableSub_b_preventa2_Click rsub = new ResumableSub_b_preventa2_Click(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_b_preventa2_Click extends BA.ResumableSub {
public ResumableSub_b_preventa2_Click(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null;
String _fechainicio = "";
long _ticksinicio = 0L;
long _tickshoy = 0L;
int _diferenciadias = 0;
int _resultado = 0;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=64487428;
 //BA.debugLineNum = 64487428;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTURA\"";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/  = "PREVENTA_FUTURA";
RDebugUtils.currentLine=64487429;
 //BA.debugLineNum = 64487429;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=64487430;
 //BA.debugLineNum = 64487430;BA.debugLine="If pagarepen.RowCount > 0 Then";
if (true) break;

case 1:
//if
this.state = 16;
if (_pagarepen.getRowCount()>0) { 
this.state = 3;
}else {
this.state = 15;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=64487431;
 //BA.debugLineNum = 64487431;BA.debugLine="pagarepen.Position = 0";
_pagarepen.setPosition((int) (0));
RDebugUtils.currentLine=64487432;
 //BA.debugLineNum = 64487432;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=64487433;
 //BA.debugLineNum = 64487433;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
_fechainicio = _pagarepen.GetString("FECHA");
RDebugUtils.currentLine=64487435;
 //BA.debugLineNum = 64487435;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
parent.__c.LogImpl("064487435",_pagarepen.GetString("FECHA"),0);
RDebugUtils.currentLine=64487438;
 //BA.debugLineNum = 64487438;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio);
RDebugUtils.currentLine=64487439;
 //BA.debugLineNum = 64487439;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()));
RDebugUtils.currentLine=64487442;
 //BA.debugLineNum = 64487442;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay);
RDebugUtils.currentLine=64487445;
 //BA.debugLineNum = 64487445;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
parent.__c.LogImpl("064487445",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
RDebugUtils.currentLine=64487447;
 //BA.debugLineNum = 64487447;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=64487448;
 //BA.debugLineNum = 64487448;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=64487450;
 //BA.debugLineNum = 64487450;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT";
if (true) break;

case 4:
//if
this.state = 13;
if (_diferenciadias<=__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { 
this.state = 6;
}else 
{RDebugUtils.currentLine=64487457;
 //BA.debugLineNum = 64487457;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASCR";
if (_diferenciadias>__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { 
this.state = 12;
}}
if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=64487452;
 //BA.debugLineNum = 64487452;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el día";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto  de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=64487453;
 //BA.debugLineNum = 64487453;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_preventa2_click"), null);
this.state = 17;
return;
case 17:
//C
this.state = 7;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=64487454;
 //BA.debugLineNum = 64487454;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 7:
//if
this.state = 10;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 9;
}if (true) break;

case 9:
//C
this.state = 10;
RDebugUtils.currentLine=64487455;
 //BA.debugLineNum = 64487455;BA.debugLine="gestionar";
__ref._gestionar /*String*/ (null);
 if (true) break;

case 10:
//C
this.state = 13;
;
 if (true) break;

case 12:
//C
this.state = 13;
RDebugUtils.currentLine=64487458;
 //BA.debugLineNum = 64487458;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por qu";
parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba);
 if (true) break;

case 13:
//C
this.state = 16;
;
 if (true) break;

case 15:
//C
this.state = 16;
RDebugUtils.currentLine=64487461;
 //BA.debugLineNum = 64487461;BA.debugLine="gestionar";
__ref._gestionar /*String*/ (null);
 if (true) break;

case 16:
//C
this.state = -1;
;
RDebugUtils.currentLine=64487463;
 //BA.debugLineNum = 64487463;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _gestionar(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "gestionar", false))
	 {return ((String) Debug.delegate(ba, "gestionar", null));}
anywheresoftware.b4a.objects.IntentWrapper _intent1 = null;
String _enviorutas = "";
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=51445760;
 //BA.debugLineNum = 51445760;BA.debugLine="Sub gestionar";
RDebugUtils.currentLine=51445761;
 //BA.debugLineNum = 51445761;BA.debugLine="If B_IMP.Visible = True Then";
if (__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { 
RDebugUtils.currentLine=51445762;
 //BA.debugLineNum = 51445762;BA.debugLine="If Not(Subs.revisaImpreso) Then";
if (__c.Not(_subs._revisaimpreso /*boolean*/ (ba))) { 
RDebugUtils.currentLine=51445763;
 //BA.debugLineNum = 51445763;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNU";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=51445764;
 //BA.debugLineNum = 51445764;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51445765;
 //BA.debugLineNum = 51445765;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("encuesta")).equals("0")) { 
RDebugUtils.currentLine=51445766;
 //BA.debugLineNum = 51445766;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
RDebugUtils.currentLine=51445767;
 //BA.debugLineNum = 51445767;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/c";
_enviorutas = "guna://tienda360/config?clienteId="+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"&almacen="+__ref._almacen /*String*/ +"&ruta="+_subs._traeruta /*String*/ (ba);
RDebugUtils.currentLine=51445768;
 //BA.debugLineNum = 51445768;BA.debugLine="Log(enviorutas)";
__c.LogImpl("051445768",_enviorutas,0);
RDebugUtils.currentLine=51445769;
 //BA.debugLineNum = 51445769;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envior";
_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas);
RDebugUtils.currentLine=51445770;
 //BA.debugLineNum = 51445770;BA.debugLine="Try";
try {RDebugUtils.currentLine=51445771;
 //BA.debugLineNum = 51445771;BA.debugLine="Starter.encuesta = 1";
_starter._encuesta /*String*/  = BA.NumberToString(1);
RDebugUtils.currentLine=51445772;
 //BA.debugLineNum = 51445772;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=51445773;
 //BA.debugLineNum = 51445773;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encu";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
RDebugUtils.currentLine=51445774;
 //BA.debugLineNum = 51445774;BA.debugLine="StartActivity(Intent1)";
__c.StartActivity(ba,(Object)(_intent1.getObject()));
RDebugUtils.currentLine=51445775;
 //BA.debugLineNum = 51445775;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 } 
       catch (Exception e17) {
			ba.setLastException(e17);RDebugUtils.currentLine=51445777;
 //BA.debugLineNum = 51445777;BA.debugLine="Starter.encuesta = 0";
_starter._encuesta /*String*/  = BA.NumberToString(0);
RDebugUtils.currentLine=51445781;
 //BA.debugLineNum = 51445781;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 };
 }else {
RDebugUtils.currentLine=51445788;
 //BA.debugLineNum = 51445788;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 };
 }else {
RDebugUtils.currentLine=51445791;
 //BA.debugLineNum = 51445791;BA.debugLine="If Subs.traeAlmacen = 94 Then";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) { 
RDebugUtils.currentLine=51445792;
 //BA.debugLineNum = 51445792;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFN";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=51445793;
 //BA.debugLineNum = 51445793;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51445794;
 //BA.debugLineNum = 51445794;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("encuesta")).equals("0")) { 
RDebugUtils.currentLine=51445795;
 //BA.debugLineNum = 51445795;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
RDebugUtils.currentLine=51445796;
 //BA.debugLineNum = 51445796;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/";
_enviorutas = "guna://tienda360/config?clienteId="+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"&almacen="+__ref._almacen /*String*/ +"&ruta="+_subs._traeruta /*String*/ (ba);
RDebugUtils.currentLine=51445797;
 //BA.debugLineNum = 51445797;BA.debugLine="Log(enviorutas)";
__c.LogImpl("051445797",_enviorutas,0);
RDebugUtils.currentLine=51445798;
 //BA.debugLineNum = 51445798;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envio";
_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas);
RDebugUtils.currentLine=51445799;
 //BA.debugLineNum = 51445799;BA.debugLine="Try";
try {RDebugUtils.currentLine=51445800;
 //BA.debugLineNum = 51445800;BA.debugLine="Starter.encuesta = 1";
_starter._encuesta /*String*/  = BA.NumberToString(1);
RDebugUtils.currentLine=51445801;
 //BA.debugLineNum = 51445801;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=51445802;
 //BA.debugLineNum = 51445802;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET enc";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
RDebugUtils.currentLine=51445803;
 //BA.debugLineNum = 51445803;BA.debugLine="StartActivity(Intent1)";
__c.StartActivity(ba,(Object)(_intent1.getObject()));
RDebugUtils.currentLine=51445804;
 //BA.debugLineNum = 51445804;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 } 
       catch (Exception e39) {
			ba.setLastException(e39);RDebugUtils.currentLine=51445806;
 //BA.debugLineNum = 51445806;BA.debugLine="Starter.encuesta = 0";
_starter._encuesta /*String*/  = BA.NumberToString(0);
RDebugUtils.currentLine=51445810;
 //BA.debugLineNum = 51445810;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 };
 }else {
RDebugUtils.currentLine=51445817;
 //BA.debugLineNum = 51445817;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 };
 }else {
RDebugUtils.currentLine=51445820;
 //BA.debugLineNum = 51445820;BA.debugLine="p_transparenteTicketImpreso.Visible = True";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
 };
 };
 }else {
RDebugUtils.currentLine=51445824;
 //BA.debugLineNum = 51445824;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=51445825;
 //BA.debugLineNum = 51445825;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51445826;
 //BA.debugLineNum = 51445826;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("encuesta")).equals("0")) { 
RDebugUtils.currentLine=51445827;
 //BA.debugLineNum = 51445827;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
RDebugUtils.currentLine=51445828;
 //BA.debugLineNum = 51445828;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/co";
_enviorutas = "guna://tienda360/config?clienteId="+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"&almacen="+__ref._almacen /*String*/ +"&ruta="+_subs._traeruta /*String*/ (ba);
RDebugUtils.currentLine=51445829;
 //BA.debugLineNum = 51445829;BA.debugLine="Log(enviorutas)";
__c.LogImpl("051445829",_enviorutas,0);
RDebugUtils.currentLine=51445830;
 //BA.debugLineNum = 51445830;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envioru";
_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas);
RDebugUtils.currentLine=51445831;
 //BA.debugLineNum = 51445831;BA.debugLine="Try";
try {RDebugUtils.currentLine=51445832;
 //BA.debugLineNum = 51445832;BA.debugLine="Starter.encuesta = 1";
_starter._encuesta /*String*/  = BA.NumberToString(1);
RDebugUtils.currentLine=51445833;
 //BA.debugLineNum = 51445833;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=51445834;
 //BA.debugLineNum = 51445834;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encue";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
RDebugUtils.currentLine=51445835;
 //BA.debugLineNum = 51445835;BA.debugLine="StartActivity(Intent1)";
__c.StartActivity(ba,(Object)(_intent1.getObject()));
RDebugUtils.currentLine=51445836;
 //BA.debugLineNum = 51445836;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 } 
       catch (Exception e64) {
			ba.setLastException(e64);RDebugUtils.currentLine=51445838;
 //BA.debugLineNum = 51445838;BA.debugLine="Starter.encuesta = 0";
_starter._encuesta /*String*/  = BA.NumberToString(0);
RDebugUtils.currentLine=51445842;
 //BA.debugLineNum = 51445842;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 };
 }else {
RDebugUtils.currentLine=51445849;
 //BA.debugLineNum = 51445849;BA.debugLine="compra";
__ref._compra /*String*/ (null);
 };
 };
RDebugUtils.currentLine=51445852;
 //BA.debugLineNum = 51445852;BA.debugLine="End Sub";
return "";
}
public String  _b_preventa2_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_preventa2_longclick", false))
	 {return ((String) Debug.delegate(ba, "b_preventa2_longclick", null));}
RDebugUtils.currentLine=54001664;
 //BA.debugLineNum = 54001664;BA.debugLine="Private Sub b_preventa2_LongClick";
RDebugUtils.currentLine=54001666;
 //BA.debugLineNum = 54001666;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango";
__c.LogImpl("054001666",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0);
RDebugUtils.currentLine=54001667;
 //BA.debugLineNum = 54001667;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango";
__c.LogImpl("054001667",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0);
RDebugUtils.currentLine=54001668;
 //BA.debugLineNum = 54001668;BA.debugLine="Log(NumberFormat2( (Subs.calculaTotalConPromoXRan";
__c.LogImpl("054001668",__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False),0);
RDebugUtils.currentLine=54001669;
 //BA.debugLineNum = 54001669;BA.debugLine="Log(NumberFormat2( (((Subs.calculaTotalConPromoXR";
__c.LogImpl("054001669",__c.NumberFormat2(((((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))))*100)/(double)(double)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)))),(int) (0),(int) (2),(int) (2),__c.False),0);
RDebugUtils.currentLine=54001672;
 //BA.debugLineNum = 54001672;BA.debugLine="End Sub";
return "";
}
public String  _b_venta_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b_venta_click", false))
	 {return ((String) Debug.delegate(ba, "b_venta_click", null));}
RDebugUtils.currentLine=54591488;
 //BA.debugLineNum = 54591488;BA.debugLine="Sub b_venta_Click";
RDebugUtils.currentLine=54591489;
 //BA.debugLineNum = 54591489;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=54591490;
 //BA.debugLineNum = 54591490;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=54591491;
 //BA.debugLineNum = 54591491;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=54591519;
 //BA.debugLineNum = 54591519;BA.debugLine="End Sub";
return "";
}
public String  _recalculoxcant(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "recalculoxcant", false))
	 {return ((String) Debug.delegate(ba, "recalculoxcant", null));}
int _promespdes = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel = null;
int _hjh = 0;
float _recalculo = 0f;
float _recalculototal = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel2 = null;
RDebugUtils.currentLine=50593792;
 //BA.debugLineNum = 50593792;BA.debugLine="Sub recalculoXcant";
RDebugUtils.currentLine=50593794;
 //BA.debugLineNum = 50593794;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_CEDIS = ? ",new String[]{_subs._traealmacen /*String*/ (ba)})));
RDebugUtils.currentLine=50593795;
 //BA.debugLineNum = 50593795;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50593796;
 //BA.debugLineNum = 50593796;BA.debugLine="For promespdes = 0 To c.RowCount -1";
{
final int step3 = 1;
final int limit3 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_promespdes = (int) (0) ;
for (;_promespdes <= limit3 ;_promespdes = _promespdes + step3 ) {
RDebugUtils.currentLine=50593797;
 //BA.debugLineNum = 50593797;BA.debugLine="c.Position = promespdes";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_promespdes);
RDebugUtils.currentLine=50593798;
 //BA.debugLineNum = 50593798;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt.";
_rangosel = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_rangosel = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT"))})));
RDebugUtils.currentLine=50593799;
 //BA.debugLineNum = 50593799;BA.debugLine="If rangosel.RowCount > 0 Then";
if (_rangosel.getRowCount()>0) { 
RDebugUtils.currentLine=50593800;
 //BA.debugLineNum = 50593800;BA.debugLine="For hjh = 0 To rangosel.RowCount-1";
{
final int step7 = 1;
final int limit7 = (int) (_rangosel.getRowCount()-1);
_hjh = (int) (0) ;
for (;_hjh <= limit7 ;_hjh = _hjh + step7 ) {
RDebugUtils.currentLine=50593801;
 //BA.debugLineNum = 50593801;BA.debugLine="rangosel.Position = hjh";
_rangosel.setPosition(_hjh);
RDebugUtils.currentLine=50593802;
 //BA.debugLineNum = 50593802;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains";
if (_rangosel.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) { 
RDebugUtils.currentLine=50593803;
 //BA.debugLineNum = 50593803;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
__c.LogImpl("050593803",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0);
RDebugUtils.currentLine=50593804;
 //BA.debugLineNum = 50593804;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
__c.LogImpl("050593804",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
RDebugUtils.currentLine=50593805;
 //BA.debugLineNum = 50593805;BA.debugLine="Private recalculo As Float = c.GetString(\"PE";
_recalculo = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False))));
RDebugUtils.currentLine=50593806;
 //BA.debugLineNum = 50593806;BA.debugLine="LogColor(recalculo,Colors.Blue)";
__c.LogImpl("050593806",BA.NumberToString(_recalculo),__c.Colors.Blue);
RDebugUtils.currentLine=50593807;
 //BA.debugLineNum = 50593807;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
__c.LogImpl("050593807",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0);
RDebugUtils.currentLine=50593808;
 //BA.debugLineNum = 50593808;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")";
__c.LogImpl("050593808",__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
RDebugUtils.currentLine=50593809;
 //BA.debugLineNum = 50593809;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
__c.LogImpl("050593809",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
RDebugUtils.currentLine=50593810;
 //BA.debugLineNum = 50593810;BA.debugLine="Private recalculototal As Float =c.GetString";
_recalculototal = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*_recalculo);
RDebugUtils.currentLine=50593811;
 //BA.debugLineNum = 50593811;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_REC";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? and PE_FOLIO = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel.GetString("CAT_PD_COD_PROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")}));
 };
 }
};
 }else {
RDebugUtils.currentLine=50593815;
 //BA.debugLineNum = 50593815;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm";
_rangosel2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_rangosel2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT"))})));
RDebugUtils.currentLine=50593817;
 //BA.debugLineNum = 50593817;BA.debugLine="If rangosel2.RowCount > 0 Then";
if (_rangosel2.getRowCount()>0) { 
RDebugUtils.currentLine=50593819;
 //BA.debugLineNum = 50593819;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1";
{
final int step24 = 1;
final int limit24 = (int) (_rangosel2.getRowCount()-1);
_hjh = (int) (0) ;
for (;_hjh <= limit24 ;_hjh = _hjh + step24 ) {
RDebugUtils.currentLine=50593820;
 //BA.debugLineNum = 50593820;BA.debugLine="rangosel2.Position = hjh";
_rangosel2.setPosition(_hjh);
RDebugUtils.currentLine=50593821;
 //BA.debugLineNum = 50593821;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai";
if (_rangosel2.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) { 
RDebugUtils.currentLine=50593822;
 //BA.debugLineNum = 50593822;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
__c.LogImpl("050593822",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0);
RDebugUtils.currentLine=50593823;
 //BA.debugLineNum = 50593823;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
__c.LogImpl("050593823",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
RDebugUtils.currentLine=50593824;
 //BA.debugLineNum = 50593824;BA.debugLine="Private recalculo As Float = c.GetString(\"P";
_recalculo = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False))));
RDebugUtils.currentLine=50593825;
 //BA.debugLineNum = 50593825;BA.debugLine="LogColor(recalculo,Colors.Blue)";
__c.LogImpl("050593825",BA.NumberToString(_recalculo),__c.Colors.Blue);
RDebugUtils.currentLine=50593826;
 //BA.debugLineNum = 50593826;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
__c.LogImpl("050593826",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0);
RDebugUtils.currentLine=50593827;
 //BA.debugLineNum = 50593827;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\"";
__c.LogImpl("050593827",__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
RDebugUtils.currentLine=50593828;
 //BA.debugLineNum = 50593828;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
__c.LogImpl("050593828",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
RDebugUtils.currentLine=50593829;
 //BA.debugLineNum = 50593829;BA.debugLine="Private recalculototal As Float = rangosel2";
_recalculototal = (float) ((double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_RANGO2")))*_recalculo);
RDebugUtils.currentLine=50593832;
 //BA.debugLineNum = 50593832;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RE";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel2.GetString("CAT_PD_COD_PROMO"),_rangosel2.GetString("CAT_PD_RANGO2"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")}));
 };
 }
};
 }else {
RDebugUtils.currentLine=50593836;
 //BA.debugLineNum = 50593836;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECA";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")}));
 };
RDebugUtils.currentLine=50593838;
 //BA.debugLineNum = 50593838;BA.debugLine="rangosel2.Close";
_rangosel2.Close();
 };
RDebugUtils.currentLine=50593840;
 //BA.debugLineNum = 50593840;BA.debugLine="rangosel.Close";
_rangosel.Close();
 }
};
 };
RDebugUtils.currentLine=50593843;
 //BA.debugLineNum = 50593843;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECALCUL";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_subs._traealmacen /*String*/ (ba)}));
RDebugUtils.currentLine=50593844;
 //BA.debugLineNum = 50593844;BA.debugLine="End Sub";
return "";
}
public void  _cuestionario(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cuestionario", false))
	 {Debug.delegate(ba, "cuestionario", null); return;}
ResumableSub_Cuestionario rsub = new ResumableSub_Cuestionario(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_Cuestionario extends BA.ResumableSub {
public ResumableSub_Cuestionario(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
boolean _logger = false;
String _fecha = "";
int _cuantos2 = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _enc = null;
anywheresoftware.b4a.objects.collections.List _listapreguntas = null;
int _j = 0;
int _i = 0;
String _btop = "";
int step29;
int limit29;
int step35;
int limit35;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=60620801;
 //BA.debugLineNum = 60620801;BA.debugLine="Log(\"Entramos a Cuestionario\")";
parent.__c.LogImpl("060620801","Entramos a Cuestionario",0);
RDebugUtils.currentLine=60620802;
 //BA.debugLineNum = 60620802;BA.debugLine="Private logger As Boolean = True";
_logger = parent.__c.True;
RDebugUtils.currentLine=60620803;
 //BA.debugLineNum = 60620803;BA.debugLine="b_encuesta_continuar.Visible = False";
__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=60620804;
 //BA.debugLineNum = 60620804;BA.debugLine="et_encuesta.Visible = False";
__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=60620805;
 //BA.debugLineNum = 60620805;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
parent.__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=60620806;
 //BA.debugLineNum = 60620806;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=60620807;
 //BA.debugLineNum = 60620807;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=60620808;
 //BA.debugLineNum = 60620808;BA.debugLine="Private fecha As String = $\"${DateTime.Date(DateT";
_fecha = (""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())))+" "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.DateTime.Time(parent.__c.DateTime.getNow())))+"");
RDebugUtils.currentLine=60620809;
 //BA.debugLineNum = 60620809;BA.debugLine="CUANTOS = 0";
__ref._cuantos /*String*/  = BA.NumberToString(0);
RDebugUtils.currentLine=60620811;
 //BA.debugLineNum = 60620811;BA.debugLine="If logger Then Log($\"Tomar_Foto = ${TOMAR_FOTO}\"$";
if (true) break;

case 1:
//if
this.state = 6;
if (_logger) { 
this.state = 3;
;}if (true) break;

case 3:
//C
this.state = 6;
parent.__c.LogImpl("060620811",("Tomar_Foto = "+parent.__c.SmartStringFormatter("",(Object)(__ref._tomar_foto /*String*/ ))+""),0);
if (true) break;

case 6:
//C
this.state = 7;
;
RDebugUtils.currentLine=60620812;
 //BA.debugLineNum = 60620812;BA.debugLine="If TOMAR_FOTO = 0 Then";
if (true) break;

case 7:
//if
this.state = 16;
if ((__ref._tomar_foto /*String*/ ).equals(BA.NumberToString(0))) { 
this.state = 9;
}if (true) break;

case 9:
//C
this.state = 10;
RDebugUtils.currentLine=60620813;
 //BA.debugLineNum = 60620813;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from HIST_ENCUESTA where HE_CLIE In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=60620814;
 //BA.debugLineNum = 60620814;BA.debugLine="s.Position= 0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=60620815;
 //BA.debugLineNum = 60620815;BA.debugLine="CUANTOS = s.GetString(\"CUANTOS\")";
__ref._cuantos /*String*/  = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");
RDebugUtils.currentLine=60620816;
 //BA.debugLineNum = 60620816;BA.debugLine="Private CUANTOS2 As Int = 0";
_cuantos2 = (int) (0);
RDebugUtils.currentLine=60620817;
 //BA.debugLineNum = 60620817;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS2 from HIST_ENCUESTA2 where HE_CLIENTE In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=60620818;
 //BA.debugLineNum = 60620818;BA.debugLine="s.Position = 0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=60620819;
 //BA.debugLineNum = 60620819;BA.debugLine="CUANTOS2 = s.GetString(\"CUANTOS2\")";
_cuantos2 = (int)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS2")));
RDebugUtils.currentLine=60620820;
 //BA.debugLineNum = 60620820;BA.debugLine="If logger Then LogColor($\"Hist:encuesta=${CUANTO";
if (true) break;

case 10:
//if
this.state = 15;
if (_logger) { 
this.state = 12;
;}if (true) break;

case 12:
//C
this.state = 15;
parent.__c.LogImpl("060620820",("Hist:encuesta="+parent.__c.SmartStringFormatter("",(Object)(__ref._cuantos /*String*/ ))+", hist_encuesta2 = "+parent.__c.SmartStringFormatter("",(Object)(_cuantos2))+""),parent.__c.Colors.Magenta);
if (true) break;

case 15:
//C
this.state = 16;
;
 if (true) break;
;
RDebugUtils.currentLine=60620824;
 //BA.debugLineNum = 60620824;BA.debugLine="If logger Then Log(CUANTOS & \"|\" & CUANTOS2)";

case 16:
//if
this.state = 21;
if (_logger) { 
this.state = 18;
;}if (true) break;

case 18:
//C
this.state = 21;
parent.__c.LogImpl("060620824",__ref._cuantos /*String*/ +"|"+BA.NumberToString(_cuantos2),0);
if (true) break;

case 21:
//C
this.state = 22;
;
RDebugUtils.currentLine=60620825;
 //BA.debugLineNum = 60620825;BA.debugLine="If CUANTOS = 0 And CUANTOS2 = 0 Then";
if (true) break;

case 22:
//if
this.state = 224;
if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0)) && _cuantos2==0) { 
this.state = 24;
}else {
this.state = 223;
}if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=60620826;
 //BA.debugLineNum = 60620826;BA.debugLine="Private enc As Cursor = B4XPages.MainPage.skmt.E";
_enc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_enc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_EP_ID, CAT_EP_IDTIPOPREGUNTA, CAT_CE_DESCRIPCION, CAT_EP_PREGUNTA, CAT_EP_RES1_PRED, CAT_EP_RES2_PRED, CAT_EP_RES3_PRED, CAT_EP_ORDEN_PREGUNTA FROM CAT_ENCUESTA_PREGUNTA ORDER BY CAT_CE_DESCRIPCION, CAST(CAT_EP_ORDEN_PREGUNTA AS DECIMAL)")));
RDebugUtils.currentLine=60620827;
 //BA.debugLineNum = 60620827;BA.debugLine="If enc.RowCount > 0 Then";
if (true) break;

case 25:
//if
this.state = 221;
if (_enc.getRowCount()>0) { 
this.state = 27;
}else {
this.state = 220;
}if (true) break;

case 27:
//C
this.state = 28;
RDebugUtils.currentLine=60620828;
 //BA.debugLineNum = 60620828;BA.debugLine="enc.position = 0";
_enc.setPosition((int) (0));
RDebugUtils.currentLine=60620829;
 //BA.debugLineNum = 60620829;BA.debugLine="If logger Then Log($\"CAT_EP_ID=${enc.GetString(";
if (true) break;

case 28:
//if
this.state = 33;
if (_logger) { 
this.state = 30;
;}if (true) break;

case 30:
//C
this.state = 33;
parent.__c.LogImpl("060620829",("CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+""),0);
if (true) break;

case 33:
//C
this.state = 34;
;
RDebugUtils.currentLine=60620830;
 //BA.debugLineNum = 60620830;BA.debugLine="Private listaPreguntas As List";
_listapreguntas = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=60620831;
 //BA.debugLineNum = 60620831;BA.debugLine="listaPreguntas.Initialize";
_listapreguntas.Initialize();
RDebugUtils.currentLine=60620832;
 //BA.debugLineNum = 60620832;BA.debugLine="For j = 0 To enc.RowCount - 1 'Ponemos en una l";
if (true) break;

case 34:
//for
this.state = 37;
step29 = 1;
limit29 = (int) (_enc.getRowCount()-1);
_j = (int) (0) ;
this.state = 225;
if (true) break;

case 225:
//C
this.state = 37;
if ((step29 > 0 && _j <= limit29) || (step29 < 0 && _j >= limit29)) this.state = 36;
if (true) break;

case 226:
//C
this.state = 225;
_j = ((int)(0 + _j + step29)) ;
if (true) break;

case 36:
//C
this.state = 226;
RDebugUtils.currentLine=60620833;
 //BA.debugLineNum = 60620833;BA.debugLine="enc.Position = j";
_enc.setPosition(_j);
RDebugUtils.currentLine=60620834;
 //BA.debugLineNum = 60620834;BA.debugLine="listaPreguntas.Add(enc.GetString(\"CAT_EP_ID\"))";
_listapreguntas.Add((Object)(_enc.GetString("CAT_EP_ID")));
 if (true) break;
if (true) break;
;
RDebugUtils.currentLine=60620836;
 //BA.debugLineNum = 60620836;BA.debugLine="If logger Then Log(listaPreguntas)";

case 37:
//if
this.state = 42;
if (_logger) { 
this.state = 39;
;}if (true) break;

case 39:
//C
this.state = 42;
parent.__c.LogImpl("060620836",BA.ObjectToString(_listapreguntas),0);
if (true) break;

case 42:
//C
this.state = 43;
;
RDebugUtils.currentLine=60620837;
 //BA.debugLineNum = 60620837;BA.debugLine="enc.position = 0";
_enc.setPosition((int) (0));
RDebugUtils.currentLine=60620838;
 //BA.debugLineNum = 60620838;BA.debugLine="For i = 0 To enc.RowCount - 1";
if (true) break;

case 43:
//for
this.state = 218;
step35 = 1;
limit35 = (int) (_enc.getRowCount()-1);
_i = (int) (0) ;
this.state = 227;
if (true) break;

case 227:
//C
this.state = 218;
if ((step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35)) this.state = 45;
if (true) break;

case 228:
//C
this.state = 227;
_i = ((int)(0 + _i + step35)) ;
if (true) break;

case 45:
//C
this.state = 46;
RDebugUtils.currentLine=60620839;
 //BA.debugLineNum = 60620839;BA.debugLine="Log(\"#########################################";
parent.__c.LogImpl("060620839","########################################################",0);
RDebugUtils.currentLine=60620842;
 //BA.debugLineNum = 60620842;BA.debugLine="If logger Then Log($\"Tipo: ${enc.GetString(\"CA";
if (true) break;

case 46:
//if
this.state = 51;
if (_logger) { 
this.state = 48;
;}if (true) break;

case 48:
//C
this.state = 51;
parent.__c.LogImpl("060620842",("Tipo: "+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_IDTIPOPREGUNTA")))+", CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+", CAT_EP_PREGUNTA="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_PREGUNTA")))+""),0);
if (true) break;

case 51:
//C
this.state = 52;
;
RDebugUtils.currentLine=60620843;
 //BA.debugLineNum = 60620843;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") <> 4";
if (true) break;

case 52:
//if
this.state = 55;
if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(4)) == false && __ref._indicepregunta /*int*/ !=0) { 
this.state = 54;
}if (true) break;

case 54:
//C
this.state = 55;
RDebugUtils.currentLine=60620844;
 //BA.debugLineNum = 60620844;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G";
__ref._indicepregunta /*int*/  = (int) (_listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_ID")))+1);
RDebugUtils.currentLine=60620845;
 //BA.debugLineNum = 60620845;BA.debugLine="i = indicePregunta";
_i = __ref._indicepregunta /*int*/ ;
RDebugUtils.currentLine=60620846;
 //BA.debugLineNum = 60620846;BA.debugLine="Log($\"i = ${i}\"$)";
parent.__c.LogImpl("060620846",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
 if (true) break;
;
RDebugUtils.currentLine=60620848;
 //BA.debugLineNum = 60620848;BA.debugLine="If logger Then Log(\"indicePregunta: \" & indice";

case 55:
//if
this.state = 60;
if (_logger) { 
this.state = 57;
;}if (true) break;

case 57:
//C
this.state = 60;
parent.__c.LogImpl("060620848","indicePregunta: "+BA.NumberToString(__ref._indicepregunta /*int*/ )+", TIPO: "+_enc.GetString("CAT_EP_IDTIPOPREGUNTA"),0);
if (true) break;

case 60:
//C
this.state = 61;
;
RDebugUtils.currentLine=60620850;
 //BA.debugLineNum = 60620850;BA.debugLine="If logger Then Log($\"EncuestaRes = ${encuestaR";
if (true) break;

case 61:
//if
this.state = 66;
if (_logger) { 
this.state = 63;
;}if (true) break;

case 63:
//C
this.state = 66;
parent.__c.LogImpl("060620850",("EncuestaRes = "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),0);
if (true) break;

case 66:
//C
this.state = 67;
;
RDebugUtils.currentLine=60620851;
 //BA.debugLineNum = 60620851;BA.debugLine="If logger Then Log(listaPreguntas)";
if (true) break;

case 67:
//if
this.state = 72;
if (_logger) { 
this.state = 69;
;}if (true) break;

case 69:
//C
this.state = 72;
parent.__c.LogImpl("060620851",BA.ObjectToString(_listapreguntas),0);
if (true) break;

case 72:
//C
this.state = 73;
;
RDebugUtils.currentLine=60620852;
 //BA.debugLineNum = 60620852;BA.debugLine="If TOMAR_FOTO = 1 Then";
if (true) break;

case 73:
//if
this.state = 87;
if ((__ref._tomar_foto /*String*/ ).equals(BA.NumberToString(1))) { 
this.state = 75;
}if (true) break;

case 75:
//C
this.state = 76;
RDebugUtils.currentLine=60620853;
 //BA.debugLineNum = 60620853;BA.debugLine="If CURSOR_FOTO + 1 > enc.RowCount -1 Then";
if (true) break;

case 76:
//if
this.state = 81;
if (__ref._cursor_foto /*int*/ +1>_enc.getRowCount()-1) { 
this.state = 78;
}else {
this.state = 80;
}if (true) break;

case 78:
//C
this.state = 81;
RDebugUtils.currentLine=60620854;
 //BA.debugLineNum = 60620854;BA.debugLine="TOMAR_FOTO = 0";
__ref._tomar_foto /*String*/  = BA.NumberToString(0);
RDebugUtils.currentLine=60620855;
 //BA.debugLineNum = 60620855;BA.debugLine="LogColor(\"TOMAR FOTO = 1\", Colors.Red)";
parent.__c.LogImpl("060620855","TOMAR FOTO = 1",parent.__c.Colors.Red);
RDebugUtils.currentLine=60620856;
 //BA.debugLineNum = 60620856;BA.debugLine="Exit";
this.state = 218;
if (true) break;
 if (true) break;

case 80:
//C
this.state = 81;
RDebugUtils.currentLine=60620858;
 //BA.debugLineNum = 60620858;BA.debugLine="i = CURSOR_FOTO + 1";
_i = (int) (__ref._cursor_foto /*int*/ +1);
 if (true) break;
;
RDebugUtils.currentLine=60620860;
 //BA.debugLineNum = 60620860;BA.debugLine="If logger Then Log($\"i = ${i}\"$)";

case 81:
//if
this.state = 86;
if (_logger) { 
this.state = 83;
;}if (true) break;

case 83:
//C
this.state = 86;
parent.__c.LogImpl("060620860",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
if (true) break;

case 86:
//C
this.state = 87;
;
RDebugUtils.currentLine=60620861;
 //BA.debugLineNum = 60620861;BA.debugLine="TOMAR_FOTO = 0";
__ref._tomar_foto /*String*/  = BA.NumberToString(0);
 if (true) break;
;
RDebugUtils.currentLine=60620863;
 //BA.debugLineNum = 60620863;BA.debugLine="If i > (enc.RowCount - 1) Then";

case 87:
//if
this.state = 90;
if (_i>(_enc.getRowCount()-1)) { 
this.state = 89;
}if (true) break;

case 89:
//C
this.state = 90;
RDebugUtils.currentLine=60620864;
 //BA.debugLineNum = 60620864;BA.debugLine="LogColor(\"MAS DE ${enc.RowCount - 1}\", Colors";
parent.__c.LogImpl("060620864","MAS DE ${enc.RowCount - 1}",parent.__c.Colors.Red);
RDebugUtils.currentLine=60620865;
 //BA.debugLineNum = 60620865;BA.debugLine="Exit ' Si se contestó la ultima pregunta, ent";
this.state = 218;
if (true) break;
 if (true) break;

case 90:
//C
this.state = 91;
;
RDebugUtils.currentLine=60620869;
 //BA.debugLineNum = 60620869;BA.debugLine="i = indicePregunta";
_i = __ref._indicepregunta /*int*/ ;
RDebugUtils.currentLine=60620871;
 //BA.debugLineNum = 60620871;BA.debugLine="enc.Position = i";
_enc.setPosition(_i);
RDebugUtils.currentLine=60620872;
 //BA.debugLineNum = 60620872;BA.debugLine="Log($\"POSICION = ${enc.Position}\"$)";
parent.__c.LogImpl("060620872",("POSICION = "+parent.__c.SmartStringFormatter("",(Object)(_enc.getPosition()))+""),0);
RDebugUtils.currentLine=60620873;
 //BA.debugLineNum = 60620873;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") = 5";
if (true) break;

case 91:
//if
this.state = 214;
if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(5))) { 
this.state = 93;
}else 
{RDebugUtils.currentLine=60620886;
 //BA.debugLineNum = 60620886;BA.debugLine="ELSE IF enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")";
if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(3))) { 
this.state = 101;
}else 
{RDebugUtils.currentLine=60620903;
 //BA.debugLineNum = 60620903;BA.debugLine="ELSE IF enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")";
if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(4))) { 
this.state = 124;
}else 
{RDebugUtils.currentLine=60620934;
 //BA.debugLineNum = 60620934;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")";
if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(2))) { 
this.state = 163;
}else 
{RDebugUtils.currentLine=60620957;
 //BA.debugLineNum = 60620957;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")";
if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(6))) { 
this.state = 187;
}else 
{RDebugUtils.currentLine=60620976;
 //BA.debugLineNum = 60620976;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")";
if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(1))) { 
this.state = 195;
}else {
this.state = 213;
}}}}}}
if (true) break;

case 93:
//C
this.state = 94;
RDebugUtils.currentLine=60620874;
 //BA.debugLineNum = 60620874;BA.debugLine="If logger Then Log(\"Pregunta tipo 5\")";
if (true) break;

case 94:
//if
this.state = 99;
if (_logger) { 
this.state = 96;
;}if (true) break;

case 96:
//C
this.state = 99;
parent.__c.LogImpl("060620874","Pregunta tipo 5",0);
if (true) break;

case 99:
//C
this.state = 214;
;
RDebugUtils.currentLine=60620875;
 //BA.debugLineNum = 60620875;BA.debugLine="id_encuesta = enc.GetString(\"CAT_EP_ID\")";
__ref._id_encuesta /*String*/  = _enc.GetString("CAT_EP_ID");
RDebugUtils.currentLine=60620876;
 //BA.debugLineNum = 60620876;BA.debugLine="idencuestaaguardar = enc.GetString(\"CAT_EP_ID";
__ref._idencuestaaguardar /*String*/  = _enc.GetString("CAT_EP_ID");
RDebugUtils.currentLine=60620877;
 //BA.debugLineNum = 60620877;BA.debugLine="LogColor(idencuestaaguardar,Colors.Blue)";
parent.__c.LogImpl("060620877",__ref._idencuestaaguardar /*String*/ ,parent.__c.Colors.Blue);
RDebugUtils.currentLine=60620878;
 //BA.debugLineNum = 60620878;BA.debugLine="TOMAR_FOTO = 1";
__ref._tomar_foto /*String*/  = BA.NumberToString(1);
RDebugUtils.currentLine=60620879;
 //BA.debugLineNum = 60620879;BA.debugLine="CURSOR_FOTO = i";
__ref._cursor_foto /*int*/  = _i;
RDebugUtils.currentLine=60620880;
 //BA.debugLineNum = 60620880;BA.debugLine="LogColor(\"PREGUNTA TIPO 5 SALIMOS\", Colors.Re";
parent.__c.LogImpl("060620880","PREGUNTA TIPO 5 SALIMOS",parent.__c.Colors.Red);
RDebugUtils.currentLine=60620882;
 //BA.debugLineNum = 60620882;BA.debugLine="InitializeCamera2";
__ref._initializecamera2 /*void*/ (null);
RDebugUtils.currentLine=60620883;
 //BA.debugLineNum = 60620883;BA.debugLine="p_camara.Visible = True";
__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 101:
//C
this.state = 102;
RDebugUtils.currentLine=60620887;
 //BA.debugLineNum = 60620887;BA.debugLine="If logger Then Log(\"Pregunta tipo 3\")";
if (true) break;

case 102:
//if
this.state = 107;
if (_logger) { 
this.state = 104;
;}if (true) break;

case 104:
//C
this.state = 107;
parent.__c.LogImpl("060620887","Pregunta tipo 3",0);
if (true) break;

case 107:
//C
this.state = 108;
;
RDebugUtils.currentLine=60620888;
 //BA.debugLineNum = 60620888;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
__ref._botonpresionado /*int*/  = (int) (0);
RDebugUtils.currentLine=60620889;
 //BA.debugLineNum = 60620889;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
__ref._l_titencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION")));
RDebugUtils.currentLine=60620890;
 //BA.debugLineNum = 60620890;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
RDebugUtils.currentLine=60620891;
 //BA.debugLineNum = 60620891;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width";
parent._subs._centraetiqueta /*String*/ (ba,__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=60620892;
 //BA.debugLineNum = 60620892;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString";
__ref._muestraboton /*String*/ (null,__ref._b_encuesta_1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"SI",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-350),(int) (580),(int) (300),(int) (160));
RDebugUtils.currentLine=60620893;
 //BA.debugLineNum = 60620893;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin";
__ref._muestraboton /*String*/ (null,__ref._b_encuesta_2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"NO",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)+50),(int) (580),(int) (300),(int) (160));
RDebugUtils.currentLine=60620894;
 //BA.debugLineNum = 60620894;BA.debugLine="muestraEncuesta";
__ref._muestraencuesta /*String*/ (null);
RDebugUtils.currentLine=60620895;
 //BA.debugLineNum = 60620895;BA.debugLine="Log(\"Esperamos respuesta\")";
parent.__c.LogImpl("060620895","Esperamos respuesta",0);
RDebugUtils.currentLine=60620896;
 //BA.debugLineNum = 60620896;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
if (true) break;

case 108:
//do until
this.state = 111;
while (!(__ref._botonpresionado /*int*/ ==1)) {
this.state = 110;
if (true) break;
}
if (true) break;

case 110:
//C
this.state = 108;
RDebugUtils.currentLine=60620897;
 //BA.debugLineNum = 60620897;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "cuestionario"),(int) (0));
this.state = 229;
return;
case 229:
//C
this.state = 108;
;
 if (true) break;
;
RDebugUtils.currentLine=60620899;
 //BA.debugLineNum = 60620899;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta";

case 111:
//if
this.state = 116;
if (_logger) { 
this.state = 113;
;}if (true) break;

case 113:
//C
this.state = 116;
parent.__c.LogImpl("060620899","encuestaRes: "+__ref._encuestares /*String*/ ,0);
if (true) break;

case 116:
//C
this.state = 117;
;
RDebugUtils.currentLine=60620900;
 //BA.debugLineNum = 60620900;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 3 :";
if (true) break;

case 117:
//if
this.state = 122;
if (_logger) { 
this.state = 119;
;}if (true) break;

case 119:
//C
this.state = 122;
parent.__c.LogImpl("060620900",("Guardamos tipo 3 : "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),parent.__c.Colors.Green);
if (true) break;

case 122:
//C
this.state = 214;
;
RDebugUtils.currentLine=60620901;
 //BA.debugLineNum = 60620901;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._encuestares /*String*/ ),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
RDebugUtils.currentLine=60620902;
 //BA.debugLineNum = 60620902;BA.debugLine="ocultaPanelEncuesta";
__ref._ocultapanelencuesta /*String*/ (null);
 if (true) break;

case 124:
//C
this.state = 125;
RDebugUtils.currentLine=60620904;
 //BA.debugLineNum = 60620904;BA.debugLine="If logger Then Log(\"Pregunta tipo 4\")";
if (true) break;

case 125:
//if
this.state = 130;
if (_logger) { 
this.state = 127;
;}if (true) break;

case 127:
//C
this.state = 130;
parent.__c.LogImpl("060620904","Pregunta tipo 4",0);
if (true) break;

case 130:
//C
this.state = 131;
;
RDebugUtils.currentLine=60620905;
 //BA.debugLineNum = 60620905;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
__ref._botonpresionado /*int*/  = (int) (0);
RDebugUtils.currentLine=60620906;
 //BA.debugLineNum = 60620906;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
__ref._l_titencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION")));
RDebugUtils.currentLine=60620907;
 //BA.debugLineNum = 60620907;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
RDebugUtils.currentLine=60620908;
 //BA.debugLineNum = 60620908;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
if (true) break;

case 131:
//if
this.state = 136;
if (_logger) { 
this.state = 133;
;}if (true) break;

case 133:
//C
this.state = 136;
parent.__c.LogImpl("060620908",_enc.GetString("CAT_EP_PREGUNTA"),0);
if (true) break;

case 136:
//C
this.state = 137;
;
RDebugUtils.currentLine=60620909;
 //BA.debugLineNum = 60620909;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width";
parent._subs._centraetiqueta /*String*/ (ba,__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=60620910;
 //BA.debugLineNum = 60620910;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString";
__ref._muestraboton /*String*/ (null,__ref._b_encuesta_1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"SI",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-350),(int) (580),(int) (300),(int) (160));
RDebugUtils.currentLine=60620911;
 //BA.debugLineNum = 60620911;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin";
__ref._muestraboton /*String*/ (null,__ref._b_encuesta_2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"NO",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)+50),(int) (580),(int) (300),(int) (160));
RDebugUtils.currentLine=60620912;
 //BA.debugLineNum = 60620912;BA.debugLine="muestraEncuesta";
__ref._muestraencuesta /*String*/ (null);
RDebugUtils.currentLine=60620913;
 //BA.debugLineNum = 60620913;BA.debugLine="Log(\"Esperamos respuesta\")";
parent.__c.LogImpl("060620913","Esperamos respuesta",0);
RDebugUtils.currentLine=60620914;
 //BA.debugLineNum = 60620914;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
if (true) break;

case 137:
//do until
this.state = 140;
while (!(__ref._botonpresionado /*int*/ ==1)) {
this.state = 139;
if (true) break;
}
if (true) break;

case 139:
//C
this.state = 137;
RDebugUtils.currentLine=60620915;
 //BA.debugLineNum = 60620915;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "cuestionario"),(int) (0));
this.state = 230;
return;
case 230:
//C
this.state = 137;
;
 if (true) break;
;
RDebugUtils.currentLine=60620917;
 //BA.debugLineNum = 60620917;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta";

case 140:
//if
this.state = 145;
if (_logger) { 
this.state = 142;
;}if (true) break;

case 142:
//C
this.state = 145;
parent.__c.LogImpl("060620917","encuestaRes: "+__ref._encuestares /*String*/ ,0);
if (true) break;

case 145:
//C
this.state = 146;
;
RDebugUtils.currentLine=60620918;
 //BA.debugLineNum = 60620918;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 4 :";
if (true) break;

case 146:
//if
this.state = 151;
if (_logger) { 
this.state = 148;
;}if (true) break;

case 148:
//C
this.state = 151;
parent.__c.LogImpl("060620918",("Guardamos tipo 4 : "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),parent.__c.Colors.Green);
if (true) break;

case 151:
//C
this.state = 152;
;
RDebugUtils.currentLine=60620919;
 //BA.debugLineNum = 60620919;BA.debugLine="If encuestaRes = \"SI\" Then";
if (true) break;

case 152:
//if
this.state = 161;
if ((__ref._encuestares /*String*/ ).equals("SI")) { 
this.state = 154;
}else 
{RDebugUtils.currentLine=60620924;
 //BA.debugLineNum = 60620924;BA.debugLine="else if encuestaRes = \"NO\" Then";
if ((__ref._encuestares /*String*/ ).equals("NO")) { 
this.state = 156;
}}
if (true) break;

case 154:
//C
this.state = 161;
RDebugUtils.currentLine=60620920;
 //BA.debugLineNum = 60620920;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)("SI"),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
RDebugUtils.currentLine=60620921;
 //BA.debugLineNum = 60620921;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.";
__ref._indicepregunta /*int*/  = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_RES1_PRED")));
RDebugUtils.currentLine=60620922;
 //BA.debugLineNum = 60620922;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)";
parent.__c.LogImpl("060620922",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(__ref._indicepregunta /*int*/ ))+""),0);
RDebugUtils.currentLine=60620923;
 //BA.debugLineNum = 60620923;BA.debugLine="i = indicePregunta";
_i = __ref._indicepregunta /*int*/ ;
 if (true) break;

case 156:
//C
this.state = 157;
RDebugUtils.currentLine=60620925;
 //BA.debugLineNum = 60620925;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)("NO"),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
RDebugUtils.currentLine=60620926;
 //BA.debugLineNum = 60620926;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.";
__ref._indicepregunta /*int*/  = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_RES2_PRED")));
RDebugUtils.currentLine=60620927;
 //BA.debugLineNum = 60620927;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)";
parent.__c.LogImpl("060620927",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(__ref._indicepregunta /*int*/ ))+""),0);
RDebugUtils.currentLine=60620928;
 //BA.debugLineNum = 60620928;BA.debugLine="i = indicePregunta";
_i = __ref._indicepregunta /*int*/ ;
RDebugUtils.currentLine=60620929;
 //BA.debugLineNum = 60620929;BA.debugLine="Log($\"I = ${i}\"$)";
parent.__c.LogImpl("060620929",("I = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
RDebugUtils.currentLine=60620930;
 //BA.debugLineNum = 60620930;BA.debugLine="If enc.GetString(\"CAT_EP_RES2_PRED\") = \"null";
if (true) break;

case 157:
//if
this.state = 160;
if ((_enc.GetString("CAT_EP_RES2_PRED")).equals("null") || _enc.GetString("CAT_EP_RES2_PRED")== null) { 
this.state = 159;
}if (true) break;

case 159:
//C
this.state = 160;
RDebugUtils.currentLine=60620931;
 //BA.debugLineNum = 60620931;BA.debugLine="Exit";
this.state = 218;
if (true) break;
 if (true) break;

case 160:
//C
this.state = 161;
;
 if (true) break;

case 161:
//C
this.state = 214;
;
 if (true) break;

case 163:
//C
this.state = 164;
RDebugUtils.currentLine=60620935;
 //BA.debugLineNum = 60620935;BA.debugLine="Log(\"Pregunta tipo 2\")";
parent.__c.LogImpl("060620935","Pregunta tipo 2",0);
RDebugUtils.currentLine=60620936;
 //BA.debugLineNum = 60620936;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
__ref._botonpresionado /*int*/  = (int) (0);
RDebugUtils.currentLine=60620937;
 //BA.debugLineNum = 60620937;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
__ref._l_titencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION")));
RDebugUtils.currentLine=60620938;
 //BA.debugLineNum = 60620938;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
RDebugUtils.currentLine=60620939;
 //BA.debugLineNum = 60620939;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
if (true) break;

case 164:
//if
this.state = 169;
if (_logger) { 
this.state = 166;
;}if (true) break;

case 166:
//C
this.state = 169;
parent.__c.LogImpl("060620939",_enc.GetString("CAT_EP_PREGUNTA"),0);
if (true) break;

case 169:
//C
this.state = 170;
;
RDebugUtils.currentLine=60620940;
 //BA.debugLineNum = 60620940;BA.debugLine="muestraBoton(b_encuesta_1, enc.GetString(\"CAT";
__ref._muestraboton /*String*/ (null,__ref._b_encuesta_1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,_enc.GetString("CAT_EP_RES1_PRED"),_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-250),(int) (580),(int) (500),(int) (160));
RDebugUtils.currentLine=60620941;
 //BA.debugLineNum = 60620941;BA.debugLine="muestraBoton(b_encuesta_2, enc.GetString(\"CAT";
__ref._muestraboton /*String*/ (null,__ref._b_encuesta_2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,_enc.GetString("CAT_EP_RES2_PRED"),_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-250),(int) (740),(int) (500),(int) (160));
RDebugUtils.currentLine=60620942;
 //BA.debugLineNum = 60620942;BA.debugLine="muestraBoton(b_encuesta_3, enc.GetString(\"CAT";
__ref._muestraboton /*String*/ (null,__ref._b_encuesta_3 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,_enc.GetString("CAT_EP_RES3_PRED"),_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-250),(int) (900),(int) (500),(int) (160));
RDebugUtils.currentLine=60620943;
 //BA.debugLineNum = 60620943;BA.debugLine="muestraEncuesta";
__ref._muestraencuesta /*String*/ (null);
RDebugUtils.currentLine=60620944;
 //BA.debugLineNum = 60620944;BA.debugLine="Log(\"Esperamos respuesta\")";
parent.__c.LogImpl("060620944","Esperamos respuesta",0);
RDebugUtils.currentLine=60620945;
 //BA.debugLineNum = 60620945;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
if (true) break;

case 170:
//do until
this.state = 173;
while (!(__ref._botonpresionado /*int*/ ==1)) {
this.state = 172;
if (true) break;
}
if (true) break;

case 172:
//C
this.state = 170;
RDebugUtils.currentLine=60620946;
 //BA.debugLineNum = 60620946;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "cuestionario"),(int) (0));
this.state = 231;
return;
case 231:
//C
this.state = 170;
;
 if (true) break;

case 173:
//C
this.state = 174;
;
RDebugUtils.currentLine=60620948;
 //BA.debugLineNum = 60620948;BA.debugLine="Log(\"encuestaRes: \" & encuestaRes)";
parent.__c.LogImpl("060620948","encuestaRes: "+__ref._encuestares /*String*/ ,0);
RDebugUtils.currentLine=60620949;
 //BA.debugLineNum = 60620949;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 2 :";
if (true) break;

case 174:
//if
this.state = 179;
if (_logger) { 
this.state = 176;
;}if (true) break;

case 176:
//C
this.state = 179;
parent.__c.LogImpl("060620949",("Guardamos tipo 2 : "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),parent.__c.Colors.Green);
if (true) break;

case 179:
//C
this.state = 180;
;
RDebugUtils.currentLine=60620950;
 //BA.debugLineNum = 60620950;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._encuestares /*String*/ ),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
RDebugUtils.currentLine=60620952;
 //BA.debugLineNum = 60620952;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G";
__ref._indicepregunta /*int*/  = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_ID")));
RDebugUtils.currentLine=60620953;
 //BA.debugLineNum = 60620953;BA.debugLine="i =  indicePregunta + 1";
_i = (int) (__ref._indicepregunta /*int*/ +1);
RDebugUtils.currentLine=60620954;
 //BA.debugLineNum = 60620954;BA.debugLine="If i = enc.RowCount - 1 Then i = i - 1";
if (true) break;

case 180:
//if
this.state = 185;
if (_i==_enc.getRowCount()-1) { 
this.state = 182;
;}if (true) break;

case 182:
//C
this.state = 185;
_i = (int) (_i-1);
if (true) break;

case 185:
//C
this.state = 214;
;
RDebugUtils.currentLine=60620955;
 //BA.debugLineNum = 60620955;BA.debugLine="Log($\"i = ${i}\"$)";
parent.__c.LogImpl("060620955",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
RDebugUtils.currentLine=60620956;
 //BA.debugLineNum = 60620956;BA.debugLine="ocultaPanelEncuesta";
__ref._ocultapanelencuesta /*String*/ (null);
 if (true) break;

case 187:
//C
this.state = 188;
RDebugUtils.currentLine=60620958;
 //BA.debugLineNum = 60620958;BA.debugLine="If logger Then Log(\"Pregunta tipo 6\")";
if (true) break;

case 188:
//if
this.state = 193;
if (_logger) { 
this.state = 190;
;}if (true) break;

case 190:
//C
this.state = 193;
parent.__c.LogImpl("060620958","Pregunta tipo 6",0);
if (true) break;

case 193:
//C
this.state = 214;
;
RDebugUtils.currentLine=60620959;
 //BA.debugLineNum = 60620959;BA.debugLine="Panel10.Visible = True";
__ref._panel10 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=60620960;
 //BA.debugLineNum = 60620960;BA.debugLine="l_chk_e.Text =  enc.GetString(\"CAT_EP_PREGUNT";
__ref._l_chk_e /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
RDebugUtils.currentLine=60620961;
 //BA.debugLineNum = 60620961;BA.debugLine="Chk_1.Checked = False";
__ref._chk_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.False);
RDebugUtils.currentLine=60620962;
 //BA.debugLineNum = 60620962;BA.debugLine="chk_2.Checked = False";
__ref._chk_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.False);
RDebugUtils.currentLine=60620963;
 //BA.debugLineNum = 60620963;BA.debugLine="chk_3.Checked = False";
__ref._chk_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.False);
RDebugUtils.currentLine=60620964;
 //BA.debugLineNum = 60620964;BA.debugLine="Chk_1.Text = enc.GetString(\"CAT_EP_RES1_PRED\"";
__ref._chk_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES1_PRED")));
RDebugUtils.currentLine=60620965;
 //BA.debugLineNum = 60620965;BA.debugLine="chk_2.Text =  enc.GetString(\"CAT_EP_RES2_PRED";
__ref._chk_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES2_PRED")));
RDebugUtils.currentLine=60620966;
 //BA.debugLineNum = 60620966;BA.debugLine="chk_3.Text =  enc.GetString(\"CAT_EP_RES3_PRED";
__ref._chk_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES3_PRED")));
RDebugUtils.currentLine=60620967;
 //BA.debugLineNum = 60620967;BA.debugLine="chk_1_valor =  enc.GetString(\"CAT_EP_RES1_PRE";
__ref._chk_1_valor /*String*/  = _enc.GetString("CAT_EP_RES1_PRED");
RDebugUtils.currentLine=60620968;
 //BA.debugLineNum = 60620968;BA.debugLine="chk_2_valor =  enc.GetString(\"CAT_EP_RES2_PRE";
__ref._chk_2_valor /*String*/  = _enc.GetString("CAT_EP_RES2_PRED");
RDebugUtils.currentLine=60620969;
 //BA.debugLineNum = 60620969;BA.debugLine="chk_3_valor =  enc.GetString(\"CAT_EP_RES3_PRE";
__ref._chk_3_valor /*String*/  = _enc.GetString("CAT_EP_RES3_PRED");
RDebugUtils.currentLine=60620970;
 //BA.debugLineNum = 60620970;BA.debugLine="Chk_1.Tag = enc.GetString(\"CAT_EP_ID\")";
__ref._chk_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setTag((Object)(_enc.GetString("CAT_EP_ID")));
RDebugUtils.currentLine=60620971;
 //BA.debugLineNum = 60620971;BA.debugLine="chk_2.Tag = enc.GetString(\"CAT_EP_ID\")";
__ref._chk_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setTag((Object)(_enc.GetString("CAT_EP_ID")));
RDebugUtils.currentLine=60620972;
 //BA.debugLineNum = 60620972;BA.debugLine="chk_3.Tag = enc.GetString(\"CAT_EP_ID\")";
__ref._chk_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setTag((Object)(_enc.GetString("CAT_EP_ID")));
RDebugUtils.currentLine=60620973;
 //BA.debugLineNum = 60620973;BA.debugLine="TOMAR_FOTO = 1";
__ref._tomar_foto /*String*/  = BA.NumberToString(1);
RDebugUtils.currentLine=60620974;
 //BA.debugLineNum = 60620974;BA.debugLine="CURSOR_FOTO = i";
__ref._cursor_foto /*int*/  = _i;
RDebugUtils.currentLine=60620975;
 //BA.debugLineNum = 60620975;BA.debugLine="Exit";
this.state = 218;
if (true) break;
 if (true) break;

case 195:
//C
this.state = 196;
RDebugUtils.currentLine=60620977;
 //BA.debugLineNum = 60620977;BA.debugLine="Log(\"Pregunta tipo 1\")";
parent.__c.LogImpl("060620977","Pregunta tipo 1",0);
RDebugUtils.currentLine=60620978;
 //BA.debugLineNum = 60620978;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
__ref._botonpresionado /*int*/  = (int) (0);
RDebugUtils.currentLine=60620979;
 //BA.debugLineNum = 60620979;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
__ref._l_titencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION")));
RDebugUtils.currentLine=60620980;
 //BA.debugLineNum = 60620980;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
RDebugUtils.currentLine=60620981;
 //BA.debugLineNum = 60620981;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
if (true) break;

case 196:
//if
this.state = 201;
if (_logger) { 
this.state = 198;
;}if (true) break;

case 198:
//C
this.state = 201;
parent.__c.LogImpl("060620981",_enc.GetString("CAT_EP_PREGUNTA")+"|"+_enc.GetString("CAT_EP_ORDEN_PREGUNTA"),0);
if (true) break;

case 201:
//C
this.state = 202;
;
RDebugUtils.currentLine=60620982;
 //BA.debugLineNum = 60620982;BA.debugLine="Subs.centraEditText(et_encuesta, Root.Width)";
parent._subs._centraedittext /*String*/ (ba,__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=60620983;
 //BA.debugLineNum = 60620983;BA.debugLine="et_encuesta.Visible = True";
__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(parent.__c.True);
RDebugUtils.currentLine=60620984;
 //BA.debugLineNum = 60620984;BA.debugLine="b_encuesta_continuar.Enabled = False";
__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False);
RDebugUtils.currentLine=60620985;
 //BA.debugLineNum = 60620985;BA.debugLine="Private bTop = et_encuesta.Top + 130";
_btop = BA.NumberToString(__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getTop()+130);
RDebugUtils.currentLine=60620986;
 //BA.debugLineNum = 60620986;BA.debugLine="muestraBoton(b_encuesta_continuar,\"Continuar\"";
__ref._muestraboton /*String*/ (null,__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"Continuar",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-250),(int)(Double.parseDouble(_btop)),(int) (500),(int) (160));
RDebugUtils.currentLine=60620987;
 //BA.debugLineNum = 60620987;BA.debugLine="muestraEncuesta";
__ref._muestraencuesta /*String*/ (null);
RDebugUtils.currentLine=60620988;
 //BA.debugLineNum = 60620988;BA.debugLine="Log(\"Esperamos respuesta\")";
parent.__c.LogImpl("060620988","Esperamos respuesta",0);
RDebugUtils.currentLine=60620989;
 //BA.debugLineNum = 60620989;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
if (true) break;

case 202:
//do until
this.state = 205;
while (!(__ref._botonpresionado /*int*/ ==1)) {
this.state = 204;
if (true) break;
}
if (true) break;

case 204:
//C
this.state = 202;
RDebugUtils.currentLine=60620990;
 //BA.debugLineNum = 60620990;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "cuestionario"),(int) (0));
this.state = 232;
return;
case 232:
//C
this.state = 202;
;
 if (true) break;

case 205:
//C
this.state = 206;
;
RDebugUtils.currentLine=60620992;
 //BA.debugLineNum = 60620992;BA.debugLine="Log($\"Respuesta: ${encuestaRes}\"$)";
parent.__c.LogImpl("060620992",("Respuesta: "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),0);
RDebugUtils.currentLine=60620993;
 //BA.debugLineNum = 60620993;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 1 :";
if (true) break;

case 206:
//if
this.state = 211;
if (_logger) { 
this.state = 208;
;}if (true) break;

case 208:
//C
this.state = 211;
parent.__c.LogImpl("060620993",("Guardamos tipo 1 : "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),parent.__c.Colors.Green);
if (true) break;

case 211:
//C
this.state = 214;
;
RDebugUtils.currentLine=60620994;
 //BA.debugLineNum = 60620994;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._encuestares /*String*/ ),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
RDebugUtils.currentLine=60620995;
 //BA.debugLineNum = 60620995;BA.debugLine="ocultaPanelEncuesta";
__ref._ocultapanelencuesta /*String*/ (null);
 if (true) break;

case 213:
//C
this.state = 214;
RDebugUtils.currentLine=60620998;
 //BA.debugLineNum = 60620998;BA.debugLine="B4XPages.ShowPage(\"productos\")";
parent._b4xpages._showpage /*String*/ (ba,"productos");
 if (true) break;
;
RDebugUtils.currentLine=60621000;
 //BA.debugLineNum = 60621000;BA.debugLine="If i = enc.RowCount - 1 Then";

case 214:
//if
this.state = 217;
if (_i==_enc.getRowCount()-1) { 
this.state = 216;
}if (true) break;

case 216:
//C
this.state = 217;
RDebugUtils.currentLine=60621001;
 //BA.debugLineNum = 60621001;BA.debugLine="i = i - 1";
_i = (int) (_i-1);
 if (true) break;

case 217:
//C
this.state = 228;
;
 if (true) break;
if (true) break;

case 218:
//C
this.state = 221;
;
RDebugUtils.currentLine=60621004;
 //BA.debugLineNum = 60621004;BA.debugLine="enc.Close";
_enc.Close();
 if (true) break;

case 220:
//C
this.state = 221;
RDebugUtils.currentLine=60621007;
 //BA.debugLineNum = 60621007;BA.debugLine="B4XPages.ShowPage(\"productos\")";
parent._b4xpages._showpage /*String*/ (ba,"productos");
 if (true) break;

case 221:
//C
this.state = 224;
;
 if (true) break;

case 223:
//C
this.state = 224;
RDebugUtils.currentLine=60621011;
 //BA.debugLineNum = 60621011;BA.debugLine="B4XPages.ShowPage(\"productos\")";
parent._b4xpages._showpage /*String*/ (ba,"productos");
 if (true) break;

case 224:
//C
this.state = -1;
;
RDebugUtils.currentLine=60621014;
 //BA.debugLineNum = 60621014;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper  _b4xpage_closerequest(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false))
	 {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));}
ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref);
rsub.resume(ba, null);
return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub);
}
public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub {
public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
{
parent.__c.ReturnFromResumableSub(this,null);return;}
case 0:
//C
this.state = 1;
RDebugUtils.currentLine=52822019;
 //BA.debugLineNum = 52822019;BA.debugLine="cuest.encuestaIniciada = False";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/  = parent.__c.False;
RDebugUtils.currentLine=52822020;
 //BA.debugLineNum = 52822020;BA.debugLine="cuest.ocultPanelPregunta";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._ocultpanelpregunta /*String*/ (null);
RDebugUtils.currentLine=52822021;
 //BA.debugLineNum = 52822021;BA.debugLine="If bitacora.p_transparenteInicioFin2.Visible And";
if (true) break;

case 1:
//if
this.state = 16;
if (__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible() && (__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getText()).equals("TERMINAR VISITA")) { 
this.state = 3;
}else 
{RDebugUtils.currentLine=52822024;
 //BA.debugLineNum = 52822024;BA.debugLine="Else if Subs.hayPedido Then";
if (parent._subs._haypedido /*boolean*/ (ba)) { 
this.state = 5;
}else 
{RDebugUtils.currentLine=52822027;
 //BA.debugLineNum = 52822027;BA.debugLine="else If p_encuesta.Visible Then";
if (__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
this.state = 7;
}else 
{RDebugUtils.currentLine=52822029;
 //BA.debugLineNum = 52822029;BA.debugLine="Else iF p_camara.Visible Then";
if (__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
this.state = 9;
}else 
{RDebugUtils.currentLine=52822033;
 //BA.debugLineNum = 52822033;BA.debugLine="else If p_pregunta1.Visible Then";
if (__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
this.state = 11;
}else 
{RDebugUtils.currentLine=52822035;
 //BA.debugLineNum = 52822035;BA.debugLine="Else if SV_ENCUESTA.Visible Then";
if (__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getVisible()) { 
this.state = 13;
}else {
this.state = 15;
}}}}}}
if (true) break;

case 3:
//C
this.state = 16;
RDebugUtils.currentLine=52822022;
 //BA.debugLineNum = 52822022;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor presione el botón de TERMINAR VISITA"),parent.__c.True);
RDebugUtils.currentLine=52822023;
 //BA.debugLineNum = 52822023;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
 if (true) break;

case 5:
//C
this.state = 16;
RDebugUtils.currentLine=52822025;
 //BA.debugLineNum = 52822025;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor presione el botón de GUARDAR"),parent.__c.True);
RDebugUtils.currentLine=52822026;
 //BA.debugLineNum = 52822026;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
 if (true) break;

case 7:
//C
this.state = 16;
RDebugUtils.currentLine=52822028;
 //BA.debugLineNum = 52822028;BA.debugLine="p_encuesta.Visible = False";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 9:
//C
this.state = 16;
RDebugUtils.currentLine=52822030;
 //BA.debugLineNum = 52822030;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
 if (true) break;

case 11:
//C
this.state = 16;
RDebugUtils.currentLine=52822034;
 //BA.debugLineNum = 52822034;BA.debugLine="p_pregunta1.Visible = False";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 13:
//C
this.state = 16;
RDebugUtils.currentLine=52822036;
 //BA.debugLineNum = 52822036;BA.debugLine="SV_ENCUESTA.visible = False";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=52822037;
 //BA.debugLineNum = 52822037;BA.debugLine="p_cliente.Visible = True";
__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True);
 if (true) break;

case 15:
//C
this.state = 16;
RDebugUtils.currentLine=52822040;
 //BA.debugLineNum = 52822040;BA.debugLine="Starter.enCliente = False";
parent._starter._encliente /*boolean*/  = parent.__c.False;
RDebugUtils.currentLine=52822041;
 //BA.debugLineNum = 52822041;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
parent._b4xpages._showpage /*String*/ (ba,"Clientes");
 if (true) break;

case 16:
//C
this.state = -1;
;
RDebugUtils.currentLine=52822044;
 //BA.debugLineNum = 52822044;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
RDebugUtils.currentLine=52822045;
 //BA.debugLineNum = 52822045;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _b4xpage_created(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "b4xpage_created", false))
	 {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));}
RDebugUtils.currentLine=50397184;
 //BA.debugLineNum = 50397184;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
RDebugUtils.currentLine=50397185;
 //BA.debugLineNum = 50397185;BA.debugLine="Root = Root1";
__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/  = _root1;
RDebugUtils.currentLine=50397188;
 //BA.debugLineNum = 50397188;BA.debugLine="Root.LoadLayout(\"cliente\")";
__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("cliente",ba);
RDebugUtils.currentLine=50397189;
 //BA.debugLineNum = 50397189;BA.debugLine="ruta = File.DirInternal";
__ref._ruta /*String*/  = __c.File.getDirInternal();
RDebugUtils.currentLine=50397190;
 //BA.debugLineNum = 50397190;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then";
if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { 
RDebugUtils.currentLine=50397191;
 //BA.debugLineNum = 50397191;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d";
__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db");
 };
RDebugUtils.currentLine=50397193;
 //BA.debugLineNum = 50397193;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",__c.True);
RDebugUtils.currentLine=50397194;
 //BA.debugLineNum = 50397194;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA  from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=50397195;
 //BA.debugLineNum = 50397195;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=50397196;
 //BA.debugLineNum = 50397196;BA.debugLine="s.Position=0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50397197;
 //BA.debugLineNum = 50397197;BA.debugLine="If c.RowCount>0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=50397198;
 //BA.debugLineNum = 50397198;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=50397199;
 //BA.debugLineNum = 50397199;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")));
RDebugUtils.currentLine=50397200;
 //BA.debugLineNum = 50397200;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")";
__ref._cuenta /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO");
RDebugUtils.currentLine=50397201;
 //BA.debugLineNum = 50397201;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")));
RDebugUtils.currentLine=50397202;
 //BA.debugLineNum = 50397202;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.";
__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT")));
RDebugUtils.currentLine=50397203;
 //BA.debugLineNum = 50397203;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_COLONIA")));
RDebugUtils.currentLine=50397204;
 //BA.debugLineNum = 50397204;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
__ref._la_edo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EDO")));
RDebugUtils.currentLine=50397206;
 //BA.debugLineNum = 50397206;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE1")));
RDebugUtils.currentLine=50397207;
 //BA.debugLineNum = 50397207;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE2")));
RDebugUtils.currentLine=50397208;
 //BA.debugLineNum = 50397208;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")));
RDebugUtils.currentLine=50397209;
 //BA.debugLineNum = 50397209;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")));
RDebugUtils.currentLine=50397210;
 //BA.debugLineNum = 50397210;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\"";
__ref._la_saldotot /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO")));
RDebugUtils.currentLine=50397211;
 //BA.debugLineNum = 50397211;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")";
__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EMAIL")));
RDebugUtils.currentLine=50397212;
 //BA.debugLineNum = 50397212;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")";
__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")));
RDebugUtils.currentLine=50397213;
 //BA.debugLineNum = 50397213;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
__ref._total_cliente /*String*/  = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE");
RDebugUtils.currentLine=50397214;
 //BA.debugLineNum = 50397214;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")";
__ref._monto_compra /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_MTOCOMPRA");
 };
RDebugUtils.currentLine=50397216;
 //BA.debugLineNum = 50397216;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50397217;
 //BA.debugLineNum = 50397217;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=50397218;
 //BA.debugLineNum = 50397218;BA.debugLine="File.Copy(File.DirAssets,\"guna-fondo.jpg\",xui.Def";
__c.File.Copy(__c.File.getDirAssets(),"guna-fondo.jpg",__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getDefaultFolder(),"guna-fondo.jpg");
RDebugUtils.currentLine=50397219;
 //BA.debugLineNum = 50397219;BA.debugLine="TOMAR_FOTO = 0";
__ref._tomar_foto /*String*/  = BA.NumberToString(0);
RDebugUtils.currentLine=50397220;
 //BA.debugLineNum = 50397220;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")";
__ref._btadmin /*anywheresoftware.b4a.objects.Serial.BluetoothAdmin*/ .Initialize(ba,"BlueTeeth");
RDebugUtils.currentLine=50397221;
 //BA.debugLineNum = 50397221;BA.debugLine="cmp20.Initialize(\"Printer\")";
__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Printer");
RDebugUtils.currentLine=50397222;
 //BA.debugLineNum = 50397222;BA.debugLine="SV_ENCUESTA.Height = Root.Height";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50397223;
 //BA.debugLineNum = 50397223;BA.debugLine="SV_ENCUESTA.Width = Root.Height";
__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50397224;
 //BA.debugLineNum = 50397224;BA.debugLine="p_pregunta1.Height = Root.Height";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50397225;
 //BA.debugLineNum = 50397225;BA.debugLine="p_pregunta1.Width = Root.Height";
__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50397226;
 //BA.debugLineNum = 50397226;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0));
RDebugUtils.currentLine=50397226;
 //BA.debugLineNum = 50397226;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0));
RDebugUtils.currentLine=50397227;
 //BA.debugLineNum = 50397227;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to";
__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0));
RDebugUtils.currentLine=50397227;
 //BA.debugLineNum = 50397227;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to";
__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0));
RDebugUtils.currentLine=50397228;
 //BA.debugLineNum = 50397228;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50397228;
 //BA.debugLineNum = 50397228;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50397229;
 //BA.debugLineNum = 50397229;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar";
__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50397229;
 //BA.debugLineNum = 50397229;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar";
__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50397230;
 //BA.debugLineNum = 50397230;BA.debugLine="Subs.centraPanel(p_ticketImpreso, p_transparenteT";
_subs._centrapanel /*String*/ (ba,__ref._p_ticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth());
RDebugUtils.currentLine=50397231;
 //BA.debugLineNum = 50397231;BA.debugLine="Subs.centraPanel(p_envioPDF, p_transparentePDF.Wi";
_subs._centrapanel /*String*/ (ba,__ref._p_enviopdf /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth());
RDebugUtils.currentLine=50397232;
 //BA.debugLineNum = 50397232;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0";
__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0));
RDebugUtils.currentLine=50397232;
 //BA.debugLineNum = 50397232;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0";
__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0));
RDebugUtils.currentLine=50397233;
 //BA.debugLineNum = 50397233;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He";
__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=50397233;
 //BA.debugLineNum = 50397233;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He";
__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=50397234;
 //BA.debugLineNum = 50397234;BA.debugLine="Subs.centraPanel(p_comentarios, p_comentario.Widt";
_subs._centrapanel /*String*/ (ba,__ref._p_comentarios /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth());
RDebugUtils.currentLine=50397235;
 //BA.debugLineNum = 50397235;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50397236;
 //BA.debugLineNum = 50397236;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50397237;
 //BA.debugLineNum = 50397237;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50397238;
 //BA.debugLineNum = 50397238;BA.debugLine="l_version.Left = Root.Width - (l_version.Width +";
__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-(__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth()+10)));
RDebugUtils.currentLine=50397239;
 //BA.debugLineNum = 50397239;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, B4XPages.Main";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._initialize /*Object*/ (null,ba,this,"cuest",__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ );
RDebugUtils.currentLine=50397240;
 //BA.debugLineNum = 50397240;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,";
__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._initialize /*Object*/ (null,ba,(Object)("bitacora"),"bitacora",__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ );
RDebugUtils.currentLine=50397241;
 //BA.debugLineNum = 50397241;BA.debugLine="l_version.Left = Root.Width - l_version.Width";
__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth()));
RDebugUtils.currentLine=50397243;
 //BA.debugLineNum = 50397243;BA.debugLine="End Sub";
return "";
}
public String  _bt_qr_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "bt_qr_click", false))
	 {return ((String) Debug.delegate(ba, "bt_qr_click", null));}
RDebugUtils.currentLine=53346304;
 //BA.debugLineNum = 53346304;BA.debugLine="Sub BT_QR_Click";
RDebugUtils.currentLine=53346305;
 //BA.debugLineNum = 53346305;BA.debugLine="sc.isportrait = True";
__ref._sc /*ice.zxing.b4aZXingLib*/ .isportrait = __c.True;
RDebugUtils.currentLine=53346306;
 //BA.debugLineNum = 53346306;BA.debugLine="sc.timeoutDuration = 45";
__ref._sc /*ice.zxing.b4aZXingLib*/ .timeoutDuration = (int) (45);
RDebugUtils.currentLine=53346307;
 //BA.debugLineNum = 53346307;BA.debugLine="sc.theViewFinderXfactor = 0.7";
__ref._sc /*ice.zxing.b4aZXingLib*/ .theViewFinderXfactor = 0.7;
RDebugUtils.currentLine=53346308;
 //BA.debugLineNum = 53346308;BA.debugLine="sc.theViewFinderYfactor = 0.5";
__ref._sc /*ice.zxing.b4aZXingLib*/ .theViewFinderYfactor = 0.5;
RDebugUtils.currentLine=53346309;
 //BA.debugLineNum = 53346309;BA.debugLine="sc.theResultColor = Colors.Green";
__ref._sc /*ice.zxing.b4aZXingLib*/ .theResultColor = __c.Colors.Green;
RDebugUtils.currentLine=53346310;
 //BA.debugLineNum = 53346310;BA.debugLine="sc.mustVibrate = True";
__ref._sc /*ice.zxing.b4aZXingLib*/ .mustVibrate = __c.True;
RDebugUtils.currentLine=53346311;
 //BA.debugLineNum = 53346311;BA.debugLine="sc.BeginScan(\"sc\")";
__ref._sc /*ice.zxing.b4aZXingLib*/ .BeginScan(ba,"sc");
RDebugUtils.currentLine=53346312;
 //BA.debugLineNum = 53346312;BA.debugLine="End Sub";
return "";
}
public String  _btnaceptaplanlealtad_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "btnaceptaplanlealtad_click", false))
	 {return ((String) Debug.delegate(ba, "btnaceptaplanlealtad_click", null));}
RDebugUtils.currentLine=63111168;
 //BA.debugLineNum = 63111168;BA.debugLine="Private Sub btnAceptaPlanLealtad_Click";
RDebugUtils.currentLine=63111170;
 //BA.debugLineNum = 63111170;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM PLAN_LE";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=63111171;
 //BA.debugLineNum = 63111171;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=63111172;
 //BA.debugLineNum = 63111172;BA.debugLine="If c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
RDebugUtils.currentLine=63111174;
 //BA.debugLineNum = 63111174;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert int";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into PLAN_LEALTAD (PL_BANDERA, PL_CLIENTE) values ('1','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"')"));
RDebugUtils.currentLine=63111175;
 //BA.debugLineNum = 63111175;BA.debugLine="pnlPlanLealtad.Visible = False";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=63111176;
 //BA.debugLineNum = 63111176;BA.debugLine="Log(\"AQUI\")";
__c.LogImpl("063111176","AQUI",0);
RDebugUtils.currentLine=63111177;
 //BA.debugLineNum = 63111177;BA.debugLine="B4XPage_Appear";
__ref._b4xpage_appear /*void*/ (null);
 }else {
RDebugUtils.currentLine=63111179;
 //BA.debugLineNum = 63111179;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE PLAN_LEALTAD";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE PLAN_LEALTAD SET PL_BANDERA = 1 where PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"));
RDebugUtils.currentLine=63111180;
 //BA.debugLineNum = 63111180;BA.debugLine="pnlPlanLealtad.Visible = False";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=63111181;
 //BA.debugLineNum = 63111181;BA.debugLine="Log(\"AQUI2\")";
__c.LogImpl("063111181","AQUI2",0);
RDebugUtils.currentLine=63111182;
 //BA.debugLineNum = 63111182;BA.debugLine="B4XPage_Appear";
__ref._b4xpage_appear /*void*/ (null);
 };
RDebugUtils.currentLine=63111184;
 //BA.debugLineNum = 63111184;BA.debugLine="End Sub";
return "";
}
public String  _btncancelarplanlealtad_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "btncancelarplanlealtad_click", false))
	 {return ((String) Debug.delegate(ba, "btncancelarplanlealtad_click", null));}
RDebugUtils.currentLine=63045632;
 //BA.debugLineNum = 63045632;BA.debugLine="Private Sub btnCancelarPlanLealtad_Click";
RDebugUtils.currentLine=63045633;
 //BA.debugLineNum = 63045633;BA.debugLine="pnlPlanLealtad.Visible = False";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=63045634;
 //BA.debugLineNum = 63045634;BA.debugLine="End Sub";
return "";
}
public String  _btnplanlealtad_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "btnplanlealtad_click", false))
	 {return ((String) Debug.delegate(ba, "btnplanlealtad_click", null));}
RDebugUtils.currentLine=62980096;
 //BA.debugLineNum = 62980096;BA.debugLine="Private Sub btnPlanLealtad_Click";
RDebugUtils.currentLine=62980097;
 //BA.debugLineNum = 62980097;BA.debugLine="Subs.centraPanel(pnl_btns, pnlPlanLealtad.Width)";
_subs._centrapanel /*String*/ (ba,__ref._pnl_btns /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth());
RDebugUtils.currentLine=62980098;
 //BA.debugLineNum = 62980098;BA.debugLine="pnlPlanLealtad.Visible = True";
__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=62980099;
 //BA.debugLineNum = 62980099;BA.debugLine="End Sub";
return "";
}
public String  _calc_ean_checksum(gunav2.keymon.com.mx.c_cliente __ref,String _number) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "calc_ean_checksum", false))
	 {return ((String) Debug.delegate(ba, "calc_ean_checksum", new Object[] {_number}));}
int _i = 0;
char _co = '\0';
int _soma = 0;
int _n = 0;
float _digit = 0f;
RDebugUtils.currentLine=53608448;
 //BA.debugLineNum = 53608448;BA.debugLine="Sub calc_ean_checksum(number As String) As String";
RDebugUtils.currentLine=53608449;
 //BA.debugLineNum = 53608449;BA.debugLine="Dim i As Int";
_i = 0;
RDebugUtils.currentLine=53608450;
 //BA.debugLineNum = 53608450;BA.debugLine="Dim cO As Char";
_co = '\0';
RDebugUtils.currentLine=53608451;
 //BA.debugLineNum = 53608451;BA.debugLine="Dim soma As Int";
_soma = 0;
RDebugUtils.currentLine=53608452;
 //BA.debugLineNum = 53608452;BA.debugLine="Dim n As Int";
_n = 0;
RDebugUtils.currentLine=53608453;
 //BA.debugLineNum = 53608453;BA.debugLine="Dim digit As Float";
_digit = 0f;
RDebugUtils.currentLine=53608454;
 //BA.debugLineNum = 53608454;BA.debugLine="soma = 0";
_soma = (int) (0);
RDebugUtils.currentLine=53608455;
 //BA.debugLineNum = 53608455;BA.debugLine="For i=0 To number.Length - 1";
{
final int step7 = 1;
final int limit7 = (int) (_number.length()-1);
_i = (int) (0) ;
for (;_i <= limit7 ;_i = _i + step7 ) {
RDebugUtils.currentLine=53608456;
 //BA.debugLineNum = 53608456;BA.debugLine="digit = number.SubString2(i,i+1)";
_digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1))));
RDebugUtils.currentLine=53608457;
 //BA.debugLineNum = 53608457;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)";
_n = (int) (_digit*((_i%2)*2+1));
RDebugUtils.currentLine=53608458;
 //BA.debugLineNum = 53608458;BA.debugLine="soma=soma+n";
_soma = (int) (_soma+_n);
 }
};
RDebugUtils.currentLine=53608460;
 //BA.debugLineNum = 53608460;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10";
if (true) return _number+BA.NumberToString(((10-(_soma%10))%10));
RDebugUtils.currentLine=53608461;
 //BA.debugLineNum = 53608461;BA.debugLine="End Sub";
return "";
}
public String  _camera1_picturetaken(gunav2.keymon.com.mx.c_cliente __ref,byte[] _data) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "camera1_picturetaken", false))
	 {return ((String) Debug.delegate(ba, "camera1_picturetaken", new Object[] {_data}));}
String _filename = "";
String _dirp = "";
String _dir = "";
String _dir2 = "";
anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null;
anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null;
RDebugUtils.currentLine=63832064;
 //BA.debugLineNum = 63832064;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)";
RDebugUtils.currentLine=63832066;
 //BA.debugLineNum = 63832066;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\"";
__c.DateTime.setDateFormat("ddMMyyyyHHmmss");
RDebugUtils.currentLine=63832067;
 //BA.debugLineNum = 63832067;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\"";
__ref._nombrefoto /*String*/  = BA.NumberToString(__c.DateTime.getNow())+"_FOTO1.jpg";
RDebugUtils.currentLine=63832068;
 //BA.debugLineNum = 63832068;BA.debugLine="teclado.HideKeyboard";
__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=63832069;
 //BA.debugLineNum = 63832069;BA.debugLine="fototomada = nombrefoto";
__ref._fototomada /*String*/  = __ref._nombrefoto /*String*/ ;
RDebugUtils.currentLine=63832072;
 //BA.debugLineNum = 63832072;BA.debugLine="Log(\"tome foto\")";
__c.LogImpl("063832072","tome foto",0);
RDebugUtils.currentLine=63832073;
 //BA.debugLineNum = 63832073;BA.debugLine="Dim filename As String = fototomada";
_filename = __ref._fototomada /*String*/ ;
RDebugUtils.currentLine=63832074;
 //BA.debugLineNum = 63832074;BA.debugLine="Dim Dirp As String = File.DirInternal";
_dirp = __c.File.getDirInternal();
RDebugUtils.currentLine=63832075;
 //BA.debugLineNum = 63832075;BA.debugLine="Dim Dir As String";
_dir = "";
RDebugUtils.currentLine=63832076;
 //BA.debugLineNum = 63832076;BA.debugLine="Dim Dir2 As String";
_dir2 = "";
RDebugUtils.currentLine=63832077;
 //BA.debugLineNum = 63832077;BA.debugLine="Try";
try {RDebugUtils.currentLine=63832078;
 //BA.debugLineNum = 63832078;BA.debugLine="File.MakeDir(Dirp,\"/md\")";
__c.File.MakeDir(_dirp,"/md");
RDebugUtils.currentLine=63832079;
 //BA.debugLineNum = 63832079;BA.debugLine="Dir = \"/md\"";
_dir = "/md";
RDebugUtils.currentLine=63832080;
 //BA.debugLineNum = 63832080;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)";
__c.LogImpl("063832080","creado en promotoria "+_dirp+_dir,0);
 } 
       catch (Exception e15) {
			ba.setLastException(e15);RDebugUtils.currentLine=63832082;
 //BA.debugLineNum = 63832082;BA.debugLine="Dir = \"\"";
_dir = "";
RDebugUtils.currentLine=63832083;
 //BA.debugLineNum = 63832083;BA.debugLine="Log(\"creado en raiz\")";
__c.LogImpl("063832083","creado en raiz",0);
 };
RDebugUtils.currentLine=63832086;
 //BA.debugLineNum = 63832086;BA.debugLine="Try";
try {RDebugUtils.currentLine=63832087;
 //BA.debugLineNum = 63832087;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")";
__c.File.MakeDir(_dirp+_dir,"/reduccion");
RDebugUtils.currentLine=63832088;
 //BA.debugLineNum = 63832088;BA.debugLine="Dir2 = \"/reduccion\"";
_dir2 = "/reduccion";
RDebugUtils.currentLine=63832089;
 //BA.debugLineNum = 63832089;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)";
__c.LogImpl("063832089","creado en promotoria "+_dirp+_dir+_dir2,0);
 } 
       catch (Exception e23) {
			ba.setLastException(e23);RDebugUtils.currentLine=63832091;
 //BA.debugLineNum = 63832091;BA.debugLine="Dir = \"\"";
_dir = "";
RDebugUtils.currentLine=63832092;
 //BA.debugLineNum = 63832092;BA.debugLine="Log(\"creado en raiz\")";
__c.LogImpl("063832092","creado en raiz",0);
 };
RDebugUtils.currentLine=63832095;
 //BA.debugLineNum = 63832095;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._savepicturetofile /*String*/ (null,_data,_dirp+_dir,_filename);
RDebugUtils.currentLine=63832096;
 //BA.debugLineNum = 63832096;BA.debugLine="camEx.StartPreview 'restart preview";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._startpreview /*String*/ (null);
RDebugUtils.currentLine=63832098;
 //BA.debugLineNum = 63832098;BA.debugLine="Log(\"Picture saved.\" & CRLF  & \"File size: \" & Fi";
__c.LogImpl("063832098","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0);
RDebugUtils.currentLine=63832099;
 //BA.debugLineNum = 63832099;BA.debugLine="p_camara.Visible = False";
__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=63832101;
 //BA.debugLineNum = 63832101;BA.debugLine="Log(nombrefoto)";
__c.LogImpl("063832101",__ref._nombrefoto /*String*/ ,0);
RDebugUtils.currentLine=63832103;
 //BA.debugLineNum = 63832103;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File.";
_img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper();
_img = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (225),(int) (300),__c.True);
RDebugUtils.currentLine=63832104;
 //BA.debugLineNum = 63832104;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di";
_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper();
_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False);
RDebugUtils.currentLine=63832105;
 //BA.debugLineNum = 63832105;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")";
_img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG"));
RDebugUtils.currentLine=63832108;
 //BA.debugLineNum = 63832108;BA.debugLine="out.Close";
_out.Close();
RDebugUtils.currentLine=63832109;
 //BA.debugLineNum = 63832109;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal &";
__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto /*String*/ ).getObject()));
RDebugUtils.currentLine=63832111;
 //BA.debugLineNum = 63832111;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET foto = (";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto /*String*/ ))}));
RDebugUtils.currentLine=63832112;
 //BA.debugLineNum = 63832112;BA.debugLine="StopCamera2";
__ref._stopcamera2 /*String*/ (null);
RDebugUtils.currentLine=63832114;
 //BA.debugLineNum = 63832114;BA.debugLine="End Sub";
return "";
}
public String  _stopcamera2(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "stopcamera2", false))
	 {return ((String) Debug.delegate(ba, "stopcamera2", null));}
RDebugUtils.currentLine=64028672;
 //BA.debugLineNum = 64028672;BA.debugLine="Private Sub StopCamera2";
RDebugUtils.currentLine=64028674;
 //BA.debugLineNum = 64028674;BA.debugLine="If camEx.IsInitialized Then";
if (__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ .IsInitialized /*boolean*/ ()) { 
RDebugUtils.currentLine=64028675;
 //BA.debugLineNum = 64028675;BA.debugLine="camEx.Release";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._release /*String*/ (null);
 };
RDebugUtils.currentLine=64028677;
 //BA.debugLineNum = 64028677;BA.debugLine="End Sub";
return "";
}
public String  _camera1_ready(gunav2.keymon.com.mx.c_cliente __ref,boolean _success) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "camera1_ready", false))
	 {return ((String) Debug.delegate(ba, "camera1_ready", new Object[] {_success}));}
RDebugUtils.currentLine=63766528;
 //BA.debugLineNum = 63766528;BA.debugLine="Sub Camera1_Ready (Success As Boolean)";
RDebugUtils.currentLine=63766529;
 //BA.debugLineNum = 63766529;BA.debugLine="Log(\"Camara ready\")";
__c.LogImpl("063766529","Camara ready",0);
RDebugUtils.currentLine=63766530;
 //BA.debugLineNum = 63766530;BA.debugLine="If Success Then";
if (_success) { 
RDebugUtils.currentLine=63766531;
 //BA.debugLineNum = 63766531;BA.debugLine="camEx.SetJpegQuality(90)";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._setjpegquality /*String*/ (null,(int) (90));
RDebugUtils.currentLine=63766532;
 //BA.debugLineNum = 63766532;BA.debugLine="camEx.SetContinuousAutoFocus";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._setcontinuousautofocus /*String*/ (null);
RDebugUtils.currentLine=63766533;
 //BA.debugLineNum = 63766533;BA.debugLine="camEx.CommitParameters";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._commitparameters /*String*/ (null);
RDebugUtils.currentLine=63766534;
 //BA.debugLineNum = 63766534;BA.debugLine="camEx.StartPreview";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._startpreview /*String*/ (null);
RDebugUtils.currentLine=63766535;
 //BA.debugLineNum = 63766535;BA.debugLine="Log(camEx.GetPreviewSize)";
__c.LogImpl("063766535",BA.ObjectToString(__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._getpreviewsize /*gunav2.keymon.com.mx.cameraexclass._camerasize*/ (null)),0);
 }else {
RDebugUtils.currentLine=63766537;
 //BA.debugLineNum = 63766537;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True);
RDebugUtils.currentLine=63766538;
 //BA.debugLineNum = 63766538;BA.debugLine="Log(\"Cannot open camera\")";
__c.LogImpl("063766538","Cannot open camera",0);
 };
RDebugUtils.currentLine=63766540;
 //BA.debugLineNum = 63766540;BA.debugLine="End Sub";
return "";
}
public String  _cb_p1_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p1_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p1_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52101120;
 //BA.debugLineNum = 52101120;BA.debugLine="Private Sub cb_p1_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52101121;
 //BA.debugLineNum = 52101121;BA.debugLine="itemselect8 = Sender.As(B4XComboBox).SelectedItem";
__ref._itemselect8 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52101122;
 //BA.debugLineNum = 52101122;BA.debugLine="Log(itemselect8)";
__c.LogImpl("052101122",__ref._itemselect8 /*String*/ ,0);
RDebugUtils.currentLine=52101123;
 //BA.debugLineNum = 52101123;BA.debugLine="Log(Index)";
__c.LogImpl("052101123",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52101124;
 //BA.debugLineNum = 52101124;BA.debugLine="End Sub";
return "";
}
public String  _cb_p2_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p2_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p2_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52166656;
 //BA.debugLineNum = 52166656;BA.debugLine="Private Sub cb_p2_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52166657;
 //BA.debugLineNum = 52166657;BA.debugLine="itemselect9 = Sender.As(B4XComboBox).SelectedItem";
__ref._itemselect9 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52166658;
 //BA.debugLineNum = 52166658;BA.debugLine="Log(itemselect9)";
__c.LogImpl("052166658",__ref._itemselect9 /*String*/ ,0);
RDebugUtils.currentLine=52166659;
 //BA.debugLineNum = 52166659;BA.debugLine="Log(Index)";
__c.LogImpl("052166659",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52166660;
 //BA.debugLineNum = 52166660;BA.debugLine="End Sub";
return "";
}
public String  _cb_p3_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p3_m4_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p3_m4_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=51707904;
 //BA.debugLineNum = 51707904;BA.debugLine="Private Sub cb_p3_m4_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=51707905;
 //BA.debugLineNum = 51707905;BA.debugLine="itemselect2 = Sender.As(B4XComboBox).SelectedItem";
__ref._itemselect2 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=51707906;
 //BA.debugLineNum = 51707906;BA.debugLine="Log(itemselect2)";
__c.LogImpl("051707906",__ref._itemselect2 /*String*/ ,0);
RDebugUtils.currentLine=51707907;
 //BA.debugLineNum = 51707907;BA.debugLine="Log(Index)";
__c.LogImpl("051707907",BA.NumberToString(_index),0);
RDebugUtils.currentLine=51707908;
 //BA.debugLineNum = 51707908;BA.debugLine="End Sub";
return "";
}
public String  _cb_p3_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p3_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p3_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52232192;
 //BA.debugLineNum = 52232192;BA.debugLine="Private Sub cb_p3_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52232193;
 //BA.debugLineNum = 52232193;BA.debugLine="itemselect10 = Sender.As(B4XComboBox).SelectedIte";
__ref._itemselect10 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52232194;
 //BA.debugLineNum = 52232194;BA.debugLine="Log(itemselect10)";
__c.LogImpl("052232194",__ref._itemselect10 /*String*/ ,0);
RDebugUtils.currentLine=52232195;
 //BA.debugLineNum = 52232195;BA.debugLine="Log(Index)";
__c.LogImpl("052232195",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52232196;
 //BA.debugLineNum = 52232196;BA.debugLine="End Sub";
return "";
}
public String  _cb_p4_1_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p4_1_m4_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p4_1_m4_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=51773440;
 //BA.debugLineNum = 51773440;BA.debugLine="Private Sub cb_p4_1_m4_SelectedIndexChanged (Index";
RDebugUtils.currentLine=51773441;
 //BA.debugLineNum = 51773441;BA.debugLine="itemselect3 = Sender.As(B4XComboBox).SelectedItem";
__ref._itemselect3 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=51773442;
 //BA.debugLineNum = 51773442;BA.debugLine="Log(itemselect3)";
__c.LogImpl("051773442",__ref._itemselect3 /*String*/ ,0);
RDebugUtils.currentLine=51773443;
 //BA.debugLineNum = 51773443;BA.debugLine="Log(Index)";
__c.LogImpl("051773443",BA.NumberToString(_index),0);
RDebugUtils.currentLine=51773444;
 //BA.debugLineNum = 51773444;BA.debugLine="End Sub";
return "";
}
public String  _cb_p4_2_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p4_2_m4_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p4_2_m4_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=51838976;
 //BA.debugLineNum = 51838976;BA.debugLine="Private Sub cb_p4_2_m4_SelectedIndexChanged (Index";
RDebugUtils.currentLine=51838977;
 //BA.debugLineNum = 51838977;BA.debugLine="itemselect4 = Sender.As(B4XComboBox).SelectedItem";
__ref._itemselect4 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=51838978;
 //BA.debugLineNum = 51838978;BA.debugLine="Log(itemselect4)";
__c.LogImpl("051838978",__ref._itemselect4 /*String*/ ,0);
RDebugUtils.currentLine=51838979;
 //BA.debugLineNum = 51838979;BA.debugLine="Log(Index)";
__c.LogImpl("051838979",BA.NumberToString(_index),0);
RDebugUtils.currentLine=51838980;
 //BA.debugLineNum = 51838980;BA.debugLine="End Sub";
return "";
}
public String  _cb_p4_3_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p4_3_m4_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p4_3_m4_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=51904512;
 //BA.debugLineNum = 51904512;BA.debugLine="Private Sub cb_p4_3_m4_SelectedIndexChanged (Index";
RDebugUtils.currentLine=51904513;
 //BA.debugLineNum = 51904513;BA.debugLine="itemselect5 = Sender.As(B4XComboBox).SelectedItem";
__ref._itemselect5 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=51904514;
 //BA.debugLineNum = 51904514;BA.debugLine="Log(itemselect5)";
__c.LogImpl("051904514",__ref._itemselect5 /*String*/ ,0);
RDebugUtils.currentLine=51904515;
 //BA.debugLineNum = 51904515;BA.debugLine="Log(Index)";
__c.LogImpl("051904515",BA.NumberToString(_index),0);
RDebugUtils.currentLine=51904516;
 //BA.debugLineNum = 51904516;BA.debugLine="End Sub";
return "";
}
public String  _cb_p4_4_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p4_4_m4_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p4_4_m4_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=51970048;
 //BA.debugLineNum = 51970048;BA.debugLine="Private Sub cb_p4_4_m4_SelectedIndexChanged (Index";
RDebugUtils.currentLine=51970049;
 //BA.debugLineNum = 51970049;BA.debugLine="itemselect6 = Sender.As(B4XComboBox).SelectedItem";
__ref._itemselect6 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=51970050;
 //BA.debugLineNum = 51970050;BA.debugLine="Log(itemselect6)";
__c.LogImpl("051970050",__ref._itemselect6 /*String*/ ,0);
RDebugUtils.currentLine=51970051;
 //BA.debugLineNum = 51970051;BA.debugLine="Log(Index)";
__c.LogImpl("051970051",BA.NumberToString(_index),0);
RDebugUtils.currentLine=51970052;
 //BA.debugLineNum = 51970052;BA.debugLine="End Sub";
return "";
}
public String  _cb_p4_5_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p4_5_m4_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p4_5_m4_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52035584;
 //BA.debugLineNum = 52035584;BA.debugLine="Private Sub cb_p4_5_m4_SelectedIndexChanged (Index";
RDebugUtils.currentLine=52035585;
 //BA.debugLineNum = 52035585;BA.debugLine="itemselect7 = Sender.As(B4XComboBox).SelectedItem";
__ref._itemselect7 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52035586;
 //BA.debugLineNum = 52035586;BA.debugLine="Log(itemselect7)";
__c.LogImpl("052035586",__ref._itemselect7 /*String*/ ,0);
RDebugUtils.currentLine=52035587;
 //BA.debugLineNum = 52035587;BA.debugLine="Log(Index)";
__c.LogImpl("052035587",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52035588;
 //BA.debugLineNum = 52035588;BA.debugLine="End Sub";
return "";
}
public String  _cb_p4_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p4_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p4_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52297728;
 //BA.debugLineNum = 52297728;BA.debugLine="Private Sub cb_p4_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52297729;
 //BA.debugLineNum = 52297729;BA.debugLine="itemselect11 = Sender.As(B4XComboBox).SelectedIte";
__ref._itemselect11 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52297730;
 //BA.debugLineNum = 52297730;BA.debugLine="Log(itemselect11)";
__c.LogImpl("052297730",__ref._itemselect11 /*String*/ ,0);
RDebugUtils.currentLine=52297731;
 //BA.debugLineNum = 52297731;BA.debugLine="Log(Index)";
__c.LogImpl("052297731",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52297732;
 //BA.debugLineNum = 52297732;BA.debugLine="End Sub";
return "";
}
public String  _cb_p5_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p5_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p5_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52363264;
 //BA.debugLineNum = 52363264;BA.debugLine="Private Sub cb_p5_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52363265;
 //BA.debugLineNum = 52363265;BA.debugLine="itemselect12 = Sender.As(B4XComboBox).SelectedIte";
__ref._itemselect12 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52363266;
 //BA.debugLineNum = 52363266;BA.debugLine="Log(itemselect12)";
__c.LogImpl("052363266",__ref._itemselect12 /*String*/ ,0);
RDebugUtils.currentLine=52363267;
 //BA.debugLineNum = 52363267;BA.debugLine="Log(Index)";
__c.LogImpl("052363267",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52363268;
 //BA.debugLineNum = 52363268;BA.debugLine="End Sub";
return "";
}
public String  _cb_p6_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p6_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p6_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52428800;
 //BA.debugLineNum = 52428800;BA.debugLine="Private Sub cb_p6_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52428801;
 //BA.debugLineNum = 52428801;BA.debugLine="itemselect13 = Sender.As(B4XComboBox).SelectedIte";
__ref._itemselect13 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52428802;
 //BA.debugLineNum = 52428802;BA.debugLine="Log(itemselect13)";
__c.LogImpl("052428802",__ref._itemselect13 /*String*/ ,0);
RDebugUtils.currentLine=52428803;
 //BA.debugLineNum = 52428803;BA.debugLine="Log(Index)";
__c.LogImpl("052428803",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52428804;
 //BA.debugLineNum = 52428804;BA.debugLine="End Sub";
return "";
}
public String  _cb_p7_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p7_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p7_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52494336;
 //BA.debugLineNum = 52494336;BA.debugLine="Private Sub cb_p7_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52494337;
 //BA.debugLineNum = 52494337;BA.debugLine="itemselect14 = Sender.As(B4XComboBox).SelectedIte";
__ref._itemselect14 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52494338;
 //BA.debugLineNum = 52494338;BA.debugLine="Log(itemselect14)";
__c.LogImpl("052494338",__ref._itemselect14 /*String*/ ,0);
RDebugUtils.currentLine=52494339;
 //BA.debugLineNum = 52494339;BA.debugLine="Log(Index)";
__c.LogImpl("052494339",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52494340;
 //BA.debugLineNum = 52494340;BA.debugLine="End Sub";
return "";
}
public String  _cb_p8_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p8_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p8_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52559872;
 //BA.debugLineNum = 52559872;BA.debugLine="Private Sub cb_p8_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52559873;
 //BA.debugLineNum = 52559873;BA.debugLine="itemselect15 = Sender.As(B4XComboBox).SelectedIte";
__ref._itemselect15 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52559874;
 //BA.debugLineNum = 52559874;BA.debugLine="Log(itemselect15)";
__c.LogImpl("052559874",__ref._itemselect15 /*String*/ ,0);
RDebugUtils.currentLine=52559875;
 //BA.debugLineNum = 52559875;BA.debugLine="Log(Index)";
__c.LogImpl("052559875",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52559876;
 //BA.debugLineNum = 52559876;BA.debugLine="End Sub";
return "";
}
public String  _cb_p9_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_p9_m5_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_p9_m5_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=52625408;
 //BA.debugLineNum = 52625408;BA.debugLine="Private Sub cb_p9_m5_SelectedIndexChanged (Index A";
RDebugUtils.currentLine=52625409;
 //BA.debugLineNum = 52625409;BA.debugLine="itemselect16 = Sender.As(B4XComboBox).SelectedIte";
__ref._itemselect16 /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=52625410;
 //BA.debugLineNum = 52625410;BA.debugLine="Log(itemselect16)";
__c.LogImpl("052625410",__ref._itemselect16 /*String*/ ,0);
RDebugUtils.currentLine=52625411;
 //BA.debugLineNum = 52625411;BA.debugLine="Log(Index)";
__c.LogImpl("052625411",BA.NumberToString(_index),0);
RDebugUtils.currentLine=52625412;
 //BA.debugLineNum = 52625412;BA.debugLine="End Sub";
return "";
}
public String  _cb_pregunta_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb_pregunta_selectedindexchanged", false))
	 {return ((String) Debug.delegate(ba, "cb_pregunta_selectedindexchanged", new Object[] {_index}));}
RDebugUtils.currentLine=51576832;
 //BA.debugLineNum = 51576832;BA.debugLine="Private Sub cb_pregunta_SelectedIndexChanged (Inde";
RDebugUtils.currentLine=51576833;
 //BA.debugLineNum = 51576833;BA.debugLine="girotienda = Sender.As(B4XComboBox).SelectedItem";
__ref._girotienda /*String*/  = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null);
RDebugUtils.currentLine=51576834;
 //BA.debugLineNum = 51576834;BA.debugLine="Log(girotienda)";
__c.LogImpl("051576834",__ref._girotienda /*String*/ ,0);
RDebugUtils.currentLine=51576835;
 //BA.debugLineNum = 51576835;BA.debugLine="Log(Index)";
__c.LogImpl("051576835",BA.NumberToString(_index),0);
RDebugUtils.currentLine=51576836;
 //BA.debugLineNum = 51576836;BA.debugLine="End Sub";
return "";
}
public String  _cb1_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb1_p3_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb1_p3_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58392576;
 //BA.debugLineNum = 58392576;BA.debugLine="Private Sub CB1_P3_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58392577;
 //BA.debugLineNum = 58392577;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
RDebugUtils.currentLine=58392578;
 //BA.debugLineNum = 58392578;BA.debugLine="If CB1_P3_M2.Checked Then";
if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58392579;
 //BA.debugLineNum = 58392579;BA.debugLine="textemp2 = CB1_P3_M2.Text";
__ref._textemp2 /*String*/  = __ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58392581;
 //BA.debugLineNum = 58392581;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
 };
RDebugUtils.currentLine=58392583;
 //BA.debugLineNum = 58392583;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58392584;
 //BA.debugLineNum = 58392584;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58392585;
 //BA.debugLineNum = 58392585;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58392586;
 //BA.debugLineNum = 58392586;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58392587;
 //BA.debugLineNum = 58392587;BA.debugLine="Log(textemp2)";
__c.LogImpl("058392587",__ref._textemp2 /*String*/ ,0);
RDebugUtils.currentLine=58392588;
 //BA.debugLineNum = 58392588;BA.debugLine="End Sub";
return "";
}
public String  _cb1_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb1_p3_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb1_p3_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58982400;
 //BA.debugLineNum = 58982400;BA.debugLine="Private Sub CB1_P3_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58982401;
 //BA.debugLineNum = 58982401;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
RDebugUtils.currentLine=58982402;
 //BA.debugLineNum = 58982402;BA.debugLine="If CB1_P3_M3.Checked Then";
if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58982403;
 //BA.debugLineNum = 58982403;BA.debugLine="textemp4 = CB1_P3_M3.Text";
__ref._textemp4 /*String*/  = __ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58982405;
 //BA.debugLineNum = 58982405;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
 };
RDebugUtils.currentLine=58982407;
 //BA.debugLineNum = 58982407;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58982408;
 //BA.debugLineNum = 58982408;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58982409;
 //BA.debugLineNum = 58982409;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58982410;
 //BA.debugLineNum = 58982410;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58982411;
 //BA.debugLineNum = 58982411;BA.debugLine="Log(textemp4)";
__c.LogImpl("058982411",__ref._textemp4 /*String*/ ,0);
RDebugUtils.currentLine=58982412;
 //BA.debugLineNum = 58982412;BA.debugLine="End Sub";
return "";
}
public String  _cb1_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb1_p4_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb1_p4_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58720256;
 //BA.debugLineNum = 58720256;BA.debugLine="Private Sub CB1_P4_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58720257;
 //BA.debugLineNum = 58720257;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
RDebugUtils.currentLine=58720258;
 //BA.debugLineNum = 58720258;BA.debugLine="If CB1_P4_M2.Checked Then";
if (__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58720259;
 //BA.debugLineNum = 58720259;BA.debugLine="textemp3 = CB1_P4_M2.Text";
__ref._textemp3 /*String*/  = __ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58720261;
 //BA.debugLineNum = 58720261;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
 };
RDebugUtils.currentLine=58720263;
 //BA.debugLineNum = 58720263;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58720264;
 //BA.debugLineNum = 58720264;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58720265;
 //BA.debugLineNum = 58720265;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58720266;
 //BA.debugLineNum = 58720266;BA.debugLine="Log(textemp3)";
__c.LogImpl("058720266",__ref._textemp3 /*String*/ ,0);
RDebugUtils.currentLine=58720267;
 //BA.debugLineNum = 58720267;BA.debugLine="End Sub";
return "";
}
public String  _cb1_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb1_p4_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb1_p4_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59310080;
 //BA.debugLineNum = 59310080;BA.debugLine="Private Sub CB1_P4_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59310081;
 //BA.debugLineNum = 59310081;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
RDebugUtils.currentLine=59310082;
 //BA.debugLineNum = 59310082;BA.debugLine="CB5_P4_M3.Checked = False";
__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=59310083;
 //BA.debugLineNum = 59310083;BA.debugLine="If CB1_P4_M3.Checked Then";
if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59310084;
 //BA.debugLineNum = 59310084;BA.debugLine="textemp5 = CB1_P4_M3.Text";
__ref._textemp5 /*String*/  = __ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59310086;
 //BA.debugLineNum = 59310086;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
 };
RDebugUtils.currentLine=59310088;
 //BA.debugLineNum = 59310088;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59310089;
 //BA.debugLineNum = 59310089;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59310090;
 //BA.debugLineNum = 59310090;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59310091;
 //BA.debugLineNum = 59310091;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59310092;
 //BA.debugLineNum = 59310092;BA.debugLine="Log(textemp5)";
__c.LogImpl("059310092",__ref._textemp5 /*String*/ ,0);
RDebugUtils.currentLine=59310093;
 //BA.debugLineNum = 59310093;BA.debugLine="End Sub";
return "";
}
public String  _cb1_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb1_p6_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb1_p6_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59637760;
 //BA.debugLineNum = 59637760;BA.debugLine="Private Sub CB1_P6_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59637761;
 //BA.debugLineNum = 59637761;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
RDebugUtils.currentLine=59637762;
 //BA.debugLineNum = 59637762;BA.debugLine="If CB1_P6_M3.Checked Then";
if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59637763;
 //BA.debugLineNum = 59637763;BA.debugLine="textemp6 = CB1_P6_M3.Text";
__ref._textemp6 /*String*/  = __ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59637765;
 //BA.debugLineNum = 59637765;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
 };
RDebugUtils.currentLine=59637767;
 //BA.debugLineNum = 59637767;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59637768;
 //BA.debugLineNum = 59637768;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59637769;
 //BA.debugLineNum = 59637769;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59637770;
 //BA.debugLineNum = 59637770;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59637771;
 //BA.debugLineNum = 59637771;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59637772;
 //BA.debugLineNum = 59637772;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59637773;
 //BA.debugLineNum = 59637773;BA.debugLine="Log(textemp6)";
__c.LogImpl("059637773",__ref._textemp6 /*String*/ ,0);
RDebugUtils.currentLine=59637774;
 //BA.debugLineNum = 59637774;BA.debugLine="End Sub";
return "";
}
public String  _cb1_p7_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb1_p7_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb1_p7_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60096512;
 //BA.debugLineNum = 60096512;BA.debugLine="Private Sub CB1_P7_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60096513;
 //BA.debugLineNum = 60096513;BA.debugLine="textemp7 = \"\"";
__ref._textemp7 /*String*/  = "";
RDebugUtils.currentLine=60096514;
 //BA.debugLineNum = 60096514;BA.debugLine="If CB1_P7_M3.Checked Then";
if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=60096515;
 //BA.debugLineNum = 60096515;BA.debugLine="textemp7 = CB1_P7_M3.Text";
__ref._textemp7 /*String*/  = __ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=60096517;
 //BA.debugLineNum = 60096517;BA.debugLine="textemp7 = \"\"";
__ref._textemp7 /*String*/  = "";
 };
RDebugUtils.currentLine=60096519;
 //BA.debugLineNum = 60096519;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60096520;
 //BA.debugLineNum = 60096520;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60096521;
 //BA.debugLineNum = 60096521;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60096522;
 //BA.debugLineNum = 60096522;BA.debugLine="Log(textemp7)";
__c.LogImpl("060096522",__ref._textemp7 /*String*/ ,0);
RDebugUtils.currentLine=60096523;
 //BA.debugLineNum = 60096523;BA.debugLine="End Sub";
return "";
}
public String  _cb1_p8_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb1_p8_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb1_p8_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60358656;
 //BA.debugLineNum = 60358656;BA.debugLine="Private Sub CB1_P8_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60358657;
 //BA.debugLineNum = 60358657;BA.debugLine="textemp8 = \"\"";
__ref._textemp8 /*String*/  = "";
RDebugUtils.currentLine=60358658;
 //BA.debugLineNum = 60358658;BA.debugLine="textemp8 = CB1_P8_M3.Text";
__ref._textemp8 /*String*/  = __ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=60358659;
 //BA.debugLineNum = 60358659;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60358660;
 //BA.debugLineNum = 60358660;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60358661;
 //BA.debugLineNum = 60358661;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60358662;
 //BA.debugLineNum = 60358662;BA.debugLine="Log(textemp8)";
__c.LogImpl("060358662",__ref._textemp8 /*String*/ ,0);
RDebugUtils.currentLine=60358663;
 //BA.debugLineNum = 60358663;BA.debugLine="End Sub";
return "";
}
public String  _cb2_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb2_p3_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb2_p3_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58458112;
 //BA.debugLineNum = 58458112;BA.debugLine="Private Sub CB2_P3_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58458113;
 //BA.debugLineNum = 58458113;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
RDebugUtils.currentLine=58458114;
 //BA.debugLineNum = 58458114;BA.debugLine="If CB2_P3_M2.Checked Then";
if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58458115;
 //BA.debugLineNum = 58458115;BA.debugLine="textemp2 = CB2_P3_M2.Text";
__ref._textemp2 /*String*/  = __ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58458117;
 //BA.debugLineNum = 58458117;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
 };
RDebugUtils.currentLine=58458119;
 //BA.debugLineNum = 58458119;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58458120;
 //BA.debugLineNum = 58458120;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58458121;
 //BA.debugLineNum = 58458121;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58458122;
 //BA.debugLineNum = 58458122;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58458123;
 //BA.debugLineNum = 58458123;BA.debugLine="Log(textemp2)";
__c.LogImpl("058458123",__ref._textemp2 /*String*/ ,0);
RDebugUtils.currentLine=58458124;
 //BA.debugLineNum = 58458124;BA.debugLine="End Sub";
return "";
}
public String  _cb2_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb2_p3_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb2_p3_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59047936;
 //BA.debugLineNum = 59047936;BA.debugLine="Private Sub CB2_P3_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59047937;
 //BA.debugLineNum = 59047937;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
RDebugUtils.currentLine=59047938;
 //BA.debugLineNum = 59047938;BA.debugLine="If CB2_P3_M3.Checked Then";
if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59047939;
 //BA.debugLineNum = 59047939;BA.debugLine="textemp4 = CB2_P3_M3.Text";
__ref._textemp4 /*String*/  = __ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59047941;
 //BA.debugLineNum = 59047941;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
 };
RDebugUtils.currentLine=59047943;
 //BA.debugLineNum = 59047943;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59047944;
 //BA.debugLineNum = 59047944;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59047945;
 //BA.debugLineNum = 59047945;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59047946;
 //BA.debugLineNum = 59047946;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59047947;
 //BA.debugLineNum = 59047947;BA.debugLine="Log(textemp4)";
__c.LogImpl("059047947",__ref._textemp4 /*String*/ ,0);
RDebugUtils.currentLine=59047948;
 //BA.debugLineNum = 59047948;BA.debugLine="End Sub";
return "";
}
public String  _cb2_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb2_p4_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb2_p4_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58785792;
 //BA.debugLineNum = 58785792;BA.debugLine="Private Sub CB2_P4_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58785793;
 //BA.debugLineNum = 58785793;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
RDebugUtils.currentLine=58785794;
 //BA.debugLineNum = 58785794;BA.debugLine="If CB2_P4_M2.Checked Then";
if (__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58785795;
 //BA.debugLineNum = 58785795;BA.debugLine="textemp3 = CB2_P4_M2.Text";
__ref._textemp3 /*String*/  = __ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58785797;
 //BA.debugLineNum = 58785797;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
 };
RDebugUtils.currentLine=58785799;
 //BA.debugLineNum = 58785799;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58785800;
 //BA.debugLineNum = 58785800;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58785801;
 //BA.debugLineNum = 58785801;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58785802;
 //BA.debugLineNum = 58785802;BA.debugLine="Log(textemp3)";
__c.LogImpl("058785802",__ref._textemp3 /*String*/ ,0);
RDebugUtils.currentLine=58785803;
 //BA.debugLineNum = 58785803;BA.debugLine="End Sub";
return "";
}
public String  _cb2_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb2_p4_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb2_p4_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59375616;
 //BA.debugLineNum = 59375616;BA.debugLine="Private Sub CB2_P4_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59375617;
 //BA.debugLineNum = 59375617;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
RDebugUtils.currentLine=59375618;
 //BA.debugLineNum = 59375618;BA.debugLine="CB5_P4_M3.Checked = False";
__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=59375619;
 //BA.debugLineNum = 59375619;BA.debugLine="If CB2_P4_M3.Checked Then";
if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59375620;
 //BA.debugLineNum = 59375620;BA.debugLine="textemp5 = CB2_P4_M3.Text";
__ref._textemp5 /*String*/  = __ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59375622;
 //BA.debugLineNum = 59375622;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
 };
RDebugUtils.currentLine=59375624;
 //BA.debugLineNum = 59375624;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59375625;
 //BA.debugLineNum = 59375625;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59375626;
 //BA.debugLineNum = 59375626;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59375627;
 //BA.debugLineNum = 59375627;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59375628;
 //BA.debugLineNum = 59375628;BA.debugLine="Log(textemp5)";
__c.LogImpl("059375628",__ref._textemp5 /*String*/ ,0);
RDebugUtils.currentLine=59375629;
 //BA.debugLineNum = 59375629;BA.debugLine="End Sub";
return "";
}
public String  _cb2_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb2_p6_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb2_p6_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59703296;
 //BA.debugLineNum = 59703296;BA.debugLine="Private Sub CB2_P6_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59703297;
 //BA.debugLineNum = 59703297;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
RDebugUtils.currentLine=59703298;
 //BA.debugLineNum = 59703298;BA.debugLine="If CB2_P6_M3.Checked Then";
if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59703299;
 //BA.debugLineNum = 59703299;BA.debugLine="textemp6 = CB2_P6_M3.Text";
__ref._textemp6 /*String*/  = __ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59703301;
 //BA.debugLineNum = 59703301;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
 };
RDebugUtils.currentLine=59703303;
 //BA.debugLineNum = 59703303;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59703304;
 //BA.debugLineNum = 59703304;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59703305;
 //BA.debugLineNum = 59703305;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59703306;
 //BA.debugLineNum = 59703306;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59703307;
 //BA.debugLineNum = 59703307;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59703308;
 //BA.debugLineNum = 59703308;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59703309;
 //BA.debugLineNum = 59703309;BA.debugLine="Log(textemp6)";
__c.LogImpl("059703309",__ref._textemp6 /*String*/ ,0);
RDebugUtils.currentLine=59703310;
 //BA.debugLineNum = 59703310;BA.debugLine="End Sub";
return "";
}
public String  _cb2_p7_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb2_p7_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb2_p7_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60162048;
 //BA.debugLineNum = 60162048;BA.debugLine="Private Sub CB2_P7_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60162049;
 //BA.debugLineNum = 60162049;BA.debugLine="textemp7 = \"\"";
__ref._textemp7 /*String*/  = "";
RDebugUtils.currentLine=60162050;
 //BA.debugLineNum = 60162050;BA.debugLine="If CB2_P7_M3.Checked Then";
if (__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=60162051;
 //BA.debugLineNum = 60162051;BA.debugLine="textemp7 = CB2_P7_M3.Text";
__ref._textemp7 /*String*/  = __ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=60162053;
 //BA.debugLineNum = 60162053;BA.debugLine="textemp7 = \"\"";
__ref._textemp7 /*String*/  = "";
 };
RDebugUtils.currentLine=60162055;
 //BA.debugLineNum = 60162055;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60162056;
 //BA.debugLineNum = 60162056;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60162057;
 //BA.debugLineNum = 60162057;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60162058;
 //BA.debugLineNum = 60162058;BA.debugLine="Log(textemp7)";
__c.LogImpl("060162058",__ref._textemp7 /*String*/ ,0);
RDebugUtils.currentLine=60162059;
 //BA.debugLineNum = 60162059;BA.debugLine="End Sub";
return "";
}
public String  _cb2_p8_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb2_p8_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb2_p8_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60424192;
 //BA.debugLineNum = 60424192;BA.debugLine="Private Sub CB2_P8_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60424193;
 //BA.debugLineNum = 60424193;BA.debugLine="textemp8 = \"\"";
__ref._textemp8 /*String*/  = "";
RDebugUtils.currentLine=60424194;
 //BA.debugLineNum = 60424194;BA.debugLine="textemp8 = CB2_P8_M3.Text";
__ref._textemp8 /*String*/  = __ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=60424195;
 //BA.debugLineNum = 60424195;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60424196;
 //BA.debugLineNum = 60424196;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60424197;
 //BA.debugLineNum = 60424197;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60424198;
 //BA.debugLineNum = 60424198;BA.debugLine="Log(textemp8)";
__c.LogImpl("060424198",__ref._textemp8 /*String*/ ,0);
RDebugUtils.currentLine=60424199;
 //BA.debugLineNum = 60424199;BA.debugLine="End Sub";
return "";
}
public String  _cb3_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb3_p3_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb3_p3_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58523648;
 //BA.debugLineNum = 58523648;BA.debugLine="Private Sub CB3_P3_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58523649;
 //BA.debugLineNum = 58523649;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
RDebugUtils.currentLine=58523650;
 //BA.debugLineNum = 58523650;BA.debugLine="If CB3_P3_M2.Checked Then";
if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58523651;
 //BA.debugLineNum = 58523651;BA.debugLine="textemp2 = CB3_P3_M2.Text";
__ref._textemp2 /*String*/  = __ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58523653;
 //BA.debugLineNum = 58523653;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
 };
RDebugUtils.currentLine=58523655;
 //BA.debugLineNum = 58523655;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58523656;
 //BA.debugLineNum = 58523656;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58523657;
 //BA.debugLineNum = 58523657;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58523658;
 //BA.debugLineNum = 58523658;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58523659;
 //BA.debugLineNum = 58523659;BA.debugLine="Log(textemp2)";
__c.LogImpl("058523659",__ref._textemp2 /*String*/ ,0);
RDebugUtils.currentLine=58523660;
 //BA.debugLineNum = 58523660;BA.debugLine="End Sub";
return "";
}
public String  _cb3_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb3_p3_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb3_p3_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59113472;
 //BA.debugLineNum = 59113472;BA.debugLine="Private Sub CB3_P3_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59113473;
 //BA.debugLineNum = 59113473;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
RDebugUtils.currentLine=59113474;
 //BA.debugLineNum = 59113474;BA.debugLine="If CB3_P3_M3.Checked Then";
if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59113475;
 //BA.debugLineNum = 59113475;BA.debugLine="textemp4 = CB3_P3_M3.Text";
__ref._textemp4 /*String*/  = __ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59113477;
 //BA.debugLineNum = 59113477;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
 };
RDebugUtils.currentLine=59113479;
 //BA.debugLineNum = 59113479;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59113480;
 //BA.debugLineNum = 59113480;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59113481;
 //BA.debugLineNum = 59113481;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59113482;
 //BA.debugLineNum = 59113482;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59113483;
 //BA.debugLineNum = 59113483;BA.debugLine="Log(textemp4)";
__c.LogImpl("059113483",__ref._textemp4 /*String*/ ,0);
RDebugUtils.currentLine=59113484;
 //BA.debugLineNum = 59113484;BA.debugLine="End Sub";
return "";
}
public String  _cb3_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb3_p4_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb3_p4_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58851328;
 //BA.debugLineNum = 58851328;BA.debugLine="Private Sub CB3_P4_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58851329;
 //BA.debugLineNum = 58851329;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
RDebugUtils.currentLine=58851330;
 //BA.debugLineNum = 58851330;BA.debugLine="If CB3_P4_M2.Checked Then";
if (__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58851331;
 //BA.debugLineNum = 58851331;BA.debugLine="textemp3 = CB3_P4_M2.Text";
__ref._textemp3 /*String*/  = __ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58851333;
 //BA.debugLineNum = 58851333;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
 };
RDebugUtils.currentLine=58851335;
 //BA.debugLineNum = 58851335;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58851336;
 //BA.debugLineNum = 58851336;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58851337;
 //BA.debugLineNum = 58851337;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58851338;
 //BA.debugLineNum = 58851338;BA.debugLine="Log(textemp3)";
__c.LogImpl("058851338",__ref._textemp3 /*String*/ ,0);
RDebugUtils.currentLine=58851339;
 //BA.debugLineNum = 58851339;BA.debugLine="End Sub";
return "";
}
public String  _cb3_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb3_p4_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb3_p4_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59441152;
 //BA.debugLineNum = 59441152;BA.debugLine="Private Sub CB3_P4_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59441153;
 //BA.debugLineNum = 59441153;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
RDebugUtils.currentLine=59441154;
 //BA.debugLineNum = 59441154;BA.debugLine="CB5_P4_M3.Checked = False";
__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=59441155;
 //BA.debugLineNum = 59441155;BA.debugLine="If CB3_P4_M3.Checked Then";
if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59441156;
 //BA.debugLineNum = 59441156;BA.debugLine="textemp5 = CB3_P4_M3.Text";
__ref._textemp5 /*String*/  = __ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59441158;
 //BA.debugLineNum = 59441158;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
 };
RDebugUtils.currentLine=59441160;
 //BA.debugLineNum = 59441160;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59441161;
 //BA.debugLineNum = 59441161;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59441162;
 //BA.debugLineNum = 59441162;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59441163;
 //BA.debugLineNum = 59441163;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59441164;
 //BA.debugLineNum = 59441164;BA.debugLine="Log(textemp5)";
__c.LogImpl("059441164",__ref._textemp5 /*String*/ ,0);
RDebugUtils.currentLine=59441165;
 //BA.debugLineNum = 59441165;BA.debugLine="End Sub";
return "";
}
public String  _cb3_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb3_p6_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb3_p6_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59768832;
 //BA.debugLineNum = 59768832;BA.debugLine="Private Sub CB3_P6_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59768833;
 //BA.debugLineNum = 59768833;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
RDebugUtils.currentLine=59768834;
 //BA.debugLineNum = 59768834;BA.debugLine="If CB3_P6_M3.Checked Then";
if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59768835;
 //BA.debugLineNum = 59768835;BA.debugLine="textemp6 = CB3_P6_M3.Text";
__ref._textemp6 /*String*/  = __ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59768837;
 //BA.debugLineNum = 59768837;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
 };
RDebugUtils.currentLine=59768839;
 //BA.debugLineNum = 59768839;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59768840;
 //BA.debugLineNum = 59768840;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59768841;
 //BA.debugLineNum = 59768841;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59768842;
 //BA.debugLineNum = 59768842;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59768843;
 //BA.debugLineNum = 59768843;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59768844;
 //BA.debugLineNum = 59768844;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59768845;
 //BA.debugLineNum = 59768845;BA.debugLine="Log(textemp6)";
__c.LogImpl("059768845",__ref._textemp6 /*String*/ ,0);
RDebugUtils.currentLine=59768846;
 //BA.debugLineNum = 59768846;BA.debugLine="End Sub";
return "";
}
public String  _cb3_p7_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb3_p7_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb3_p7_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60227584;
 //BA.debugLineNum = 60227584;BA.debugLine="Private Sub CB3_P7_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60227585;
 //BA.debugLineNum = 60227585;BA.debugLine="textemp7 = \"\"";
__ref._textemp7 /*String*/  = "";
RDebugUtils.currentLine=60227586;
 //BA.debugLineNum = 60227586;BA.debugLine="If CB3_P7_M3.Checked Then";
if (__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=60227587;
 //BA.debugLineNum = 60227587;BA.debugLine="textemp7 = CB3_P7_M3.Text";
__ref._textemp7 /*String*/  = __ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=60227589;
 //BA.debugLineNum = 60227589;BA.debugLine="textemp7 = \"\"";
__ref._textemp7 /*String*/  = "";
 };
RDebugUtils.currentLine=60227591;
 //BA.debugLineNum = 60227591;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60227592;
 //BA.debugLineNum = 60227592;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60227593;
 //BA.debugLineNum = 60227593;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60227594;
 //BA.debugLineNum = 60227594;BA.debugLine="Log(textemp7)";
__c.LogImpl("060227594",__ref._textemp7 /*String*/ ,0);
RDebugUtils.currentLine=60227595;
 //BA.debugLineNum = 60227595;BA.debugLine="End Sub";
return "";
}
public String  _cb3_p8_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb3_p8_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb3_p8_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60489728;
 //BA.debugLineNum = 60489728;BA.debugLine="Private Sub CB3_P8_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60489729;
 //BA.debugLineNum = 60489729;BA.debugLine="textemp8 = \"\"";
__ref._textemp8 /*String*/  = "";
RDebugUtils.currentLine=60489730;
 //BA.debugLineNum = 60489730;BA.debugLine="textemp8 = CB3_P8_M3.Text";
__ref._textemp8 /*String*/  = __ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=60489731;
 //BA.debugLineNum = 60489731;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60489732;
 //BA.debugLineNum = 60489732;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60489733;
 //BA.debugLineNum = 60489733;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60489734;
 //BA.debugLineNum = 60489734;BA.debugLine="Log(textemp8)";
__c.LogImpl("060489734",__ref._textemp8 /*String*/ ,0);
RDebugUtils.currentLine=60489735;
 //BA.debugLineNum = 60489735;BA.debugLine="End Sub";
return "";
}
public String  _cb4_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb4_p3_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb4_p3_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58589184;
 //BA.debugLineNum = 58589184;BA.debugLine="Private Sub CB4_P3_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58589185;
 //BA.debugLineNum = 58589185;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
RDebugUtils.currentLine=58589186;
 //BA.debugLineNum = 58589186;BA.debugLine="If CB4_P3_M2.Checked Then";
if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58589187;
 //BA.debugLineNum = 58589187;BA.debugLine="textemp2 = CB4_P3_M2.Text";
__ref._textemp2 /*String*/  = __ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58589189;
 //BA.debugLineNum = 58589189;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
 };
RDebugUtils.currentLine=58589191;
 //BA.debugLineNum = 58589191;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58589192;
 //BA.debugLineNum = 58589192;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58589193;
 //BA.debugLineNum = 58589193;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58589194;
 //BA.debugLineNum = 58589194;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58589195;
 //BA.debugLineNum = 58589195;BA.debugLine="Log(textemp2)";
__c.LogImpl("058589195",__ref._textemp2 /*String*/ ,0);
RDebugUtils.currentLine=58589196;
 //BA.debugLineNum = 58589196;BA.debugLine="End Sub";
return "";
}
public String  _cb4_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb4_p3_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb4_p3_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59179008;
 //BA.debugLineNum = 59179008;BA.debugLine="Private Sub CB4_P3_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59179009;
 //BA.debugLineNum = 59179009;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
RDebugUtils.currentLine=59179010;
 //BA.debugLineNum = 59179010;BA.debugLine="If CB4_P3_M3.Checked Then";
if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59179011;
 //BA.debugLineNum = 59179011;BA.debugLine="textemp4 = CB4_P3_M3.Text";
__ref._textemp4 /*String*/  = __ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59179013;
 //BA.debugLineNum = 59179013;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
 };
RDebugUtils.currentLine=59179015;
 //BA.debugLineNum = 59179015;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59179016;
 //BA.debugLineNum = 59179016;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59179017;
 //BA.debugLineNum = 59179017;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59179018;
 //BA.debugLineNum = 59179018;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59179019;
 //BA.debugLineNum = 59179019;BA.debugLine="Log(textemp4)";
__c.LogImpl("059179019",__ref._textemp4 /*String*/ ,0);
RDebugUtils.currentLine=59179020;
 //BA.debugLineNum = 59179020;BA.debugLine="End Sub";
return "";
}
public String  _cb4_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb4_p4_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb4_p4_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58916864;
 //BA.debugLineNum = 58916864;BA.debugLine="Private Sub CB4_P4_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58916865;
 //BA.debugLineNum = 58916865;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
RDebugUtils.currentLine=58916866;
 //BA.debugLineNum = 58916866;BA.debugLine="If CB4_P4_M2.Checked Then";
if (__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58916867;
 //BA.debugLineNum = 58916867;BA.debugLine="textemp3 = CB4_P4_M2.Text";
__ref._textemp3 /*String*/  = __ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58916869;
 //BA.debugLineNum = 58916869;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
 };
RDebugUtils.currentLine=58916871;
 //BA.debugLineNum = 58916871;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58916872;
 //BA.debugLineNum = 58916872;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58916873;
 //BA.debugLineNum = 58916873;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp3 /*String*/  = __ref._textemp3 /*String*/ +", "+__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58916874;
 //BA.debugLineNum = 58916874;BA.debugLine="Log(textemp3)";
__c.LogImpl("058916874",__ref._textemp3 /*String*/ ,0);
RDebugUtils.currentLine=58916875;
 //BA.debugLineNum = 58916875;BA.debugLine="End Sub";
return "";
}
public String  _cb4_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb4_p4_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb4_p4_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59506688;
 //BA.debugLineNum = 59506688;BA.debugLine="Private Sub CB4_P4_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59506689;
 //BA.debugLineNum = 59506689;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
RDebugUtils.currentLine=59506690;
 //BA.debugLineNum = 59506690;BA.debugLine="CB5_P4_M3.Checked = False";
__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=59506691;
 //BA.debugLineNum = 59506691;BA.debugLine="If CB4_P4_M3.Checked Then";
if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59506692;
 //BA.debugLineNum = 59506692;BA.debugLine="textemp5 = CB4_P4_M3.Text";
__ref._textemp5 /*String*/  = __ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59506694;
 //BA.debugLineNum = 59506694;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
 };
RDebugUtils.currentLine=59506696;
 //BA.debugLineNum = 59506696;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59506697;
 //BA.debugLineNum = 59506697;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59506698;
 //BA.debugLineNum = 59506698;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59506699;
 //BA.debugLineNum = 59506699;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59506700;
 //BA.debugLineNum = 59506700;BA.debugLine="Log(textemp5)";
__c.LogImpl("059506700",__ref._textemp5 /*String*/ ,0);
RDebugUtils.currentLine=59506701;
 //BA.debugLineNum = 59506701;BA.debugLine="End Sub";
return "";
}
public String  _cb4_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb4_p6_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb4_p6_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59834368;
 //BA.debugLineNum = 59834368;BA.debugLine="Private Sub CB4_P6_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59834369;
 //BA.debugLineNum = 59834369;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
RDebugUtils.currentLine=59834370;
 //BA.debugLineNum = 59834370;BA.debugLine="If CB4_P6_M3.Checked Then";
if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59834371;
 //BA.debugLineNum = 59834371;BA.debugLine="textemp6 = CB4_P6_M3.Text";
__ref._textemp6 /*String*/  = __ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59834373;
 //BA.debugLineNum = 59834373;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
 };
RDebugUtils.currentLine=59834375;
 //BA.debugLineNum = 59834375;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59834376;
 //BA.debugLineNum = 59834376;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59834377;
 //BA.debugLineNum = 59834377;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59834378;
 //BA.debugLineNum = 59834378;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59834379;
 //BA.debugLineNum = 59834379;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59834380;
 //BA.debugLineNum = 59834380;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59834381;
 //BA.debugLineNum = 59834381;BA.debugLine="Log(textemp6)";
__c.LogImpl("059834381",__ref._textemp6 /*String*/ ,0);
RDebugUtils.currentLine=59834382;
 //BA.debugLineNum = 59834382;BA.debugLine="End Sub";
return "";
}
public String  _cb4_p7_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb4_p7_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb4_p7_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60293120;
 //BA.debugLineNum = 60293120;BA.debugLine="Private Sub CB4_P7_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60293121;
 //BA.debugLineNum = 60293121;BA.debugLine="textemp7 = \"\"";
__ref._textemp7 /*String*/  = "";
RDebugUtils.currentLine=60293122;
 //BA.debugLineNum = 60293122;BA.debugLine="If CB4_P7_M3.Checked Then";
if (__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=60293123;
 //BA.debugLineNum = 60293123;BA.debugLine="textemp7 = CB4_P7_M3.Text";
__ref._textemp7 /*String*/  = __ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=60293125;
 //BA.debugLineNum = 60293125;BA.debugLine="textemp7 = \"\"";
__ref._textemp7 /*String*/  = "";
 };
RDebugUtils.currentLine=60293127;
 //BA.debugLineNum = 60293127;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60293128;
 //BA.debugLineNum = 60293128;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60293129;
 //BA.debugLineNum = 60293129;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp7 /*String*/  = __ref._textemp7 /*String*/ +", "+__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60293130;
 //BA.debugLineNum = 60293130;BA.debugLine="Log(textemp7)";
__c.LogImpl("060293130",__ref._textemp7 /*String*/ ,0);
RDebugUtils.currentLine=60293131;
 //BA.debugLineNum = 60293131;BA.debugLine="End Sub";
return "";
}
public String  _cb4_p8_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb4_p8_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb4_p8_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60555264;
 //BA.debugLineNum = 60555264;BA.debugLine="Private Sub CB4_P8_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60555265;
 //BA.debugLineNum = 60555265;BA.debugLine="textemp8 = \"\"";
__ref._textemp8 /*String*/  = "";
RDebugUtils.currentLine=60555266;
 //BA.debugLineNum = 60555266;BA.debugLine="textemp8 = CB4_P8_M3.Text";
__ref._textemp8 /*String*/  = __ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=60555267;
 //BA.debugLineNum = 60555267;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60555268;
 //BA.debugLineNum = 60555268;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60555269;
 //BA.debugLineNum = 60555269;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp8 /*String*/  = __ref._textemp8 /*String*/ +", "+__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60555270;
 //BA.debugLineNum = 60555270;BA.debugLine="Log(textemp8)";
__c.LogImpl("060555270",__ref._textemp8 /*String*/ ,0);
RDebugUtils.currentLine=60555271;
 //BA.debugLineNum = 60555271;BA.debugLine="End Sub";
return "";
}
public String  _cb5_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb5_p3_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb5_p3_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58654720;
 //BA.debugLineNum = 58654720;BA.debugLine="Private Sub CB5_P3_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58654721;
 //BA.debugLineNum = 58654721;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
RDebugUtils.currentLine=58654722;
 //BA.debugLineNum = 58654722;BA.debugLine="If CB5_P3_M2.Checked Then";
if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=58654723;
 //BA.debugLineNum = 58654723;BA.debugLine="textemp2 = CB5_P3_M2.Text";
__ref._textemp2 /*String*/  = __ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=58654725;
 //BA.debugLineNum = 58654725;BA.debugLine="textemp2 = \"\"";
__ref._textemp2 /*String*/  = "";
 };
RDebugUtils.currentLine=58654727;
 //BA.debugLineNum = 58654727;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58654728;
 //BA.debugLineNum = 58654728;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58654729;
 //BA.debugLineNum = 58654729;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58654730;
 //BA.debugLineNum = 58654730;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp2 /*String*/  = __ref._textemp2 /*String*/ +", "+__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=58654731;
 //BA.debugLineNum = 58654731;BA.debugLine="Log(textemp2)";
__c.LogImpl("058654731",__ref._textemp2 /*String*/ ,0);
RDebugUtils.currentLine=58654732;
 //BA.debugLineNum = 58654732;BA.debugLine="End Sub";
return "";
}
public String  _cb5_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb5_p3_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb5_p3_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59244544;
 //BA.debugLineNum = 59244544;BA.debugLine="Private Sub CB5_P3_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59244545;
 //BA.debugLineNum = 59244545;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
RDebugUtils.currentLine=59244546;
 //BA.debugLineNum = 59244546;BA.debugLine="If CB5_P3_M3.Checked Then";
if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59244547;
 //BA.debugLineNum = 59244547;BA.debugLine="textemp4 = CB5_P3_M3.Text";
__ref._textemp4 /*String*/  = __ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59244549;
 //BA.debugLineNum = 59244549;BA.debugLine="textemp4 = \"\"";
__ref._textemp4 /*String*/  = "";
 };
RDebugUtils.currentLine=59244551;
 //BA.debugLineNum = 59244551;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59244552;
 //BA.debugLineNum = 59244552;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59244553;
 //BA.debugLineNum = 59244553;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59244554;
 //BA.debugLineNum = 59244554;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp4 /*String*/  = __ref._textemp4 /*String*/ +", "+__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59244555;
 //BA.debugLineNum = 59244555;BA.debugLine="Log(textemp4)";
__c.LogImpl("059244555",__ref._textemp4 /*String*/ ,0);
RDebugUtils.currentLine=59244556;
 //BA.debugLineNum = 59244556;BA.debugLine="End Sub";
return "";
}
public String  _cb5_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb5_p4_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb5_p4_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59572224;
 //BA.debugLineNum = 59572224;BA.debugLine="Private Sub CB5_P4_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59572225;
 //BA.debugLineNum = 59572225;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
RDebugUtils.currentLine=59572226;
 //BA.debugLineNum = 59572226;BA.debugLine="CB1_P4_M3.Checked = False";
__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=59572227;
 //BA.debugLineNum = 59572227;BA.debugLine="CB2_P4_M3.Checked = False";
__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=59572228;
 //BA.debugLineNum = 59572228;BA.debugLine="CB3_P4_M3.Checked = False";
__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=59572229;
 //BA.debugLineNum = 59572229;BA.debugLine="CB4_P4_M3.Checked = False";
__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=59572230;
 //BA.debugLineNum = 59572230;BA.debugLine="If CB5_P4_M3.Checked Then";
if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59572231;
 //BA.debugLineNum = 59572231;BA.debugLine="textemp5 = CB5_P4_M3.Text";
__ref._textemp5 /*String*/  = __ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59572233;
 //BA.debugLineNum = 59572233;BA.debugLine="textemp5 = \"\"";
__ref._textemp5 /*String*/  = "";
 };
RDebugUtils.currentLine=59572235;
 //BA.debugLineNum = 59572235;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59572236;
 //BA.debugLineNum = 59572236;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59572237;
 //BA.debugLineNum = 59572237;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59572238;
 //BA.debugLineNum = 59572238;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp5 /*String*/  = __ref._textemp5 /*String*/ +", "+__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59572239;
 //BA.debugLineNum = 59572239;BA.debugLine="Log(textemp5)";
__c.LogImpl("059572239",__ref._textemp5 /*String*/ ,0);
RDebugUtils.currentLine=59572240;
 //BA.debugLineNum = 59572240;BA.debugLine="End Sub";
return "";
}
public String  _cb5_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb5_p6_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb5_p6_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59899904;
 //BA.debugLineNum = 59899904;BA.debugLine="Private Sub CB5_P6_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59899905;
 //BA.debugLineNum = 59899905;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
RDebugUtils.currentLine=59899906;
 //BA.debugLineNum = 59899906;BA.debugLine="If CB5_P6_M3.Checked Then";
if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59899907;
 //BA.debugLineNum = 59899907;BA.debugLine="textemp6 = CB5_P6_M3.Text";
__ref._textemp6 /*String*/  = __ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59899909;
 //BA.debugLineNum = 59899909;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
 };
RDebugUtils.currentLine=59899911;
 //BA.debugLineNum = 59899911;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59899912;
 //BA.debugLineNum = 59899912;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59899913;
 //BA.debugLineNum = 59899913;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59899914;
 //BA.debugLineNum = 59899914;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59899915;
 //BA.debugLineNum = 59899915;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59899916;
 //BA.debugLineNum = 59899916;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59899917;
 //BA.debugLineNum = 59899917;BA.debugLine="Log(textemp6)";
__c.LogImpl("059899917",__ref._textemp6 /*String*/ ,0);
RDebugUtils.currentLine=59899918;
 //BA.debugLineNum = 59899918;BA.debugLine="End Sub";
return "";
}
public String  _cb6_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb6_p3_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb6_p3_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=57147392;
 //BA.debugLineNum = 57147392;BA.debugLine="Private Sub CB6_P3_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=57147393;
 //BA.debugLineNum = 57147393;BA.debugLine="If CB6_P3_M2.Checked = True Then";
if (__ref._cb6_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True) { 
RDebugUtils.currentLine=57147394;
 //BA.debugLineNum = 57147394;BA.debugLine="Panel7_M2.Visible = True";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
 }else {
RDebugUtils.currentLine=57147396;
 //BA.debugLineNum = 57147396;BA.debugLine="Panel7_M2.Visible = False";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 };
RDebugUtils.currentLine=57147400;
 //BA.debugLineNum = 57147400;BA.debugLine="End Sub";
return "";
}
public String  _cb6_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb6_p6_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb6_p6_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=59965440;
 //BA.debugLineNum = 59965440;BA.debugLine="Private Sub CB6_P6_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=59965441;
 //BA.debugLineNum = 59965441;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
RDebugUtils.currentLine=59965442;
 //BA.debugLineNum = 59965442;BA.debugLine="If CB6_P6_M3.Checked Then";
if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=59965443;
 //BA.debugLineNum = 59965443;BA.debugLine="textemp6 = CB6_P6_M3.Text";
__ref._textemp6 /*String*/  = __ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=59965445;
 //BA.debugLineNum = 59965445;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
 };
RDebugUtils.currentLine=59965447;
 //BA.debugLineNum = 59965447;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59965448;
 //BA.debugLineNum = 59965448;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59965449;
 //BA.debugLineNum = 59965449;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59965450;
 //BA.debugLineNum = 59965450;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59965451;
 //BA.debugLineNum = 59965451;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59965452;
 //BA.debugLineNum = 59965452;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=59965453;
 //BA.debugLineNum = 59965453;BA.debugLine="Log(textemp6)";
__c.LogImpl("059965453",__ref._textemp6 /*String*/ ,0);
RDebugUtils.currentLine=59965454;
 //BA.debugLineNum = 59965454;BA.debugLine="End Sub";
return "";
}
public String  _cb7_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cb7_p6_m3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "cb7_p6_m3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=60030976;
 //BA.debugLineNum = 60030976;BA.debugLine="Private Sub CB7_P6_M3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=60030977;
 //BA.debugLineNum = 60030977;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
RDebugUtils.currentLine=60030978;
 //BA.debugLineNum = 60030978;BA.debugLine="If CB7_P6_M3.Checked Then";
if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
RDebugUtils.currentLine=60030979;
 //BA.debugLineNum = 60030979;BA.debugLine="textemp6 = CB7_P6_M3.Text";
__ref._textemp6 /*String*/  = __ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
 }else {
RDebugUtils.currentLine=60030981;
 //BA.debugLineNum = 60030981;BA.debugLine="textemp6 = \"\"";
__ref._textemp6 /*String*/  = "";
 };
RDebugUtils.currentLine=60030983;
 //BA.debugLineNum = 60030983;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60030984;
 //BA.debugLineNum = 60030984;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60030985;
 //BA.debugLineNum = 60030985;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60030986;
 //BA.debugLineNum = 60030986;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60030987;
 //BA.debugLineNum = 60030987;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60030988;
 //BA.debugLineNum = 60030988;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
__ref._textemp6 /*String*/  = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=60030989;
 //BA.debugLineNum = 60030989;BA.debugLine="Log(textemp6)";
__c.LogImpl("060030989",__ref._textemp6 /*String*/ ,0);
RDebugUtils.currentLine=60030990;
 //BA.debugLineNum = 60030990;BA.debugLine="End Sub";
return "";
}
public int  _centropantalla(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "centropantalla", false))
	 {return ((Integer) Debug.delegate(ba, "centropantalla", null));}
int _anchopantalla = 0;
RDebugUtils.currentLine=60817408;
 //BA.debugLineNum = 60817408;BA.debugLine="Sub centroPantalla As Int";
RDebugUtils.currentLine=60817409;
 //BA.debugLineNum = 60817409;BA.debugLine="Private anchoPantalla As Int = GetDeviceLayoutVal";
_anchopantalla = __c.GetDeviceLayoutValues(ba).Width;
RDebugUtils.currentLine=60817410;
 //BA.debugLineNum = 60817410;BA.debugLine="Private anchoPantalla As Int = Root.Width";
_anchopantalla = __ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth();
RDebugUtils.currentLine=60817411;
 //BA.debugLineNum = 60817411;BA.debugLine="Return anchoPantalla/2";
if (true) return (int) (_anchopantalla/(double)2);
RDebugUtils.currentLine=60817412;
 //BA.debugLineNum = 60817412;BA.debugLine="End Sub";
return 0;
}
public String  _ch_factura_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "ch_factura_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "ch_factura_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=64225280;
 //BA.debugLineNum = 64225280;BA.debugLine="Private Sub CH_FACTURA_CheckedChange(Checked As Bo";
RDebugUtils.currentLine=64225282;
 //BA.debugLineNum = 64225282;BA.debugLine="End Sub";
return "";
}
public String  _chb_com_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "chb_com_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "chb_com_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=65077248;
 //BA.debugLineNum = 65077248;BA.debugLine="Private Sub chb_com_CheckedChange(Checked As Boole";
RDebugUtils.currentLine=65077250;
 //BA.debugLineNum = 65077250;BA.debugLine="End Sub";
return "";
}
public String  _checkbox1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "checkbox1_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "checkbox1_checkedchange", new Object[] {_checked}));}
String _textemp = "";
RDebugUtils.currentLine=56557568;
 //BA.debugLineNum = 56557568;BA.debugLine="Private Sub CheckBox1_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=56557569;
 //BA.debugLineNum = 56557569;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
RDebugUtils.currentLine=56557570;
 //BA.debugLineNum = 56557570;BA.debugLine="textemp = CheckBox1.Text";
_textemp = __ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=56557571;
 //BA.debugLineNum = 56557571;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56557572;
 //BA.debugLineNum = 56557572;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56557573;
 //BA.debugLineNum = 56557573;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56557574;
 //BA.debugLineNum = 56557574;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56557575;
 //BA.debugLineNum = 56557575;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56557576;
 //BA.debugLineNum = 56557576;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56557577;
 //BA.debugLineNum = 56557577;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56557578;
 //BA.debugLineNum = 56557578;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp));
RDebugUtils.currentLine=56557579;
 //BA.debugLineNum = 56557579;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056557579",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56557580;
 //BA.debugLineNum = 56557580;BA.debugLine="End Sub";
return "";
}
public String  _checkbox2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "checkbox2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "checkbox2_checkedchange", new Object[] {_checked}));}
String _textemp = "";
RDebugUtils.currentLine=56623104;
 //BA.debugLineNum = 56623104;BA.debugLine="Private Sub CheckBox2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=56623105;
 //BA.debugLineNum = 56623105;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
RDebugUtils.currentLine=56623106;
 //BA.debugLineNum = 56623106;BA.debugLine="textemp = CheckBox2.Text";
_textemp = __ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=56623107;
 //BA.debugLineNum = 56623107;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56623108;
 //BA.debugLineNum = 56623108;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56623109;
 //BA.debugLineNum = 56623109;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56623110;
 //BA.debugLineNum = 56623110;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56623111;
 //BA.debugLineNum = 56623111;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56623112;
 //BA.debugLineNum = 56623112;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56623113;
 //BA.debugLineNum = 56623113;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56623114;
 //BA.debugLineNum = 56623114;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp));
RDebugUtils.currentLine=56623115;
 //BA.debugLineNum = 56623115;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056623115",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56623116;
 //BA.debugLineNum = 56623116;BA.debugLine="End Sub";
return "";
}
public String  _checkbox3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "checkbox3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "checkbox3_checkedchange", new Object[] {_checked}));}
String _textemp = "";
RDebugUtils.currentLine=56688640;
 //BA.debugLineNum = 56688640;BA.debugLine="Private Sub CheckBox3_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=56688641;
 //BA.debugLineNum = 56688641;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
RDebugUtils.currentLine=56688642;
 //BA.debugLineNum = 56688642;BA.debugLine="textemp = CheckBox3.Text";
_textemp = __ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=56688643;
 //BA.debugLineNum = 56688643;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56688644;
 //BA.debugLineNum = 56688644;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56688645;
 //BA.debugLineNum = 56688645;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56688646;
 //BA.debugLineNum = 56688646;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56688647;
 //BA.debugLineNum = 56688647;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56688648;
 //BA.debugLineNum = 56688648;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56688649;
 //BA.debugLineNum = 56688649;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56688650;
 //BA.debugLineNum = 56688650;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp));
RDebugUtils.currentLine=56688651;
 //BA.debugLineNum = 56688651;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056688651",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56688652;
 //BA.debugLineNum = 56688652;BA.debugLine="End Sub";
return "";
}
public String  _checkbox4_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "checkbox4_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "checkbox4_checkedchange", new Object[] {_checked}));}
String _textemp = "";
RDebugUtils.currentLine=56754176;
 //BA.debugLineNum = 56754176;BA.debugLine="Private Sub CheckBox4_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=56754177;
 //BA.debugLineNum = 56754177;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
RDebugUtils.currentLine=56754178;
 //BA.debugLineNum = 56754178;BA.debugLine="textemp = CheckBox4.Text";
_textemp = __ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=56754179;
 //BA.debugLineNum = 56754179;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56754180;
 //BA.debugLineNum = 56754180;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56754181;
 //BA.debugLineNum = 56754181;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56754182;
 //BA.debugLineNum = 56754182;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56754183;
 //BA.debugLineNum = 56754183;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56754184;
 //BA.debugLineNum = 56754184;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56754185;
 //BA.debugLineNum = 56754185;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56754186;
 //BA.debugLineNum = 56754186;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp));
RDebugUtils.currentLine=56754187;
 //BA.debugLineNum = 56754187;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056754187",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56754188;
 //BA.debugLineNum = 56754188;BA.debugLine="End Sub";
return "";
}
public String  _checkbox5_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "checkbox5_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "checkbox5_checkedchange", new Object[] {_checked}));}
String _textemp = "";
RDebugUtils.currentLine=56819712;
 //BA.debugLineNum = 56819712;BA.debugLine="Private Sub CheckBox5_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=56819713;
 //BA.debugLineNum = 56819713;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
RDebugUtils.currentLine=56819714;
 //BA.debugLineNum = 56819714;BA.debugLine="textemp = CheckBox5.Text";
_textemp = __ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=56819715;
 //BA.debugLineNum = 56819715;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56819716;
 //BA.debugLineNum = 56819716;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56819717;
 //BA.debugLineNum = 56819717;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56819718;
 //BA.debugLineNum = 56819718;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56819719;
 //BA.debugLineNum = 56819719;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56819720;
 //BA.debugLineNum = 56819720;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56819721;
 //BA.debugLineNum = 56819721;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56819722;
 //BA.debugLineNum = 56819722;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp));
RDebugUtils.currentLine=56819723;
 //BA.debugLineNum = 56819723;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056819723",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56819724;
 //BA.debugLineNum = 56819724;BA.debugLine="End Sub";
return "";
}
public String  _checkbox6_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "checkbox6_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "checkbox6_checkedchange", new Object[] {_checked}));}
String _textemp = "";
RDebugUtils.currentLine=56885248;
 //BA.debugLineNum = 56885248;BA.debugLine="Private Sub CheckBox6_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=56885249;
 //BA.debugLineNum = 56885249;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
RDebugUtils.currentLine=56885250;
 //BA.debugLineNum = 56885250;BA.debugLine="textemp = CheckBox6.Text";
_textemp = __ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=56885251;
 //BA.debugLineNum = 56885251;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56885252;
 //BA.debugLineNum = 56885252;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56885253;
 //BA.debugLineNum = 56885253;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56885254;
 //BA.debugLineNum = 56885254;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56885255;
 //BA.debugLineNum = 56885255;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56885256;
 //BA.debugLineNum = 56885256;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56885257;
 //BA.debugLineNum = 56885257;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56885258;
 //BA.debugLineNum = 56885258;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp));
RDebugUtils.currentLine=56885259;
 //BA.debugLineNum = 56885259;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056885259",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56885260;
 //BA.debugLineNum = 56885260;BA.debugLine="End Sub";
return "";
}
public String  _checkbox7_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "checkbox7_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "checkbox7_checkedchange", new Object[] {_checked}));}
String _textemp = "";
RDebugUtils.currentLine=56950784;
 //BA.debugLineNum = 56950784;BA.debugLine="Private Sub CheckBox7_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=56950785;
 //BA.debugLineNum = 56950785;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
RDebugUtils.currentLine=56950786;
 //BA.debugLineNum = 56950786;BA.debugLine="textemp = CheckBox7.Text";
_textemp = __ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=56950787;
 //BA.debugLineNum = 56950787;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56950788;
 //BA.debugLineNum = 56950788;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56950789;
 //BA.debugLineNum = 56950789;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56950790;
 //BA.debugLineNum = 56950790;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56950791;
 //BA.debugLineNum = 56950791;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56950792;
 //BA.debugLineNum = 56950792;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56950793;
 //BA.debugLineNum = 56950793;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=56950794;
 //BA.debugLineNum = 56950794;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp));
RDebugUtils.currentLine=56950795;
 //BA.debugLineNum = 56950795;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056950795",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56950796;
 //BA.debugLineNum = 56950796;BA.debugLine="End Sub";
return "";
}
public String  _checkbox8_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "checkbox8_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "checkbox8_checkedchange", new Object[] {_checked}));}
String _textemp = "";
RDebugUtils.currentLine=57016320;
 //BA.debugLineNum = 57016320;BA.debugLine="Private Sub CheckBox8_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=57016321;
 //BA.debugLineNum = 57016321;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
RDebugUtils.currentLine=57016322;
 //BA.debugLineNum = 57016322;BA.debugLine="textemp = CheckBox8.Text";
_textemp = __ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();
RDebugUtils.currentLine=57016323;
 //BA.debugLineNum = 57016323;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=57016324;
 //BA.debugLineNum = 57016324;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=57016325;
 //BA.debugLineNum = 57016325;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=57016326;
 //BA.debugLineNum = 57016326;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=57016327;
 //BA.debugLineNum = 57016327;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=57016328;
 //BA.debugLineNum = 57016328;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=57016329;
 //BA.debugLineNum = 57016329;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { 
_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();};
RDebugUtils.currentLine=57016330;
 //BA.debugLineNum = 57016330;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp));
RDebugUtils.currentLine=57016331;
 //BA.debugLineNum = 57016331;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("057016331",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=57016332;
 //BA.debugLineNum = 57016332;BA.debugLine="End Sub";
return "";
}
public String  _class_globals(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
RDebugUtils.currentLine=50266112;
 //BA.debugLineNum = 50266112;BA.debugLine="Sub Class_Globals";
RDebugUtils.currentLine=50266113;
 //BA.debugLineNum = 50266113;BA.debugLine="Private Root As B4XView 'ignore";
_root = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=50266114;
 //BA.debugLineNum = 50266114;BA.debugLine="Private xui As XUI 'ignore";
_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
RDebugUtils.currentLine=50266115;
 //BA.debugLineNum = 50266115;BA.debugLine="Private p_cliente As Panel";
_p_cliente = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266116;
 //BA.debugLineNum = 50266116;BA.debugLine="Dim cuest As C_Cuestionario";
_cuest = new gunav2.keymon.com.mx.c_cuestionario();
RDebugUtils.currentLine=50266117;
 //BA.debugLineNum = 50266117;BA.debugLine="Dim g As GPS";
_g = new anywheresoftware.b4a.gps.GPS();
RDebugUtils.currentLine=50266118;
 //BA.debugLineNum = 50266118;BA.debugLine="Dim ruta As String";
_ruta = "";
RDebugUtils.currentLine=50266119;
 //BA.debugLineNum = 50266119;BA.debugLine="Dim skmt As SQL";
_skmt = new anywheresoftware.b4a.sql.SQL();
RDebugUtils.currentLine=50266120;
 //BA.debugLineNum = 50266120;BA.debugLine="Dim clie_id As String";
_clie_id = "";
RDebugUtils.currentLine=50266121;
 //BA.debugLineNum = 50266121;BA.debugLine="Dim sDate,sTime As String";
_sdate = "";
_stime = "";
RDebugUtils.currentLine=50266122;
 //BA.debugLineNum = 50266122;BA.debugLine="Dim usuario As String";
_usuario = "";
RDebugUtils.currentLine=50266123;
 //BA.debugLineNum = 50266123;BA.debugLine="Dim total_cliente As String";
_total_cliente = "";
RDebugUtils.currentLine=50266124;
 //BA.debugLineNum = 50266124;BA.debugLine="Dim m_lat, m_lon As String";
_m_lat = "";
_m_lon = "";
RDebugUtils.currentLine=50266125;
 //BA.debugLineNum = 50266125;BA.debugLine="Dim btAdmin As BluetoothAdmin";
_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin();
RDebugUtils.currentLine=50266126;
 //BA.debugLineNum = 50266126;BA.debugLine="Dim cmp20 As Serial";
_cmp20 = new anywheresoftware.b4a.objects.Serial();
RDebugUtils.currentLine=50266127;
 //BA.debugLineNum = 50266127;BA.debugLine="Dim printer As TextWriter";
_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper();
RDebugUtils.currentLine=50266128;
 //BA.debugLineNum = 50266128;BA.debugLine="Dim PairedDevices As Map";
_paireddevices = new anywheresoftware.b4a.objects.collections.Map();
RDebugUtils.currentLine=50266129;
 //BA.debugLineNum = 50266129;BA.debugLine="Dim L As List";
_l = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=50266130;
 //BA.debugLineNum = 50266130;BA.debugLine="Dim TAMANO As Int";
_tamano = 0;
RDebugUtils.currentLine=50266131;
 //BA.debugLineNum = 50266131;BA.debugLine="Dim ESPACIO As Int";
_espacio = 0;
RDebugUtils.currentLine=50266132;
 //BA.debugLineNum = 50266132;BA.debugLine="Dim BLANCO As String";
_blanco = "";
RDebugUtils.currentLine=50266133;
 //BA.debugLineNum = 50266133;BA.debugLine="Dim cuenta As String";
_cuenta = "";
RDebugUtils.currentLine=50266134;
 //BA.debugLineNum = 50266134;BA.debugLine="Dim tipo_venta As String";
_tipo_venta = "";
RDebugUtils.currentLine=50266135;
 //BA.debugLineNum = 50266135;BA.debugLine="Dim MAC_IMPRESORA As String";
_mac_impresora = "";
RDebugUtils.currentLine=50266136;
 //BA.debugLineNum = 50266136;BA.debugLine="Dim btAdmin As BluetoothAdmin";
_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin();
RDebugUtils.currentLine=50266137;
 //BA.debugLineNum = 50266137;BA.debugLine="Dim Printer1 As EscPosPrinter";
_printer1 = new gunav2.keymon.com.mx.escposprinter();
RDebugUtils.currentLine=50266138;
 //BA.debugLineNum = 50266138;BA.debugLine="Private location2 As Location";
_location2 = new anywheresoftware.b4a.gps.LocationWrapper();
RDebugUtils.currentLine=50266139;
 //BA.debugLineNum = 50266139;BA.debugLine="Dim c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=50266140;
 //BA.debugLineNum = 50266140;BA.debugLine="Dim s As Cursor";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=50266141;
 //BA.debugLineNum = 50266141;BA.debugLine="Dim DD As Cursor";
_dd = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=50266142;
 //BA.debugLineNum = 50266142;BA.debugLine="Dim c2 As Cursor";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=50266143;
 //BA.debugLineNum = 50266143;BA.debugLine="Dim ListView1 As ListView";
_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper();
RDebugUtils.currentLine=50266144;
 //BA.debugLineNum = 50266144;BA.debugLine="Dim la_cuenta As Label";
_la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266145;
 //BA.debugLineNum = 50266145;BA.debugLine="Dim La_nombre As Label";
_la_nombre = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266146;
 //BA.debugLineNum = 50266146;BA.debugLine="Dim la_Calle As Label";
_la_calle = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266147;
 //BA.debugLineNum = 50266147;BA.debugLine="Dim la_numero As Label";
_la_numero = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266148;
 //BA.debugLineNum = 50266148;BA.debugLine="Dim la_nint As Label";
_la_nint = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266149;
 //BA.debugLineNum = 50266149;BA.debugLine="Dim la_edo As Label";
_la_edo = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266150;
 //BA.debugLineNum = 50266150;BA.debugLine="Dim la_pob As Label";
_la_pob = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266151;
 //BA.debugLineNum = 50266151;BA.debugLine="Dim la_col As Label";
_la_col = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266152;
 //BA.debugLineNum = 50266152;BA.debugLine="Dim la_cp As Label";
_la_cp = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266153;
 //BA.debugLineNum = 50266153;BA.debugLine="Dim la_zona As Label";
_la_zona = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266154;
 //BA.debugLineNum = 50266154;BA.debugLine="Dim gest As Button";
_gest = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266155;
 //BA.debugLineNum = 50266155;BA.debugLine="Dim la_saldotot As Label";
_la_saldotot = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266156;
 //BA.debugLineNum = 50266156;BA.debugLine="Dim la_saldooper As Label";
_la_saldooper = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266157;
 //BA.debugLineNum = 50266157;BA.debugLine="Private l_cajetillas As Label";
_l_cajetillas = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266158;
 //BA.debugLineNum = 50266158;BA.debugLine="Dim Tels As Button";
_tels = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266159;
 //BA.debugLineNum = 50266159;BA.debugLine="Dim Label10 As Label";
_label10 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266160;
 //BA.debugLineNum = 50266160;BA.debugLine="Dim Label11 As Label";
_label11 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266162;
 //BA.debugLineNum = 50266162;BA.debugLine="Dim Tar As Button";
_tar = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266163;
 //BA.debugLineNum = 50266163;BA.debugLine="Dim t1, t2 As Timer";
_t1 = new anywheresoftware.b4a.objects.Timer();
_t2 = new anywheresoftware.b4a.objects.Timer();
RDebugUtils.currentLine=50266164;
 //BA.debugLineNum = 50266164;BA.debugLine="Dim la_comm As Label";
_la_comm = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266165;
 //BA.debugLineNum = 50266165;BA.debugLine="Dim la_actdte As Label";
_la_actdte = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266166;
 //BA.debugLineNum = 50266166;BA.debugLine="Dim la_usuario As Label";
_la_usuario = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266167;
 //BA.debugLineNum = 50266167;BA.debugLine="Dim la_resultado As Label";
_la_resultado = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266168;
 //BA.debugLineNum = 50266168;BA.debugLine="Dim l_entre1 As Label";
_l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266169;
 //BA.debugLineNum = 50266169;BA.debugLine="Dim l_entre2 As Label";
_l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266170;
 //BA.debugLineNum = 50266170;BA.debugLine="Dim l_atiende As Label";
_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266171;
 //BA.debugLineNum = 50266171;BA.debugLine="Dim l_atiende2 As Label";
_l_atiende2 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266172;
 //BA.debugLineNum = 50266172;BA.debugLine="Dim DATOS As Button";
_datos = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266173;
 //BA.debugLineNum = 50266173;BA.debugLine="Dim Guardar As Button";
_guardar = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266174;
 //BA.debugLineNum = 50266174;BA.debugLine="Dim NUEVO As Button";
_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266177;
 //BA.debugLineNum = 50266177;BA.debugLine="Dim l_total As Label";
_l_total = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266178;
 //BA.debugLineNum = 50266178;BA.debugLine="Dim c2 As Cursor";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=50266179;
 //BA.debugLineNum = 50266179;BA.debugLine="Dim S2 As Cursor";
_s2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=50266180;
 //BA.debugLineNum = 50266180;BA.debugLine="Private s As Cursor";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=50266181;
 //BA.debugLineNum = 50266181;BA.debugLine="Dim res As String";
_res = "";
RDebugUtils.currentLine=50266182;
 //BA.debugLineNum = 50266182;BA.debugLine="Private HIST As Button";
_hist = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266183;
 //BA.debugLineNum = 50266183;BA.debugLine="Private MONTO_COMPRA As String";
_monto_compra = "";
RDebugUtils.currentLine=50266184;
 //BA.debugLineNum = 50266184;BA.debugLine="Private META As String";
_meta = "";
RDebugUtils.currentLine=50266185;
 //BA.debugLineNum = 50266185;BA.debugLine="Private META2 As String";
_meta2 = "";
RDebugUtils.currentLine=50266186;
 //BA.debugLineNum = 50266186;BA.debugLine="Private VERIFICA As String";
_verifica = "";
RDebugUtils.currentLine=50266187;
 //BA.debugLineNum = 50266187;BA.debugLine="Private L_QR As Label";
_l_qr = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266188;
 //BA.debugLineNum = 50266188;BA.debugLine="Private BT_QR As Button";
_bt_qr = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266190;
 //BA.debugLineNum = 50266190;BA.debugLine="Dim CODIGO As String";
_codigo = "";
RDebugUtils.currentLine=50266192;
 //BA.debugLineNum = 50266192;BA.debugLine="Private b_mapa As Button";
_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266193;
 //BA.debugLineNum = 50266193;BA.debugLine="Dim CUANTOS As String";
_cuantos = "";
RDebugUtils.currentLine=50266194;
 //BA.debugLineNum = 50266194;BA.debugLine="Private B_IMP As Button";
_b_imp = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266195;
 //BA.debugLineNum = 50266195;BA.debugLine="Dim Toggla As Toggle";
_toggla = new com.rootsoft.togglelibrary.ToggleLibrary();
RDebugUtils.currentLine=50266196;
 //BA.debugLineNum = 50266196;BA.debugLine="Dim tgl As Toggle";
_tgl = new com.rootsoft.togglelibrary.ToggleLibrary();
RDebugUtils.currentLine=50266197;
 //BA.debugLineNum = 50266197;BA.debugLine="Private Panel1 As Panel";
_panel1 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266198;
 //BA.debugLineNum = 50266198;BA.debugLine="Private I_COMPRA As EditText";
_i_compra = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266199;
 //BA.debugLineNum = 50266199;BA.debugLine="Private B_GUARDA_C As Button";
_b_guarda_c = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266200;
 //BA.debugLineNum = 50266200;BA.debugLine="Private b_venta As Button";
_b_venta = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266201;
 //BA.debugLineNum = 50266201;BA.debugLine="Dim ALMACEN As String";
_almacen = "";
RDebugUtils.currentLine=50266202;
 //BA.debugLineNum = 50266202;BA.debugLine="Dim LA_GPS As Label";
_la_gps = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266203;
 //BA.debugLineNum = 50266203;BA.debugLine="Private B_E_NEXT As Button";
_b_e_next = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266204;
 //BA.debugLineNum = 50266204;BA.debugLine="Private E_RES_E As EditText";
_e_res_e = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266205;
 //BA.debugLineNum = 50266205;BA.debugLine="Private t_tenc As Label";
_t_tenc = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266206;
 //BA.debugLineNum = 50266206;BA.debugLine="Private Panel2 As Panel";
_panel2 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266207;
 //BA.debugLineNum = 50266207;BA.debugLine="Private CONTADOR_E As String";
_contador_e = "";
RDebugUtils.currentLine=50266208;
 //BA.debugLineNum = 50266208;BA.debugLine="Private HR_RES1 As String";
_hr_res1 = "";
RDebugUtils.currentLine=50266209;
 //BA.debugLineNum = 50266209;BA.debugLine="Private HR_RES2 As String";
_hr_res2 = "";
RDebugUtils.currentLine=50266210;
 //BA.debugLineNum = 50266210;BA.debugLine="Private HR_RES3 As String";
_hr_res3 = "";
RDebugUtils.currentLine=50266211;
 //BA.debugLineNum = 50266211;BA.debugLine="Private EXISTE As String";
_existe = "";
RDebugUtils.currentLine=50266212;
 //BA.debugLineNum = 50266212;BA.debugLine="Private telefono As String";
_telefono = "";
RDebugUtils.currentLine=50266215;
 //BA.debugLineNum = 50266215;BA.debugLine="Private RB1 As RadioButton";
_rb1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266216;
 //BA.debugLineNum = 50266216;BA.debugLine="Private RB2 As RadioButton";
_rb2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266217;
 //BA.debugLineNum = 50266217;BA.debugLine="Private RB3 As RadioButton";
_rb3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266218;
 //BA.debugLineNum = 50266218;BA.debugLine="Private RB4 As RadioButton";
_rb4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266219;
 //BA.debugLineNum = 50266219;BA.debugLine="Private RB5 As RadioButton";
_rb5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266221;
 //BA.debugLineNum = 50266221;BA.debugLine="Private stay_hh As String";
_stay_hh = "";
RDebugUtils.currentLine=50266222;
 //BA.debugLineNum = 50266222;BA.debugLine="Private stay_mi As String";
_stay_mi = "";
RDebugUtils.currentLine=50266223;
 //BA.debugLineNum = 50266223;BA.debugLine="Private stay_ss As String";
_stay_ss = "";
RDebugUtils.currentLine=50266225;
 //BA.debugLineNum = 50266225;BA.debugLine="Private LA_GEO As Label";
_la_geo = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266226;
 //BA.debugLineNum = 50266226;BA.debugLine="Dim result As Int";
_result = 0;
RDebugUtils.currentLine=50266227;
 //BA.debugLineNum = 50266227;BA.debugLine="Private cercavalor As String";
_cercavalor = "";
RDebugUtils.currentLine=50266228;
 //BA.debugLineNum = 50266228;BA.debugLine="Private LA_RUTA As String";
_la_ruta = "";
RDebugUtils.currentLine=50266230;
 //BA.debugLineNum = 50266230;BA.debugLine="Private b_like As Button";
_b_like = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266231;
 //BA.debugLineNum = 50266231;BA.debugLine="Private B_GPS As Button";
_b_gps = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266232;
 //BA.debugLineNum = 50266232;BA.debugLine="Dim sc As JhsIceZxing1";
_sc = new ice.zxing.b4aZXingLib();
RDebugUtils.currentLine=50266233;
 //BA.debugLineNum = 50266233;BA.debugLine="Dim CODIGO As String";
_codigo = "";
RDebugUtils.currentLine=50266234;
 //BA.debugLineNum = 50266234;BA.debugLine="Private SV_ENCUESTA As ScrollView";
_sv_encuesta = new anywheresoftware.b4a.objects.ScrollViewWrapper();
RDebugUtils.currentLine=50266235;
 //BA.debugLineNum = 50266235;BA.debugLine="Private RB1_E1 As RadioButton";
_rb1_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266236;
 //BA.debugLineNum = 50266236;BA.debugLine="Private RB2_E1 As RadioButton";
_rb2_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266237;
 //BA.debugLineNum = 50266237;BA.debugLine="Private RB3_E1 As RadioButton";
_rb3_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266238;
 //BA.debugLineNum = 50266238;BA.debugLine="Private CHB1 As CheckBox";
_chb1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266239;
 //BA.debugLineNum = 50266239;BA.debugLine="Private CHB2 As CheckBox";
_chb2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266240;
 //BA.debugLineNum = 50266240;BA.debugLine="Private CHB3 As CheckBox";
_chb3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266241;
 //BA.debugLineNum = 50266241;BA.debugLine="Private Panel5 As Panel";
_panel5 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266242;
 //BA.debugLineNum = 50266242;BA.debugLine="Private B_guardaencuesta As Button";
_b_guardaencuesta = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266243;
 //BA.debugLineNum = 50266243;BA.debugLine="Private RadioButton1 As RadioButton";
_radiobutton1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266244;
 //BA.debugLineNum = 50266244;BA.debugLine="Private RadioButton2 As RadioButton";
_radiobutton2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266245;
 //BA.debugLineNum = 50266245;BA.debugLine="Private RadioButton3 As RadioButton";
_radiobutton3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266246;
 //BA.debugLineNum = 50266246;BA.debugLine="Private RadioButton4 As RadioButton";
_radiobutton4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266247;
 //BA.debugLineNum = 50266247;BA.debugLine="Private RadioButton5 As RadioButton";
_radiobutton5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266248;
 //BA.debugLineNum = 50266248;BA.debugLine="Private RadioButton6 As RadioButton";
_radiobutton6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266249;
 //BA.debugLineNum = 50266249;BA.debugLine="Private RadioButton7 As RadioButton";
_radiobutton7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266250;
 //BA.debugLineNum = 50266250;BA.debugLine="Private RadioButton8 As RadioButton";
_radiobutton8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266251;
 //BA.debugLineNum = 50266251;BA.debugLine="Private RadioButton9 As RadioButton";
_radiobutton9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266252;
 //BA.debugLineNum = 50266252;BA.debugLine="Private RadioButton10 As RadioButton";
_radiobutton10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266253;
 //BA.debugLineNum = 50266253;BA.debugLine="Private RadioButton11 As RadioButton";
_radiobutton11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266254;
 //BA.debugLineNum = 50266254;BA.debugLine="Private RadioButton12 As RadioButton";
_radiobutton12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266255;
 //BA.debugLineNum = 50266255;BA.debugLine="Private RadioButton13 As RadioButton";
_radiobutton13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266256;
 //BA.debugLineNum = 50266256;BA.debugLine="Private RadioButton14 As RadioButton";
_radiobutton14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266257;
 //BA.debugLineNum = 50266257;BA.debugLine="Private CheckBox1 As CheckBox";
_checkbox1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266258;
 //BA.debugLineNum = 50266258;BA.debugLine="Private CheckBox2 As CheckBox";
_checkbox2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266259;
 //BA.debugLineNum = 50266259;BA.debugLine="Private CheckBox3 As CheckBox";
_checkbox3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266260;
 //BA.debugLineNum = 50266260;BA.debugLine="Private CheckBox4 As CheckBox";
_checkbox4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266261;
 //BA.debugLineNum = 50266261;BA.debugLine="Private CheckBox5 As CheckBox";
_checkbox5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266262;
 //BA.debugLineNum = 50266262;BA.debugLine="Private CheckBox6 As CheckBox";
_checkbox6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266263;
 //BA.debugLineNum = 50266263;BA.debugLine="Private CheckBox7 As CheckBox";
_checkbox7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266264;
 //BA.debugLineNum = 50266264;BA.debugLine="Private CheckBox8 As CheckBox";
_checkbox8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266265;
 //BA.debugLineNum = 50266265;BA.debugLine="Dim encuentasmapa As Map";
_encuentasmapa = new anywheresoftware.b4a.objects.collections.Map();
RDebugUtils.currentLine=50266266;
 //BA.debugLineNum = 50266266;BA.debugLine="Private p6 As EditText";
_p6 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266267;
 //BA.debugLineNum = 50266267;BA.debugLine="Private p7 As EditText";
_p7 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266268;
 //BA.debugLineNum = 50266268;BA.debugLine="Private p8 As EditText";
_p8 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266269;
 //BA.debugLineNum = 50266269;BA.debugLine="Private Panel7 As Panel";
_panel7 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266270;
 //BA.debugLineNum = 50266270;BA.debugLine="Private RadioButton17 As RadioButton";
_radiobutton17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266271;
 //BA.debugLineNum = 50266271;BA.debugLine="Private RadioButton16 As RadioButton";
_radiobutton16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266272;
 //BA.debugLineNum = 50266272;BA.debugLine="Private RadioButton15 As RadioButton";
_radiobutton15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266273;
 //BA.debugLineNum = 50266273;BA.debugLine="Private B_guardaencuesta_m2 As Button";
_b_guardaencuesta_m2 = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266274;
 //BA.debugLineNum = 50266274;BA.debugLine="Private et_p1_m2 As EditText";
_et_p1_m2 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266275;
 //BA.debugLineNum = 50266275;BA.debugLine="Private et_p2_m2 As EditText";
_et_p2_m2 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266276;
 //BA.debugLineNum = 50266276;BA.debugLine="Private RB7_P6_M2 As RadioButton";
_rb7_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266277;
 //BA.debugLineNum = 50266277;BA.debugLine="Private RB6_P6_M2 As RadioButton";
_rb6_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266278;
 //BA.debugLineNum = 50266278;BA.debugLine="Private RB5_P6_M2 As RadioButton";
_rb5_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266279;
 //BA.debugLineNum = 50266279;BA.debugLine="Private RB4_P6_M2 As RadioButton";
_rb4_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266280;
 //BA.debugLineNum = 50266280;BA.debugLine="Private RB3_P6_M2 As RadioButton";
_rb3_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266281;
 //BA.debugLineNum = 50266281;BA.debugLine="Private RB2_P6_M2 As RadioButton";
_rb2_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266282;
 //BA.debugLineNum = 50266282;BA.debugLine="Private RB1_P6_M2 As RadioButton";
_rb1_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266283;
 //BA.debugLineNum = 50266283;BA.debugLine="Private et_p5_m2 As EditText";
_et_p5_m2 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266284;
 //BA.debugLineNum = 50266284;BA.debugLine="Private rd3_p4_m2 As RadioButton";
_rd3_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266285;
 //BA.debugLineNum = 50266285;BA.debugLine="Private rd2_p4_m2 As RadioButton";
_rd2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266286;
 //BA.debugLineNum = 50266286;BA.debugLine="Private rd1_p4_m2 As RadioButton";
_rd1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266287;
 //BA.debugLineNum = 50266287;BA.debugLine="Private RB1_P3_M2 As RadioButton";
_rb1_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266288;
 //BA.debugLineNum = 50266288;BA.debugLine="Private RB2_P3_M2 As RadioButton";
_rb2_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266289;
 //BA.debugLineNum = 50266289;BA.debugLine="Private RB3_P3_M2 As RadioButton";
_rb3_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266290;
 //BA.debugLineNum = 50266290;BA.debugLine="Private RB4_P3_M2 As RadioButton";
_rb4_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266291;
 //BA.debugLineNum = 50266291;BA.debugLine="Private ET_P3_M2 As EditText";
_et_p3_m2 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266292;
 //BA.debugLineNum = 50266292;BA.debugLine="Private Panel7_M2 As Panel";
_panel7_m2 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266293;
 //BA.debugLineNum = 50266293;BA.debugLine="Private P4_M2 As String";
_p4_m2 = "";
RDebugUtils.currentLine=50266294;
 //BA.debugLineNum = 50266294;BA.debugLine="Private P3_M2 As String";
_p3_m2 = "";
RDebugUtils.currentLine=50266295;
 //BA.debugLineNum = 50266295;BA.debugLine="Private P6_M2 As String";
_p6_m2 = "";
RDebugUtils.currentLine=50266297;
 //BA.debugLineNum = 50266297;BA.debugLine="Private CB1_P3_M2 As CheckBox";
_cb1_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266298;
 //BA.debugLineNum = 50266298;BA.debugLine="Private CB2_P3_M2 As CheckBox";
_cb2_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266299;
 //BA.debugLineNum = 50266299;BA.debugLine="Private CB3_P3_M2 As CheckBox";
_cb3_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266300;
 //BA.debugLineNum = 50266300;BA.debugLine="Private CB4_P3_M2 As CheckBox";
_cb4_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266301;
 //BA.debugLineNum = 50266301;BA.debugLine="Private CB5_P3_M2 As CheckBox";
_cb5_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266302;
 //BA.debugLineNum = 50266302;BA.debugLine="Private CB6_P3_M2 As CheckBox";
_cb6_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266303;
 //BA.debugLineNum = 50266303;BA.debugLine="Private EXISTE2 As String";
_existe2 = "";
RDebugUtils.currentLine=50266304;
 //BA.debugLineNum = 50266304;BA.debugLine="Private EXISTE3 As String";
_existe3 = "";
RDebugUtils.currentLine=50266305;
 //BA.debugLineNum = 50266305;BA.debugLine="Private EXISTE4 As String";
_existe4 = "";
RDebugUtils.currentLine=50266306;
 //BA.debugLineNum = 50266306;BA.debugLine="Private EXISTE5 As String";
_existe5 = "";
RDebugUtils.currentLine=50266307;
 //BA.debugLineNum = 50266307;BA.debugLine="Private et_p1_m3 As EditText";
_et_p1_m3 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266308;
 //BA.debugLineNum = 50266308;BA.debugLine="Private et_p2_m3 As EditText";
_et_p2_m3 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266309;
 //BA.debugLineNum = 50266309;BA.debugLine="Private CB1_P3_M3 As CheckBox";
_cb1_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266310;
 //BA.debugLineNum = 50266310;BA.debugLine="Private CB2_P3_M3 As CheckBox";
_cb2_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266311;
 //BA.debugLineNum = 50266311;BA.debugLine="Private CB3_P3_M3 As CheckBox";
_cb3_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266312;
 //BA.debugLineNum = 50266312;BA.debugLine="Private CB4_P3_M3 As CheckBox";
_cb4_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266313;
 //BA.debugLineNum = 50266313;BA.debugLine="Private CB5_P3_M3 As CheckBox";
_cb5_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266314;
 //BA.debugLineNum = 50266314;BA.debugLine="Private CB1_P4_M3 As CheckBox";
_cb1_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266315;
 //BA.debugLineNum = 50266315;BA.debugLine="Private CB2_P4_M3 As CheckBox";
_cb2_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266316;
 //BA.debugLineNum = 50266316;BA.debugLine="Private CB3_P4_M3 As CheckBox";
_cb3_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266317;
 //BA.debugLineNum = 50266317;BA.debugLine="Private CB4_P4_M3 As CheckBox";
_cb4_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266318;
 //BA.debugLineNum = 50266318;BA.debugLine="Private CB5_P4_M3 As CheckBox";
_cb5_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266319;
 //BA.debugLineNum = 50266319;BA.debugLine="Private rd1_p5_m3 As RadioButton";
_rd1_p5_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266320;
 //BA.debugLineNum = 50266320;BA.debugLine="Private rd2_p5_m3 As RadioButton";
_rd2_p5_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266321;
 //BA.debugLineNum = 50266321;BA.debugLine="Private CB1_P6_M3 As CheckBox";
_cb1_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266322;
 //BA.debugLineNum = 50266322;BA.debugLine="Private CB2_P6_M3 As CheckBox";
_cb2_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266323;
 //BA.debugLineNum = 50266323;BA.debugLine="Private CB3_P6_M3 As CheckBox";
_cb3_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266324;
 //BA.debugLineNum = 50266324;BA.debugLine="Private CB4_P6_M3 As CheckBox";
_cb4_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266325;
 //BA.debugLineNum = 50266325;BA.debugLine="Private CB5_P6_M3 As CheckBox";
_cb5_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266326;
 //BA.debugLineNum = 50266326;BA.debugLine="Private CB6_P6_M3 As CheckBox";
_cb6_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266327;
 //BA.debugLineNum = 50266327;BA.debugLine="Private ET_P6_M3 As EditText";
_et_p6_m3 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266328;
 //BA.debugLineNum = 50266328;BA.debugLine="Private CB1_P7_M3 As CheckBox";
_cb1_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266329;
 //BA.debugLineNum = 50266329;BA.debugLine="Private CB2_P7_M3 As CheckBox";
_cb2_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266330;
 //BA.debugLineNum = 50266330;BA.debugLine="Private CB3_P7_M3 As CheckBox";
_cb3_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266331;
 //BA.debugLineNum = 50266331;BA.debugLine="Private CB4_P7_M3 As CheckBox";
_cb4_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266332;
 //BA.debugLineNum = 50266332;BA.debugLine="Private CB1_P8_M3 As CheckBox";
_cb1_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266333;
 //BA.debugLineNum = 50266333;BA.debugLine="Private CB2_P8_M3 As CheckBox";
_cb2_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266334;
 //BA.debugLineNum = 50266334;BA.debugLine="Private CB4_P8_M3 As CheckBox";
_cb4_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266335;
 //BA.debugLineNum = 50266335;BA.debugLine="Private RB1_P9_M3 As RadioButton";
_rb1_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266336;
 //BA.debugLineNum = 50266336;BA.debugLine="Private RB2_P9_M3 As RadioButton";
_rb2_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266337;
 //BA.debugLineNum = 50266337;BA.debugLine="Private RB3_P9_M3 As RadioButton";
_rb3_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266338;
 //BA.debugLineNum = 50266338;BA.debugLine="Private RB4_P9_M3 As RadioButton";
_rb4_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266339;
 //BA.debugLineNum = 50266339;BA.debugLine="Private RB5_P9_M3 As RadioButton";
_rb5_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266340;
 //BA.debugLineNum = 50266340;BA.debugLine="Private B_guardaencuesta_m3 As Button";
_b_guardaencuesta_m3 = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266341;
 //BA.debugLineNum = 50266341;BA.debugLine="Private P_gallina As Panel";
_p_gallina = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266342;
 //BA.debugLineNum = 50266342;BA.debugLine="Private b_acepta_gallina As Button";
_b_acepta_gallina = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266343;
 //BA.debugLineNum = 50266343;BA.debugLine="Private B_CANCELA_GALLINA As Button";
_b_cancela_gallina = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266344;
 //BA.debugLineNum = 50266344;BA.debugLine="Private B_GALLINA As Button";
_b_gallina = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266345;
 //BA.debugLineNum = 50266345;BA.debugLine="Private la_cuenta_gallina As Label";
_la_cuenta_gallina = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266346;
 //BA.debugLineNum = 50266346;BA.debugLine="Private cb_pregunta As B4XComboBox";
_cb_pregunta = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266347;
 //BA.debugLineNum = 50266347;BA.debugLine="Dim girotienda As String";
_girotienda = "";
RDebugUtils.currentLine=50266348;
 //BA.debugLineNum = 50266348;BA.debugLine="Private p_pregunta1 As Panel";
_p_pregunta1 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266349;
 //BA.debugLineNum = 50266349;BA.debugLine="Private b_preguntag As Button";
_b_preguntag = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266350;
 //BA.debugLineNum = 50266350;BA.debugLine="Private EN_QUE_ENCUESTA As String";
_en_que_encuesta = "";
RDebugUtils.currentLine=50266351;
 //BA.debugLineNum = 50266351;BA.debugLine="Private ENCUESTA As String";
_encuesta = "";
RDebugUtils.currentLine=50266352;
 //BA.debugLineNum = 50266352;BA.debugLine="Private et_p1_m4 As EditText";
_et_p1_m4 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266353;
 //BA.debugLineNum = 50266353;BA.debugLine="Private et_p2_m4 As EditText";
_et_p2_m4 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266354;
 //BA.debugLineNum = 50266354;BA.debugLine="Private cb_p3_m4 As B4XComboBox";
_cb_p3_m4 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266355;
 //BA.debugLineNum = 50266355;BA.debugLine="Private cb_p4_1_m4 As B4XComboBox";
_cb_p4_1_m4 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266356;
 //BA.debugLineNum = 50266356;BA.debugLine="Private cb_p4_2_m4 As B4XComboBox";
_cb_p4_2_m4 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266357;
 //BA.debugLineNum = 50266357;BA.debugLine="Private cb_p4_3_m4 As B4XComboBox";
_cb_p4_3_m4 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266358;
 //BA.debugLineNum = 50266358;BA.debugLine="Private cb_p4_4_m4 As B4XComboBox";
_cb_p4_4_m4 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266359;
 //BA.debugLineNum = 50266359;BA.debugLine="Private cb_p4_5_m4 As B4XComboBox";
_cb_p4_5_m4 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266360;
 //BA.debugLineNum = 50266360;BA.debugLine="Dim itemselect2 As String";
_itemselect2 = "";
RDebugUtils.currentLine=50266361;
 //BA.debugLineNum = 50266361;BA.debugLine="Dim itemselect3 As String";
_itemselect3 = "";
RDebugUtils.currentLine=50266362;
 //BA.debugLineNum = 50266362;BA.debugLine="Dim itemselect4 As String";
_itemselect4 = "";
RDebugUtils.currentLine=50266363;
 //BA.debugLineNum = 50266363;BA.debugLine="Dim itemselect5 As String";
_itemselect5 = "";
RDebugUtils.currentLine=50266364;
 //BA.debugLineNum = 50266364;BA.debugLine="Dim itemselect6 As String";
_itemselect6 = "";
RDebugUtils.currentLine=50266365;
 //BA.debugLineNum = 50266365;BA.debugLine="Dim itemselect7 As String";
_itemselect7 = "";
RDebugUtils.currentLine=50266366;
 //BA.debugLineNum = 50266366;BA.debugLine="Private B_guardaencuesta_m4 As Button";
_b_guardaencuesta_m4 = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266367;
 //BA.debugLineNum = 50266367;BA.debugLine="Private p_modulo5 As Panel";
_p_modulo5 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266368;
 //BA.debugLineNum = 50266368;BA.debugLine="Private cb_p1_m5 As B4XComboBox";
_cb_p1_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266369;
 //BA.debugLineNum = 50266369;BA.debugLine="Private cb_p2_m5 As B4XComboBox";
_cb_p2_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266370;
 //BA.debugLineNum = 50266370;BA.debugLine="Private cb_p3_m5 As B4XComboBox";
_cb_p3_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266371;
 //BA.debugLineNum = 50266371;BA.debugLine="Private cb_p4_m5 As B4XComboBox";
_cb_p4_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266372;
 //BA.debugLineNum = 50266372;BA.debugLine="Private cb_p5_m5 As B4XComboBox";
_cb_p5_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266373;
 //BA.debugLineNum = 50266373;BA.debugLine="Private cb_p6_m5 As B4XComboBox";
_cb_p6_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266374;
 //BA.debugLineNum = 50266374;BA.debugLine="Private cb_p7_m5 As B4XComboBox";
_cb_p7_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266375;
 //BA.debugLineNum = 50266375;BA.debugLine="Private cb_p8_m5 As B4XComboBox";
_cb_p8_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266376;
 //BA.debugLineNum = 50266376;BA.debugLine="Private cb_p9_m5 As B4XComboBox";
_cb_p9_m5 = new gunav2.keymon.com.mx.b4xcombobox();
RDebugUtils.currentLine=50266377;
 //BA.debugLineNum = 50266377;BA.debugLine="Dim itemselect8 As String";
_itemselect8 = "";
RDebugUtils.currentLine=50266378;
 //BA.debugLineNum = 50266378;BA.debugLine="Dim itemselect9 As String";
_itemselect9 = "";
RDebugUtils.currentLine=50266379;
 //BA.debugLineNum = 50266379;BA.debugLine="Dim itemselect10 As String";
_itemselect10 = "";
RDebugUtils.currentLine=50266380;
 //BA.debugLineNum = 50266380;BA.debugLine="Dim itemselect11 As String";
_itemselect11 = "";
RDebugUtils.currentLine=50266381;
 //BA.debugLineNum = 50266381;BA.debugLine="Dim itemselect12 As String";
_itemselect12 = "";
RDebugUtils.currentLine=50266382;
 //BA.debugLineNum = 50266382;BA.debugLine="Dim itemselect13 As String";
_itemselect13 = "";
RDebugUtils.currentLine=50266383;
 //BA.debugLineNum = 50266383;BA.debugLine="Dim itemselect14 As String";
_itemselect14 = "";
RDebugUtils.currentLine=50266384;
 //BA.debugLineNum = 50266384;BA.debugLine="Dim itemselect15 As String";
_itemselect15 = "";
RDebugUtils.currentLine=50266385;
 //BA.debugLineNum = 50266385;BA.debugLine="Dim itemselect16 As String";
_itemselect16 = "";
RDebugUtils.currentLine=50266386;
 //BA.debugLineNum = 50266386;BA.debugLine="Private B_guardaencuesta_m5 As Button";
_b_guardaencuesta_m5 = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266387;
 //BA.debugLineNum = 50266387;BA.debugLine="Dim PASA As String";
_pasa = "";
RDebugUtils.currentLine=50266388;
 //BA.debugLineNum = 50266388;BA.debugLine="Private RB1_P4_M2 As RadioButton";
_rb1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266389;
 //BA.debugLineNum = 50266389;BA.debugLine="Private RB2_P4_M2 As RadioButton";
_rb2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266390;
 //BA.debugLineNum = 50266390;BA.debugLine="Private panel7_p4_m2 As Panel";
_panel7_p4_m2 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266391;
 //BA.debugLineNum = 50266391;BA.debugLine="Private CB1_P4_M2 As CheckBox";
_cb1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266392;
 //BA.debugLineNum = 50266392;BA.debugLine="Private CB2_P4_M2 As CheckBox";
_cb2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266393;
 //BA.debugLineNum = 50266393;BA.debugLine="Private CB3_P4_M2 As CheckBox";
_cb3_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266394;
 //BA.debugLineNum = 50266394;BA.debugLine="Private CB4_P4_M2 As CheckBox";
_cb4_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266395;
 //BA.debugLineNum = 50266395;BA.debugLine="Private Panel4 As Panel";
_panel4 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266396;
 //BA.debugLineNum = 50266396;BA.debugLine="Private B_GUARDA_CE_PED As Button";
_b_guarda_ce_ped = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266399;
 //BA.debugLineNum = 50266399;BA.debugLine="Private KP_01 As CheckBox";
_kp_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266400;
 //BA.debugLineNum = 50266400;BA.debugLine="Private KP_02 As CheckBox";
_kp_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266401;
 //BA.debugLineNum = 50266401;BA.debugLine="Private KP_03 As CheckBox";
_kp_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266402;
 //BA.debugLineNum = 50266402;BA.debugLine="Private KP_04 As CheckBox";
_kp_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266403;
 //BA.debugLineNum = 50266403;BA.debugLine="Private KP_05 As CheckBox";
_kp_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266404;
 //BA.debugLineNum = 50266404;BA.debugLine="Private KP_06 As CheckBox";
_kp_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266405;
 //BA.debugLineNum = 50266405;BA.debugLine="Private KP_07 As CheckBox";
_kp_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266406;
 //BA.debugLineNum = 50266406;BA.debugLine="Private KP_08 As CheckBox";
_kp_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266407;
 //BA.debugLineNum = 50266407;BA.debugLine="Private KP_09 As CheckBox";
_kp_09 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266408;
 //BA.debugLineNum = 50266408;BA.debugLine="Private KP_10 As CheckBox";
_kp_10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266409;
 //BA.debugLineNum = 50266409;BA.debugLine="Private KP_11 As CheckBox";
_kp_11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266410;
 //BA.debugLineNum = 50266410;BA.debugLine="Private KP_12 As CheckBox";
_kp_12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266411;
 //BA.debugLineNum = 50266411;BA.debugLine="Private KP_13 As CheckBox";
_kp_13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266412;
 //BA.debugLineNum = 50266412;BA.debugLine="Private KP_14 As CheckBox";
_kp_14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266413;
 //BA.debugLineNum = 50266413;BA.debugLine="Private KP_15 As CheckBox";
_kp_15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266414;
 //BA.debugLineNum = 50266414;BA.debugLine="Private KP_16 As CheckBox";
_kp_16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266415;
 //BA.debugLineNum = 50266415;BA.debugLine="Private KP_17 As CheckBox";
_kp_17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266416;
 //BA.debugLineNum = 50266416;BA.debugLine="Private KP_18 As CheckBox";
_kp_18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266417;
 //BA.debugLineNum = 50266417;BA.debugLine="Private KP_19 As CheckBox";
_kp_19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266418;
 //BA.debugLineNum = 50266418;BA.debugLine="Private KP_20 As CheckBox";
_kp_20 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266420;
 //BA.debugLineNum = 50266420;BA.debugLine="Private KG_01 As CheckBox";
_kg_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266421;
 //BA.debugLineNum = 50266421;BA.debugLine="Private KG_02 As CheckBox";
_kg_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266422;
 //BA.debugLineNum = 50266422;BA.debugLine="Private KG_03 As CheckBox";
_kg_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266423;
 //BA.debugLineNum = 50266423;BA.debugLine="Private KG_04 As CheckBox";
_kg_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266424;
 //BA.debugLineNum = 50266424;BA.debugLine="Private KG_05 As CheckBox";
_kg_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266425;
 //BA.debugLineNum = 50266425;BA.debugLine="Private KG_06 As CheckBox";
_kg_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266427;
 //BA.debugLineNum = 50266427;BA.debugLine="Private PK_01 As CheckBox";
_pk_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266428;
 //BA.debugLineNum = 50266428;BA.debugLine="Private PK_02 As CheckBox";
_pk_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266429;
 //BA.debugLineNum = 50266429;BA.debugLine="Private PK_03 As CheckBox";
_pk_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266430;
 //BA.debugLineNum = 50266430;BA.debugLine="Private PK_04 As CheckBox";
_pk_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266431;
 //BA.debugLineNum = 50266431;BA.debugLine="Private PK_05 As CheckBox";
_pk_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266432;
 //BA.debugLineNum = 50266432;BA.debugLine="Private PK_06 As CheckBox";
_pk_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266433;
 //BA.debugLineNum = 50266433;BA.debugLine="Private PK_07 As CheckBox";
_pk_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266434;
 //BA.debugLineNum = 50266434;BA.debugLine="Private PK_08 As CheckBox";
_pk_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266436;
 //BA.debugLineNum = 50266436;BA.debugLine="Private HPG_01 As CheckBox";
_hpg_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266437;
 //BA.debugLineNum = 50266437;BA.debugLine="Private HPG_02 As CheckBox";
_hpg_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266438;
 //BA.debugLineNum = 50266438;BA.debugLine="Private HPG_03 As CheckBox";
_hpg_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266439;
 //BA.debugLineNum = 50266439;BA.debugLine="Private HPG_04 As CheckBox";
_hpg_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266440;
 //BA.debugLineNum = 50266440;BA.debugLine="Private HPG_05 As CheckBox";
_hpg_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266441;
 //BA.debugLineNum = 50266441;BA.debugLine="Private HPG_06 As CheckBox";
_hpg_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266442;
 //BA.debugLineNum = 50266442;BA.debugLine="Private HPG_07 As CheckBox";
_hpg_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266443;
 //BA.debugLineNum = 50266443;BA.debugLine="Private HPG_08 As CheckBox";
_hpg_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266444;
 //BA.debugLineNum = 50266444;BA.debugLine="Private HPG_09 As CheckBox";
_hpg_09 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266445;
 //BA.debugLineNum = 50266445;BA.debugLine="Private HPG_10 As CheckBox";
_hpg_10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266447;
 //BA.debugLineNum = 50266447;BA.debugLine="Private HC_01 As CheckBox";
_hc_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266448;
 //BA.debugLineNum = 50266448;BA.debugLine="Private HC_02 As CheckBox";
_hc_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266449;
 //BA.debugLineNum = 50266449;BA.debugLine="Private HC_03 As CheckBox";
_hc_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266450;
 //BA.debugLineNum = 50266450;BA.debugLine="Private HC_04 As CheckBox";
_hc_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266452;
 //BA.debugLineNum = 50266452;BA.debugLine="Private B_01 As CheckBox";
_b_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266453;
 //BA.debugLineNum = 50266453;BA.debugLine="Private B_02 As CheckBox";
_b_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266455;
 //BA.debugLineNum = 50266455;BA.debugLine="Private CH_FACTURA As CheckBox";
_ch_factura = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266456;
 //BA.debugLineNum = 50266456;BA.debugLine="Private que_modulo As String";
_que_modulo = "";
RDebugUtils.currentLine=50266457;
 //BA.debugLineNum = 50266457;BA.debugLine="Private CUENTA_MODULO As String";
_cuenta_modulo = "";
RDebugUtils.currentLine=50266458;
 //BA.debugLineNum = 50266458;BA.debugLine="Private rb1_m3_p1 As RadioButton";
_rb1_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266459;
 //BA.debugLineNum = 50266459;BA.debugLine="Private RB2_M3_P1 As RadioButton";
_rb2_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266460;
 //BA.debugLineNum = 50266460;BA.debugLine="Private RB3_M3_P1 As RadioButton";
_rb3_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266461;
 //BA.debugLineNum = 50266461;BA.debugLine="Private RB4_M3_P1 As RadioButton";
_rb4_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266462;
 //BA.debugLineNum = 50266462;BA.debugLine="Private RB1_M3_P2 As RadioButton";
_rb1_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266463;
 //BA.debugLineNum = 50266463;BA.debugLine="Private RB2_M3_P2 As RadioButton";
_rb2_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266464;
 //BA.debugLineNum = 50266464;BA.debugLine="Private RB3_M3_P2 As RadioButton";
_rb3_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266465;
 //BA.debugLineNum = 50266465;BA.debugLine="Private RB4_M3_P2 As RadioButton";
_rb4_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper();
RDebugUtils.currentLine=50266466;
 //BA.debugLineNum = 50266466;BA.debugLine="Private et_p2_m3_1 As EditText";
_et_p2_m3_1 = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266467;
 //BA.debugLineNum = 50266467;BA.debugLine="Dim textemp2 As String =\"\"";
_textemp2 = "";
RDebugUtils.currentLine=50266468;
 //BA.debugLineNum = 50266468;BA.debugLine="Dim textemp3 As String =\"\"";
_textemp3 = "";
RDebugUtils.currentLine=50266469;
 //BA.debugLineNum = 50266469;BA.debugLine="Dim textemp4 As String =\"\"";
_textemp4 = "";
RDebugUtils.currentLine=50266470;
 //BA.debugLineNum = 50266470;BA.debugLine="Dim textemp5 As String =\"\"";
_textemp5 = "";
RDebugUtils.currentLine=50266471;
 //BA.debugLineNum = 50266471;BA.debugLine="Dim textemp6 As String =\"\"";
_textemp6 = "";
RDebugUtils.currentLine=50266472;
 //BA.debugLineNum = 50266472;BA.debugLine="Dim textemp7 As String =\"\"";
_textemp7 = "";
RDebugUtils.currentLine=50266473;
 //BA.debugLineNum = 50266473;BA.debugLine="Dim textemp8 As String =\"\"";
_textemp8 = "";
RDebugUtils.currentLine=50266474;
 //BA.debugLineNum = 50266474;BA.debugLine="Private CB3_P8_M3 As CheckBox";
_cb3_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266475;
 //BA.debugLineNum = 50266475;BA.debugLine="Private CB7_P6_M3 As CheckBox";
_cb7_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266476;
 //BA.debugLineNum = 50266476;BA.debugLine="Private p_m1 As Panel";
_p_m1 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266477;
 //BA.debugLineNum = 50266477;BA.debugLine="Private p_m2 As Panel";
_p_m2 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266478;
 //BA.debugLineNum = 50266478;BA.debugLine="Private p_m3 As Panel";
_p_m3 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266479;
 //BA.debugLineNum = 50266479;BA.debugLine="Private p_m4 As Panel";
_p_m4 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266480;
 //BA.debugLineNum = 50266480;BA.debugLine="Dim impresoraConectada As Boolean = False";
_impresoraconectada = __c.False;
RDebugUtils.currentLine=50266481;
 //BA.debugLineNum = 50266481;BA.debugLine="Dim errorImpresora As Int = 0";
_errorimpresora = (int) (0);
RDebugUtils.currentLine=50266482;
 //BA.debugLineNum = 50266482;BA.debugLine="Dim idencuestaaguardar As String";
_idencuestaaguardar = "";
RDebugUtils.currentLine=50266484;
 //BA.debugLineNum = 50266484;BA.debugLine="Private botonPresionado As Int";
_botonpresionado = 0;
RDebugUtils.currentLine=50266485;
 //BA.debugLineNum = 50266485;BA.debugLine="Private encuestaRes As String";
_encuestares = "";
RDebugUtils.currentLine=50266486;
 //BA.debugLineNum = 50266486;BA.debugLine="Dim indicePregunta As Int";
_indicepregunta = 0;
RDebugUtils.currentLine=50266487;
 //BA.debugLineNum = 50266487;BA.debugLine="Dim TOMAR_FOTO As String";
_tomar_foto = "";
RDebugUtils.currentLine=50266488;
 //BA.debugLineNum = 50266488;BA.debugLine="Dim CURSOR_FOTO As Int";
_cursor_foto = 0;
RDebugUtils.currentLine=50266489;
 //BA.debugLineNum = 50266489;BA.debugLine="Dim id_encuesta As String";
_id_encuesta = "";
RDebugUtils.currentLine=50266490;
 //BA.debugLineNum = 50266490;BA.debugLine="Private chk_1_valor As String";
_chk_1_valor = "";
RDebugUtils.currentLine=50266491;
 //BA.debugLineNum = 50266491;BA.debugLine="Private chk_2_valor As String";
_chk_2_valor = "";
RDebugUtils.currentLine=50266492;
 //BA.debugLineNum = 50266492;BA.debugLine="Private chk_3_valor As String";
_chk_3_valor = "";
RDebugUtils.currentLine=50266493;
 //BA.debugLineNum = 50266493;BA.debugLine="Private Panel10 As Panel";
_panel10 = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266494;
 //BA.debugLineNum = 50266494;BA.debugLine="Private b_chk_e As Button";
_b_chk_e = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266495;
 //BA.debugLineNum = 50266495;BA.debugLine="Private chk_3 As CheckBox";
_chk_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266496;
 //BA.debugLineNum = 50266496;BA.debugLine="Private chk_2 As CheckBox";
_chk_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266497;
 //BA.debugLineNum = 50266497;BA.debugLine="Private Chk_1 As CheckBox";
_chk_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266498;
 //BA.debugLineNum = 50266498;BA.debugLine="Private l_chk_e As Label";
_l_chk_e = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266499;
 //BA.debugLineNum = 50266499;BA.debugLine="Private Label28 As Label";
_label28 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266500;
 //BA.debugLineNum = 50266500;BA.debugLine="Private p_encuesta As Panel";
_p_encuesta = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266501;
 //BA.debugLineNum = 50266501;BA.debugLine="Private b_encuesta_continuar As Button";
_b_encuesta_continuar = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266502;
 //BA.debugLineNum = 50266502;BA.debugLine="Private b_encuesta_3 As Button";
_b_encuesta_3 = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266503;
 //BA.debugLineNum = 50266503;BA.debugLine="Private b_encuesta_2 As Button";
_b_encuesta_2 = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266504;
 //BA.debugLineNum = 50266504;BA.debugLine="Private b_encuesta_1 As Button";
_b_encuesta_1 = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266505;
 //BA.debugLineNum = 50266505;BA.debugLine="Private et_encuesta As EditText";
_et_encuesta = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266506;
 //BA.debugLineNum = 50266506;BA.debugLine="Private l_txtEncuesta As Label";
_l_txtencuesta = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266507;
 //BA.debugLineNum = 50266507;BA.debugLine="Private l_titEncuesta As Label";
_l_titencuesta = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266508;
 //BA.debugLineNum = 50266508;BA.debugLine="Private ImageView11 As ImageView";
_imageview11 = new anywheresoftware.b4a.objects.ImageViewWrapper();
RDebugUtils.currentLine=50266509;
 //BA.debugLineNum = 50266509;BA.debugLine="Dim distance As Long";
_distance = 0L;
RDebugUtils.currentLine=50266510;
 //BA.debugLineNum = 50266510;BA.debugLine="Dim distancealm As Long";
_distancealm = 0L;
RDebugUtils.currentLine=50266511;
 //BA.debugLineNum = 50266511;BA.debugLine="Private p_pideGeoPass As Panel";
_p_pidegeopass = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266512;
 //BA.debugLineNum = 50266512;BA.debugLine="Private b_geopass As Button";
_b_geopass = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266513;
 //BA.debugLineNum = 50266513;BA.debugLine="Private et_geopass As EditText";
_et_geopass = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266514;
 //BA.debugLineNum = 50266514;BA.debugLine="Private l_geopass As Label";
_l_geopass = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266515;
 //BA.debugLineNum = 50266515;BA.debugLine="Dim reqManager As DBRequestManager";
_reqmanager = new gunav2.keymon.com.mx.dbrequestmanager();
RDebugUtils.currentLine=50266516;
 //BA.debugLineNum = 50266516;BA.debugLine="Dim ime As IME";
_ime = new anywheresoftware.b4a.objects.IME();
RDebugUtils.currentLine=50266517;
 //BA.debugLineNum = 50266517;BA.debugLine="Private camEx As CameraExClass";
_camex = new gunav2.keymon.com.mx.cameraexclass();
RDebugUtils.currentLine=50266518;
 //BA.debugLineNum = 50266518;BA.debugLine="Dim frontCamera As Boolean = False";
_frontcamera = __c.False;
RDebugUtils.currentLine=50266519;
 //BA.debugLineNum = 50266519;BA.debugLine="Private p_cam As Panel";
_p_cam = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266520;
 //BA.debugLineNum = 50266520;BA.debugLine="Dim  nombrefoto As String = \"0\"";
_nombrefoto = "0";
RDebugUtils.currentLine=50266521;
 //BA.debugLineNum = 50266521;BA.debugLine="Private p_camara As Panel";
_p_camara = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266522;
 //BA.debugLineNum = 50266522;BA.debugLine="Private teclado As IME";
_teclado = new anywheresoftware.b4a.objects.IME();
RDebugUtils.currentLine=50266523;
 //BA.debugLineNum = 50266523;BA.debugLine="Dim fototomada As String";
_fototomada = "";
RDebugUtils.currentLine=50266524;
 //BA.debugLineNum = 50266524;BA.debugLine="Private b_foto As Button";
_b_foto = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266525;
 //BA.debugLineNum = 50266525;BA.debugLine="Dim precision As String";
_precision = "";
RDebugUtils.currentLine=50266526;
 //BA.debugLineNum = 50266526;BA.debugLine="Dim b_Inicio_Fin_venta As Button";
_b_inicio_fin_venta = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266528;
 //BA.debugLineNum = 50266528;BA.debugLine="Dim dentroDeGeocerca As Boolean = False";
_dentrodegeocerca = __c.False;
RDebugUtils.currentLine=50266529;
 //BA.debugLineNum = 50266529;BA.debugLine="Dim motivoNoVenta, motivoNoVisita As String";
_motivonoventa = "";
_motivonovisita = "";
RDebugUtils.currentLine=50266530;
 //BA.debugLineNum = 50266530;BA.debugLine="Dim contadorIniciarVenta As Int = 0";
_contadoriniciarventa = (int) (0);
RDebugUtils.currentLine=50266531;
 //BA.debugLineNum = 50266531;BA.debugLine="Dim IniVenNO As Boolean = False";
_inivenno = __c.False;
RDebugUtils.currentLine=50266532;
 //BA.debugLineNum = 50266532;BA.debugLine="Private geoCont As Int = 0";
_geocont = (int) (0);
RDebugUtils.currentLine=50266533;
 //BA.debugLineNum = 50266533;BA.debugLine="Private l_version As Label";
_l_version = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266538;
 //BA.debugLineNum = 50266538;BA.debugLine="Private b_preventa As Button";
_b_preventa = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266539;
 //BA.debugLineNum = 50266539;BA.debugLine="Dim bitacora As C_Bitacora";
_bitacora = new gunav2.keymon.com.mx.c_bitacora();
RDebugUtils.currentLine=50266540;
 //BA.debugLineNum = 50266540;BA.debugLine="Dim p_transparenteTicketImpreso As Panel";
_p_transparenteticketimpreso = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266541;
 //BA.debugLineNum = 50266541;BA.debugLine="Private et_codigoAutorizacion As EditText";
_et_codigoautorizacion = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266542;
 //BA.debugLineNum = 50266542;BA.debugLine="Private b_codigoAutorizacion As Button";
_b_codigoautorizacion = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266543;
 //BA.debugLineNum = 50266543;BA.debugLine="Private b_cancelarCodigoAutorizacion As Button";
_b_cancelarcodigoautorizacion = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266544;
 //BA.debugLineNum = 50266544;BA.debugLine="Private p_ticketImpreso As Panel";
_p_ticketimpreso = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266545;
 //BA.debugLineNum = 50266545;BA.debugLine="Private b_enviarTicket As Button";
_b_enviarticket = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266546;
 //BA.debugLineNum = 50266546;BA.debugLine="Dim archivoTicketPDF As String";
_archivoticketpdf = "";
RDebugUtils.currentLine=50266547;
 //BA.debugLineNum = 50266547;BA.debugLine="Private p_transparentePDF As Panel";
_p_transparentepdf = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266548;
 //BA.debugLineNum = 50266548;BA.debugLine="Private p_envioPDF As Panel";
_p_enviopdf = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266549;
 //BA.debugLineNum = 50266549;BA.debugLine="Private b_cancelarEnvioPDF As Button";
_b_cancelarenviopdf = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266550;
 //BA.debugLineNum = 50266550;BA.debugLine="Private b_envioPDF As Button";
_b_enviopdf = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266551;
 //BA.debugLineNum = 50266551;BA.debugLine="Private et_numeroPDF As EditText";
_et_numeropdf = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266552;
 //BA.debugLineNum = 50266552;BA.debugLine="Private btnPlanLealtad As Button";
_btnplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266553;
 //BA.debugLineNum = 50266553;BA.debugLine="Private pnl_btns As Panel";
_pnl_btns = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266554;
 //BA.debugLineNum = 50266554;BA.debugLine="Private pnlPlanLealtad As Panel";
_pnlplanlealtad = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266555;
 //BA.debugLineNum = 50266555;BA.debugLine="Private imgPlanLealtad As ImageView";
_imgplanlealtad = new anywheresoftware.b4a.objects.ImageViewWrapper();
RDebugUtils.currentLine=50266556;
 //BA.debugLineNum = 50266556;BA.debugLine="Private btnAceptaPlanLealtad As Button";
_btnaceptaplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266557;
 //BA.debugLineNum = 50266557;BA.debugLine="Private btnCancelarPlanLealtad As Button";
_btncancelarplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266558;
 //BA.debugLineNum = 50266558;BA.debugLine="Private BCREDITO As String";
_bcredito = "";
RDebugUtils.currentLine=50266561;
 //BA.debugLineNum = 50266561;BA.debugLine="Private p_comentarios As Panel";
_p_comentarios = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266562;
 //BA.debugLineNum = 50266562;BA.debugLine="Private p_comentario As Panel";
_p_comentario = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266563;
 //BA.debugLineNum = 50266563;BA.debugLine="Private b_agregarcom As Button";
_b_agregarcom = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266564;
 //BA.debugLineNum = 50266564;BA.debugLine="Private b_cerarcom As Button";
_b_cerarcom = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266565;
 //BA.debugLineNum = 50266565;BA.debugLine="Private Label19 As Label";
_label19 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266566;
 //BA.debugLineNum = 50266566;BA.debugLine="Private et_comentario As EditText";
_et_comentario = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266567;
 //BA.debugLineNum = 50266567;BA.debugLine="Private lv_comentarios As ListView";
_lv_comentarios = new anywheresoftware.b4a.objects.ListViewWrapper();
RDebugUtils.currentLine=50266568;
 //BA.debugLineNum = 50266568;BA.debugLine="Private ImageView4 As ImageView";
_imageview4 = new anywheresoftware.b4a.objects.ImageViewWrapper();
RDebugUtils.currentLine=50266569;
 //BA.debugLineNum = 50266569;BA.debugLine="Private p_cliente_ As Panel";
_p_cliente_ = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266570;
 //BA.debugLineNum = 50266570;BA.debugLine="Private l_limite As Label";
_l_limite = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266571;
 //BA.debugLineNum = 50266571;BA.debugLine="Private l_credito As Label";
_l_credito = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266572;
 //BA.debugLineNum = 50266572;BA.debugLine="Private l_tipocliente As Label";
_l_tipocliente = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266573;
 //BA.debugLineNum = 50266573;BA.debugLine="Private l_deuda As Label";
_l_deuda = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266574;
 //BA.debugLineNum = 50266574;BA.debugLine="Private p_deuda As Panel";
_p_deuda = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266575;
 //BA.debugLineNum = 50266575;BA.debugLine="Private Label22 As Label";
_label22 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266576;
 //BA.debugLineNum = 50266576;BA.debugLine="Private l_animal As Label";
_l_animal = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=50266577;
 //BA.debugLineNum = 50266577;BA.debugLine="Private contIguales As Int = 0";
_contiguales = (int) (0);
RDebugUtils.currentLine=50266578;
 //BA.debugLineNum = 50266578;BA.debugLine="Private b_preventa2 As Button";
_b_preventa2 = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266579;
 //BA.debugLineNum = 50266579;BA.debugLine="Private p_atiende As Panel";
_p_atiende = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266580;
 //BA.debugLineNum = 50266580;BA.debugLine="Private et_atiende As EditText";
_et_atiende = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266581;
 //BA.debugLineNum = 50266581;BA.debugLine="Private b_cancelatiende As Button";
_b_cancelatiende = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266582;
 //BA.debugLineNum = 50266582;BA.debugLine="Private b_acepatiende As Button";
_b_acepatiende = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266583;
 //BA.debugLineNum = 50266583;BA.debugLine="Private p_telefono As Panel";
_p_telefono = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=50266584;
 //BA.debugLineNum = 50266584;BA.debugLine="Private b_canceltelefono As Button";
_b_canceltelefono = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266585;
 //BA.debugLineNum = 50266585;BA.debugLine="Private b_aceptelefono As Button";
_b_aceptelefono = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=50266586;
 //BA.debugLineNum = 50266586;BA.debugLine="Private et_telefono As EditText";
_et_telefono = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=50266588;
 //BA.debugLineNum = 50266588;BA.debugLine="Dim totalpromos As Double";
_totalpromos = 0;
RDebugUtils.currentLine=50266589;
 //BA.debugLineNum = 50266589;BA.debugLine="Dim totalpromostotal As Double";
_totalpromostotal = 0;
RDebugUtils.currentLine=50266590;
 //BA.debugLineNum = 50266590;BA.debugLine="Private chb_com As CheckBox";
_chb_com = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
RDebugUtils.currentLine=50266591;
 //BA.debugLineNum = 50266591;BA.debugLine="End Sub";
return "";
}
public String  _compra(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "compra", false))
	 {return ((String) Debug.delegate(ba, "compra", null));}
anywheresoftware.b4a.objects.collections.List _rutasencuesta = null;
anywheresoftware.b4a.objects.collections.List _alamcenesencuesta = null;
anywheresoftware.b4a.objects.collections.List _items = null;
RDebugUtils.currentLine=51511296;
 //BA.debugLineNum = 51511296;BA.debugLine="Sub compra";
RDebugUtils.currentLine=51511311;
 //BA.debugLineNum = 51511311;BA.debugLine="Private rutasEncuesta As List";
_rutasencuesta = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=51511312;
 //BA.debugLineNum = 51511312;BA.debugLine="rutasEncuesta.Initialize2(Array As Int(702, 703,";
_rutasencuesta.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new int[]{(int) (702),(int) (703),(int) (707),(int) (718),(int) (730),(int) (732),(int) (733),(int) (734)}));
RDebugUtils.currentLine=51511313;
 //BA.debugLineNum = 51511313;BA.debugLine="Private alamcenesEncuesta As List";
_alamcenesencuesta = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=51511314;
 //BA.debugLineNum = 51511314;BA.debugLine="alamcenesEncuesta.Initialize2(Array As Int(15, 35";
_alamcenesencuesta.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new int[]{(int) (15),(int) (35),(int) (43),(int) (54),(int) (56),(int) (73),(int) (75),(int) (79)}));
RDebugUtils.currentLine=51511329;
 //BA.debugLineNum = 51511329;BA.debugLine="If TOMAR_FOTO = 0 Then";
if ((__ref._tomar_foto /*String*/ ).equals(BA.NumberToString(0))) { 
RDebugUtils.currentLine=51511330;
 //BA.debugLineNum = 51511330;BA.debugLine="Cuestionario";
__ref._cuestionario /*void*/ (null);
 }else {
RDebugUtils.currentLine=51511332;
 //BA.debugLineNum = 51511332;BA.debugLine="Dim Items As List";
_items = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=51511333;
 //BA.debugLineNum = 51511333;BA.debugLine="Items.Initialize";
_items.Initialize();
RDebugUtils.currentLine=51511334;
 //BA.debugLineNum = 51511334;BA.debugLine="Items.Add(\"Selecciona una opción\")";
_items.Add((Object)("Selecciona una opción"));
RDebugUtils.currentLine=51511335;
 //BA.debugLineNum = 51511335;BA.debugLine="Items.Add(\"Tienda de Abarrotes (Abarrotes, Misce";
_items.Add((Object)("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)"));
RDebugUtils.currentLine=51511336;
 //BA.debugLineNum = 51511336;BA.debugLine="Items.Add(\"Recaudería (Frutas y Verduras)\")";
_items.Add((Object)("Recaudería (Frutas y Verduras)"));
RDebugUtils.currentLine=51511337;
 //BA.debugLineNum = 51511337;BA.debugLine="Items.Add(\"Vinos y Licores\")";
_items.Add((Object)("Vinos y Licores"));
RDebugUtils.currentLine=51511338;
 //BA.debugLineNum = 51511338;BA.debugLine="Items.Add(\"Carnicería o Pollería\")";
_items.Add((Object)("Carnicería o Pollería"));
RDebugUtils.currentLine=51511339;
 //BA.debugLineNum = 51511339;BA.debugLine="Items.Add(\"Farmacia\")";
_items.Add((Object)("Farmacia"));
RDebugUtils.currentLine=51511340;
 //BA.debugLineNum = 51511340;BA.debugLine="Items.Add(\"Jarciería (Productos de Limpieza)\")";
_items.Add((Object)("Jarciería (Productos de Limpieza)"));
RDebugUtils.currentLine=51511341;
 //BA.debugLineNum = 51511341;BA.debugLine="Items.Add(\"Papelería y Regalos\")";
_items.Add((Object)("Papelería y Regalos"));
RDebugUtils.currentLine=51511342;
 //BA.debugLineNum = 51511342;BA.debugLine="Items.Add(\"Tortillería\")";
_items.Add((Object)("Tortillería"));
RDebugUtils.currentLine=51511343;
 //BA.debugLineNum = 51511343;BA.debugLine="Items.Add(\"Escuelas\")";
_items.Add((Object)("Escuelas"));
RDebugUtils.currentLine=51511344;
 //BA.debugLineNum = 51511344;BA.debugLine="Items.Add(\"Estanquillos (Puestos Semifijos)\")";
_items.Add((Object)("Estanquillos (Puestos Semifijos)"));
RDebugUtils.currentLine=51511345;
 //BA.debugLineNum = 51511345;BA.debugLine="Items.Add(\"Fonda, Cocina Económica, Cafetería)\")";
_items.Add((Object)("Fonda, Cocina Económica, Cafetería)"));
RDebugUtils.currentLine=51511346;
 //BA.debugLineNum = 51511346;BA.debugLine="Items.Add(\"Tlapalería, Ferretería\")";
_items.Add((Object)("Tlapalería, Ferretería"));
RDebugUtils.currentLine=51511347;
 //BA.debugLineNum = 51511347;BA.debugLine="Items.Add(\"Dulcería, Materias Primas\")";
_items.Add((Object)("Dulcería, Materias Primas"));
RDebugUtils.currentLine=51511348;
 //BA.debugLineNum = 51511348;BA.debugLine="Items.Add(\"Semillas y Chiles Secos\")";
_items.Add((Object)("Semillas y Chiles Secos"));
RDebugUtils.currentLine=51511349;
 //BA.debugLineNum = 51511349;BA.debugLine="Items.Add(\"Cybercafé\")";
_items.Add((Object)("Cybercafé"));
RDebugUtils.currentLine=51511350;
 //BA.debugLineNum = 51511350;BA.debugLine="Items.Add(\"Hotel\")";
_items.Add((Object)("Hotel"));
RDebugUtils.currentLine=51511351;
 //BA.debugLineNum = 51511351;BA.debugLine="Items.Add(\"Veterinaria\")";
_items.Add((Object)("Veterinaria"));
RDebugUtils.currentLine=51511352;
 //BA.debugLineNum = 51511352;BA.debugLine="Items.Add(\"Tienda de Mascotas\")";
_items.Add((Object)("Tienda de Mascotas"));
RDebugUtils.currentLine=51511353;
 //BA.debugLineNum = 51511353;BA.debugLine="Items.Add(\"Otros\")";
_items.Add((Object)("Otros"));
RDebugUtils.currentLine=51511354;
 //BA.debugLineNum = 51511354;BA.debugLine="cb_pregunta.SetItems(Items)";
__ref._cb_pregunta /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items);
RDebugUtils.currentLine=51511355;
 //BA.debugLineNum = 51511355;BA.debugLine="girotienda = \"Selecciona una opcion\"";
__ref._girotienda /*String*/  = "Selecciona una opcion";
RDebugUtils.currentLine=51511356;
 //BA.debugLineNum = 51511356;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=51511357;
 //BA.debugLineNum = 51511357;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51511358;
 //BA.debugLineNum = 51511358;BA.debugLine="CUENTA_MODULO = c.GetString(\"CUANTOS\")";
__ref._cuenta_modulo /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");
RDebugUtils.currentLine=51511359;
 //BA.debugLineNum = 51511359;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=51511360;
 //BA.debugLineNum = 51511360;BA.debugLine="If CUENTA_MODULO > 0 Then";
if ((double)(Double.parseDouble(__ref._cuenta_modulo /*String*/ ))>0) { 
RDebugUtils.currentLine=51511361;
 //BA.debugLineNum = 51511361;BA.debugLine="c=skmt.ExecQuery(\"SELECT HEC_MODULO FROM HIST_E";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HEC_MODULO FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=51511362;
 //BA.debugLineNum = 51511362;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51511363;
 //BA.debugLineNum = 51511363;BA.debugLine="que_modulo = c.GetString(\"HEC_MODULO\")";
__ref._que_modulo /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HEC_MODULO");
RDebugUtils.currentLine=51511364;
 //BA.debugLineNum = 51511364;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 };
RDebugUtils.currentLine=51511366;
 //BA.debugLineNum = 51511366;BA.debugLine="Log(Subs.traeAlmacen)";
__c.LogImpl("051511366",_subs._traealmacen /*String*/ (ba),0);
RDebugUtils.currentLine=51511367;
 //BA.debugLineNum = 51511367;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO1 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=51511368;
 //BA.debugLineNum = 51511368;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51511369;
 //BA.debugLineNum = 51511369;BA.debugLine="EXISTE = c.GetString(\"CUANTOS\")";
__ref._existe /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");
RDebugUtils.currentLine=51511370;
 //BA.debugLineNum = 51511370;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=51511372;
 //BA.debugLineNum = 51511372;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO2 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=51511373;
 //BA.debugLineNum = 51511373;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51511374;
 //BA.debugLineNum = 51511374;BA.debugLine="EXISTE2 = c.GetString(\"CUANTOS\")";
__ref._existe2 /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");
RDebugUtils.currentLine=51511375;
 //BA.debugLineNum = 51511375;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=51511377;
 //BA.debugLineNum = 51511377;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO3 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=51511378;
 //BA.debugLineNum = 51511378;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51511379;
 //BA.debugLineNum = 51511379;BA.debugLine="EXISTE3 = c.GetString(\"CUANTOS\")";
__ref._existe3 /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");
RDebugUtils.currentLine=51511380;
 //BA.debugLineNum = 51511380;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=51511382;
 //BA.debugLineNum = 51511382;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO4 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=51511383;
 //BA.debugLineNum = 51511383;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51511384;
 //BA.debugLineNum = 51511384;BA.debugLine="EXISTE4 = c.GetString(\"CUANTOS\")";
__ref._existe4 /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");
RDebugUtils.currentLine=51511385;
 //BA.debugLineNum = 51511385;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=51511387;
 //BA.debugLineNum = 51511387;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO5 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=51511388;
 //BA.debugLineNum = 51511388;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51511389;
 //BA.debugLineNum = 51511389;BA.debugLine="EXISTE5 = c.GetString(\"CUANTOS\")";
__ref._existe5 /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");
RDebugUtils.currentLine=51511390;
 //BA.debugLineNum = 51511390;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=51511415;
 //BA.debugLineNum = 51511415;BA.debugLine="If EXISTE = 0 And EXISTE2 = 0 And EXISTE3 = 0 An";
if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) && (__ref._existe2 /*String*/ ).equals(BA.NumberToString(0)) && (__ref._existe3 /*String*/ ).equals(BA.NumberToString(0)) && (__ref._existe4 /*String*/ ).equals(BA.NumberToString(0)) && (__ref._existe5 /*String*/ ).equals(BA.NumberToString(0))) { 
RDebugUtils.currentLine=51511416;
 //BA.debugLineNum = 51511416;BA.debugLine="S = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM C";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CUESTIONARIO"})));
RDebugUtils.currentLine=51511417;
 //BA.debugLineNum = 51511417;BA.debugLine="S.Position = 0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51511418;
 //BA.debugLineNum = 51511418;BA.debugLine="If s.GetString(\"CAT_VA_VALOR\") > \"0\" Then";
if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble("0"))) { 
RDebugUtils.currentLine=51511420;
 //BA.debugLineNum = 51511420;BA.debugLine="ENCUESTA = s.GetString(\"CAT_VA_VALOR\")";
__ref._encuesta /*String*/  = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR");
RDebugUtils.currentLine=51511421;
 //BA.debugLineNum = 51511421;BA.debugLine="ENCUESTA =  \"3\"";
__ref._encuesta /*String*/  = "3";
 }else {
RDebugUtils.currentLine=51511454;
 //BA.debugLineNum = 51511454;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
 };
 }else {
RDebugUtils.currentLine=51511457;
 //BA.debugLineNum = 51511457;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
 };
RDebugUtils.currentLine=51511459;
 //BA.debugLineNum = 51511459;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 };
RDebugUtils.currentLine=51511468;
 //BA.debugLineNum = 51511468;BA.debugLine="End Sub";
return "";
}
public String  _cuest_preguntacontestada(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "cuest_preguntacontestada", false))
	 {return ((String) Debug.delegate(ba, "cuest_preguntacontestada", new Object[] {_m}));}
RDebugUtils.currentLine=61603840;
 //BA.debugLineNum = 61603840;BA.debugLine="Sub cuest_preguntaContestada(m As Map)";
RDebugUtils.currentLine=61603842;
 //BA.debugLineNum = 61603842;BA.debugLine="Log(m)";
__c.LogImpl("061603842",BA.ObjectToString(_m),0);
RDebugUtils.currentLine=61603845;
 //BA.debugLineNum = 61603845;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le";
((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_m.Get((Object)("panel"))))).RemoveView();
RDebugUtils.currentLine=61603846;
 //BA.debugLineNum = 61603846;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=61603847;
 //BA.debugLineNum = 61603847;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
RDebugUtils.currentLine=61603848;
 //BA.debugLineNum = 61603848;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"' and Q_IDPREGUNTA = '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"'"));
RDebugUtils.currentLine=61603849;
 //BA.debugLineNum = 61603849;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("pregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idRespuesta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("respuesta")))+"', '"+__c.SmartStringFormatter("",(Object)(__c.DateTime.Date(__c.DateTime.getNow())))+" "+__c.SmartStringFormatter("",(Object)(__c.DateTime.Time(__c.DateTime.getNow())))+"')"));
RDebugUtils.currentLine=61603850;
 //BA.debugLineNum = 61603850;BA.debugLine="Log(\">> RESP: \" & m.Get(\"respuesta\"))";
__c.LogImpl("061603850",">> RESP: "+BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
RDebugUtils.currentLine=61603851;
 //BA.debugLineNum = 61603851;BA.debugLine="Select Case m.Get(\"idPregunta\")";
switch (BA.switchObjectToInt(_m.Get((Object)("idPregunta")),(Object)("1"),(Object)("2"),(Object)("3"),(Object)("4"),(Object)("5"),(Object)("6"),(Object)("7"))) {
case 0: {
RDebugUtils.currentLine=61603853;
 //BA.debugLineNum = 61603853;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio";
if ((_m.Get((Object)("respuesta"))).equals((Object)("Ninguno de los anteriores"))) { 
RDebugUtils.currentLine=61603856;
 //BA.debugLineNum = 61603856;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué produc";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"3","¿Qué productos de Kileo Gato encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Whiskas","KITEKAT","PAL GATO","CAT CHOW","GATINA","MININO","MI MISHI","OTROS","Ninguno de los anteriores"}));
 }else {
RDebugUtils.currentLine=61603859;
 //BA.debugLineNum = 61603859;BA.debugLine="cuest.agregaPreguntaAbierta(\"2\", \"Captura el p";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntaabierta /*String*/ (null,"2","Captura el precio por kilo de los articulos seleccionados anteriormente",__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (null,BA.ObjectToString(_m.Get((Object)("idRespuesta")))),__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (null,BA.ObjectToString(_m.Get((Object)("respuesta")))));
 };
 break; }
case 1: {
RDebugUtils.currentLine=61603863;
 //BA.debugLineNum = 61603863;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué product";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"3","¿Qué productos de Kileo Gato encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Whiskas","KITEKAT","PAL GATO","CAT CHOW","GATINA","MININO","MI MISHI","OTROS","Ninguno de los anteriores"}));
 break; }
case 2: {
RDebugUtils.currentLine=61603866;
 //BA.debugLineNum = 61603866;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio";
if ((_m.Get((Object)("respuesta"))).equals((Object)("Ninguno de los anteriores"))) { 
RDebugUtils.currentLine=61603869;
 //BA.debugLineNum = 61603869;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué produc";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"5","¿Qué productos de húmedo MARS encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Pedigree Adulto res","Pedigree Adulto Pollo","Pedigree Cachorro res","Pedigree Cachorro Pollo","Pedigree Raz Peq res","Pedigree Raz Peq Pollo","Pedigree Adulto Cordero","Pedigree Adulto Lata res","Whiskas Atún","Whiskas Pollo","Whiskas res","Whiskas Salmón","Whiskas Parrillada Mixta","Whiskas Pescado BLANCO","Whiskas Souffle","Ninguno de los anteriores"}));
 }else {
RDebugUtils.currentLine=61603871;
 //BA.debugLineNum = 61603871;BA.debugLine="cuest.agregaPreguntaAbierta(\"4\", \"Captura el p";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntaabierta /*String*/ (null,"4","Captura el precio por kilo de los articulos seleccionados anteriormente",__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (null,BA.ObjectToString(_m.Get((Object)("idRespuesta")))),__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (null,BA.ObjectToString(_m.Get((Object)("respuesta")))));
 };
 break; }
case 3: {
RDebugUtils.currentLine=61603874;
 //BA.debugLineNum = 61603874;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué product";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"5","¿Qué productos de húmedo MARS encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Pedigree Adulto res","Pedigree Adulto Pollo","Pedigree Cachorro res","Pedigree Cachorro Pollo","Pedigree Raz Peq res","Pedigree Raz Peq Pollo","Pedigree Adulto Cordero","Pedigree Adulto Lata res","Whiskas Atún","Whiskas Pollo","Whiskas res","Whiskas Salmón","Whiskas Parrillada Mixta","Whiskas Pescado BLANCO","Whiskas Souffle","Ninguno de los anteriores"}));
 break; }
case 4: {
RDebugUtils.currentLine=61603876;
 //BA.debugLineNum = 61603876;BA.debugLine="cuest.agregaPreguntaCheckbox(\"6\", \"¿Qué product";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"6","¿Qué productos de húmedo otros encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Dog Chow (cualquier sabor)","Ganador (cualquier sabor)","Felix (cualquier sabor)","Minino plus (cualquier sabor)","Cat Chow (cualquier sabor)","Beneful (cualquier sabor)","Amigo Gourmet (cualquier sabor)","Ninguno de los anteriores"}));
 break; }
case 5: {
RDebugUtils.currentLine=61603878;
 //BA.debugLineNum = 61603878;BA.debugLine="cuest.agregaPreguntaCheckbox(\"7\", \"¿Qué product";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"7","¿Qué productos de botanas encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Dentastix","Biscrok","Ninguno de los anteriores"}));
 break; }
case 6: {
RDebugUtils.currentLine=61603881;
 //BA.debugLineNum = 61603881;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)";
__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False);
RDebugUtils.currentLine=61603882;
 //BA.debugLineNum = 61603882;BA.debugLine="Log(\">>>>>>>>>>  \" & cuest.encuestaIniciada)";
__c.LogImpl("061603882",">>>>>>>>>>  "+BA.ObjectToString(__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ ),0);
RDebugUtils.currentLine=61603883;
 //BA.debugLineNum = 61603883;BA.debugLine="cuest.encuestaIniciada = False";
__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/  = __c.False;
RDebugUtils.currentLine=61603884;
 //BA.debugLineNum = 61603884;BA.debugLine="Log(\">>>>>>>>>>  \" & cuest.encuestaIniciada)";
__c.LogImpl("061603884",">>>>>>>>>>  "+BA.ObjectToString(__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ ),0);
RDebugUtils.currentLine=61603887;
 //BA.debugLineNum = 61603887;BA.debugLine="B4XPage_Appear";
__ref._b4xpage_appear /*void*/ (null);
 break; }
}
;
RDebugUtils.currentLine=61603890;
 //BA.debugLineNum = 61603890;BA.debugLine="End Sub";
return "";
}
public void  _initializecamera2(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "initializecamera2", false))
	 {Debug.delegate(ba, "initializecamera2", null); return;}
ResumableSub_InitializeCamera2 rsub = new ResumableSub_InitializeCamera2(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_InitializeCamera2 extends BA.ResumableSub {
public ResumableSub_InitializeCamera2(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _permission = "";
boolean _resultc = false;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=63700993;
 //BA.debugLineNum = 63700993;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA);
RDebugUtils.currentLine=63700994;
 //BA.debugLineNum = 63700994;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "initializecamera2"), null);
this.state = 7;
return;
case 7:
//C
this.state = 1;
_permission = (String) result[1];
_resultc = (Boolean) result[2];
;
RDebugUtils.currentLine=63700995;
 //BA.debugLineNum = 63700995;BA.debugLine="If resultC Then";
if (true) break;

case 1:
//if
this.state = 6;
if (_resultc) { 
this.state = 3;
}else {
this.state = 5;
}if (true) break;

case 3:
//C
this.state = 6;
RDebugUtils.currentLine=63700996;
 //BA.debugLineNum = 63700996;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera";
__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._initialize /*String*/ (null,ba,__ref._p_cam /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._frontcamera /*boolean*/ ,parent,"Camera1");
RDebugUtils.currentLine=63700997;
 //BA.debugLineNum = 63700997;BA.debugLine="frontCamera = camEx.Front";
__ref._frontcamera /*boolean*/  = __ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._front /*boolean*/ ;
RDebugUtils.currentLine=63700998;
 //BA.debugLineNum = 63700998;BA.debugLine="Log(\"inicializamos Camara\")";
parent.__c.LogImpl("063700998","inicializamos Camara",0);
 if (true) break;

case 5:
//C
this.state = 6;
RDebugUtils.currentLine=63701000;
 //BA.debugLineNum = 63701000;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True);
 if (true) break;

case 6:
//C
this.state = -1;
;
RDebugUtils.currentLine=63701002;
 //BA.debugLineNum = 63701002;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _muestraboton(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.ButtonWrapper _thisbutton,String _thetext,String _thetag,int _left,int _top,int _width,int _height) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "muestraboton", false))
	 {return ((String) Debug.delegate(ba, "muestraboton", new Object[] {_thisbutton,_thetext,_thetag,_left,_top,_width,_height}));}
RDebugUtils.currentLine=61210624;
 //BA.debugLineNum = 61210624;BA.debugLine="Sub muestraBoton (thisButton As Button, theText As";
RDebugUtils.currentLine=61210625;
 //BA.debugLineNum = 61210625;BA.debugLine="thisButton.Text = theText";
_thisbutton.setText(BA.ObjectToCharSequence(_thetext));
RDebugUtils.currentLine=61210626;
 //BA.debugLineNum = 61210626;BA.debugLine="thisButton.Tag = theTag";
_thisbutton.setTag((Object)(_thetag));
RDebugUtils.currentLine=61210627;
 //BA.debugLineNum = 61210627;BA.debugLine="thisButton.Left = Left";
_thisbutton.setLeft(_left);
RDebugUtils.currentLine=61210628;
 //BA.debugLineNum = 61210628;BA.debugLine="thisButton.Top = Top";
_thisbutton.setTop(_top);
RDebugUtils.currentLine=61210629;
 //BA.debugLineNum = 61210629;BA.debugLine="thisButton.Width = width";
_thisbutton.setWidth(_width);
RDebugUtils.currentLine=61210630;
 //BA.debugLineNum = 61210630;BA.debugLine="thisButton.Height = height";
_thisbutton.setHeight(_height);
RDebugUtils.currentLine=61210631;
 //BA.debugLineNum = 61210631;BA.debugLine="thisButton.Visible = True";
_thisbutton.setVisible(__c.True);
RDebugUtils.currentLine=61210632;
 //BA.debugLineNum = 61210632;BA.debugLine="End Sub";
return "";
}
public String  _muestraencuesta(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "muestraencuesta", false))
	 {return ((String) Debug.delegate(ba, "muestraencuesta", null));}
RDebugUtils.currentLine=60686336;
 //BA.debugLineNum = 60686336;BA.debugLine="Sub muestraEncuesta";
RDebugUtils.currentLine=60686337;
 //BA.debugLineNum = 60686337;BA.debugLine="Log(\"Muestra Encuesta\")";
__c.LogImpl("060686337","Muestra Encuesta",0);
RDebugUtils.currentLine=60686338;
 //BA.debugLineNum = 60686338;BA.debugLine="p_encuesta.Top = 0";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0));
RDebugUtils.currentLine=60686339;
 //BA.debugLineNum = 60686339;BA.debugLine="p_encuesta.left = 0";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0));
RDebugUtils.currentLine=60686340;
 //BA.debugLineNum = 60686340;BA.debugLine="p_encuesta.Height = GetDeviceLayoutValues.Height";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__c.GetDeviceLayoutValues(ba).Height);
RDebugUtils.currentLine=60686341;
 //BA.debugLineNum = 60686341;BA.debugLine="p_encuesta.Width = GetDeviceLayoutValues.Width";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__c.GetDeviceLayoutValues(ba).Width);
RDebugUtils.currentLine=60686342;
 //BA.debugLineNum = 60686342;BA.debugLine="p_encuesta.SetVisibleAnimated(200, True)";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .SetVisibleAnimated((int) (200),__c.True);
RDebugUtils.currentLine=60686343;
 //BA.debugLineNum = 60686343;BA.debugLine="p_encuesta.Elevation = 90 'ignore";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setElevation((float) (90));
RDebugUtils.currentLine=60686344;
 //BA.debugLineNum = 60686344;BA.debugLine="p_encuesta.BringToFront";
__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront();
RDebugUtils.currentLine=60686347;
 //BA.debugLineNum = 60686347;BA.debugLine="End Sub";
return "";
}
public String  _datos_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "datos_click", false))
	 {return ((String) Debug.delegate(ba, "datos_click", null));}
RDebugUtils.currentLine=52953088;
 //BA.debugLineNum = 52953088;BA.debugLine="Sub DATOS_Click";
RDebugUtils.currentLine=52953089;
 //BA.debugLineNum = 52953089;BA.debugLine="B4XPages.ShowPage(\"telefonos\")";
_b4xpages._showpage /*String*/ (ba,"telefonos");
RDebugUtils.currentLine=52953090;
 //BA.debugLineNum = 52953090;BA.debugLine="End Sub";
return "";
}
public void  _enviarpdfwhatsappnumero2(gunav2.keymon.com.mx.c_cliente __ref,String _numerotelefono) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "enviarpdfwhatsappnumero2", false))
	 {Debug.delegate(ba, "enviarpdfwhatsappnumero2", new Object[] {_numerotelefono}); return;}
ResumableSub_EnviarPDFWhatsAppNumero2 rsub = new ResumableSub_EnviarPDFWhatsAppNumero2(this,__ref,_numerotelefono);
rsub.resume(ba, null);
}
public static class ResumableSub_EnviarPDFWhatsAppNumero2 extends BA.ResumableSub {
public ResumableSub_EnviarPDFWhatsAppNumero2(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref,String _numerotelefono) {
this.parent = parent;
this.__ref = __ref;
this._numerotelefono = _numerotelefono;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _numerotelefono;
String _rutaarchivo = "";
String _uriwhatsapp = "";
anywheresoftware.b4a.objects.IntentWrapper _intentwhatsapp = null;
Object _uri0 = null;
anywheresoftware.b4a.objects.IntentWrapper _intent1 = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=62652417;
 //BA.debugLineNum = 62652417;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono";
if (true) break;

case 1:
//if
this.state = 6;
if (_numerotelefono.length()==10) { 
this.state = 3;
;}if (true) break;

case 3:
//C
this.state = 6;
_numerotelefono = "521"+_numerotelefono;
if (true) break;

case 6:
//C
this.state = 7;
;
RDebugUtils.currentLine=62652419;
 //BA.debugLineNum = 62652419;BA.debugLine="Dim RutaArchivo As String = Starter.fFileProvi";
_rutaarchivo = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ +"/"+__ref._archivoticketpdf /*String*/ ;
RDebugUtils.currentLine=62652420;
 //BA.debugLineNum = 62652420;BA.debugLine="Log(RutaArchivo)";
parent.__c.LogImpl("062652420",_rutaarchivo,0);
RDebugUtils.currentLine=62652423;
 //BA.debugLineNum = 62652423;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder";
if (true) break;

case 7:
//if
this.state = 12;
if (parent.__c.File.Exists(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,__ref._archivoticketpdf /*String*/ )) { 
this.state = 9;
}else {
this.state = 11;
}if (true) break;

case 9:
//C
this.state = 12;
RDebugUtils.currentLine=62652425;
 //BA.debugLineNum = 62652425;BA.debugLine="Dim UriWhatsApp As String = \"https://wa.me";
_uriwhatsapp = "https://wa.me/"+_numerotelefono;
RDebugUtils.currentLine=62652426;
 //BA.debugLineNum = 62652426;BA.debugLine="Dim IntentWhatsApp As Intent";
_intentwhatsapp = new anywheresoftware.b4a.objects.IntentWrapper();
RDebugUtils.currentLine=62652427;
 //BA.debugLineNum = 62652427;BA.debugLine="IntentWhatsApp.Initialize(IntentWhatsApp.A";
_intentwhatsapp.Initialize(_intentwhatsapp.ACTION_VIEW,_uriwhatsapp);
RDebugUtils.currentLine=62652436;
 //BA.debugLineNum = 62652436;BA.debugLine="StartActivity(IntentWhatsApp)";
parent.__c.StartActivity(ba,(Object)(_intentwhatsapp.getObject()));
RDebugUtils.currentLine=62652439;
 //BA.debugLineNum = 62652439;BA.debugLine="ToastMessageShow(\"Por favor, comparte el a";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor, comparte el archivo manualmente en WhatsApp."),parent.__c.True);
RDebugUtils.currentLine=62652442;
 //BA.debugLineNum = 62652442;BA.debugLine="Sleep(3000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "enviarpdfwhatsappnumero2"),(int) (3000));
this.state = 13;
return;
case 13:
//C
this.state = 12;
;
RDebugUtils.currentLine=62652445;
 //BA.debugLineNum = 62652445;BA.debugLine="Dim Uri0 As Object = Starter.fFileProvider.GetFi";
_uri0 = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (null,__ref._archivoticketpdf /*String*/ );
RDebugUtils.currentLine=62652448;
 //BA.debugLineNum = 62652448;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
RDebugUtils.currentLine=62652449;
 //BA.debugLineNum = 62652449;BA.debugLine="Intent1.Initialize(Intent1.ACTION_SEND, \"\"";
_intent1.Initialize(_intent1.ACTION_SEND,"");
RDebugUtils.currentLine=62652452;
 //BA.debugLineNum = 62652452;BA.debugLine="Intent1.SetType(\"application/pdf\")";
_intent1.SetType("application/pdf");
RDebugUtils.currentLine=62652455;
 //BA.debugLineNum = 62652455;BA.debugLine="Intent1.PutExtra(\"android.intent.extra.STR";
_intent1.PutExtra("android.intent.extra.STREAM",_uri0);
RDebugUtils.currentLine=62652458;
 //BA.debugLineNum = 62652458;BA.debugLine="Intent1.Flags = 1 ' FLAG_GRANT_READ_URI_PE";
_intent1.setFlags((int) (1));
RDebugUtils.currentLine=62652461;
 //BA.debugLineNum = 62652461;BA.debugLine="StartActivity(Intent1)";
parent.__c.StartActivity(ba,(Object)(_intent1.getObject()));
 if (true) break;

case 11:
//C
this.state = 12;
RDebugUtils.currentLine=62652463;
 //BA.debugLineNum = 62652463;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("El archivo PDF no existe."),parent.__c.True);
 if (true) break;

case 12:
//C
this.state = -1;
;
RDebugUtils.currentLine=62652465;
 //BA.debugLineNum = 62652465;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public void  _enviaticket(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "enviaticket", false))
	 {Debug.delegate(ba, "enviaticket", null); return;}
ResumableSub_enviaTicket rsub = new ResumableSub_enviaTicket(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_enviaTicket extends BA.ResumableSub {
public ResumableSub_enviaTicket(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
anywheresoftware.b4a.phone.Phone.Email _email = null;
anywheresoftware.b4a.objects.IntentWrapper _in = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = -1;
RDebugUtils.currentLine=62521346;
 //BA.debugLineNum = 62521346;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "enviaticket"),(int) (1000));
this.state = 1;
return;
case 1:
//C
this.state = -1;
;
RDebugUtils.currentLine=62521347;
 //BA.debugLineNum = 62521347;BA.debugLine="Dim email As Email";
_email = new anywheresoftware.b4a.phone.Phone.Email();
RDebugUtils.currentLine=62521348;
 //BA.debugLineNum = 62521348;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")";
_email.To.Add((Object)("cheveguerra@gmail.com"));
RDebugUtils.currentLine=62521349;
 //BA.debugLineNum = 62521349;BA.debugLine="email.Subject = \"subject\"";
_email.Subject = "subject";
RDebugUtils.currentLine=62521350;
 //BA.debugLineNum = 62521350;BA.debugLine="email.Attachments.Add(Starter.fFileProvider.GetFi";
_email.Attachments.Add(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (null,__ref._archivoticketpdf /*String*/ ));
RDebugUtils.currentLine=62521351;
 //BA.debugLineNum = 62521351;BA.debugLine="Dim in As Intent = email.GetIntent";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent()));
RDebugUtils.currentLine=62521352;
 //BA.debugLineNum = 62521352;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION";
_in.setFlags((int) (1));
RDebugUtils.currentLine=62521353;
 //BA.debugLineNum = 62521353;BA.debugLine="StartActivity(in)";
parent.__c.StartActivity(ba,(Object)(_in.getObject()));
RDebugUtils.currentLine=62521354;
 //BA.debugLineNum = 62521354;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _et_encuesta_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "et_encuesta_textchanged", false))
	 {return ((String) Debug.delegate(ba, "et_encuesta_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=61145088;
 //BA.debugLineNum = 61145088;BA.debugLine="Private Sub et_encuesta_TextChanged (Old As String";
RDebugUtils.currentLine=61145090;
 //BA.debugLineNum = 61145090;BA.debugLine="If New.Length > 0 Then b_encuesta_continuar.Enabl";
if (_new.length()>0) { 
__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);};
RDebugUtils.currentLine=61145091;
 //BA.debugLineNum = 61145091;BA.debugLine="If New.Length < 1 Then b_encuesta_continuar.Enabl";
if (_new.length()<1) { 
__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False);};
RDebugUtils.currentLine=61145092;
 //BA.debugLineNum = 61145092;BA.debugLine="End Sub";
return "";
}
public String  _et_numeropdf_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "et_numeropdf_textchanged", false))
	 {return ((String) Debug.delegate(ba, "et_numeropdf_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=62914560;
 //BA.debugLineNum = 62914560;BA.debugLine="Private Sub et_numeroPDF_TextChanged (Old As Strin";
RDebugUtils.currentLine=62914561;
 //BA.debugLineNum = 62914561;BA.debugLine="If New.Length = 10 Then b_envioPDF.Enabled = True";
if (_new.length()==10) { 
__ref._b_enviopdf /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);}
else {
__ref._b_enviopdf /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False);};
RDebugUtils.currentLine=62914562;
 //BA.debugLineNum = 62914562;BA.debugLine="End Sub";
return "";
}
public String  _et_p1_m2_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "et_p1_m2_textchanged", false))
	 {return ((String) Debug.delegate(ba, "et_p1_m2_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=57802752;
 //BA.debugLineNum = 57802752;BA.debugLine="Private Sub et_p1_m2_TextChanged (Old As String, N";
RDebugUtils.currentLine=57802753;
 //BA.debugLineNum = 57802753;BA.debugLine="If et_p1_m2.Text.Length  > 2 Or et_p1_m2.Text = 0";
if (__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2 || (__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(BA.NumberToString(0))) { 
RDebugUtils.currentLine=57802755;
 //BA.debugLineNum = 57802755;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba);
RDebugUtils.currentLine=57802756;
 //BA.debugLineNum = 57802756;BA.debugLine="et_p1_m2.Text = \"\"";
__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=57802758;
 //BA.debugLineNum = 57802758;BA.debugLine="End Sub";
return "";
}
public String  _et_p1_m4_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "et_p1_m4_textchanged", false))
	 {return ((String) Debug.delegate(ba, "et_p1_m4_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=57999360;
 //BA.debugLineNum = 57999360;BA.debugLine="Private Sub et_p1_m4_TextChanged (Old As String, N";
RDebugUtils.currentLine=57999361;
 //BA.debugLineNum = 57999361;BA.debugLine="If et_p1_m4.Text.Length  > 5 Then";
if (__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>5) { 
RDebugUtils.currentLine=57999363;
 //BA.debugLineNum = 57999363;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba);
RDebugUtils.currentLine=57999364;
 //BA.debugLineNum = 57999364;BA.debugLine="et_p1_m4.Text = \"\"";
__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=57999366;
 //BA.debugLineNum = 57999366;BA.debugLine="End Sub";
return "";
}
public String  _et_p2_m2_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "et_p2_m2_textchanged", false))
	 {return ((String) Debug.delegate(ba, "et_p2_m2_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=57868288;
 //BA.debugLineNum = 57868288;BA.debugLine="Private Sub et_p2_m2_TextChanged (Old As String, N";
RDebugUtils.currentLine=57868289;
 //BA.debugLineNum = 57868289;BA.debugLine="If et_p2_m2.Text.Length  > 2 Or et_p2_m2.Text = 0";
if (__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2 || (__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(BA.NumberToString(0))) { 
RDebugUtils.currentLine=57868291;
 //BA.debugLineNum = 57868291;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba);
RDebugUtils.currentLine=57868292;
 //BA.debugLineNum = 57868292;BA.debugLine="et_p2_m2.Text = \"\"";
__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=57868295;
 //BA.debugLineNum = 57868295;BA.debugLine="End Sub";
return "";
}
public String  _et_p5_m2_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "et_p5_m2_textchanged", false))
	 {return ((String) Debug.delegate(ba, "et_p5_m2_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=57933824;
 //BA.debugLineNum = 57933824;BA.debugLine="Private Sub et_p5_m2_TextChanged (Old As String, N";
RDebugUtils.currentLine=57933825;
 //BA.debugLineNum = 57933825;BA.debugLine="If et_p5_m2.Text.Length  > 4 Then";
if (__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>4) { 
RDebugUtils.currentLine=57933827;
 //BA.debugLineNum = 57933827;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba);
RDebugUtils.currentLine=57933828;
 //BA.debugLineNum = 57933828;BA.debugLine="et_p5_m2.Text = \"\"";
__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=57933830;
 //BA.debugLineNum = 57933830;BA.debugLine="End Sub";
return "";
}
public void  _gest_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "gest_click", false))
	 {Debug.delegate(ba, "gest_click", null); return;}
ResumableSub_gest_Click rsub = new ResumableSub_gest_Click(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_gest_Click extends BA.ResumableSub {
public ResumableSub_gest_Click(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null;
String _fechainicio = "";
long _ticksinicio = 0L;
long _tickshoy = 0L;
int _diferenciadias = 0;
int _resultado = 0;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=51380229;
 //BA.debugLineNum = 51380229;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=51380230;
 //BA.debugLineNum = 51380230;BA.debugLine="If pagarepen.RowCount > 0 Then";
if (true) break;

case 1:
//if
this.state = 32;
if (_pagarepen.getRowCount()>0) { 
this.state = 3;
}else {
this.state = 31;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=51380231;
 //BA.debugLineNum = 51380231;BA.debugLine="pagarepen.Position = 0";
_pagarepen.setPosition((int) (0));
RDebugUtils.currentLine=51380232;
 //BA.debugLineNum = 51380232;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=51380233;
 //BA.debugLineNum = 51380233;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
_fechainicio = _pagarepen.GetString("FECHA");
RDebugUtils.currentLine=51380235;
 //BA.debugLineNum = 51380235;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
parent.__c.LogImpl("051380235",_pagarepen.GetString("FECHA"),0);
RDebugUtils.currentLine=51380238;
 //BA.debugLineNum = 51380238;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio);
RDebugUtils.currentLine=51380239;
 //BA.debugLineNum = 51380239;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()));
RDebugUtils.currentLine=51380242;
 //BA.debugLineNum = 51380242;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay);
RDebugUtils.currentLine=51380245;
 //BA.debugLineNum = 51380245;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
parent.__c.LogImpl("051380245",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
RDebugUtils.currentLine=51380247;
 //BA.debugLineNum = 51380247;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=51380248;
 //BA.debugLineNum = 51380248;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=51380250;
 //BA.debugLineNum = 51380250;BA.debugLine="If ALMACEN = 81 Or ALMACEN = 94 Then";
if (true) break;

case 4:
//if
this.state = 29;
if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(81)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(94))) { 
this.state = 6;
}else {
this.state = 18;
}if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=51380251;
 //BA.debugLineNum = 51380251;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI";
if (true) break;

case 7:
//if
this.state = 16;
if (_diferenciadias<=__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+8) { 
this.state = 9;
}else 
{RDebugUtils.currentLine=51380258;
 //BA.debugLineNum = 51380258;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASC";
if (_diferenciadias>__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { 
this.state = 15;
}}
if (true) break;

case 9:
//C
this.state = 10;
RDebugUtils.currentLine=51380253;
 //BA.debugLineNum = 51380253;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto  de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=51380254;
 //BA.debugLineNum = 51380254;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "gest_click"), null);
this.state = 33;
return;
case 33:
//C
this.state = 10;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=51380255;
 //BA.debugLineNum = 51380255;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 10:
//if
this.state = 13;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 12;
}if (true) break;

case 12:
//C
this.state = 13;
RDebugUtils.currentLine=51380256;
 //BA.debugLineNum = 51380256;BA.debugLine="gestionar";
__ref._gestionar /*String*/ (null);
 if (true) break;

case 13:
//C
this.state = 16;
;
 if (true) break;

case 15:
//C
this.state = 16;
RDebugUtils.currentLine=51380259;
 //BA.debugLineNum = 51380259;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q";
parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba);
 if (true) break;

case 16:
//C
this.state = 29;
;
 if (true) break;

case 18:
//C
this.state = 19;
RDebugUtils.currentLine=51380262;
 //BA.debugLineNum = 51380262;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI";
if (true) break;

case 19:
//if
this.state = 28;
if (_diferenciadias<=__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { 
this.state = 21;
}else 
{RDebugUtils.currentLine=51380269;
 //BA.debugLineNum = 51380269;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASC";
if (_diferenciadias>__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { 
this.state = 27;
}}
if (true) break;

case 21:
//C
this.state = 22;
RDebugUtils.currentLine=51380264;
 //BA.debugLineNum = 51380264;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto  de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=51380265;
 //BA.debugLineNum = 51380265;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "gest_click"), null);
this.state = 34;
return;
case 34:
//C
this.state = 22;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=51380266;
 //BA.debugLineNum = 51380266;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 22:
//if
this.state = 25;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 24;
}if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=51380267;
 //BA.debugLineNum = 51380267;BA.debugLine="gestionar";
__ref._gestionar /*String*/ (null);
 if (true) break;

case 25:
//C
this.state = 28;
;
 if (true) break;

case 27:
//C
this.state = 28;
RDebugUtils.currentLine=51380270;
 //BA.debugLineNum = 51380270;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q";
parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba);
 if (true) break;

case 28:
//C
this.state = 29;
;
 if (true) break;

case 29:
//C
this.state = 32;
;
 if (true) break;

case 31:
//C
this.state = 32;
RDebugUtils.currentLine=51380275;
 //BA.debugLineNum = 51380275;BA.debugLine="gestionar";
__ref._gestionar /*String*/ (null);
 if (true) break;

case 32:
//C
this.state = -1;
;
RDebugUtils.currentLine=51380277;
 //BA.debugLineNum = 51380277;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper  _mejorarprecisiongps(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "mejorarprecisiongps", false))
	 {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "mejorarprecisiongps", null));}
ResumableSub_MejorarPrecisionGPS rsub = new ResumableSub_MejorarPrecisionGPS(this,__ref);
rsub.resume(ba, null);
return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub);
}
public static class ResumableSub_MejorarPrecisionGPS extends BA.ResumableSub {
public ResumableSub_MejorarPrecisionGPS(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
int _i = 0;
anywheresoftware.b4a.gps.LocationWrapper _loc = null;
int step2;
int limit2;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
{
parent.__c.ReturnFromResumableSub(this,null);return;}
case 0:
//C
this.state = 1;
RDebugUtils.currentLine=50528264;
 //BA.debugLineNum = 50528264;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP2\")";
parent.__c.CallSubDelayed(ba,(Object)(parent._tracker.getObject()),"StartFLP2");
RDebugUtils.currentLine=50528266;
 //BA.debugLineNum = 50528266;BA.debugLine="For i = 1 To 10";
if (true) break;

case 1:
//for
this.state = 12;
step2 = 1;
limit2 = (int) (10);
_i = (int) (1) ;
this.state = 13;
if (true) break;

case 13:
//C
this.state = 12;
if ((step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2)) this.state = 3;
if (true) break;

case 14:
//C
this.state = 13;
_i = ((int)(0 + _i + step2)) ;
if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=50528267;
 //BA.debugLineNum = 50528267;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "mejorarprecisiongps"),(int) (1000));
this.state = 15;
return;
case 15:
//C
this.state = 4;
;
RDebugUtils.currentLine=50528268;
 //BA.debugLineNum = 50528268;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize";
if (true) break;

case 4:
//if
this.state = 11;
if (parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { 
this.state = 6;
}if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=50528269;
 //BA.debugLineNum = 50528269;BA.debugLine="Dim loc As Location = Tracker.FLP.GetLastKnownL";
_loc = new anywheresoftware.b4a.gps.LocationWrapper();
_loc = parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation();
RDebugUtils.currentLine=50528270;
 //BA.debugLineNum = 50528270;BA.debugLine="If loc.Accuracy < 25 Then ' Buena precisión";
if (true) break;

case 7:
//if
this.state = 10;
if (_loc.getAccuracy()<25) { 
this.state = 9;
}if (true) break;

case 9:
//C
this.state = 10;
RDebugUtils.currentLine=50528271;
 //BA.debugLineNum = 50528271;BA.debugLine="Return True";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;};
 if (true) break;

case 10:
//C
this.state = 11;
;
 if (true) break;

case 11:
//C
this.state = 14;
;
 if (true) break;
if (true) break;

case 12:
//C
this.state = -1;
;
RDebugUtils.currentLine=50528275;
 //BA.debugLineNum = 50528275;BA.debugLine="Return False ' No se logró buena precisión";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
RDebugUtils.currentLine=50528276;
 //BA.debugLineNum = 50528276;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _iniciofin(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "iniciofin", false))
	 {return ((String) Debug.delegate(ba, "iniciofin", null));}
RDebugUtils.currentLine=51052544;
 //BA.debugLineNum = 51052544;BA.debugLine="Private Sub iniciofin";
RDebugUtils.currentLine=51052556;
 //BA.debugLineNum = 51052556;BA.debugLine="End Sub";
return "";
}
public String  _guardadoventa(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "guardadoventa", false))
	 {return ((String) Debug.delegate(ba, "guardadoventa", null));}
RDebugUtils.currentLine=53149696;
 //BA.debugLineNum = 53149696;BA.debugLine="Sub guardadoventa";
RDebugUtils.currentLine=53149698;
 //BA.debugLineNum = 53149698;BA.debugLine="End Sub";
return "";
}
public String  _guardar_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "guardar_longclick", false))
	 {return ((String) Debug.delegate(ba, "guardar_longclick", null));}
RDebugUtils.currentLine=53084160;
 //BA.debugLineNum = 53084160;BA.debugLine="Sub Guardar_LongClick";
RDebugUtils.currentLine=53084163;
 //BA.debugLineNum = 53084163;BA.debugLine="End Sub";
return "";
}
public String  _habilitarbotones(gunav2.keymon.com.mx.c_cliente __ref,boolean _dentroderango) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "habilitarbotones", false))
	 {return ((String) Debug.delegate(ba, "habilitarbotones", new Object[] {_dentroderango}));}
anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null;
RDebugUtils.currentLine=50790400;
 //BA.debugLineNum = 50790400;BA.debugLine="Sub HabilitarBotones(dentroDeRango As Boolean)";
RDebugUtils.currentLine=50790401;
 //BA.debugLineNum = 50790401;BA.debugLine="If dentroDeRango Then";
if (_dentroderango) { 
RDebugUtils.currentLine=50790402;
 //BA.debugLineNum = 50790402;BA.debugLine="If Tels.IsInitialized Then";
if (__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { 
RDebugUtils.currentLine=50790403;
 //BA.debugLineNum = 50790403;BA.debugLine="Tels.Visible = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50790404;
 //BA.debugLineNum = 50790404;BA.debugLine="gest.Visible = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50790405;
 //BA.debugLineNum = 50790405;BA.debugLine="Tels.Enabled = True";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);
RDebugUtils.currentLine=50790406;
 //BA.debugLineNum = 50790406;BA.debugLine="gest.Enabled = True";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);
RDebugUtils.currentLine=50790407;
 //BA.debugLineNum = 50790407;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
RDebugUtils.currentLine=50790408;
 //BA.debugLineNum = 50790408;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) { 
RDebugUtils.currentLine=50790409;
 //BA.debugLineNum = 50790409;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
RDebugUtils.currentLine=50790410;
 //BA.debugLineNum = 50790410;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) { 
RDebugUtils.currentLine=50790411;
 //BA.debugLineNum = 50790411;BA.debugLine="b_preventa2.Visible = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=50790412;
 //BA.debugLineNum = 50790412;BA.debugLine="b_preventa2.Enabled = True";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);
 }else 
{RDebugUtils.currentLine=50790413;
 //BA.debugLineNum = 50790413;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then";
if (_future.GetInt("CAT_VA_VALOR")==0) { 
RDebugUtils.currentLine=50790414;
 //BA.debugLineNum = 50790414;BA.debugLine="b_preventa2.Enabled = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False);
RDebugUtils.currentLine=50790415;
 //BA.debugLineNum = 50790415;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 }}
;
 };
 };
 }else {
RDebugUtils.currentLine=50790421;
 //BA.debugLineNum = 50790421;BA.debugLine="If Tels.IsInitialized Then";
if (__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { 
RDebugUtils.currentLine=50790422;
 //BA.debugLineNum = 50790422;BA.debugLine="b_preventa2.Visible = False";
__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50790423;
 //BA.debugLineNum = 50790423;BA.debugLine="Tels.Visible = False";
__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=50790424;
 //BA.debugLineNum = 50790424;BA.debugLine="gest.Visible = False";
__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);
 };
 };
RDebugUtils.currentLine=50790428;
 //BA.debugLineNum = 50790428;BA.debugLine="End Sub";
return "";
}
public String  _hist_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "hist_click", false))
	 {return ((String) Debug.delegate(ba, "hist_click", null));}
RDebugUtils.currentLine=53280768;
 //BA.debugLineNum = 53280768;BA.debugLine="Sub HIST_Click";
RDebugUtils.currentLine=53280769;
 //BA.debugLineNum = 53280769;BA.debugLine="B4XPages.ShowPage(\"historicobat\")";
_b4xpages._showpage /*String*/ (ba,"historicobat");
RDebugUtils.currentLine=53280770;
 //BA.debugLineNum = 53280770;BA.debugLine="End Sub";
return "";
}
public String  _imageview4_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "imageview4_click", false))
	 {return ((String) Debug.delegate(ba, "imageview4_click", null));}
RDebugUtils.currentLine=63635456;
 //BA.debugLineNum = 63635456;BA.debugLine="Private Sub ImageView4_Click";
RDebugUtils.currentLine=63635457;
 //BA.debugLineNum = 63635457;BA.debugLine="InitializeCamera2";
__ref._initializecamera2 /*void*/ (null);
RDebugUtils.currentLine=63635458;
 //BA.debugLineNum = 63635458;BA.debugLine="p_camara.Visible = True";
__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=63635459;
 //BA.debugLineNum = 63635459;BA.debugLine="Subs.centraPanel(p_cam,p_camara.Width)";
_subs._centrapanel /*String*/ (ba,__ref._p_cam /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth());
RDebugUtils.currentLine=63635461;
 //BA.debugLineNum = 63635461;BA.debugLine="p_camara.BringToFront";
__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront();
RDebugUtils.currentLine=63635462;
 //BA.debugLineNum = 63635462;BA.debugLine="End Sub";
return "";
}
public void  _impresion3(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "impresion3", false))
	 {Debug.delegate(ba, "impresion3", null); return;}
ResumableSub_Impresion3 rsub = new ResumableSub_Impresion3(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_Impresion3 extends BA.ResumableSub {
public ResumableSub_Impresion3(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _elinefeed = "";
int _cont = 0;
int _i = 0;
int _e = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null;
String _subtot = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null;
int step50;
int limit50;
int step61;
int limit61;
int step74;
int limit74;
int step93;
int limit93;
int step105;
int limit105;
int step122;
int limit122;
int step132;
int limit132;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=54067201;
 //BA.debugLineNum = 54067201;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=54067202;
 //BA.debugLineNum = 54067202;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54067203;
 //BA.debugLineNum = 54067203;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=54067205;
 //BA.debugLineNum = 54067205;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=54067206;
 //BA.debugLineNum = 54067206;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=54067207;
 //BA.debugLineNum = 54067207;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=54067208;
 //BA.debugLineNum = 54067208;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54067213;
 //BA.debugLineNum = 54067213;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
RDebugUtils.currentLine=54067214;
 //BA.debugLineNum = 54067214;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
RDebugUtils.currentLine=54067215;
 //BA.debugLineNum = 54067215;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=54067216;
 //BA.debugLineNum = 54067216;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;

case 1:
//if
this.state = 38;
if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { 
this.state = 3;
}else {
this.state = 21;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=54067218;
 //BA.debugLineNum = 54067218;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=54067219;
 //BA.debugLineNum = 54067219;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=54067220;
 //BA.debugLineNum = 54067220;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;

case 4:
//do while
this.state = 19;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) {
this.state = 6;
if (true) break;
}
if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=54067221;
 //BA.debugLineNum = 54067221;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (1000));
this.state = 99;
return;
case 99:
//C
this.state = 7;
;
RDebugUtils.currentLine=54067222;
 //BA.debugLineNum = 54067222;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=54067223;
 //BA.debugLineNum = 54067223;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;

case 7:
//if
this.state = 12;
if (_cont==7) { 
this.state = 9;
;}if (true) break;

case 9:
//C
this.state = 12;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 12:
//C
this.state = 13;
;
RDebugUtils.currentLine=54067224;
 //BA.debugLineNum = 54067224;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;

case 13:
//if
this.state = 18;
if (_cont>15) { 
this.state = 15;
;}if (true) break;

case 15:
//C
this.state = 18;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 18:
//C
this.state = 4;
;
 if (true) break;

case 19:
//C
this.state = 38;
;
RDebugUtils.currentLine=54067226;
 //BA.debugLineNum = 54067226;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (500));
this.state = 100;
return;
case 100:
//C
this.state = 38;
;
RDebugUtils.currentLine=54067227;
 //BA.debugLineNum = 54067227;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 21:
//C
this.state = 22;
RDebugUtils.currentLine=54067230;
 //BA.debugLineNum = 54067230;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=54067231;
 //BA.debugLineNum = 54067231;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=54067232;
 //BA.debugLineNum = 54067232;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;

case 22:
//do while
this.state = 37;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) {
this.state = 24;
if (true) break;
}
if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=54067233;
 //BA.debugLineNum = 54067233;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (1000));
this.state = 101;
return;
case 101:
//C
this.state = 25;
;
RDebugUtils.currentLine=54067234;
 //BA.debugLineNum = 54067234;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=54067235;
 //BA.debugLineNum = 54067235;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;

case 25:
//if
this.state = 30;
if (_cont==2) { 
this.state = 27;
;}if (true) break;

case 27:
//C
this.state = 30;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 30:
//C
this.state = 31;
;
RDebugUtils.currentLine=54067236;
 //BA.debugLineNum = 54067236;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;

case 31:
//if
this.state = 36;
if (_cont>4) { 
this.state = 33;
;}if (true) break;

case 33:
//C
this.state = 36;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 36:
//C
this.state = 22;
;
 if (true) break;

case 37:
//C
this.state = 38;
;
RDebugUtils.currentLine=54067238;
 //BA.debugLineNum = 54067238;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (500));
this.state = 102;
return;
case 102:
//C
this.state = 38;
;
RDebugUtils.currentLine=54067239;
 //BA.debugLineNum = 54067239;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 38:
//C
this.state = 39;
;
RDebugUtils.currentLine=54067242;
 //BA.debugLineNum = 54067242;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54067243;
 //BA.debugLineNum = 54067243;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54067244;
 //BA.debugLineNum = 54067244;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=54067261;
 //BA.debugLineNum = 54067261;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed);
RDebugUtils.currentLine=54067263;
 //BA.debugLineNum = 54067263;BA.debugLine="Printer1.WriteString(sDate &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed);
RDebugUtils.currentLine=54067264;
 //BA.debugLineNum = 54067264;BA.debugLine="Printer1.WriteString(sTime &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed);
RDebugUtils.currentLine=54067265;
 //BA.debugLineNum = 54067265;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed);
RDebugUtils.currentLine=54067266;
 //BA.debugLineNum = 54067266;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54067267;
 //BA.debugLineNum = 54067267;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54067268;
 //BA.debugLineNum = 54067268;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54067269;
 //BA.debugLineNum = 54067269;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54067271;
 //BA.debugLineNum = 54067271;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54067272;
 //BA.debugLineNum = 54067272;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54067274;
 //BA.debugLineNum = 54067274;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-----------PREVENTA-----------"+_elinefeed);
RDebugUtils.currentLine=54067276;
 //BA.debugLineNum = 54067276;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS  PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by  PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)})));
RDebugUtils.currentLine=54067277;
 //BA.debugLineNum = 54067277;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 39:
//if
this.state = 76;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 41;
}if (true) break;

case 41:
//C
this.state = 42;
RDebugUtils.currentLine=54067278;
 //BA.debugLineNum = 54067278;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 42:
//for
this.state = 75;
step50 = 1;
limit50 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 103;
if (true) break;

case 103:
//C
this.state = 75;
if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44;
if (true) break;

case 104:
//C
this.state = 103;
_i = ((int)(0 + _i + step50)) ;
if (true) break;

case 44:
//C
this.state = 45;
RDebugUtils.currentLine=54067279;
 //BA.debugLineNum = 54067279;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=54067280;
 //BA.debugLineNum = 54067280;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;

case 45:
//if
this.state = 74;
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
this.state = 47;
}else {
this.state = 49;
}if (true) break;

case 47:
//C
this.state = 74;
RDebugUtils.currentLine=54067281;
 //BA.debugLineNum = 54067281;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
 if (true) break;

case 49:
//C
this.state = 50;
RDebugUtils.currentLine=54067283;
 //BA.debugLineNum = 54067283;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
if (true) break;

case 50:
//if
this.state = 73;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECALCULO")==0) { 
this.state = 52;
}else 
{RDebugUtils.currentLine=54067298;
 //BA.debugLineNum = 54067298;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")==__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { 
this.state = 58;
}else 
{RDebugUtils.currentLine=54067319;
 //BA.debugLineNum = 54067319;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")!=__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { 
this.state = 64;
}}}
if (true) break;

case 52:
//C
this.state = 53;
RDebugUtils.currentLine=54067284;
 //BA.debugLineNum = 54067284;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54067285;
 //BA.debugLineNum = 54067285;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067286;
 //BA.debugLineNum = 54067286;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067287;
 //BA.debugLineNum = 54067287;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067289;
 //BA.debugLineNum = 54067289;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067291;
 //BA.debugLineNum = 54067291;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 53:
//for
this.state = 56;
step61 = 1;
limit61 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 105;
if (true) break;

case 105:
//C
this.state = 56;
if ((step61 > 0 && _e <= limit61) || (step61 < 0 && _e >= limit61)) this.state = 55;
if (true) break;

case 106:
//C
this.state = 105;
_e = ((int)(0 + _e + step61)) ;
if (true) break;

case 55:
//C
this.state = 106;
RDebugUtils.currentLine=54067292;
 //BA.debugLineNum = 54067292;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 56:
//C
this.state = 73;
;
RDebugUtils.currentLine=54067294;
 //BA.debugLineNum = 54067294;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed);
RDebugUtils.currentLine=54067295;
 //BA.debugLineNum = 54067295;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54067296;
 //BA.debugLineNum = 54067296;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54067297;
 //BA.debugLineNum = 54067297;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 58:
//C
this.state = 59;
RDebugUtils.currentLine=54067299;
 //BA.debugLineNum = 54067299;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54067300;
 //BA.debugLineNum = 54067300;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067301;
 //BA.debugLineNum = 54067301;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067302;
 //BA.debugLineNum = 54067302;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067304;
 //BA.debugLineNum = 54067304;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067306;
 //BA.debugLineNum = 54067306;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 59:
//for
this.state = 62;
step74 = 1;
limit74 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 107;
if (true) break;

case 107:
//C
this.state = 62;
if ((step74 > 0 && _e <= limit74) || (step74 < 0 && _e >= limit74)) this.state = 61;
if (true) break;

case 108:
//C
this.state = 107;
_e = ((int)(0 + _e + step74)) ;
if (true) break;

case 61:
//C
this.state = 108;
RDebugUtils.currentLine=54067307;
 //BA.debugLineNum = 54067307;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 62:
//C
this.state = 73;
;
RDebugUtils.currentLine=54067310;
 //BA.debugLineNum = 54067310;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
RDebugUtils.currentLine=54067311;
 //BA.debugLineNum = 54067311;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
RDebugUtils.currentLine=54067313;
 //BA.debugLineNum = 54067313;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed);
RDebugUtils.currentLine=54067315;
 //BA.debugLineNum = 54067315;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
RDebugUtils.currentLine=54067316;
 //BA.debugLineNum = 54067316;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54067317;
 //BA.debugLineNum = 54067317;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54067318;
 //BA.debugLineNum = 54067318;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 64:
//C
this.state = 65;
RDebugUtils.currentLine=54067320;
 //BA.debugLineNum = 54067320;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
parent.__c.LogImpl("054067320",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")),0);
RDebugUtils.currentLine=54067321;
 //BA.debugLineNum = 54067321;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
parent.__c.LogImpl("054067321",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),0);
RDebugUtils.currentLine=54067322;
 //BA.debugLineNum = 54067322;BA.debugLine="Log(\"aqui\")";
parent.__c.LogImpl("054067322","aqui",0);
RDebugUtils.currentLine=54067323;
 //BA.debugLineNum = 54067323;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54067324;
 //BA.debugLineNum = 54067324;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067325;
 //BA.debugLineNum = 54067325;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067326;
 //BA.debugLineNum = 54067326;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067328;
 //BA.debugLineNum = 54067328;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067330;
 //BA.debugLineNum = 54067330;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 65:
//for
this.state = 68;
step93 = 1;
limit93 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 109;
if (true) break;

case 109:
//C
this.state = 68;
if ((step93 > 0 && _e <= limit93) || (step93 < 0 && _e >= limit93)) this.state = 67;
if (true) break;

case 110:
//C
this.state = 109;
_e = ((int)(0 + _e + step93)) ;
if (true) break;

case 67:
//C
this.state = 110;
RDebugUtils.currentLine=54067331;
 //BA.debugLineNum = 54067331;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 68:
//C
this.state = 69;
;
RDebugUtils.currentLine=54067335;
 //BA.debugLineNum = 54067335;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
RDebugUtils.currentLine=54067336;
 //BA.debugLineNum = 54067336;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
RDebugUtils.currentLine=54067338;
 //BA.debugLineNum = 54067338;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+"   $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
RDebugUtils.currentLine=54067339;
 //BA.debugLineNum = 54067339;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
RDebugUtils.currentLine=54067341;
 //BA.debugLineNum = 54067341;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
_subtot = BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))));
RDebugUtils.currentLine=54067342;
 //BA.debugLineNum = 54067342;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067343;
 //BA.debugLineNum = 54067343;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067344;
 //BA.debugLineNum = 54067344;BA.debugLine="TAMANO = subTot + TAMANO";
__ref._tamano /*int*/  = (int) ((double)(Double.parseDouble(_subtot))+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067346;
 //BA.debugLineNum = 54067346;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067348;
 //BA.debugLineNum = 54067348;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 69:
//for
this.state = 72;
step105 = 1;
limit105 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 111;
if (true) break;

case 111:
//C
this.state = 72;
if ((step105 > 0 && _e <= limit105) || (step105 < 0 && _e >= limit105)) this.state = 71;
if (true) break;

case 112:
//C
this.state = 111;
_e = ((int)(0 + _e + step105)) ;
if (true) break;

case 71:
//C
this.state = 112;
RDebugUtils.currentLine=54067349;
 //BA.debugLineNum = 54067349;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 72:
//C
this.state = 73;
;
RDebugUtils.currentLine=54067352;
 //BA.debugLineNum = 54067352;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54067353;
 //BA.debugLineNum = 54067353;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
RDebugUtils.currentLine=54067356;
 //BA.debugLineNum = 54067356;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54067357;
 //BA.debugLineNum = 54067357;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54067358;
 //BA.debugLineNum = 54067358;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 73:
//C
this.state = 74;
;
 if (true) break;

case 74:
//C
this.state = 104;
;
 if (true) break;
if (true) break;

case 75:
//C
this.state = 76;
;
 if (true) break;

case 76:
//C
this.state = 77;
;
RDebugUtils.currentLine=54067363;
 //BA.debugLineNum = 54067363;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54067364;
 //BA.debugLineNum = 54067364;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54067365;
 //BA.debugLineNum = 54067365;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa)  order by  PE_CEDIS, PE_COSTOU")));
RDebugUtils.currentLine=54067366;
 //BA.debugLineNum = 54067366;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 77:
//if
this.state = 94;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 79;
}if (true) break;

case 79:
//C
this.state = 80;
RDebugUtils.currentLine=54067367;
 //BA.debugLineNum = 54067367;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------PROMOS------------"+_elinefeed);
RDebugUtils.currentLine=54067368;
 //BA.debugLineNum = 54067368;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 80:
//for
this.state = 93;
step122 = 1;
limit122 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 113;
if (true) break;

case 113:
//C
this.state = 93;
if ((step122 > 0 && _i <= limit122) || (step122 < 0 && _i >= limit122)) this.state = 82;
if (true) break;

case 114:
//C
this.state = 113;
_i = ((int)(0 + _i + step122)) ;
if (true) break;

case 82:
//C
this.state = 83;
RDebugUtils.currentLine=54067369;
 //BA.debugLineNum = 54067369;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=54067370;
 //BA.debugLineNum = 54067370;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;

case 83:
//if
this.state = 92;
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
this.state = 85;
}else {
this.state = 87;
}if (true) break;

case 85:
//C
this.state = 92;
RDebugUtils.currentLine=54067371;
 //BA.debugLineNum = 54067371;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
 if (true) break;

case 87:
//C
this.state = 88;
RDebugUtils.currentLine=54067375;
 //BA.debugLineNum = 54067375;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=54067376;
 //BA.debugLineNum = 54067376;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067377;
 //BA.debugLineNum = 54067377;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067378;
 //BA.debugLineNum = 54067378;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067380;
 //BA.debugLineNum = 54067380;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=54067382;
 //BA.debugLineNum = 54067382;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 88:
//for
this.state = 91;
step132 = 1;
limit132 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 115;
if (true) break;

case 115:
//C
this.state = 91;
if ((step132 > 0 && _e <= limit132) || (step132 < 0 && _e >= limit132)) this.state = 90;
if (true) break;

case 116:
//C
this.state = 115;
_e = ((int)(0 + _e + step132)) ;
if (true) break;

case 90:
//C
this.state = 116;
RDebugUtils.currentLine=54067383;
 //BA.debugLineNum = 54067383;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 91:
//C
this.state = 92;
;
RDebugUtils.currentLine=54067385;
 //BA.debugLineNum = 54067385;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed);
RDebugUtils.currentLine=54067386;
 //BA.debugLineNum = 54067386;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=54067387;
 //BA.debugLineNum = 54067387;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=54067388;
 //BA.debugLineNum = 54067388;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 92:
//C
this.state = 114;
;
 if (true) break;
if (true) break;

case 93:
//C
this.state = 94;
;
RDebugUtils.currentLine=54067391;
 //BA.debugLineNum = 54067391;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
 if (true) break;

case 94:
//C
this.state = 95;
;
RDebugUtils.currentLine=54067393;
 //BA.debugLineNum = 54067393;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54067395;
 //BA.debugLineNum = 54067395;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
RDebugUtils.currentLine=54067396;
 //BA.debugLineNum = 54067396;BA.debugLine="s.Position =0";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54067400;
 //BA.debugLineNum = 54067400;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa:   $\" & s";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal Preventa:   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")+_elinefeed);
RDebugUtils.currentLine=54067403;
 //BA.debugLineNum = 54067403;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")));
RDebugUtils.currentLine=54067404;
 //BA.debugLineNum = 54067404;BA.debugLine="C.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54067405;
 //BA.debugLineNum = 54067405;BA.debugLine="Printer1.WriteString(\"Total Articulos:   \" & c.Ge";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Articulos:   "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+_elinefeed);
RDebugUtils.currentLine=54067406;
 //BA.debugLineNum = 54067406;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=54067407;
 //BA.debugLineNum = 54067407;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(S";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0")));
RDebugUtils.currentLine=54067408;
 //BA.debugLineNum = 54067408;BA.debugLine="s3.Position =0";
_s3.setPosition((int) (0));
RDebugUtils.currentLine=54067409;
 //BA.debugLineNum = 54067409;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCULO";
__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0")));
RDebugUtils.currentLine=54067410;
 //BA.debugLineNum = 54067410;BA.debugLine="S2.Position =0";
__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=54067412;
 //BA.debugLineNum = 54067412;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.GetS";
if (true) break;

case 95:
//if
this.state = 98;
if ((parent.__c.NumberFormat2(((double)(Double.parseDouble(_s3.GetString("TOTAL")))+(double)(Double.parseDouble(__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))),(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")) == false) { 
this.state = 97;
}if (true) break;

case 97:
//C
this.state = 98;
RDebugUtils.currentLine=54067414;
 //BA.debugLineNum = 54067414;BA.debugLine="Printer1.WriteString(\"Descuento:   $\" & NumberFo";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Descuento:   $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
 if (true) break;

case 98:
//C
this.state = -1;
;
RDebugUtils.currentLine=54067421;
 //BA.debugLineNum = 54067421;BA.debugLine="Printer1.WriteString(\"Total Preventa:   $\" & Numb";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa:   $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
RDebugUtils.currentLine=54067423;
 //BA.debugLineNum = 54067423;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54067424;
 //BA.debugLineNum = 54067424;BA.debugLine="Printer1.WriteString(\"---------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed);
RDebugUtils.currentLine=54067425;
 //BA.debugLineNum = 54067425;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed);
RDebugUtils.currentLine=54067426;
 //BA.debugLineNum = 54067426;BA.debugLine="Printer1.WriteString(la_Calle.Text &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=54067427;
 //BA.debugLineNum = 54067427;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+_elinefeed);
RDebugUtils.currentLine=54067428;
 //BA.debugLineNum = 54067428;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed);
RDebugUtils.currentLine=54067429;
 //BA.debugLineNum = 54067429;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+_elinefeed);
RDebugUtils.currentLine=54067430;
 //BA.debugLineNum = 54067430;BA.debugLine="Printer1.WriteString(\"---------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed);
RDebugUtils.currentLine=54067431;
 //BA.debugLineNum = 54067431;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=54067433;
 //BA.debugLineNum = 54067433;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (1000));
this.state = 117;
return;
case 117:
//C
this.state = -1;
;
RDebugUtils.currentLine=54067434;
 //BA.debugLineNum = 54067434;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=54067436;
 //BA.debugLineNum = 54067436;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
RDebugUtils.currentLine=54067439;
 //BA.debugLineNum = 54067439;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _mandap(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "mandap", false))
	 {return ((String) Debug.delegate(ba, "mandap", null));}
anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null;
int _i = 0;
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=53870592;
 //BA.debugLineNum = 53870592;BA.debugLine="Sub Mandap";
RDebugUtils.currentLine=53870594;
 //BA.debugLineNum = 53870594;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_CE";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"})));
RDebugUtils.currentLine=53870595;
 //BA.debugLineNum = 53870595;BA.debugLine="Dim d As Cursor=B4XPages.MainPage.skmt.ExecQuery(";
_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO")));
RDebugUtils.currentLine=53870596;
 //BA.debugLineNum = 53870596;BA.debugLine="If c.RowCount>0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=53870597;
 //BA.debugLineNum = 53870597;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step4 = 1;
final int limit4 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit4 ;_i = _i + step4 ) {
RDebugUtils.currentLine=53870598;
 //BA.debugLineNum = 53870598;BA.debugLine="c.Position=i";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=53870599;
 //BA.debugLineNum = 53870599;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=53870600;
 //BA.debugLineNum = 53870600;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=53870601;
 //BA.debugLineNum = 53870601;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/  = "insert_pedido_GV2";
RDebugUtils.currentLine=53870602;
 //BA.debugLineNum = 53870602;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"P";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))};
RDebugUtils.currentLine=53870603;
 //BA.debugLineNum = 53870603;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido"));
 }
};
 };
RDebugUtils.currentLine=53870606;
 //BA.debugLineNum = 53870606;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53870607;
 //BA.debugLineNum = 53870607;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
RDebugUtils.currentLine=53870610;
 //BA.debugLineNum = 53870610;BA.debugLine="d.Close";
_d.Close();
RDebugUtils.currentLine=53870613;
 //BA.debugLineNum = 53870613;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_RE";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL",new String[]{"","null"})));
RDebugUtils.currentLine=53870614;
 //BA.debugLineNum = 53870614;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUNT";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"'"))));
RDebugUtils.currentLine=53870615;
 //BA.debugLineNum = 53870615;BA.debugLine="If c.RowCount>0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=53870616;
 //BA.debugLineNum = 53870616;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step19 = 1;
final int limit19 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit19 ;_i = _i + step19 ) {
RDebugUtils.currentLine=53870617;
 //BA.debugLineNum = 53870617;BA.debugLine="c.Position=i";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=53870618;
 //BA.debugLineNum = 53870618;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")).equals("")) { 
RDebugUtils.currentLine=53870619;
 //BA.debugLineNum = 53870619;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=53870620;
 //BA.debugLineNum = 53870620;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=53870621;
 //BA.debugLineNum = 53870621;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/  = "insert_pedido_GV2";
RDebugUtils.currentLine=53870622;
 //BA.debugLineNum = 53870622;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))};
RDebugUtils.currentLine=53870623;
 //BA.debugLineNum = 53870623;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido"));
 }else {
RDebugUtils.currentLine=53870625;
 //BA.debugLineNum = 53870625;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"PE";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")).equals(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))) { 
RDebugUtils.currentLine=53870626;
 //BA.debugLineNum = 53870626;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=53870627;
 //BA.debugLineNum = 53870627;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=53870628;
 //BA.debugLineNum = 53870628;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/  = "insert_pedido_GV2";
RDebugUtils.currentLine=53870629;
 //BA.debugLineNum = 53870629;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))};
RDebugUtils.currentLine=53870630;
 //BA.debugLineNum = 53870630;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido"));
 }else {
RDebugUtils.currentLine=53870633;
 //BA.debugLineNum = 53870633;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=53870634;
 //BA.debugLineNum = 53870634;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=53870635;
 //BA.debugLineNum = 53870635;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/  = "insert_pedido_GV2";
RDebugUtils.currentLine=53870636;
 //BA.debugLineNum = 53870636;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))};
RDebugUtils.currentLine=53870637;
 //BA.debugLineNum = 53870637;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido"));
RDebugUtils.currentLine=53870639;
 //BA.debugLineNum = 53870639;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=53870640;
 //BA.debugLineNum = 53870640;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=53870641;
 //BA.debugLineNum = 53870641;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/  = "insert_pedido_GV2";
RDebugUtils.currentLine=53870642;
 //BA.debugLineNum = 53870642;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (1),(int) (2),(int) (2),__c.False)),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))};
RDebugUtils.currentLine=53870643;
 //BA.debugLineNum = 53870643;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido"));
 };
 };
 }
};
 };
RDebugUtils.currentLine=53870648;
 //BA.debugLineNum = 53870648;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53870649;
 //BA.debugLineNum = 53870649;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
RDebugUtils.currentLine=53870651;
 //BA.debugLineNum = 53870651;BA.debugLine="d.Close";
_d.Close();
RDebugUtils.currentLine=53870652;
 //BA.debugLineNum = 53870652;BA.debugLine="End Sub";
return "";
}
public void  _impresion5(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "impresion5", false))
	 {Debug.delegate(ba, "impresion5", null); return;}
ResumableSub_Impresion5 rsub = new ResumableSub_Impresion5(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_Impresion5 extends BA.ResumableSub {
public ResumableSub_Impresion5(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _elinefeed = "";
int _cont = 0;
int _i = 0;
int _e = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null;
String _subtot = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null;
int step55;
int limit55;
int step66;
int limit66;
int step79;
int limit79;
int step98;
int limit98;
int step110;
int limit110;
int step125;
int limit125;
int step134;
int limit134;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=53936129;
 //BA.debugLineNum = 53936129;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=53936130;
 //BA.debugLineNum = 53936130;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53936131;
 //BA.debugLineNum = 53936131;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
RDebugUtils.currentLine=53936133;
 //BA.debugLineNum = 53936133;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=53936134;
 //BA.debugLineNum = 53936134;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=53936135;
 //BA.debugLineNum = 53936135;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=53936136;
 //BA.debugLineNum = 53936136;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53936141;
 //BA.debugLineNum = 53936141;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
RDebugUtils.currentLine=53936142;
 //BA.debugLineNum = 53936142;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
RDebugUtils.currentLine=53936143;
 //BA.debugLineNum = 53936143;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=53936144;
 //BA.debugLineNum = 53936144;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;

case 1:
//if
this.state = 38;
if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { 
this.state = 3;
}else {
this.state = 21;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=53936146;
 //BA.debugLineNum = 53936146;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=53936147;
 //BA.debugLineNum = 53936147;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=53936148;
 //BA.debugLineNum = 53936148;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;

case 4:
//do while
this.state = 19;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) {
this.state = 6;
if (true) break;
}
if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=53936149;
 //BA.debugLineNum = 53936149;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (1000));
this.state = 107;
return;
case 107:
//C
this.state = 7;
;
RDebugUtils.currentLine=53936150;
 //BA.debugLineNum = 53936150;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=53936151;
 //BA.debugLineNum = 53936151;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;

case 7:
//if
this.state = 12;
if (_cont==7) { 
this.state = 9;
;}if (true) break;

case 9:
//C
this.state = 12;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 12:
//C
this.state = 13;
;
RDebugUtils.currentLine=53936152;
 //BA.debugLineNum = 53936152;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;

case 13:
//if
this.state = 18;
if (_cont>15) { 
this.state = 15;
;}if (true) break;

case 15:
//C
this.state = 18;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 18:
//C
this.state = 4;
;
 if (true) break;

case 19:
//C
this.state = 38;
;
RDebugUtils.currentLine=53936154;
 //BA.debugLineNum = 53936154;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (500));
this.state = 108;
return;
case 108:
//C
this.state = 38;
;
RDebugUtils.currentLine=53936155;
 //BA.debugLineNum = 53936155;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 21:
//C
this.state = 22;
RDebugUtils.currentLine=53936158;
 //BA.debugLineNum = 53936158;BA.debugLine="Printer1.Connect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
RDebugUtils.currentLine=53936159;
 //BA.debugLineNum = 53936159;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
RDebugUtils.currentLine=53936160;
 //BA.debugLineNum = 53936160;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;

case 22:
//do while
this.state = 37;
while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) {
this.state = 24;
if (true) break;
}
if (true) break;

case 24:
//C
this.state = 25;
RDebugUtils.currentLine=53936161;
 //BA.debugLineNum = 53936161;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (1000));
this.state = 109;
return;
case 109:
//C
this.state = 25;
;
RDebugUtils.currentLine=53936162;
 //BA.debugLineNum = 53936162;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
RDebugUtils.currentLine=53936163;
 //BA.debugLineNum = 53936163;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;

case 25:
//if
this.state = 30;
if (_cont==2) { 
this.state = 27;
;}if (true) break;

case 27:
//C
this.state = 30;
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null);
if (true) break;

case 30:
//C
this.state = 31;
;
RDebugUtils.currentLine=53936164;
 //BA.debugLineNum = 53936164;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;

case 31:
//if
this.state = 36;
if (_cont>4) { 
this.state = 33;
;}if (true) break;

case 33:
//C
this.state = 36;
__ref._impresoraconectada /*boolean*/  = parent.__c.True;
if (true) break;

case 36:
//C
this.state = 22;
;
 if (true) break;

case 37:
//C
this.state = 38;
;
RDebugUtils.currentLine=53936166;
 //BA.debugLineNum = 53936166;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (500));
this.state = 110;
return;
case 110:
//C
this.state = 38;
;
RDebugUtils.currentLine=53936167;
 //BA.debugLineNum = 53936167;BA.debugLine="impresoraConectada = False";
__ref._impresoraconectada /*boolean*/  = parent.__c.False;
 if (true) break;

case 38:
//C
this.state = 39;
;
RDebugUtils.currentLine=53936170;
 //BA.debugLineNum = 53936170;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53936171;
 //BA.debugLineNum = 53936171;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53936172;
 //BA.debugLineNum = 53936172;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
RDebugUtils.currentLine=53936188;
 //BA.debugLineNum = 53936188;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Centro de atencion a Clientes Bat"+_elinefeed);
RDebugUtils.currentLine=53936189;
 //BA.debugLineNum = 53936189;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Telefono: 800 400 5000"+_elinefeed);
RDebugUtils.currentLine=53936190;
 //BA.debugLineNum = 53936190;BA.debugLine="Printer1.WriteString(eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,_elinefeed);
RDebugUtils.currentLine=53936191;
 //BA.debugLineNum = 53936191;BA.debugLine="Printer1.WriteString(eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,_elinefeed);
RDebugUtils.currentLine=53936192;
 //BA.debugLineNum = 53936192;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"DISTRIBUIDORA ROCHA TULA PACHUCA"+_elinefeed);
RDebugUtils.currentLine=53936193;
 //BA.debugLineNum = 53936193;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed);
RDebugUtils.currentLine=53936195;
 //BA.debugLineNum = 53936195;BA.debugLine="Printer1.WriteString(sDate &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed);
RDebugUtils.currentLine=53936196;
 //BA.debugLineNum = 53936196;BA.debugLine="Printer1.WriteString(sTime &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed);
RDebugUtils.currentLine=53936197;
 //BA.debugLineNum = 53936197;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario &  eLI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed);
RDebugUtils.currentLine=53936198;
 //BA.debugLineNum = 53936198;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53936199;
 //BA.debugLineNum = 53936199;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53936200;
 //BA.debugLineNum = 53936200;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53936201;
 //BA.debugLineNum = 53936201;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53936203;
 //BA.debugLineNum = 53936203;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53936204;
 //BA.debugLineNum = 53936204;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53936206;
 //BA.debugLineNum = 53936206;BA.debugLine="Printer1.WriteString(\"--------------PEDIDO PREACO";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------------PEDIDO PREACORDADO----------------"+_elinefeed);
RDebugUtils.currentLine=53936208;
 //BA.debugLineNum = 53936208;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS  PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by  PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)})));
RDebugUtils.currentLine=53936209;
 //BA.debugLineNum = 53936209;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 39:
//if
this.state = 76;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 41;
}if (true) break;

case 41:
//C
this.state = 42;
RDebugUtils.currentLine=53936210;
 //BA.debugLineNum = 53936210;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 42:
//for
this.state = 75;
step55 = 1;
limit55 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 111;
if (true) break;

case 111:
//C
this.state = 75;
if ((step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55)) this.state = 44;
if (true) break;

case 112:
//C
this.state = 111;
_i = ((int)(0 + _i + step55)) ;
if (true) break;

case 44:
//C
this.state = 45;
RDebugUtils.currentLine=53936211;
 //BA.debugLineNum = 53936211;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=53936212;
 //BA.debugLineNum = 53936212;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;

case 45:
//if
this.state = 74;
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
this.state = 47;
}else {
this.state = 49;
}if (true) break;

case 47:
//C
this.state = 74;
RDebugUtils.currentLine=53936213;
 //BA.debugLineNum = 53936213;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
 if (true) break;

case 49:
//C
this.state = 50;
RDebugUtils.currentLine=53936215;
 //BA.debugLineNum = 53936215;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
if (true) break;

case 50:
//if
this.state = 73;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECALCULO")==0) { 
this.state = 52;
}else 
{RDebugUtils.currentLine=53936230;
 //BA.debugLineNum = 53936230;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")==__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { 
this.state = 58;
}else 
{RDebugUtils.currentLine=53936251;
 //BA.debugLineNum = 53936251;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE";
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")!=__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { 
this.state = 64;
}}}
if (true) break;

case 52:
//C
this.state = 53;
RDebugUtils.currentLine=53936216;
 //BA.debugLineNum = 53936216;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53936217;
 //BA.debugLineNum = 53936217;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936218;
 //BA.debugLineNum = 53936218;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936219;
 //BA.debugLineNum = 53936219;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936221;
 //BA.debugLineNum = 53936221;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936223;
 //BA.debugLineNum = 53936223;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 53:
//for
this.state = 56;
step66 = 1;
limit66 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 113;
if (true) break;

case 113:
//C
this.state = 56;
if ((step66 > 0 && _e <= limit66) || (step66 < 0 && _e >= limit66)) this.state = 55;
if (true) break;

case 114:
//C
this.state = 113;
_e = ((int)(0 + _e + step66)) ;
if (true) break;

case 55:
//C
this.state = 114;
RDebugUtils.currentLine=53936224;
 //BA.debugLineNum = 53936224;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 56:
//C
this.state = 73;
;
RDebugUtils.currentLine=53936226;
 //BA.debugLineNum = 53936226;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53936227;
 //BA.debugLineNum = 53936227;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53936228;
 //BA.debugLineNum = 53936228;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53936229;
 //BA.debugLineNum = 53936229;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 58:
//C
this.state = 59;
RDebugUtils.currentLine=53936231;
 //BA.debugLineNum = 53936231;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53936232;
 //BA.debugLineNum = 53936232;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936233;
 //BA.debugLineNum = 53936233;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936234;
 //BA.debugLineNum = 53936234;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936236;
 //BA.debugLineNum = 53936236;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936238;
 //BA.debugLineNum = 53936238;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 59:
//for
this.state = 62;
step79 = 1;
limit79 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 115;
if (true) break;

case 115:
//C
this.state = 62;
if ((step79 > 0 && _e <= limit79) || (step79 < 0 && _e >= limit79)) this.state = 61;
if (true) break;

case 116:
//C
this.state = 115;
_e = ((int)(0 + _e + step79)) ;
if (true) break;

case 61:
//C
this.state = 116;
RDebugUtils.currentLine=53936239;
 //BA.debugLineNum = 53936239;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 62:
//C
this.state = 73;
;
RDebugUtils.currentLine=53936242;
 //BA.debugLineNum = 53936242;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
RDebugUtils.currentLine=53936243;
 //BA.debugLineNum = 53936243;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
RDebugUtils.currentLine=53936245;
 //BA.debugLineNum = 53936245;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53936247;
 //BA.debugLineNum = 53936247;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53936248;
 //BA.debugLineNum = 53936248;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53936249;
 //BA.debugLineNum = 53936249;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53936250;
 //BA.debugLineNum = 53936250;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 64:
//C
this.state = 65;
RDebugUtils.currentLine=53936252;
 //BA.debugLineNum = 53936252;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
parent.__c.LogImpl("053936252",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")),0);
RDebugUtils.currentLine=53936253;
 //BA.debugLineNum = 53936253;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
parent.__c.LogImpl("053936253",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),0);
RDebugUtils.currentLine=53936254;
 //BA.debugLineNum = 53936254;BA.debugLine="Log(\"aqui\")";
parent.__c.LogImpl("053936254","aqui",0);
RDebugUtils.currentLine=53936255;
 //BA.debugLineNum = 53936255;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53936256;
 //BA.debugLineNum = 53936256;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936257;
 //BA.debugLineNum = 53936257;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936258;
 //BA.debugLineNum = 53936258;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936260;
 //BA.debugLineNum = 53936260;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936262;
 //BA.debugLineNum = 53936262;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 65:
//for
this.state = 68;
step98 = 1;
limit98 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 117;
if (true) break;

case 117:
//C
this.state = 68;
if ((step98 > 0 && _e <= limit98) || (step98 < 0 && _e >= limit98)) this.state = 67;
if (true) break;

case 118:
//C
this.state = 117;
_e = ((int)(0 + _e + step98)) ;
if (true) break;

case 67:
//C
this.state = 118;
RDebugUtils.currentLine=53936263;
 //BA.debugLineNum = 53936263;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 68:
//C
this.state = 69;
;
RDebugUtils.currentLine=53936267;
 //BA.debugLineNum = 53936267;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
RDebugUtils.currentLine=53936268;
 //BA.debugLineNum = 53936268;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
RDebugUtils.currentLine=53936270;
 //BA.debugLineNum = 53936270;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+"   $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53936271;
 //BA.debugLineNum = 53936271;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53936273;
 //BA.debugLineNum = 53936273;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
_subtot = BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))));
RDebugUtils.currentLine=53936274;
 //BA.debugLineNum = 53936274;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936275;
 //BA.debugLineNum = 53936275;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936276;
 //BA.debugLineNum = 53936276;BA.debugLine="TAMANO = subTot + TAMANO";
__ref._tamano /*int*/  = (int) ((double)(Double.parseDouble(_subtot))+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936278;
 //BA.debugLineNum = 53936278;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936280;
 //BA.debugLineNum = 53936280;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 69:
//for
this.state = 72;
step110 = 1;
limit110 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 119;
if (true) break;

case 119:
//C
this.state = 72;
if ((step110 > 0 && _e <= limit110) || (step110 < 0 && _e >= limit110)) this.state = 71;
if (true) break;

case 120:
//C
this.state = 119;
_e = ((int)(0 + _e + step110)) ;
if (true) break;

case 71:
//C
this.state = 120;
RDebugUtils.currentLine=53936281;
 //BA.debugLineNum = 53936281;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 72:
//C
this.state = 73;
;
RDebugUtils.currentLine=53936284;
 //BA.debugLineNum = 53936284;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53936285;
 //BA.debugLineNum = 53936285;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
RDebugUtils.currentLine=53936288;
 //BA.debugLineNum = 53936288;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53936289;
 //BA.debugLineNum = 53936289;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53936290;
 //BA.debugLineNum = 53936290;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 73:
//C
this.state = 74;
;
 if (true) break;

case 74:
//C
this.state = 112;
;
 if (true) break;
if (true) break;

case 75:
//C
this.state = 76;
;
 if (true) break;

case 76:
//C
this.state = 77;
;
RDebugUtils.currentLine=53936295;
 //BA.debugLineNum = 53936295;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53936297;
 //BA.debugLineNum = 53936297;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS  PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS  FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3  AND PE_CLIENTE IN (Select CUENTA from cuentaa)  and PE_FUTURO = '1' order by  PE_CEDIS, PE_COSTOU")));
RDebugUtils.currentLine=53936298;
 //BA.debugLineNum = 53936298;BA.debugLine="If S.RowCount>0 Then";
if (true) break;

case 77:
//if
this.state = 102;
if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 79;
}if (true) break;

case 79:
//C
this.state = 80;
RDebugUtils.currentLine=53936300;
 //BA.debugLineNum = 53936300;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;

case 80:
//for
this.state = 101;
step125 = 1;
limit125 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 121;
if (true) break;

case 121:
//C
this.state = 101;
if ((step125 > 0 && _i <= limit125) || (step125 < 0 && _i >= limit125)) this.state = 82;
if (true) break;

case 122:
//C
this.state = 121;
_i = ((int)(0 + _i + step125)) ;
if (true) break;

case 82:
//C
this.state = 83;
RDebugUtils.currentLine=53936301;
 //BA.debugLineNum = 53936301;BA.debugLine="S.Position=i";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=53936302;
 //BA.debugLineNum = 53936302;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;

case 83:
//if
this.state = 100;
if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { 
this.state = 85;
}else {
this.state = 87;
}if (true) break;

case 85:
//C
this.state = 100;
 if (true) break;

case 87:
//C
this.state = 88;
RDebugUtils.currentLine=53936307;
 //BA.debugLineNum = 53936307;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed);
RDebugUtils.currentLine=53936308;
 //BA.debugLineNum = 53936308;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936309;
 //BA.debugLineNum = 53936309;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936310;
 //BA.debugLineNum = 53936310;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
__ref._tamano /*int*/  = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936312;
 //BA.debugLineNum = 53936312;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
__ref._espacio /*int*/  = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ );
RDebugUtils.currentLine=53936314;
 //BA.debugLineNum = 53936314;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;

case 88:
//for
this.state = 91;
step134 = 1;
limit134 = (int) (__ref._espacio /*int*/ -1);
_e = (int) (0) ;
this.state = 123;
if (true) break;

case 123:
//C
this.state = 91;
if ((step134 > 0 && _e <= limit134) || (step134 < 0 && _e >= limit134)) this.state = 90;
if (true) break;

case 124:
//C
this.state = 123;
_e = ((int)(0 + _e + step134)) ;
if (true) break;

case 90:
//C
this.state = 124;
RDebugUtils.currentLine=53936315;
 //BA.debugLineNum = 53936315;BA.debugLine="BLANCO = \" \" & BLANCO";
__ref._blanco /*String*/  = " "+__ref._blanco /*String*/ ;
 if (true) break;
if (true) break;

case 91:
//C
this.state = 92;
;
RDebugUtils.currentLine=53936317;
 //BA.debugLineNum = 53936317;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+"   $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed);
RDebugUtils.currentLine=53936319;
 //BA.debugLineNum = 53936319;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQu";
_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"' "))));
RDebugUtils.currentLine=53936320;
 //BA.debugLineNum = 53936320;BA.debugLine="If precioprom.RowCount > 0 Then";
if (true) break;

case 92:
//if
this.state = 99;
if (_precioprom.getRowCount()>0) { 
this.state = 94;
}if (true) break;

case 94:
//C
this.state = 95;
RDebugUtils.currentLine=53936321;
 //BA.debugLineNum = 53936321;BA.debugLine="precioprom.Position = 0";
_precioprom.setPosition((int) (0));
RDebugUtils.currentLine=53936322;
 //BA.debugLineNum = 53936322;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))";
parent.__c.LogImpl("053936322",_precioprom.GetString("CAT_GP_PRECIO"),0);
RDebugUtils.currentLine=53936323;
 //BA.debugLineNum = 53936323;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))";
parent.__c.LogImpl("053936323",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0);
RDebugUtils.currentLine=53936324;
 //BA.debugLineNum = 53936324;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP";
if (true) break;

case 95:
//if
this.state = 98;
if ((parent.__c.NumberFormat2((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)) == false) { 
this.state = 97;
}if (true) break;

case 97:
//C
this.state = 98;
RDebugUtils.currentLine=53936326;
 //BA.debugLineNum = 53936326;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & preci";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+_precioprom.GetString("CAT_GP_PRECIO")+" Desc.: "+parent.__c.NumberFormat2(((((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))))*100)/(double)(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))),(int) (0.),(int) (2),(int) (2),parent.__c.False)+"%"+_elinefeed+_elinefeed);
 if (true) break;

case 98:
//C
this.state = 99;
;
 if (true) break;

case 99:
//C
this.state = 100;
;
RDebugUtils.currentLine=53936330;
 //BA.debugLineNum = 53936330;BA.debugLine="TAMANO = 0";
__ref._tamano /*int*/  = (int) (0);
RDebugUtils.currentLine=53936331;
 //BA.debugLineNum = 53936331;BA.debugLine="ESPACIO = 21";
__ref._espacio /*int*/  = (int) (21);
RDebugUtils.currentLine=53936332;
 //BA.debugLineNum = 53936332;BA.debugLine="BLANCO = \" \"";
__ref._blanco /*String*/  = " ";
 if (true) break;

case 100:
//C
this.state = 122;
;
 if (true) break;
if (true) break;

case 101:
//C
this.state = 102;
;
RDebugUtils.currentLine=53936335;
 //BA.debugLineNum = 53936335;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
 if (true) break;

case 102:
//C
this.state = 103;
;
RDebugUtils.currentLine=53936337;
 //BA.debugLineNum = 53936337;BA.debugLine="s.Close";
__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53936368;
 //BA.debugLineNum = 53936368;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa:   $\" & N";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal Preventa:   $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
RDebugUtils.currentLine=53936369;
 //BA.debugLineNum = 53936369;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango4";
if (true) break;

case 103:
//if
this.state = 106;
if ((parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)) == false) { 
this.state = 105;
}if (true) break;

case 105:
//C
this.state = 106;
RDebugUtils.currentLine=53936370;
 //BA.debugLineNum = 53936370;BA.debugLine="Printer1.WriteString(\"Descuento:   $\" & NumberFo";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Descuento:   $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
 if (true) break;

case 106:
//C
this.state = -1;
;
RDebugUtils.currentLine=53936373;
 //BA.debugLineNum = 53936373;BA.debugLine="Printer1.WriteString(\"Total Preventa:   $\" & Numb";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa:   $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
RDebugUtils.currentLine=53936375;
 //BA.debugLineNum = 53936375;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=53936376;
 //BA.debugLineNum = 53936376;BA.debugLine="Printer1.WriteString(\"---------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------------------------"+_elinefeed);
RDebugUtils.currentLine=53936377;
 //BA.debugLineNum = 53936377;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed);
RDebugUtils.currentLine=53936378;
 //BA.debugLineNum = 53936378;BA.debugLine="Printer1.WriteString(la_Calle.Text &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed);
RDebugUtils.currentLine=53936379;
 //BA.debugLineNum = 53936379;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET N";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------------ESTE TICKET NO ES UN--------------"+_elinefeed);
RDebugUtils.currentLine=53936380;
 //BA.debugLineNum = 53936380;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISCA";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----------COMPROBANTE FISCAL, SOLO ES-----------"+_elinefeed);
RDebugUtils.currentLine=53936381;
 //BA.debugLineNum = 53936381;BA.debugLine="Printer1.WriteString(\"------------------INFORMATI";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------INFORMATIVO-------------------"+_elinefeed);
RDebugUtils.currentLine=53936382;
 //BA.debugLineNum = 53936382;BA.debugLine="Printer1.WriteString(\"---------------------------";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------------------------"+_elinefeed);
RDebugUtils.currentLine=53936383;
 //BA.debugLineNum = 53936383;BA.debugLine="Printer1.WriteString(\" \" &  eLINEFEED)";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed);
RDebugUtils.currentLine=53936385;
 //BA.debugLineNum = 53936385;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (1000));
this.state = 125;
return;
case 125:
//C
this.state = -1;
;
RDebugUtils.currentLine=53936386;
 //BA.debugLineNum = 53936386;BA.debugLine="Printer1.DisConnect";
__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null);
RDebugUtils.currentLine=53936388;
 //BA.debugLineNum = 53936388;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
RDebugUtils.currentLine=53936391;
 //BA.debugLineNum = 53936391;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _inicializarlocalizacionmejorada(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "inicializarlocalizacionmejorada", false))
	 {return ((String) Debug.delegate(ba, "inicializarlocalizacionmejorada", null));}
anywheresoftware.b4j.object.JavaObject _locationmanager = null;
RDebugUtils.currentLine=50855936;
 //BA.debugLineNum = 50855936;BA.debugLine="Sub InicializarLocalizacionMejorada";
RDebugUtils.currentLine=50855938;
 //BA.debugLineNum = 50855938;BA.debugLine="Dim LocationManager As JavaObject";
_locationmanager = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=50855939;
 //BA.debugLineNum = 50855939;BA.debugLine="LocationManager.InitializeStatic(\"android.locatio";
_locationmanager.InitializeStatic("android.location.LocationManager");
RDebugUtils.currentLine=50855941;
 //BA.debugLineNum = 50855941;BA.debugLine="g.Start(0, 0) ' GPS";
__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Start(ba,(long) (0),(float) (0));
RDebugUtils.currentLine=50855943;
 //BA.debugLineNum = 50855943;BA.debugLine="End Sub";
return "";
}
public String  _jobdone(gunav2.keymon.com.mx.c_cliente __ref,gunav2.keymon.com.mx.httpjob _job) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "jobdone", false))
	 {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));}
gunav2.keymon.com.mx.dbrequestmanager._dbresult _result1 = null;
Object[] _records = null;
String _k = "";
String _permiso_geopass = "";
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
byte[] _cat_cl_foto = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar1 = null;
byte[] _fotomostrarfinal = null;
anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _inputstream1 = null;
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bitmap1 = null;
RDebugUtils.currentLine=51249152;
 //BA.debugLineNum = 51249152;BA.debugLine="Sub JobDone(Job As HttpJob)";
RDebugUtils.currentLine=51249153;
 //BA.debugLineNum = 51249153;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) { 
RDebugUtils.currentLine=51249155;
 //BA.debugLineNum = 51249155;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars";
__c.LogImpl("051249155","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);
 }else {
RDebugUtils.currentLine=51249158;
 //BA.debugLineNum = 51249158;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
__c.LogImpl("051249158","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
RDebugUtils.currentLine=51249159;
 //BA.debugLineNum = 51249159;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=51249160;
 //BA.debugLineNum = 51249160;BA.debugLine="Dim result1 As DBResult = reqManager.HandleJob(";
_result1 = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=51249161;
 //BA.debugLineNum = 51249161;BA.debugLine="If result1.Tag = \"traeGeoPass\" Then 'query tag";
if ((_result1.Tag /*Object*/ ).equals((Object)("traeGeoPass"))) { 
RDebugUtils.currentLine=51249162;
 //BA.debugLineNum = 51249162;BA.debugLine="Log(\"SIN REGISTROS \" & result1.Rows.Size)";
__c.LogImpl("051249162","SIN REGISTROS "+BA.NumberToString(_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
RDebugUtils.currentLine=51249163;
 //BA.debugLineNum = 51249163;BA.debugLine="If result1.Rows.Size = 0 Then MsgboxAsync(\"Con";
if (_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { 
__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo."),BA.ObjectToCharSequence("ATENCION"),ba);};
RDebugUtils.currentLine=51249164;
 //BA.debugLineNum = 51249164;BA.debugLine="For Each records() As Object In result1.Rows";
{
final anywheresoftware.b4a.BA.IterableList group10 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen10 = group10.getSize()
;int index10 = 0;
;
for (; index10 < groupLen10;index10++){
_records = (Object[])(group10.Get(index10));
RDebugUtils.currentLine=51249165;
 //BA.debugLineNum = 51249165;BA.debugLine="For Each k As String In result1.Columns.Keys";
{
final anywheresoftware.b4a.BA.IterableList group11 = _result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
final int groupLen11 = group11.getSize()
;int index11 = 0;
;
for (; index11 < groupLen11;index11++){
_k = BA.ObjectToString(group11.Get(index11));
RDebugUtils.currentLine=51249166;
 //BA.debugLineNum = 51249166;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(k";
__c.LogImpl("051249166",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
 }
};
RDebugUtils.currentLine=51249168;
 //BA.debugLineNum = 51249168;BA.debugLine="Private permiso_geoPass As String = \"KO\"";
_permiso_geopass = "KO";
RDebugUtils.currentLine=51249169;
 //BA.debugLineNum = 51249169;BA.debugLine="Log($\"|${result1.Columns.Get(\"'OK'\")}|\"$)";
__c.LogImpl("051249169",("|"+__c.SmartStringFormatter("",_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'")))+"|"),0);
RDebugUtils.currentLine=51249172;
 //BA.debugLineNum = 51249172;BA.debugLine="permiso_geoPass = result1.Columns.Get(\"'OK'\"";
_permiso_geopass = BA.ObjectToString(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'")));
RDebugUtils.currentLine=51249174;
 //BA.debugLineNum = 51249174;BA.debugLine="If permiso_geoPass = \"OK\" Then";
if ((_permiso_geopass).equals("OK")) { 
RDebugUtils.currentLine=51249175;
 //BA.debugLineNum = 51249175;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps";
__ref._m_lat /*String*/  = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ;
RDebugUtils.currentLine=51249176;
 //BA.debugLineNum = 51249176;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps";
__ref._m_lon /*String*/  = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ;
RDebugUtils.currentLine=51249177;
 //BA.debugLineNum = 51249177;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)";
__ref._gps_locationchanged /*String*/ (null,_starter._ubicacionactual /*anywheresoftware.b4a.gps.LocationWrapper*/ );
RDebugUtils.currentLine=51249178;
 //BA.debugLineNum = 51249178;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT";
__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info3 set CAT_CL_LAT = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ))+"', CAT_CL_LONG = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))+"' where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"'"));
RDebugUtils.currentLine=51249179;
 //BA.debugLineNum = 51249179;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=51249180;
 //BA.debugLineNum = 51249180;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=51249181;
 //BA.debugLineNum = 51249181;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\"";
_cmd.Name /*String*/  = "delete_geoPass_GUNA";
RDebugUtils.currentLine=51249182;
 //BA.debugLineNum = 51249182;BA.debugLine="cmd.Parameters = Array As Object( Subs.traeA";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))};
RDebugUtils.currentLine=51249183;
 //BA.debugLineNum = 51249183;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPas";
__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("traeGeoPass"));
 }else {
RDebugUtils.currentLine=51249185;
 //BA.debugLineNum = 51249185;BA.debugLine="MsgboxAsync(\"Contraseña equivocada, por favo";
__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo."),BA.ObjectToCharSequence("ATENCION"),ba);
 };
 }
};
 };
RDebugUtils.currentLine=51249190;
 //BA.debugLineNum = 51249190;BA.debugLine="If result1.Tag = \"codigoAutorizacion\" Then";
if ((_result1.Tag /*Object*/ ).equals((Object)("codigoAutorizacion"))) { 
RDebugUtils.currentLine=51249191;
 //BA.debugLineNum = 51249191;BA.debugLine="If result1.Rows.Size > 0 Then";
if (_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { 
RDebugUtils.currentLine=51249192;
 //BA.debugLineNum = 51249192;BA.debugLine="Log(\"Si  hay codigo de autorizaion\")";
__c.LogImpl("051249192","Si  hay codigo de autorizaion",0);
RDebugUtils.currentLine=51249193;
 //BA.debugLineNum = 51249193;BA.debugLine="For Each records() As Object In result1.Rows";
{
final anywheresoftware.b4a.BA.IterableList group35 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen35 = group35.getSize()
;int index35 = 0;
;
for (; index35 < groupLen35;index35++){
_records = (Object[])(group35.Get(index35));
RDebugUtils.currentLine=51249194;
 //BA.debugLineNum = 51249194;BA.debugLine="For Each k As String In result1.Columns.Keys";
{
final anywheresoftware.b4a.BA.IterableList group36 = _result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
final int groupLen36 = group36.getSize()
;int index36 = 0;
;
for (; index36 < groupLen36;index36++){
_k = BA.ObjectToString(group36.Get(index36));
RDebugUtils.currentLine=51249195;
 //BA.debugLineNum = 51249195;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(";
__c.LogImpl("051249195",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
 }
};
 }
};
RDebugUtils.currentLine=51249198;
 //BA.debugLineNum = 51249198;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=51249199;
 //BA.debugLineNum = 51249199;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=51249200;
 //BA.debugLineNum = 51249200;BA.debugLine="cmd.Name = \"delete_codigoAutorizacion\"";
_cmd.Name /*String*/  = "delete_codigoAutorizacion";
RDebugUtils.currentLine=51249201;
 //BA.debugLineNum = 51249201;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAut";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))};
RDebugUtils.currentLine=51249202;
 //BA.debugLineNum = 51249202;BA.debugLine="reqManager.ExecuteCommand(cmd , \"deleteCodigo";
__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("deleteCodigoAutorizacion"));
RDebugUtils.currentLine=51249203;
 //BA.debugLineNum = 51249203;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\"";
__c.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss");
RDebugUtils.currentLine=51249204;
 //BA.debugLineNum = 51249204;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=51249205;
 //BA.debugLineNum = 51249205;BA.debugLine="cmd.Name = \"update_codigoAutorizacion\"";
_cmd.Name /*String*/  = "update_codigoAutorizacion";
RDebugUtils.currentLine=51249207;
 //BA.debugLineNum = 51249207;BA.debugLine="cmd.Parameters = Array As Object(DateTime.Dat";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__c.DateTime.Date(__c.DateTime.getNow())),(Object)(_subs._traeusuariodebd /*String*/ (ba)),(Object)(__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))};
RDebugUtils.currentLine=51249208;
 //BA.debugLineNum = 51249208;BA.debugLine="reqManager.ExecuteCommand(cmd , \"updateCodigo";
__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("updateCodigoAutorizacion"));
RDebugUtils.currentLine=51249209;
 //BA.debugLineNum = 51249209;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)");
RDebugUtils.currentLine=51249210;
 //BA.debugLineNum = 51249210;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=51249211;
 //BA.debugLineNum = 51249211;BA.debugLine="et_codigoAutorizacion.Text = \"\"";
__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=51249212;
 //BA.debugLineNum = 51249212;BA.debugLine="teclado.HideKeyboard";
__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba);
RDebugUtils.currentLine=51249213;
 //BA.debugLineNum = 51249213;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0  WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)");
RDebugUtils.currentLine=51249214;
 //BA.debugLineNum = 51249214;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0  WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)");
RDebugUtils.currentLine=51249215;
 //BA.debugLineNum = 51249215;BA.debugLine="ToastMessageShow(\"Listo, ya se puede modifica";
__c.ToastMessageShow(BA.ObjectToCharSequence("Listo, ya se puede modificar la venta."),__c.True);
 }else {
RDebugUtils.currentLine=51249217;
 //BA.debugLineNum = 51249217;BA.debugLine="ToastMessageShow(\"El codigo es incorrecto, po";
__c.ToastMessageShow(BA.ObjectToCharSequence("El codigo es incorrecto, por favor revise y vuelva a intentar!!"),__c.True);
 };
 };
RDebugUtils.currentLine=51249220;
 //BA.debugLineNum = 51249220;BA.debugLine="If result1.Tag = \"delete_codigoAutorizacion\" Th";
if ((_result1.Tag /*Object*/ ).equals((Object)("delete_codigoAutorizacion"))) { 
RDebugUtils.currentLine=51249221;
 //BA.debugLineNum = 51249221;BA.debugLine="Log(\"Codigo Borrado!!\")";
__c.LogImpl("051249221","Codigo Borrado!!",0);
 };
RDebugUtils.currentLine=51249223;
 //BA.debugLineNum = 51249223;BA.debugLine="If result1.Tag = \"updateCodigoAutorizacion\" The";
if ((_result1.Tag /*Object*/ ).equals((Object)("updateCodigoAutorizacion"))) { 
RDebugUtils.currentLine=51249224;
 //BA.debugLineNum = 51249224;BA.debugLine="Log(\"Codigo Actualizado\")";
__c.LogImpl("051249224","Codigo Actualizado",0);
 };
RDebugUtils.currentLine=51249226;
 //BA.debugLineNum = 51249226;BA.debugLine="If result1.Tag = \"insertEnvioTicketPDF\" Then";
if ((_result1.Tag /*Object*/ ).equals((Object)("insertEnvioTicketPDF"))) { 
RDebugUtils.currentLine=51249227;
 //BA.debugLineNum = 51249227;BA.debugLine="Log(\"Información de ticket enviada a web!!\")";
__c.LogImpl("051249227","Información de ticket enviada a web!!",0);
 };
 };
RDebugUtils.currentLine=51249249;
 //BA.debugLineNum = 51249249;BA.debugLine="If result1.Tag = \"kmt_datos_foto\" Then 'query ta";
if ((_result1.Tag /*Object*/ ).equals((Object)("kmt_datos_foto"))) { 
RDebugUtils.currentLine=51249250;
 //BA.debugLineNum = 51249250;BA.debugLine="For Each records() As Object In result1.Rows";
{
final anywheresoftware.b4a.BA.IterableList group72 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen72 = group72.getSize()
;int index72 = 0;
;
for (; index72 < groupLen72;index72++){
_records = (Object[])(group72.Get(index72));
RDebugUtils.currentLine=51249251;
 //BA.debugLineNum = 51249251;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(result1.Co";
_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]);
 }
};
RDebugUtils.currentLine=51249253;
 //BA.debugLineNum = 51249253;BA.debugLine="Log(\"si paso\")";
__c.LogImpl("051249253","si paso",0);
RDebugUtils.currentLine=51249254;
 //BA.debugLineNum = 51249254;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_foto)}));
RDebugUtils.currentLine=51249256;
 //BA.debugLineNum = 51249256;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQu";
_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=51249257;
 //BA.debugLineNum = 51249257;BA.debugLine="If fotomostrar.RowCount > 0 Then";
if (_fotomostrar.getRowCount()>0) { 
RDebugUtils.currentLine=51249258;
 //BA.debugLineNum = 51249258;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.Exec";
_fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NULL")));
RDebugUtils.currentLine=51249259;
 //BA.debugLineNum = 51249259;BA.debugLine="If fotomostrar1.RowCount > 0 Then";
if (_fotomostrar1.getRowCount()>0) { 
RDebugUtils.currentLine=51249260;
 //BA.debugLineNum = 51249260;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets";
__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"images.png").getObject()));
RDebugUtils.currentLine=51249261;
 //BA.debugLineNum = 51249261;BA.debugLine="Log(\"aqui no hay foto\")";
__c.LogImpl("051249261","aqui no hay foto",0);
 }else {
RDebugUtils.currentLine=51249263;
 //BA.debugLineNum = 51249263;BA.debugLine="fotomostrar.Position = 0";
_fotomostrar.setPosition((int) (0));
RDebugUtils.currentLine=51249264;
 //BA.debugLineNum = 51249264;BA.debugLine="Private fotomostrarfinal() As Byte = fotomost";
_fotomostrarfinal = _fotomostrar.GetBlob("foto");
RDebugUtils.currentLine=51249265;
 //BA.debugLineNum = 51249265;BA.debugLine="Dim InputStream1 As InputStream";
_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
RDebugUtils.currentLine=51249266;
 //BA.debugLineNum = 51249266;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomos";
_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
RDebugUtils.currentLine=51249267;
 //BA.debugLineNum = 51249267;BA.debugLine="Dim Bitmap1 As Bitmap";
_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
RDebugUtils.currentLine=51249268;
 //BA.debugLineNum = 51249268;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
RDebugUtils.currentLine=51249269;
 //BA.debugLineNum = 51249269;BA.debugLine="InputStream1.Close";
_inputstream1.Close();
RDebugUtils.currentLine=51249270;
 //BA.debugLineNum = 51249270;BA.debugLine="ImageView4.Bitmap = Bitmap1";
__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
RDebugUtils.currentLine=51249271;
 //BA.debugLineNum = 51249271;BA.debugLine="Log(\"aqui si hay foto\")";
__c.LogImpl("051249271","aqui si hay foto",0);
 };
 };
 };
 };
RDebugUtils.currentLine=51249276;
 //BA.debugLineNum = 51249276;BA.debugLine="Job.Release";
_job._release /*String*/ (null);
RDebugUtils.currentLine=51249277;
 //BA.debugLineNum = 51249277;BA.debugLine="End Sub";
return "";
}
public String  _l_atiende_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "l_atiende_longclick", false))
	 {return ((String) Debug.delegate(ba, "l_atiende_longclick", null));}
RDebugUtils.currentLine=64552960;
 //BA.debugLineNum = 64552960;BA.debugLine="Private Sub l_atiende_LongClick";
RDebugUtils.currentLine=64552961;
 //BA.debugLineNum = 64552961;BA.debugLine="p_atiende.Height = Root.Height";
__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=64552962;
 //BA.debugLineNum = 64552962;BA.debugLine="p_atiende.Width = Root.Width";
__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=64552963;
 //BA.debugLineNum = 64552963;BA.debugLine="p_atiende.Visible = True";
__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=64552964;
 //BA.debugLineNum = 64552964;BA.debugLine="End Sub";
return "";
}
public String  _l_chk_e_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "l_chk_e_click", false))
	 {return ((String) Debug.delegate(ba, "l_chk_e_click", null));}
RDebugUtils.currentLine=61341696;
 //BA.debugLineNum = 61341696;BA.debugLine="Private Sub l_chk_e_Click";
RDebugUtils.currentLine=61341698;
 //BA.debugLineNum = 61341698;BA.debugLine="End Sub";
return "";
}
public String  _l_limite_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "l_limite_click", false))
	 {return ((String) Debug.delegate(ba, "l_limite_click", null));}
anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null;
anywheresoftware.b4a.objects.CSBuilder _cs = null;
String _fechainicio = "";
long _ticksinicio = 0L;
long _tickshoy = 0L;
int _diferenciadias = 0;
RDebugUtils.currentLine=64290816;
 //BA.debugLineNum = 64290816;BA.debugLine="Private Sub l_limite_Click";
RDebugUtils.currentLine=64290819;
 //BA.debugLineNum = 64290819;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
RDebugUtils.currentLine=64290820;
 //BA.debugLineNum = 64290820;BA.debugLine="If pagarepen.RowCount > 0 Then";
if (_pagarepen.getRowCount()>0) { 
RDebugUtils.currentLine=64290821;
 //BA.debugLineNum = 64290821;BA.debugLine="Dim cs As CSBuilder";
_cs = new anywheresoftware.b4a.objects.CSBuilder();
RDebugUtils.currentLine=64290822;
 //BA.debugLineNum = 64290822;BA.debugLine="cs.Initialize";
_cs.Initialize();
RDebugUtils.currentLine=64290823;
 //BA.debugLineNum = 64290823;BA.debugLine="p_deuda.Visible = True";
__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=64290824;
 //BA.debugLineNum = 64290824;BA.debugLine="p_deuda.Width = Root.Width";
__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=64290825;
 //BA.debugLineNum = 64290825;BA.debugLine="p_deuda.Height = Root.Height";
__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=64290827;
 //BA.debugLineNum = 64290827;BA.debugLine="pagarepen.Position = 0";
_pagarepen.setPosition((int) (0));
RDebugUtils.currentLine=64290828;
 //BA.debugLineNum = 64290828;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=64290829;
 //BA.debugLineNum = 64290829;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
_fechainicio = _pagarepen.GetString("FECHA");
RDebugUtils.currentLine=64290831;
 //BA.debugLineNum = 64290831;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
__c.LogImpl("064290831",_pagarepen.GetString("FECHA"),0);
RDebugUtils.currentLine=64290834;
 //BA.debugLineNum = 64290834;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
_ticksinicio = __c.DateTime.DateParse(_fechainicio);
RDebugUtils.currentLine=64290835;
 //BA.debugLineNum = 64290835;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
_tickshoy = __c.DateTime.DateParse(__c.DateTime.Date(__c.DateTime.getNow()));
RDebugUtils.currentLine=64290838;
 //BA.debugLineNum = 64290838;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)__c.DateTime.TicksPerDay);
RDebugUtils.currentLine=64290841;
 //BA.debugLineNum = 64290841;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
__c.LogImpl("064290841",("Días transcurridos: "+__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
RDebugUtils.currentLine=64290843;
 //BA.debugLineNum = 64290843;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
RDebugUtils.currentLine=64290844;
 //BA.debugLineNum = 64290844;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=64290846;
 //BA.debugLineNum = 64290846;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT";
if (_diferenciadias<=__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { 
RDebugUtils.currentLine=64290850;
 //BA.debugLineNum = 64290850;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M";
__ref._l_deuda /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.RGB((int) (48),(int) (109),(int) (0))).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE"))).PopAll().getObject()));
 }else 
{RDebugUtils.currentLine=64290851;
 //BA.debugLineNum = 64290851;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASCR";
if (_diferenciadias>__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { 
RDebugUtils.currentLine=64290853;
 //BA.debugLineNum = 64290853;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M";
__ref._l_deuda /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Color(__c.Colors.Red).Size((int) (18)).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE")+__c.CRLF+__c.CRLF)).Pop().Size((int) (14)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Dias de atraso:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.Red).Append(BA.ObjectToCharSequence((_diferenciadias-(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1)))).PopAll().getObject()));
 }}
;
 }else {
RDebugUtils.currentLine=64290856;
 //BA.debugLineNum = 64290856;BA.debugLine="p_deuda.Visible = True";
__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=64290858;
 //BA.debugLineNum = 64290858;BA.debugLine="p_deuda.Width = Root.Width";
__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=64290859;
 //BA.debugLineNum = 64290859;BA.debugLine="p_deuda.Height = Root.Height";
__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=64290861;
 //BA.debugLineNum = 64290861;BA.debugLine="l_deuda.Text = \"No tiene adeudo\"";
__ref._l_deuda /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("No tiene adeudo"));
 };
RDebugUtils.currentLine=64290864;
 //BA.debugLineNum = 64290864;BA.debugLine="End Sub";
return "";
}
public String  _la_geo_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "la_geo_click", false))
	 {return ((String) Debug.delegate(ba, "la_geo_click", null));}
RDebugUtils.currentLine=61734912;
 //BA.debugLineNum = 61734912;BA.debugLine="Private Sub LA_GEO_Click";
RDebugUtils.currentLine=61734913;
 //BA.debugLineNum = 61734913;BA.debugLine="Log(geoCont)";
__c.LogImpl("061734913",BA.NumberToString(__ref._geocont /*int*/ ),0);
RDebugUtils.currentLine=61734914;
 //BA.debugLineNum = 61734914;BA.debugLine="If geoCont = 3 Then";
if (__ref._geocont /*int*/ ==3) { 
RDebugUtils.currentLine=61734915;
 //BA.debugLineNum = 61734915;BA.debugLine="Subs.centraPanel(p_pideGeoPass, Root.Width)";
_subs._centrapanel /*String*/ (ba,__ref._p_pidegeopass /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=61734916;
 //BA.debugLineNum = 61734916;BA.debugLine="geoCont = 0";
__ref._geocont /*int*/  = (int) (0);
RDebugUtils.currentLine=61734917;
 //BA.debugLineNum = 61734917;BA.debugLine="If distance > 99 Then";
if (__ref._distance /*long*/ >99) { 
RDebugUtils.currentLine=61734918;
 //BA.debugLineNum = 61734918;BA.debugLine="p_pideGeoPass.BringToFront";
__ref._p_pidegeopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront();
RDebugUtils.currentLine=61734919;
 //BA.debugLineNum = 61734919;BA.debugLine="et_geopass.RequestFocus";
__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .RequestFocus();
RDebugUtils.currentLine=61734920;
 //BA.debugLineNum = 61734920;BA.debugLine="p_pideGeoPass.Visible = True";
__ref._p_pidegeopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
 };
 };
RDebugUtils.currentLine=61734923;
 //BA.debugLineNum = 61734923;BA.debugLine="geoCont = geoCont + 1";
__ref._geocont /*int*/  = (int) (__ref._geocont /*int*/ +1);
RDebugUtils.currentLine=61734924;
 //BA.debugLineNum = 61734924;BA.debugLine="End Sub";
return "";
}
public String  _la_geo_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "la_geo_longclick", false))
	 {return ((String) Debug.delegate(ba, "la_geo_longclick", null));}
RDebugUtils.currentLine=51183616;
 //BA.debugLineNum = 51183616;BA.debugLine="Private Sub LA_GEO_LongClick";
RDebugUtils.currentLine=51183621;
 //BA.debugLineNum = 51183621;BA.debugLine="End Sub";
return "";
}
public String  _la_gps_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "la_gps_click", false))
	 {return ((String) Debug.delegate(ba, "la_gps_click", null));}
RDebugUtils.currentLine=50659328;
 //BA.debugLineNum = 50659328;BA.debugLine="Private Sub LA_GPS_Click";
RDebugUtils.currentLine=50659330;
 //BA.debugLineNum = 50659330;BA.debugLine="MejorarPrecisionGPS";
__ref._mejorarprecisiongps /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null);
RDebugUtils.currentLine=50659332;
 //BA.debugLineNum = 50659332;BA.debugLine="ToastMessageShow(\"Mejorando precisión GPS...\", Fa";
__c.ToastMessageShow(BA.ObjectToCharSequence("Mejorando precisión GPS..."),__c.False);
RDebugUtils.currentLine=50659333;
 //BA.debugLineNum = 50659333;BA.debugLine="End Sub";
return "";
}
public String  _label19_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "label19_click", false))
	 {return ((String) Debug.delegate(ba, "label19_click", null));}
String _numerotel = "";
anywheresoftware.b4a.objects.IntentWrapper _intent1 = null;
RDebugUtils.currentLine=63569920;
 //BA.debugLineNum = 63569920;BA.debugLine="Private Sub Label19_Click";
RDebugUtils.currentLine=63569921;
 //BA.debugLineNum = 63569921;BA.debugLine="Dim numeroTel As String = Label19.Text";
_numerotel = __ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText();
RDebugUtils.currentLine=63569923;
 //BA.debugLineNum = 63569923;BA.debugLine="numeroTel = numeroTel.Replace(\" \", \"\").Replace(\"-";
_numerotel = _numerotel.replace(" ","").replace("-","").replace("(","").replace(")","");
RDebugUtils.currentLine=63569925;
 //BA.debugLineNum = 63569925;BA.debugLine="If numeroTel.Length > 0 Then";
if (_numerotel.length()>0) { 
RDebugUtils.currentLine=63569926;
 //BA.debugLineNum = 63569926;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
RDebugUtils.currentLine=63569927;
 //BA.debugLineNum = 63569927;BA.debugLine="Intent1.Initialize(\"android.intent.action.DIAL\",";
_intent1.Initialize("android.intent.action.DIAL","tel:"+_numerotel);
RDebugUtils.currentLine=63569928;
 //BA.debugLineNum = 63569928;BA.debugLine="StartActivity(Intent1)";
__c.StartActivity(ba,(Object)(_intent1.getObject()));
 }else {
RDebugUtils.currentLine=63569930;
 //BA.debugLineNum = 63569930;BA.debugLine="ToastMessageShow(\"Número no válido\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Número no válido"),__c.False);
 };
RDebugUtils.currentLine=63569933;
 //BA.debugLineNum = 63569933;BA.debugLine="Return True";
if (true) return BA.ObjectToString(__c.True);
RDebugUtils.currentLine=63569934;
 //BA.debugLineNum = 63569934;BA.debugLine="End Sub";
return "";
}
public String  _label19_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "label19_longclick", false))
	 {return ((String) Debug.delegate(ba, "label19_longclick", null));}
RDebugUtils.currentLine=64815104;
 //BA.debugLineNum = 64815104;BA.debugLine="Private Sub Label19_LongClick";
RDebugUtils.currentLine=64815105;
 //BA.debugLineNum = 64815105;BA.debugLine="p_telefono.Height = Root.Height";
__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=64815106;
 //BA.debugLineNum = 64815106;BA.debugLine="p_telefono.Width = Root.Width";
__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=64815107;
 //BA.debugLineNum = 64815107;BA.debugLine="p_telefono.Visible = True";
__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=64815110;
 //BA.debugLineNum = 64815110;BA.debugLine="End Sub";
return "";
}
public String  _listview1_itemlongclick(gunav2.keymon.com.mx.c_cliente __ref,int _position,Object _value) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false))
	 {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));}
RDebugUtils.currentLine=51314688;
 //BA.debugLineNum = 51314688;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
RDebugUtils.currentLine=51314690;
 //BA.debugLineNum = 51314690;BA.debugLine="End Sub";
return "";
}
public void  _mandawamsgcredito(gunav2.keymon.com.mx.c_cliente __ref,String _numtel,String _monto) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "mandawamsgcredito", false))
	 {Debug.delegate(ba, "mandawamsgcredito", new Object[] {_numtel,_monto}); return;}
ResumableSub_mandaWAMsgCredito rsub = new ResumableSub_mandaWAMsgCredito(this,__ref,_numtel,_monto);
rsub.resume(ba, null);
}
public static class ResumableSub_mandaWAMsgCredito extends BA.ResumableSub {
public ResumableSub_mandaWAMsgCredito(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref,String _numtel,String _monto) {
this.parent = parent;
this.__ref = __ref;
this._numtel = _numtel;
this._monto = _monto;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _numtel;
String _monto;
String _fecha = "";
String _idcliente = "";
String _link = "";
String _eljson = "";
gunav2.keymon.com.mx.httpjob _job = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = -1;
RDebugUtils.currentLine=63176705;
 //BA.debugLineNum = 63176705;BA.debugLine="DateTime.DateFormat=\"MM/dd/yyyy HH:mm:ss\"";
parent.__c.DateTime.setDateFormat("MM/dd/yyyy HH:mm:ss");
RDebugUtils.currentLine=63176706;
 //BA.debugLineNum = 63176706;BA.debugLine="Private Fecha As String=DateTime.Date(DateTime.no";
_fecha = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=63176707;
 //BA.debugLineNum = 63176707;BA.debugLine="numTel = \"521\" & numTel";
_numtel = "521"+_numtel;
RDebugUtils.currentLine=63176708;
 //BA.debugLineNum = 63176708;BA.debugLine="Private numTel As String = \"5215554192439\"";
_numtel = "5215554192439";
RDebugUtils.currentLine=63176710;
 //BA.debugLineNum = 63176710;BA.debugLine="Private idCliente As String = Subs.traeCliente '\"";
_idcliente = parent._subs._traecliente /*String*/ (ba);
RDebugUtils.currentLine=63176711;
 //BA.debugLineNum = 63176711;BA.debugLine="Private ruta As String = Subs.traeRuta '\"333\"";
parent._ruta = parent._subs._traeruta /*String*/ (ba);
RDebugUtils.currentLine=63176712;
 //BA.debugLineNum = 63176712;BA.debugLine="Private ALMACEN As String = Subs.traeAlmacen '\"1\"";
parent._almacen = parent._subs._traealmacen /*String*/ (ba);
RDebugUtils.currentLine=63176715;
 //BA.debugLineNum = 63176715;BA.debugLine="Private link As String = \"http://keymon.net:9000/";
_link = "http://keymon.net:9000/v1/messages";
RDebugUtils.currentLine=63176716;
 //BA.debugLineNum = 63176716;BA.debugLine="Private elJSON As String = $\"{ 		\"number\":\"${numT";
_eljson = ("{\n"+"		\"number\":\""+parent.__c.SmartStringFormatter("",(Object)(_numtel))+"\",\n"+"		\"message\":\"Tu compra de Guna va ser a *crédito* por el monto de $"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.NumberFormat2((double)(Double.parseDouble(_monto)),(int) (1),(int) (2),(int) (2),parent.__c.True)))+"\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)\",\n"+"		\"monto\":\""+parent.__c.SmartStringFormatter("",(Object)(_monto))+"\",\n"+"		\"idcliente\":\""+parent.__c.SmartStringFormatter("",(Object)(_idcliente))+"\",\n"+"		\"almacen\":\""+parent.__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+"\",\n"+"		\"ruta\": \""+parent.__c.SmartStringFormatter("",(Object)(__ref._ruta /*String*/ ))+"\",\n"+"		\"fecha\":\""+parent.__c.SmartStringFormatter("",(Object)(_fecha))+"\"\n"+"		}");
RDebugUtils.currentLine=63176725;
 //BA.debugLineNum = 63176725;BA.debugLine="Private job As HttpJob";
_job = new gunav2.keymon.com.mx.httpjob();
RDebugUtils.currentLine=63176726;
 //BA.debugLineNum = 63176726;BA.debugLine="job.Initialize(\"\", Me)";
_job._initialize /*String*/ (null,ba,"",parent);
RDebugUtils.currentLine=63176727;
 //BA.debugLineNum = 63176727;BA.debugLine="job.PostString(link, elJSON)";
_job._poststring /*String*/ (null,_link,_eljson);
RDebugUtils.currentLine=63176728;
 //BA.debugLineNum = 63176728;BA.debugLine="job.GetRequest.SetContentType(\"application/json\")";
_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null).SetContentType("application/json");
RDebugUtils.currentLine=63176729;
 //BA.debugLineNum = 63176729;BA.debugLine="Wait For (job) JobDone(job As HttpJob)";
parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "mandawamsgcredito"), (Object)(_job));
this.state = 1;
return;
case 1:
//C
this.state = -1;
_job = (gunav2.keymon.com.mx.httpjob) result[1];
;
RDebugUtils.currentLine=63176741;
 //BA.debugLineNum = 63176741;BA.debugLine="Log(\"Whatsapp enviado con exito: \" & job.Success)";
parent.__c.LogImpl("063176741","Whatsapp enviado con exito: "+BA.ObjectToString(_job._success /*boolean*/ ),0);
RDebugUtils.currentLine=63176742;
 //BA.debugLineNum = 63176742;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _muestrabotoncentrado(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.ButtonWrapper _thisbutton,String _thetext,String _thetag,int _top,int _width,int _height) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "muestrabotoncentrado", false))
	 {return ((String) Debug.delegate(ba, "muestrabotoncentrado", new Object[] {_thisbutton,_thetext,_thetag,_top,_width,_height}));}
int _anchopantalla = 0;
RDebugUtils.currentLine=61276160;
 //BA.debugLineNum = 61276160;BA.debugLine="Sub muestraBotonCentrado (thisButton As Button, th";
RDebugUtils.currentLine=61276161;
 //BA.debugLineNum = 61276161;BA.debugLine="Private anchoPantalla As Int";
_anchopantalla = 0;
RDebugUtils.currentLine=61276162;
 //BA.debugLineNum = 61276162;BA.debugLine="thisButton.Text = theText";
_thisbutton.setText(BA.ObjectToCharSequence(_thetext));
RDebugUtils.currentLine=61276163;
 //BA.debugLineNum = 61276163;BA.debugLine="thisButton.Tag = theTag";
_thisbutton.setTag((Object)(_thetag));
RDebugUtils.currentLine=61276164;
 //BA.debugLineNum = 61276164;BA.debugLine="anchoPantalla = GetDeviceLayoutValues.Width";
_anchopantalla = __c.GetDeviceLayoutValues(ba).Width;
RDebugUtils.currentLine=61276165;
 //BA.debugLineNum = 61276165;BA.debugLine="thisButton.Left = (anchoPantalla/2) - (width/2)";
_thisbutton.setLeft((int) ((_anchopantalla/(double)2)-(_width/(double)2)));
RDebugUtils.currentLine=61276166;
 //BA.debugLineNum = 61276166;BA.debugLine="thisButton.Top = Top";
_thisbutton.setTop(_top);
RDebugUtils.currentLine=61276167;
 //BA.debugLineNum = 61276167;BA.debugLine="thisButton.Width = width";
_thisbutton.setWidth(_width);
RDebugUtils.currentLine=61276168;
 //BA.debugLineNum = 61276168;BA.debugLine="thisButton.Height = height";
_thisbutton.setHeight(_height);
RDebugUtils.currentLine=61276169;
 //BA.debugLineNum = 61276169;BA.debugLine="thisButton.Visible = True";
_thisbutton.setVisible(__c.True);
RDebugUtils.currentLine=61276170;
 //BA.debugLineNum = 61276170;BA.debugLine="End Sub";
return "";
}
public String  _nuevo_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "nuevo_click", false))
	 {return ((String) Debug.delegate(ba, "nuevo_click", null));}
RDebugUtils.currentLine=53215232;
 //BA.debugLineNum = 53215232;BA.debugLine="Sub NUEVO_Click";
RDebugUtils.currentLine=53215233;
 //BA.debugLineNum = 53215233;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
_b4xpages._showpage /*String*/ (ba,"NuevoCliente");
RDebugUtils.currentLine=53215234;
 //BA.debugLineNum = 53215234;BA.debugLine="End Sub";
return "";
}
public String  _openpdf(gunav2.keymon.com.mx.c_cliente __ref,String _afile) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "openpdf", false))
	 {return ((String) Debug.delegate(ba, "openpdf", new Object[] {_afile}));}
anywheresoftware.b4a.objects.IntentWrapper _in = null;
RDebugUtils.currentLine=62324736;
 //BA.debugLineNum = 62324736;BA.debugLine="private Sub openPDF(afile As String)";
RDebugUtils.currentLine=62324741;
 //BA.debugLineNum = 62324741;BA.debugLine="Dim in As Intent";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
RDebugUtils.currentLine=62324742;
 //BA.debugLineNum = 62324742;BA.debugLine="in.Initialize(in.ACTION_VIEW, \"\")";
_in.Initialize(_in.ACTION_VIEW,"");
RDebugUtils.currentLine=62324743;
 //BA.debugLineNum = 62324743;BA.debugLine="Starter.ffileProvider.SetFileUriAsIntentData(in,";
_starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._setfileuriasintentdata /*String*/ (null,_in,_afile);
RDebugUtils.currentLine=62324744;
 //BA.debugLineNum = 62324744;BA.debugLine="in.SetComponent(\"android/com.android.internal.app";
_in.SetComponent("android/com.android.internal.app.ResolverActivity");
RDebugUtils.currentLine=62324745;
 //BA.debugLineNum = 62324745;BA.debugLine="in.SetType(\"application/pdf\")";
_in.SetType("application/pdf");
RDebugUtils.currentLine=62324746;
 //BA.debugLineNum = 62324746;BA.debugLine="StartActivity(in)";
__c.StartActivity(ba,(Object)(_in.getObject()));
RDebugUtils.currentLine=62324751;
 //BA.debugLineNum = 62324751;BA.debugLine="End Sub";
return "";
}
public String  _p_atiende_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_atiende_click", false))
	 {return ((String) Debug.delegate(ba, "p_atiende_click", null));}
RDebugUtils.currentLine=64749568;
 //BA.debugLineNum = 64749568;BA.debugLine="Private Sub p_atiende_Click";
RDebugUtils.currentLine=64749570;
 //BA.debugLineNum = 64749570;BA.debugLine="End Sub";
return "";
}
public String  _p_camara_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_camara_click", false))
	 {return ((String) Debug.delegate(ba, "p_camara_click", null));}
RDebugUtils.currentLine=63897600;
 //BA.debugLineNum = 63897600;BA.debugLine="Private Sub p_camara_Click";
RDebugUtils.currentLine=63897602;
 //BA.debugLineNum = 63897602;BA.debugLine="End Sub";
return "";
}
public String  _p_cliente__click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_cliente__click", false))
	 {return ((String) Debug.delegate(ba, "p_cliente__click", null));}
RDebugUtils.currentLine=64094208;
 //BA.debugLineNum = 64094208;BA.debugLine="Private Sub p_cliente__Click";
RDebugUtils.currentLine=64094210;
 //BA.debugLineNum = 64094210;BA.debugLine="End Sub";
return "";
}
public String  _p_cliente_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_cliente_click", false))
	 {return ((String) Debug.delegate(ba, "p_cliente_click", null));}
RDebugUtils.currentLine=55115776;
 //BA.debugLineNum = 55115776;BA.debugLine="Private Sub p_cliente_Click";
RDebugUtils.currentLine=55115778;
 //BA.debugLineNum = 55115778;BA.debugLine="End Sub";
return "";
}
public String  _p_comentario_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_comentario_click", false))
	 {return ((String) Debug.delegate(ba, "p_comentario_click", null));}
RDebugUtils.currentLine=63242240;
 //BA.debugLineNum = 63242240;BA.debugLine="Private Sub p_comentario_Click";
RDebugUtils.currentLine=63242242;
 //BA.debugLineNum = 63242242;BA.debugLine="End Sub";
return "";
}
public String  _p_comentarios_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_comentarios_click", false))
	 {return ((String) Debug.delegate(ba, "p_comentarios_click", null));}
RDebugUtils.currentLine=63307776;
 //BA.debugLineNum = 63307776;BA.debugLine="Private Sub p_comentarios_Click";
RDebugUtils.currentLine=63307778;
 //BA.debugLineNum = 63307778;BA.debugLine="End Sub";
return "";
}
public String  _p_deuda_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_deuda_click", false))
	 {return ((String) Debug.delegate(ba, "p_deuda_click", null));}
RDebugUtils.currentLine=64421888;
 //BA.debugLineNum = 64421888;BA.debugLine="Private Sub p_deuda_Click";
RDebugUtils.currentLine=64421889;
 //BA.debugLineNum = 64421889;BA.debugLine="p_deuda.Visible = False";
__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=64421890;
 //BA.debugLineNum = 64421890;BA.debugLine="End Sub";
return "";
}
public String  _p_encuesta_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_encuesta_click", false))
	 {return ((String) Debug.delegate(ba, "p_encuesta_click", null));}
RDebugUtils.currentLine=61538304;
 //BA.debugLineNum = 61538304;BA.debugLine="Private Sub p_encuesta_Click";
RDebugUtils.currentLine=61538306;
 //BA.debugLineNum = 61538306;BA.debugLine="End Sub";
return "";
}
public String  _p_modulo5_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_modulo5_click", false))
	 {return ((String) Debug.delegate(ba, "p_modulo5_click", null));}
RDebugUtils.currentLine=58261504;
 //BA.debugLineNum = 58261504;BA.debugLine="Private Sub p_modulo5_Click";
RDebugUtils.currentLine=58261506;
 //BA.debugLineNum = 58261506;BA.debugLine="End Sub";
return "";
}
public String  _p_pidegeopass_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_pidegeopass_click", false))
	 {return ((String) Debug.delegate(ba, "p_pidegeopass_click", null));}
RDebugUtils.currentLine=50987008;
 //BA.debugLineNum = 50987008;BA.debugLine="Private Sub p_pideGeoPass_Click";
RDebugUtils.currentLine=50987010;
 //BA.debugLineNum = 50987010;BA.debugLine="End Sub";
return "";
}
public String  _p_telefono_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_telefono_click", false))
	 {return ((String) Debug.delegate(ba, "p_telefono_click", null));}
RDebugUtils.currentLine=65011712;
 //BA.debugLineNum = 65011712;BA.debugLine="Private Sub p_telefono_Click";
RDebugUtils.currentLine=65011714;
 //BA.debugLineNum = 65011714;BA.debugLine="End Sub";
return "";
}
public String  _p_transparenteiniciofin_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_transparenteiniciofin_click", false))
	 {return ((String) Debug.delegate(ba, "p_transparenteiniciofin_click", null));}
RDebugUtils.currentLine=61800448;
 //BA.debugLineNum = 61800448;BA.debugLine="Private Sub p_transparenteInicioFin_Click";
RDebugUtils.currentLine=61800450;
 //BA.debugLineNum = 61800450;BA.debugLine="End Sub";
return "";
}
public String  _p_transparentepdf_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_transparentepdf_click", false))
	 {return ((String) Debug.delegate(ba, "p_transparentepdf_click", null));}
RDebugUtils.currentLine=62849024;
 //BA.debugLineNum = 62849024;BA.debugLine="Private Sub p_transparentePDF_Click";
RDebugUtils.currentLine=62849026;
 //BA.debugLineNum = 62849026;BA.debugLine="End Sub";
return "";
}
public String  _p_transparenteticketimpreso_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p_transparenteticketimpreso_click", false))
	 {return ((String) Debug.delegate(ba, "p_transparenteticketimpreso_click", null));}
RDebugUtils.currentLine=61931520;
 //BA.debugLineNum = 61931520;BA.debugLine="Private Sub p_transparenteTicketImpreso_Click";
RDebugUtils.currentLine=61931522;
 //BA.debugLineNum = 61931522;BA.debugLine="End Sub";
return "";
}
public String  _p6_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p6_textchanged", false))
	 {return ((String) Debug.delegate(ba, "p6_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=57606144;
 //BA.debugLineNum = 57606144;BA.debugLine="Private Sub p6_TextChanged (Old As String, New As";
RDebugUtils.currentLine=57606145;
 //BA.debugLineNum = 57606145;BA.debugLine="If p6.Text.Length  > 2 Then";
if (__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2) { 
RDebugUtils.currentLine=57606146;
 //BA.debugLineNum = 57606146;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido1\",\"A";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido1"),BA.ObjectToCharSequence("Aviso"),ba);
RDebugUtils.currentLine=57606147;
 //BA.debugLineNum = 57606147;BA.debugLine="p6.Text = \"\"";
__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=57606149;
 //BA.debugLineNum = 57606149;BA.debugLine="End Sub";
return "";
}
public String  _p7_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p7_textchanged", false))
	 {return ((String) Debug.delegate(ba, "p7_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=57671680;
 //BA.debugLineNum = 57671680;BA.debugLine="Private Sub p7_TextChanged (Old As String, New As";
RDebugUtils.currentLine=57671681;
 //BA.debugLineNum = 57671681;BA.debugLine="If p7.Text.Length  > 2 Then";
if (__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2) { 
RDebugUtils.currentLine=57671682;
 //BA.debugLineNum = 57671682;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido2\",\"A";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido2"),BA.ObjectToCharSequence("Aviso"),ba);
RDebugUtils.currentLine=57671683;
 //BA.debugLineNum = 57671683;BA.debugLine="p7.Text = \"\"";
__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=57671685;
 //BA.debugLineNum = 57671685;BA.debugLine="End Sub";
return "";
}
public String  _p8_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "p8_textchanged", false))
	 {return ((String) Debug.delegate(ba, "p8_textchanged", new Object[] {_old,_new}));}
RDebugUtils.currentLine=57737216;
 //BA.debugLineNum = 57737216;BA.debugLine="Private Sub p8_TextChanged (Old As String, New As";
RDebugUtils.currentLine=57737217;
 //BA.debugLineNum = 57737217;BA.debugLine="If p8.Text.Length  > 2 Then";
if (__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2) { 
RDebugUtils.currentLine=57737219;
 //BA.debugLineNum = 57737219;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido3\",\"A";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido3"),BA.ObjectToCharSequence("Aviso"),ba);
RDebugUtils.currentLine=57737220;
 //BA.debugLineNum = 57737220;BA.debugLine="p8.Text = \"\"";
__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
 };
RDebugUtils.currentLine=57737222;
 //BA.debugLineNum = 57737222;BA.debugLine="End Sub";
return "";
}
public String  _panel10_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "panel10_click", false))
	 {return ((String) Debug.delegate(ba, "panel10_click", null));}
RDebugUtils.currentLine=61472768;
 //BA.debugLineNum = 61472768;BA.debugLine="Private Sub Panel10_Click";
RDebugUtils.currentLine=61472770;
 //BA.debugLineNum = 61472770;BA.debugLine="End Sub";
return "";
}
public String  _panel4_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "panel4_click", false))
	 {return ((String) Debug.delegate(ba, "panel4_click", null));}
RDebugUtils.currentLine=58327040;
 //BA.debugLineNum = 58327040;BA.debugLine="Private Sub Panel4_Click";
RDebugUtils.currentLine=58327042;
 //BA.debugLineNum = 58327042;BA.debugLine="End Sub";
return "";
}
public String  _panel5_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "panel5_click", false))
	 {return ((String) Debug.delegate(ba, "panel5_click", null));}
RDebugUtils.currentLine=55181312;
 //BA.debugLineNum = 55181312;BA.debugLine="Private Sub Panel5_Click";
RDebugUtils.currentLine=55181314;
 //BA.debugLineNum = 55181314;BA.debugLine="End Sub";
return "";
}
public String  _savepdf(gunav2.keymon.com.mx.c_cliente __ref,gunav2.keymon.com.mx.cpdf _apdf,String _afile,int _acompress) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "savepdf", false))
	 {return ((String) Debug.delegate(ba, "savepdf", new Object[] {_apdf,_afile,_acompress}));}
String _folder = "";
RDebugUtils.currentLine=62259200;
 //BA.debugLineNum = 62259200;BA.debugLine="private Sub savePDF(apdf As cPDF,afile As String,a";
RDebugUtils.currentLine=62259201;
 //BA.debugLineNum = 62259201;BA.debugLine="Dim folder As String";
_folder = "";
RDebugUtils.currentLine=62259206;
 //BA.debugLineNum = 62259206;BA.debugLine="folder = Starter.fFileProvider.SharedFolder";
_folder = _starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ;
RDebugUtils.currentLine=62259213;
 //BA.debugLineNum = 62259213;BA.debugLine="apdf.saveToFile(folder, afile, acompress)";
_apdf._savetofile /*gunav2.keymon.com.mx.cpdf*/ (null,_folder,_afile,_acompress);
RDebugUtils.currentLine=62259214;
 //BA.debugLineNum = 62259214;BA.debugLine="End Sub";
return "";
}
public String  _pnlplanlealtad_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "pnlplanlealtad_click", false))
	 {return ((String) Debug.delegate(ba, "pnlplanlealtad_click", null));}
RDebugUtils.currentLine=64159744;
 //BA.debugLineNum = 64159744;BA.debugLine="Private Sub pnlPlanLealtad_Click";
RDebugUtils.currentLine=64159746;
 //BA.debugLineNum = 64159746;BA.debugLine="End Sub";
return "";
}
public String  _printer_connected(gunav2.keymon.com.mx.c_cliente __ref,boolean _success) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "printer_connected", false))
	 {return ((String) Debug.delegate(ba, "printer_connected", new Object[] {_success}));}
RDebugUtils.currentLine=54394880;
 //BA.debugLineNum = 54394880;BA.debugLine="Sub Printer_Connected (Success As Boolean)";
RDebugUtils.currentLine=54394881;
 //BA.debugLineNum = 54394881;BA.debugLine="If Success Then";
if (_success) { 
 }else {
RDebugUtils.currentLine=54394886;
 //BA.debugLineNum = 54394886;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel";
if (__c.Msgbox2(BA.ObjectToCharSequence(""),BA.ObjectToCharSequence("Printer Error"),"Reprint","Cancel","",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { 
RDebugUtils.currentLine=54394887;
 //BA.debugLineNum = 54394887;BA.debugLine="StartPrinter";
__ref._startprinter /*String*/ (null);
 };
 };
RDebugUtils.currentLine=54394890;
 //BA.debugLineNum = 54394890;BA.debugLine="End Sub";
return "";
}
public String  _startprinter(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "startprinter", false))
	 {return ((String) Debug.delegate(ba, "startprinter", null));}
anywheresoftware.b4a.objects.collections.List _l1 = null;
int _resimp = 0;
int _i = 0;
RDebugUtils.currentLine=54460416;
 //BA.debugLineNum = 54460416;BA.debugLine="Sub StartPrinter";
RDebugUtils.currentLine=54460417;
 //BA.debugLineNum = 54460417;BA.debugLine="Dim PairedDevices As Map";
_paireddevices = new anywheresoftware.b4a.objects.collections.Map();
RDebugUtils.currentLine=54460418;
 //BA.debugLineNum = 54460418;BA.debugLine="Dim L1 As List";
_l1 = new anywheresoftware.b4a.objects.collections.List();
RDebugUtils.currentLine=54460419;
 //BA.debugLineNum = 54460419;BA.debugLine="Dim resimp As Int";
_resimp = 0;
RDebugUtils.currentLine=54460420;
 //BA.debugLineNum = 54460420;BA.debugLine="ToastMessageShow(\"Printing.....\",True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True);
RDebugUtils.currentLine=54460421;
 //BA.debugLineNum = 54460421;BA.debugLine="PairedDevices.Initialize";
__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize();
RDebugUtils.currentLine=54460422;
 //BA.debugLineNum = 54460422;BA.debugLine="Try";
try {RDebugUtils.currentLine=54460423;
 //BA.debugLineNum = 54460423;BA.debugLine="PairedDevices = cmp20.GetPairedDevices";
__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/  = __ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices();
 } 
       catch (Exception e9) {
			ba.setLastException(e9);RDebugUtils.currentLine=54460425;
 //BA.debugLineNum = 54460425;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")";
__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba);
RDebugUtils.currentLine=54460426;
 //BA.debugLineNum = 54460426;BA.debugLine="printer.Close";
__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close();
RDebugUtils.currentLine=54460427;
 //BA.debugLineNum = 54460427;BA.debugLine="cmp20.Disconnect";
__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect();
 };
RDebugUtils.currentLine=54460430;
 //BA.debugLineNum = 54460430;BA.debugLine="If PairedDevices.Size = 0 Then";
if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==0) { 
RDebugUtils.currentLine=54460431;
 //BA.debugLineNum = 54460431;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No";
__c.Msgbox(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found"),BA.ObjectToCharSequence(""),ba);
RDebugUtils.currentLine=54460432;
 //BA.debugLineNum = 54460432;BA.debugLine="Return";
if (true) return "";
 };
RDebugUtils.currentLine=54460435;
 //BA.debugLineNum = 54460435;BA.debugLine="If PairedDevices.Size = 1 Then";
if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==1) { 
RDebugUtils.currentLine=54460436;
 //BA.debugLineNum = 54460436;BA.debugLine="Try";
try {RDebugUtils.currentLine=54460437;
 //BA.debugLineNum = 54460437;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G";
__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Get(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .GetKeyAt((int) (0)))));
 } 
       catch (Exception e21) {
			ba.setLastException(e21);RDebugUtils.currentLine=54460439;
 //BA.debugLineNum = 54460439;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore";
__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba);
RDebugUtils.currentLine=54460440;
 //BA.debugLineNum = 54460440;BA.debugLine="printer.Close";
__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close();
RDebugUtils.currentLine=54460441;
 //BA.debugLineNum = 54460441;BA.debugLine="cmp20.Disconnect";
__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect();
 };
 }else {
RDebugUtils.currentLine=54460444;
 //BA.debugLineNum = 54460444;BA.debugLine="L1.Initialize";
_l1.Initialize();
RDebugUtils.currentLine=54460445;
 //BA.debugLineNum = 54460445;BA.debugLine="For i = 0 To PairedDevices.Size - 1";
{
final int step27 = 1;
final int limit27 = (int) (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()-1);
_i = (int) (0) ;
for (;_i <= limit27 ;_i = _i + step27 ) {
RDebugUtils.currentLine=54460446;
 //BA.debugLineNum = 54460446;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))";
_l1.Add(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .GetKeyAt(_i));
 }
};
RDebugUtils.currentLine=54460448;
 //BA.debugLineNum = 54460448;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign";
_resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba);
RDebugUtils.currentLine=54460449;
 //BA.debugLineNum = 54460449;BA.debugLine="If resimp <> DialogResponse.CANCEL Then";
if (_resimp!=__c.DialogResponse.CANCEL) { 
RDebugUtils.currentLine=54460450;
 //BA.debugLineNum = 54460450;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))";
__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_l1.Get(_resimp))));
 };
 };
RDebugUtils.currentLine=54460453;
 //BA.debugLineNum = 54460453;BA.debugLine="End Sub";
return "";
}
public String  _printer1_connected(gunav2.keymon.com.mx.c_cliente __ref,boolean _success) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "printer1_connected", false))
	 {return ((String) Debug.delegate(ba, "printer1_connected", new Object[] {_success}));}
RDebugUtils.currentLine=54263808;
 //BA.debugLineNum = 54263808;BA.debugLine="Sub Printer1_Connected (Success As Boolean)";
RDebugUtils.currentLine=54263810;
 //BA.debugLineNum = 54263810;BA.debugLine="If Success Then";
if (_success) { 
RDebugUtils.currentLine=54263811;
 //BA.debugLineNum = 54263811;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False);
RDebugUtils.currentLine=54263812;
 //BA.debugLineNum = 54263812;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")}));
RDebugUtils.currentLine=54263813;
 //BA.debugLineNum = 54263813;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )}));
RDebugUtils.currentLine=54263816;
 //BA.debugLineNum = 54263816;BA.debugLine="impresoraConectada = True";
__ref._impresoraconectada /*boolean*/  = __c.True;
 }else {
RDebugUtils.currentLine=54263820;
 //BA.debugLineNum = 54263820;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
__c.LogImpl("054263820","Error conectando la impresora",__c.Colors.Red);
RDebugUtils.currentLine=54263821;
 //BA.debugLineNum = 54263821;BA.debugLine="errorImpresora = errorImpresora + 1";
__ref._errorimpresora /*int*/  = (int) (__ref._errorimpresora /*int*/ +1);
RDebugUtils.currentLine=54263822;
 //BA.debugLineNum = 54263822;BA.debugLine="If errorImpresora > 1 Then";
if (__ref._errorimpresora /*int*/ >1) { 
RDebugUtils.currentLine=54263823;
 //BA.debugLineNum = 54263823;BA.debugLine="Starter.MAC_IMPRESORA = \"0\"";
_starter._mac_impresora /*String*/  = "0";
RDebugUtils.currentLine=54263824;
 //BA.debugLineNum = 54263824;BA.debugLine="errorImpresora = 0";
__ref._errorimpresora /*int*/  = (int) (0);
 };
 };
RDebugUtils.currentLine=54263827;
 //BA.debugLineNum = 54263827;BA.debugLine="End Sub";
return "";
}
public String  _printer1_error(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "printer1_error", false))
	 {return ((String) Debug.delegate(ba, "printer1_error", null));}
RDebugUtils.currentLine=54329344;
 //BA.debugLineNum = 54329344;BA.debugLine="Sub Printer1_Error";
RDebugUtils.currentLine=54329345;
 //BA.debugLineNum = 54329345;BA.debugLine="Log(\"error printer\")";
__c.LogImpl("054329345","error printer",0);
RDebugUtils.currentLine=54329346;
 //BA.debugLineNum = 54329346;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton1_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton1_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55640064;
 //BA.debugLineNum = 55640064;BA.debugLine="Private Sub RadioButton1_CheckedChange(Checked As";
RDebugUtils.currentLine=55640065;
 //BA.debugLineNum = 55640065;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55640066;
 //BA.debugLineNum = 55640066;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055640066",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55640067;
 //BA.debugLineNum = 55640067;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton10_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton10_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton10_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=56229888;
 //BA.debugLineNum = 56229888;BA.debugLine="Private Sub RadioButton10_CheckedChange(Checked As";
RDebugUtils.currentLine=56229889;
 //BA.debugLineNum = 56229889;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=56229890;
 //BA.debugLineNum = 56229890;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056229890",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56229891;
 //BA.debugLineNum = 56229891;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton11_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton11_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton11_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=56295424;
 //BA.debugLineNum = 56295424;BA.debugLine="Private Sub RadioButton11_CheckedChange(Checked As";
RDebugUtils.currentLine=56295425;
 //BA.debugLineNum = 56295425;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=56295426;
 //BA.debugLineNum = 56295426;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056295426",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56295427;
 //BA.debugLineNum = 56295427;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton12_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton12_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton12_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=56360960;
 //BA.debugLineNum = 56360960;BA.debugLine="Private Sub RadioButton12_CheckedChange(Checked As";
RDebugUtils.currentLine=56360961;
 //BA.debugLineNum = 56360961;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=56360962;
 //BA.debugLineNum = 56360962;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056360962",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56360963;
 //BA.debugLineNum = 56360963;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton13_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton13_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton13_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=56426496;
 //BA.debugLineNum = 56426496;BA.debugLine="Private Sub RadioButton13_CheckedChange(Checked As";
RDebugUtils.currentLine=56426497;
 //BA.debugLineNum = 56426497;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=56426498;
 //BA.debugLineNum = 56426498;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056426498",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56426499;
 //BA.debugLineNum = 56426499;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton14_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton14_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton14_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=56492032;
 //BA.debugLineNum = 56492032;BA.debugLine="Private Sub RadioButton14_CheckedChange(Checked As";
RDebugUtils.currentLine=56492033;
 //BA.debugLineNum = 56492033;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=56492034;
 //BA.debugLineNum = 56492034;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056492034",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56492035;
 //BA.debugLineNum = 56492035;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton15_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton15_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton15_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55574528;
 //BA.debugLineNum = 55574528;BA.debugLine="Private Sub RadioButton15_CheckedChange(Checked As";
RDebugUtils.currentLine=55574529;
 //BA.debugLineNum = 55574529;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55574530;
 //BA.debugLineNum = 55574530;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055574530",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55574531;
 //BA.debugLineNum = 55574531;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton16_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton16_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton16_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55508992;
 //BA.debugLineNum = 55508992;BA.debugLine="Private Sub RadioButton16_CheckedChange(Checked As";
RDebugUtils.currentLine=55508993;
 //BA.debugLineNum = 55508993;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55508994;
 //BA.debugLineNum = 55508994;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055508994",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55508995;
 //BA.debugLineNum = 55508995;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton17_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton17_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton17_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55443456;
 //BA.debugLineNum = 55443456;BA.debugLine="Private Sub RadioButton17_CheckedChange(Checked As";
RDebugUtils.currentLine=55443457;
 //BA.debugLineNum = 55443457;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55443458;
 //BA.debugLineNum = 55443458;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055443458",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55443459;
 //BA.debugLineNum = 55443459;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55705600;
 //BA.debugLineNum = 55705600;BA.debugLine="Private Sub RadioButton2_CheckedChange(Checked As";
RDebugUtils.currentLine=55705601;
 //BA.debugLineNum = 55705601;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55705602;
 //BA.debugLineNum = 55705602;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055705602",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55705603;
 //BA.debugLineNum = 55705603;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55771136;
 //BA.debugLineNum = 55771136;BA.debugLine="Private Sub RadioButton3_CheckedChange(Checked As";
RDebugUtils.currentLine=55771137;
 //BA.debugLineNum = 55771137;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55771138;
 //BA.debugLineNum = 55771138;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055771138",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55771139;
 //BA.debugLineNum = 55771139;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton4_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton4_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton4_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55836672;
 //BA.debugLineNum = 55836672;BA.debugLine="Private Sub RadioButton4_CheckedChange(Checked As";
RDebugUtils.currentLine=55836673;
 //BA.debugLineNum = 55836673;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55836674;
 //BA.debugLineNum = 55836674;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055836674",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55836675;
 //BA.debugLineNum = 55836675;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton5_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton5_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton5_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55902208;
 //BA.debugLineNum = 55902208;BA.debugLine="Private Sub RadioButton5_CheckedChange(Checked As";
RDebugUtils.currentLine=55902209;
 //BA.debugLineNum = 55902209;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55902210;
 //BA.debugLineNum = 55902210;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055902210",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55902211;
 //BA.debugLineNum = 55902211;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton6_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton6_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton6_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55967744;
 //BA.debugLineNum = 55967744;BA.debugLine="Private Sub RadioButton6_CheckedChange(Checked As";
RDebugUtils.currentLine=55967745;
 //BA.debugLineNum = 55967745;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55967746;
 //BA.debugLineNum = 55967746;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055967746",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55967747;
 //BA.debugLineNum = 55967747;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton7_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton7_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton7_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=56033280;
 //BA.debugLineNum = 56033280;BA.debugLine="Private Sub RadioButton7_CheckedChange(Checked As";
RDebugUtils.currentLine=56033281;
 //BA.debugLineNum = 56033281;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=56033282;
 //BA.debugLineNum = 56033282;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056033282",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56033283;
 //BA.debugLineNum = 56033283;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton8_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton8_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton8_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=56098816;
 //BA.debugLineNum = 56098816;BA.debugLine="Private Sub RadioButton8_CheckedChange(Checked As";
RDebugUtils.currentLine=56098817;
 //BA.debugLineNum = 56098817;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=56098818;
 //BA.debugLineNum = 56098818;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056098818",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56098819;
 //BA.debugLineNum = 56098819;BA.debugLine="End Sub";
return "";
}
public String  _radiobutton9_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "radiobutton9_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "radiobutton9_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=56164352;
 //BA.debugLineNum = 56164352;BA.debugLine="Private Sub RadioButton9_CheckedChange(Checked As";
RDebugUtils.currentLine=56164353;
 //BA.debugLineNum = 56164353;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=56164354;
 //BA.debugLineNum = 56164354;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("056164354",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=56164355;
 //BA.debugLineNum = 56164355;BA.debugLine="End Sub";
return "";
}
public String  _rb1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb1_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb1_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=54722560;
 //BA.debugLineNum = 54722560;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)";
RDebugUtils.currentLine=54722561;
 //BA.debugLineNum = 54722561;BA.debugLine="If RB1.Checked = True Then";
if (__ref._rb1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { 
RDebugUtils.currentLine=54722562;
 //BA.debugLineNum = 54722562;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\"";
__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("CENTRAL DE ABASTOS"));
 };
RDebugUtils.currentLine=54722564;
 //BA.debugLineNum = 54722564;BA.debugLine="End Sub";
return "";
}
public String  _rb1_e1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb1_e1_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb1_e1_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55246848;
 //BA.debugLineNum = 55246848;BA.debugLine="Private Sub RB1_E1_CheckedChange(Checked As Boolea";
RDebugUtils.currentLine=55246849;
 //BA.debugLineNum = 55246849;BA.debugLine="Log($\"RB1 Clicked - chk:${Sender.As(RadioButton).";
__c.LogImpl("055246849",("RB1 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
RDebugUtils.currentLine=55246850;
 //BA.debugLineNum = 55246850;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55246851;
 //BA.debugLineNum = 55246851;BA.debugLine="encuentasmapa.Remove(\"P2\")";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)("P2"));
RDebugUtils.currentLine=55246852;
 //BA.debugLineNum = 55246852;BA.debugLine="Panel7.Visible = False";
__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=55246853;
 //BA.debugLineNum = 55246853;BA.debugLine="RadioButton17.Checked = False";
__ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=55246854;
 //BA.debugLineNum = 55246854;BA.debugLine="RadioButton16.Checked = False";
__ref._radiobutton16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=55246855;
 //BA.debugLineNum = 55246855;BA.debugLine="RadioButton15.Checked = False";
__ref._radiobutton15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=55246856;
 //BA.debugLineNum = 55246856;BA.debugLine="encuentasmapa.Remove(\"P2\")";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)("P2"));
RDebugUtils.currentLine=55246857;
 //BA.debugLineNum = 55246857;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055246857",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55246858;
 //BA.debugLineNum = 55246858;BA.debugLine="End Sub";
return "";
}
public String  _rb1_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb1_p4_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb1_p4_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58064896;
 //BA.debugLineNum = 58064896;BA.debugLine="Private Sub RB1_P4_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58064897;
 //BA.debugLineNum = 58064897;BA.debugLine="If RB1_P4_M2.Checked = True Then";
if (__ref._rb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { 
RDebugUtils.currentLine=58064898;
 //BA.debugLineNum = 58064898;BA.debugLine="Panel7_M2.Visible = True";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=58064899;
 //BA.debugLineNum = 58064899;BA.debugLine="panel7_p4_m2.Visible = True";
__ref._panel7_p4_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
 }else {
RDebugUtils.currentLine=58064901;
 //BA.debugLineNum = 58064901;BA.debugLine="Panel7_M2.Visible = False";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=58064902;
 //BA.debugLineNum = 58064902;BA.debugLine="panel7_p4_m2.Visible = False";
__ref._panel7_p4_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
 };
RDebugUtils.currentLine=58064905;
 //BA.debugLineNum = 58064905;BA.debugLine="End Sub";
return "";
}
public String  _rb2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=54788096;
 //BA.debugLineNum = 54788096;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)";
RDebugUtils.currentLine=54788097;
 //BA.debugLineNum = 54788097;BA.debugLine="If RB2.Checked = True Then";
if (__ref._rb2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { 
RDebugUtils.currentLine=54788098;
 //BA.debugLineNum = 54788098;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\"";
__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("AUTOSERVICIO"));
 };
RDebugUtils.currentLine=54788100;
 //BA.debugLineNum = 54788100;BA.debugLine="End Sub";
return "";
}
public String  _rb2_e1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb2_e1_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb2_e1_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55312384;
 //BA.debugLineNum = 55312384;BA.debugLine="Private Sub RB2_E1_CheckedChange(Checked As Boolea";
RDebugUtils.currentLine=55312385;
 //BA.debugLineNum = 55312385;BA.debugLine="Log($\"RB2 Clicked - chk:${Sender.As(RadioButton).";
__c.LogImpl("055312385",("RB2 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
RDebugUtils.currentLine=55312386;
 //BA.debugLineNum = 55312386;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55312387;
 //BA.debugLineNum = 55312387;BA.debugLine="RadioButton17.Checked = False";
__ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=55312388;
 //BA.debugLineNum = 55312388;BA.debugLine="encuentasmapa.Remove(\"P2\")";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)("P2"));
RDebugUtils.currentLine=55312389;
 //BA.debugLineNum = 55312389;BA.debugLine="RadioButton17.Checked = False";
__ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=55312390;
 //BA.debugLineNum = 55312390;BA.debugLine="RadioButton16.Checked = False";
__ref._radiobutton16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=55312391;
 //BA.debugLineNum = 55312391;BA.debugLine="RadioButton15.Checked = False";
__ref._radiobutton15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=55312392;
 //BA.debugLineNum = 55312392;BA.debugLine="Panel7.Visible = False";
__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=55312393;
 //BA.debugLineNum = 55312393;BA.debugLine="encuentasmapa.Remove(\"P2\")";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)("P2"));
RDebugUtils.currentLine=55312394;
 //BA.debugLineNum = 55312394;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055312394",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55312395;
 //BA.debugLineNum = 55312395;BA.debugLine="End Sub";
return "";
}
public String  _rb2_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb2_p4_m2_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb2_p4_m2_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=58130432;
 //BA.debugLineNum = 58130432;BA.debugLine="Private Sub RB2_P4_M2_CheckedChange(Checked As Boo";
RDebugUtils.currentLine=58130433;
 //BA.debugLineNum = 58130433;BA.debugLine="If RB2_P4_M2.Checked = True Then";
if (__ref._rb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { 
RDebugUtils.currentLine=58130434;
 //BA.debugLineNum = 58130434;BA.debugLine="Panel7_M2.Visible = False";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=58130435;
 //BA.debugLineNum = 58130435;BA.debugLine="panel7_p4_m2.Visible = False";
__ref._panel7_p4_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=58130436;
 //BA.debugLineNum = 58130436;BA.debugLine="RB1_P3_M2.Checked = False";
__ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=58130437;
 //BA.debugLineNum = 58130437;BA.debugLine="RB2_P3_M2.Checked = False";
__ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=58130438;
 //BA.debugLineNum = 58130438;BA.debugLine="RB3_P3_M2.Checked = False";
__ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=58130439;
 //BA.debugLineNum = 58130439;BA.debugLine="RB4_P3_M2.Checked = False";
__ref._rb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=58130440;
 //BA.debugLineNum = 58130440;BA.debugLine="ET_P3_M2.Text = \"\"";
__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=58130441;
 //BA.debugLineNum = 58130441;BA.debugLine="CB1_P4_M2.Checked = False";
__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=58130442;
 //BA.debugLineNum = 58130442;BA.debugLine="CB2_P4_M2.Checked = False";
__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=58130443;
 //BA.debugLineNum = 58130443;BA.debugLine="CB3_P4_M2.Checked = False";
__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=58130444;
 //BA.debugLineNum = 58130444;BA.debugLine="CB4_P4_M2.Checked = False";
__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False);
RDebugUtils.currentLine=58130445;
 //BA.debugLineNum = 58130445;BA.debugLine="textemp3 = \"\"";
__ref._textemp3 /*String*/  = "";
 }else {
RDebugUtils.currentLine=58130447;
 //BA.debugLineNum = 58130447;BA.debugLine="Panel7_M2.Visible = True";
__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=58130448;
 //BA.debugLineNum = 58130448;BA.debugLine="panel7_p4_m2.Visible = True";
__ref._panel7_p4_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
 };
RDebugUtils.currentLine=58130451;
 //BA.debugLineNum = 58130451;BA.debugLine="End Sub";
return "";
}
public String  _rb3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb3_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb3_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=54853632;
 //BA.debugLineNum = 54853632;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)";
RDebugUtils.currentLine=54853633;
 //BA.debugLineNum = 54853633;BA.debugLine="If RB3.Checked = True Then";
if (__ref._rb3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { 
RDebugUtils.currentLine=54853634;
 //BA.debugLineNum = 54853634;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\"";
__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("CLUB DE PRECIO"));
 };
RDebugUtils.currentLine=54853636;
 //BA.debugLineNum = 54853636;BA.debugLine="End Sub";
return "";
}
public String  _rb3_e1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb3_e1_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb3_e1_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=55377920;
 //BA.debugLineNum = 55377920;BA.debugLine="Private Sub RB3_E1_CheckedChange(Checked As Boolea";
RDebugUtils.currentLine=55377921;
 //BA.debugLineNum = 55377921;BA.debugLine="Log($\"RB3 Clicked - chk:${Sender.As(RadioButton).";
__c.LogImpl("055377921",("RB3 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
RDebugUtils.currentLine=55377922;
 //BA.debugLineNum = 55377922;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
RDebugUtils.currentLine=55377924;
 //BA.debugLineNum = 55377924;BA.debugLine="Panel7.Visible = True";
__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=55377925;
 //BA.debugLineNum = 55377925;BA.debugLine="Log(encuentasmapa)";
__c.LogImpl("055377925",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0);
RDebugUtils.currentLine=55377926;
 //BA.debugLineNum = 55377926;BA.debugLine="End Sub";
return "";
}
public String  _rb4_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "rb4_checkedchange", false))
	 {return ((String) Debug.delegate(ba, "rb4_checkedchange", new Object[] {_checked}));}
RDebugUtils.currentLine=54919168;
 //BA.debugLineNum = 54919168;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)";
RDebugUtils.currentLine=54919169;
 //BA.debugLineNum = 54919169;BA.debugLine="If RB4.Checked = True Then";
if (__ref._rb4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { 
RDebugUtils.currentLine=54919170;
 //BA.debugLineNum = 54919170;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\"";
__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("DIRECTO PEDEGREE"));
 };
RDebugUtils.currentLine=54919172;
 //BA.debugLineNum = 54919172;BA.debugLine="End Sub";
return "";
}
public String  _revisargeocerca(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "revisargeocerca", false))
	 {return ((String) Debug.delegate(ba, "revisargeocerca", null));}
RDebugUtils.currentLine=50724864;
 //BA.debugLineNum = 50724864;BA.debugLine="Private Sub RevisarGeocerca";
RDebugUtils.currentLine=50724867;
 //BA.debugLineNum = 50724867;BA.debugLine="Log(distancealm)";
__c.LogImpl("050724867",BA.NumberToString(__ref._distancealm /*long*/ ),0);
RDebugUtils.currentLine=50724868;
 //BA.debugLineNum = 50724868;BA.debugLine="Log(distance)";
__c.LogImpl("050724868",BA.NumberToString(__ref._distance /*long*/ ),0);
RDebugUtils.currentLine=50724870;
 //BA.debugLineNum = 50724870;BA.debugLine="If distancealm > 0  Or distance > 50 Then";
if (__ref._distancealm /*long*/ >0 || __ref._distance /*long*/ >50) { 
RDebugUtils.currentLine=50724871;
 //BA.debugLineNum = 50724871;BA.debugLine="If distancealm < 100 Or distance < 50 Then";
if (__ref._distancealm /*long*/ <100 || __ref._distance /*long*/ <50) { 
RDebugUtils.currentLine=50724872;
 //BA.debugLineNum = 50724872;BA.debugLine="HabilitarBotones(True)";
__ref._habilitarbotones /*String*/ (null,__c.True);
 }else {
RDebugUtils.currentLine=50724874;
 //BA.debugLineNum = 50724874;BA.debugLine="HabilitarBotones(True)";
__ref._habilitarbotones /*String*/ (null,__c.True);
 };
 };
RDebugUtils.currentLine=50724877;
 //BA.debugLineNum = 50724877;BA.debugLine="End Sub";
return "";
}
public void  _sc_result(gunav2.keymon.com.mx.c_cliente __ref,String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "sc_result", false))
	 {Debug.delegate(ba, "sc_result", new Object[] {_atype,_values,_image}); return;}
ResumableSub_sc_result rsub = new ResumableSub_sc_result(this,__ref,_atype,_values,_image);
rsub.resume(ba, null);
}
public static class ResumableSub_sc_result extends BA.ResumableSub {
public ResumableSub_sc_result(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref,String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) {
this.parent = parent;
this.__ref = __ref;
this._atype = _atype;
this._values = _values;
this._image = _image;
this.__ref = parent;
}
gunav2.keymon.com.mx.c_cliente __ref;
gunav2.keymon.com.mx.c_cliente parent;
String _atype;
String _values;
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image;
int _resultado = 0;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="c_cliente";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=53411843;
 //BA.debugLineNum = 53411843;BA.debugLine="CODIGO = Values";
__ref._codigo /*String*/  = _values;
RDebugUtils.currentLine=53411844;
 //BA.debugLineNum = 53411844;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM kmt_info3 WHERE CAT_CL_NUM_SERIEFISICO = ?",new String[]{__ref._codigo /*String*/ })));
RDebugUtils.currentLine=53411845;
 //BA.debugLineNum = 53411845;BA.debugLine="DD.Position =0";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=53411846;
 //BA.debugLineNum = 53411846;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then";
if (true) break;

case 1:
//if
this.state = 16;
if ((double)(Double.parseDouble(__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { 
this.state = 3;
}else {
this.state = 5;
}if (true) break;

case 3:
//C
this.state = 16;
RDebugUtils.currentLine=53411847;
 //BA.debugLineNum = 53411847;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")";
parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código ya asignado"),BA.ObjectToCharSequence("AVISO"),ba);
 if (true) break;

case 5:
//C
this.state = 6;
RDebugUtils.currentLine=53411849;
 //BA.debugLineNum = 53411849;BA.debugLine="If CODIGO.Length = 7 Then";
if (true) break;

case 6:
//if
this.state = 15;
if (__ref._codigo /*String*/ .length()==7) { 
this.state = 8;
}else {
this.state = 14;
}if (true) break;

case 8:
//C
this.state = 9;
RDebugUtils.currentLine=53411850;
 //BA.debugLineNum = 53411850;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El código "+__ref._codigo /*String*/ +" es correcto?"),BA.ObjectToCharSequence("Title"),"Yes","Cancel","No",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.False);
RDebugUtils.currentLine=53411851;
 //BA.debugLineNum = 53411851;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "sc_result"), null);
this.state = 17;
return;
case 17:
//C
this.state = 9;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=53411852;
 //BA.debugLineNum = 53411852;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 9:
//if
this.state = 12;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 11;
}if (true) break;

case 11:
//C
this.state = 12;
RDebugUtils.currentLine=53411853;
 //BA.debugLineNum = 53411853;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._codigo /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )}));
RDebugUtils.currentLine=53411854;
 //BA.debugLineNum = 53411854;BA.debugLine="L_QR.TEXT =CODIGO";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._codigo /*String*/ ));
RDebugUtils.currentLine=53411855;
 //BA.debugLineNum = 53411855;BA.debugLine="L_QR.TextColor = Colors.Blue";
__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Blue);
RDebugUtils.currentLine=53411856;
 //BA.debugLineNum = 53411856;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._codigo /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )}));
 if (true) break;

case 12:
//C
this.state = 15;
;
 if (true) break;

case 14:
//C
this.state = 15;
RDebugUtils.currentLine=53411859;
 //BA.debugLineNum = 53411859;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")";
parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código No Valido"),BA.ObjectToCharSequence("AVISO"),ba);
 if (true) break;

case 15:
//C
this.state = 16;
;
 if (true) break;

case 16:
//C
this.state = -1;
;
RDebugUtils.currentLine=53411862;
 //BA.debugLineNum = 53411862;BA.debugLine="DD.Close";
__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=53411863;
 //BA.debugLineNum = 53411863;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _sc_timedout(gunav2.keymon.com.mx.c_cliente __ref,boolean _timedout) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "sc_timedout", false))
	 {return ((String) Debug.delegate(ba, "sc_timedout", new Object[] {_timedout}));}
RDebugUtils.currentLine=53477376;
 //BA.debugLineNum = 53477376;BA.debugLine="Sub sc_timedout(timedOut As Boolean)";
RDebugUtils.currentLine=53477377;
 //BA.debugLineNum = 53477377;BA.debugLine="Log(\"timedOut \" & timedOut)";
__c.LogImpl("053477377","timedOut "+BA.ObjectToString(_timedout),0);
RDebugUtils.currentLine=53477378;
 //BA.debugLineNum = 53477378;BA.debugLine="End Sub";
return "";
}
public String  _sc_usercancelled(gunav2.keymon.com.mx.c_cliente __ref,boolean _usercancelled) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "sc_usercancelled", false))
	 {return ((String) Debug.delegate(ba, "sc_usercancelled", new Object[] {_usercancelled}));}
RDebugUtils.currentLine=53542912;
 //BA.debugLineNum = 53542912;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)";
RDebugUtils.currentLine=53542913;
 //BA.debugLineNum = 53542913;BA.debugLine="Log(\"userCancelled \" & userCancelled)";
__c.LogImpl("053542913","userCancelled "+BA.ObjectToString(_usercancelled),0);
RDebugUtils.currentLine=53542914;
 //BA.debugLineNum = 53542914;BA.debugLine="End Sub";
return "";
}
public String  _tar_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "tar_click", false))
	 {return ((String) Debug.delegate(ba, "tar_click", null));}
RDebugUtils.currentLine=52887552;
 //BA.debugLineNum = 52887552;BA.debugLine="Sub Tar_Click";
RDebugUtils.currentLine=52887553;
 //BA.debugLineNum = 52887553;BA.debugLine="B4XPages.ShowPage(\"Nota\")";
_b4xpages._showpage /*String*/ (ba,"Nota");
RDebugUtils.currentLine=52887554;
 //BA.debugLineNum = 52887554;BA.debugLine="End Sub";
return "";
}
public String  _tels_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="c_cliente";
if (Debug.shouldDelegate(ba, "tels_click", false))
	 {return ((String) Debug.delegate(ba, "tels_click", null));}
RDebugUtils.currentLine=52756480;
 //BA.debugLineNum = 52756480;BA.debugLine="Sub Tels_Click";
RDebugUtils.currentLine=52756481;
 //BA.debugLineNum = 52756481;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")";
_b4xpages._showpage /*String*/ (ba,"NoVenta");
RDebugUtils.currentLine=52756482;
 //BA.debugLineNum = 52756482;BA.debugLine="End Sub";
return "";
}
}