
package shub.dpm;

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 barcodescanner implements IRemote{
	public static barcodescanner mostCurrent;
	public static RemoteObject processBA;
    public static boolean processGlobalsRun;
    public static RemoteObject myClass;
    public static RemoteObject remoteMe;
	public barcodescanner() {
		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("barcodescanner"), "shub.dpm.barcodescanner");
	}

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, barcodescanner.class);
        main_subs_0.initializeProcessGlobals();
		return pcBA;
	}
public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common");
public static RemoteObject _bs1 = RemoteObject.declareNull("billwrapper.billWrapper");
public static RemoteObject _pattimer = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer");
public static RemoteObject _lblpatient = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
public static RemoteObject _pnlenterpatid = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper");
public static RemoteObject _txtpatnr = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper");
public static shub.dpm.main _main = null;
public static shub.dpm.parameter _parameter = null;
public static shub.dpm.about _about = null;
public static shub.dpm.allgfnkt _allgfnkt = null;
public static shub.dpm.listpat _listpat = null;
public static shub.dpm.endecodetester _endecodetester = null;
public static shub.dpm.jobservice _jobservice = null;
public static shub.dpm.listdata _listdata = null;
public static shub.dpm.starter _starter = null;
public static shub.dpm.b4xpages _b4xpages = null;
public static shub.dpm.b4xcollections _b4xcollections = null;
public static shub.dpm.httputils2service _httputils2service = null;
  public Object[] GetGlobals() {
		return new Object[] {"About",Debug.moduleToString(shub.dpm.about.class),"Activity",barcodescanner.mostCurrent._activity,"AllgFnkt",Debug.moduleToString(shub.dpm.allgfnkt.class),"B4XCollections",Debug.moduleToString(shub.dpm.b4xcollections.class),"B4XPages",Debug.moduleToString(shub.dpm.b4xpages.class),"bs1",barcodescanner.mostCurrent._bs1,"EnDecodeTester",Debug.moduleToString(shub.dpm.endecodetester.class),"HttpUtils2Service",Debug.moduleToString(shub.dpm.httputils2service.class),"JobService",Debug.moduleToString(shub.dpm.jobservice.class),"lblpatient",barcodescanner.mostCurrent._lblpatient,"ListData",Debug.moduleToString(shub.dpm.listdata.class),"ListPat",Debug.moduleToString(shub.dpm.listpat.class),"Main",Debug.moduleToString(shub.dpm.main.class),"Parameter",Debug.moduleToString(shub.dpm.parameter.class),"pattimer",barcodescanner.mostCurrent._pattimer,"pnlEnterPatID",barcodescanner.mostCurrent._pnlenterpatid,"Starter",Debug.moduleToString(shub.dpm.starter.class),"txtPatNr",barcodescanner.mostCurrent._txtpatnr};
}
}