
package b4a.bbb;

import java.io.IOException;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.pc.PCBA;
import anywheresoftware.b4a.pc.RDebug;
import anywheresoftware.b4a.pc.RemoteObject;
import anywheresoftware.b4a.pc.RDebug.IRemote;
import anywheresoftware.b4a.pc.Debug;
import anywheresoftware.b4a.pc.B4XTypes.B4XClass;
import anywheresoftware.b4a.pc.B4XTypes.DeviceClass;

public class main implements IRemote{
	public static main mostCurrent;
	public static RemoteObject processBA;
    public static boolean processGlobalsRun;
    public static RemoteObject myClass;
    public static RemoteObject remoteMe;
	public main() {
		mostCurrent = this;
	}
    public RemoteObject getRemoteMe() {
        return remoteMe;    
    }
    
	public static void main (String[] args) throws Exception {
		new RDebug(args[0], Integer.parseInt(args[1]), Integer.parseInt(args[2]), args[3]);
		RDebug.INSTANCE.waitForTask();

	}
    static {
        anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("main"), "b4a.bbb.main");
	}

public boolean isSingleton() {
		return true;
	}
     public static RemoteObject getObject() {
		return myClass;
	 }

	public RemoteObject activityBA;
	public RemoteObject _activity;
    private PCBA pcBA;

	public PCBA create(Object[] args) throws ClassNotFoundException{
		processBA = (RemoteObject) args[1];
		activityBA = (RemoteObject) args[2];
		_activity = (RemoteObject) args[3];
        anywheresoftware.b4a.keywords.Common.Density = (Float)args[4];
        remoteMe = (RemoteObject) args[5];
		pcBA = new PCBA(this, main.class);
        main_subs_0.initializeProcessGlobals();
		return pcBA;
	}
public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common");
public static RemoteObject _btnreaddata = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper");
public static RemoteObject _btndisconnect = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper");
public static RemoteObject _btnscan = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper");
public static RemoteObject _lbldevicestatus = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
public static RemoteObject _lblstate = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
public static RemoteObject _pbreaddata = RemoteObject.declareNull("anywheresoftware.b4a.objects.ProgressBarWrapper");
public static RemoteObject _pbscan = RemoteObject.declareNull("anywheresoftware.b4a.objects.ProgressBarWrapper");
public static RemoteObject _clv = RemoteObject.declareNull("b4a.example3.customlistview");
public static RemoteObject _bc = RemoteObject.declareNull("anywheresoftware.b4a.agraham.byteconverter.ByteConverter");
public static RemoteObject _bntreadservice = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper");
public static RemoteObject _service_battery = RemoteObject.createImmutable("");
public static RemoteObject _level_battery = RemoteObject.createImmutable("");
public static RemoteObject _service_temperature = RemoteObject.createImmutable("");
public static RemoteObject _temperature = RemoteObject.createImmutable("");
public static RemoteObject _bntlevelbattery = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper");
public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME");
public static RemoteObject _lbaddsensor = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
public static b4a.bbb.starter _starter = null;
public static b4a.bbb.param _param = null;
public static b4a.bbb.setup _setup = null;
public static b4a.bbb.cockpit _cockpit = null;
public static b4a.bbb.collecte_data_sensor _collecte_data_sensor = null;
public static b4a.bbb.httputils2service _httputils2service = null;
  public Object[] GetGlobals() {
		return new Object[] {"Activity",main.mostCurrent._activity,"bc",main.mostCurrent._bc,"bntlevelBattery",main.mostCurrent._bntlevelbattery,"bntReadService",main.mostCurrent._bntreadservice,"btnDisconnect",main.mostCurrent._btndisconnect,"btnReadData",main.mostCurrent._btnreaddata,"btnScan",main.mostCurrent._btnscan,"clv",main.mostCurrent._clv,"Cockpit",Debug.moduleToString(b4a.bbb.cockpit.class),"Collecte_data_sensor",Debug.moduleToString(b4a.bbb.collecte_data_sensor.class),"HttpUtils2Service",Debug.moduleToString(b4a.bbb.httputils2service.class),"IME",main.mostCurrent._ime,"lbAddSensor",main.mostCurrent._lbaddsensor,"lblDeviceStatus",main.mostCurrent._lbldevicestatus,"lblState",main.mostCurrent._lblstate,"Level_battery",main.mostCurrent._level_battery,"Param",Debug.moduleToString(b4a.bbb.param.class),"pbReadData",main.mostCurrent._pbreaddata,"pbScan",main.mostCurrent._pbscan,"service_battery",main.mostCurrent._service_battery,"service_Temperature",main.mostCurrent._service_temperature,"Setup",Debug.moduleToString(b4a.bbb.setup.class),"Starter",Debug.moduleToString(b4a.bbb.starter.class),"Temperature",main.mostCurrent._temperature};
}
}