Ejemplo n.º 1
0
 public static String _ioioclose() throws Exception {
   // BA.debugLineNum = 60;BA.debugLine="Sub IOIOClose";
   // BA.debugLineNum = 61;BA.debugLine="Try";
   try { // BA.debugLineNum = 62;BA.debugLine="pin33_SensorFuerza.Close";
     _pin33_sensorfuerza.Close();
     // BA.debugLineNum = 63;BA.debugLine="YOYO.Disconnect";
     _yoyo.Disconnect();
     // BA.debugLineNum = 64;BA.debugLine="YOYO.WaitForDisconnect";
     _yoyo.WaitForDisconnect();
   } catch (Exception e35) {
     processBA.setLastException(
         e35); // BA.debugLineNum = 66;BA.debugLine="Log(\"YOYO Close Exception: \"&
               // LastException.Mess";
     anywheresoftware.b4a.keywords.Common.Log(
         "YOYO Close Exception: "
             + anywheresoftware.b4a.keywords.Common.LastException(mostCurrent.activityBA)
                 .getMessage());
   }
   ;
   // BA.debugLineNum = 68;BA.debugLine="End Sub";
   return "";
 }