public void startGedi() { new System.Threading.Thread(new ThreadStart(() => { GEDI.GetInstance(this); })).Start(); }
public void startGedi() { new Thread(new ThreadStart(() => { this.iGedi = GEDI.GetInstance(this.mainContext); this.iPrintr = iGedi.PRNTR; ImpressoraInit(); })).Start(); }
/** * Método que instância a classe GEDI da lib deve ser usado sempre o TSG 800 * * @apiNote = Este mátodo faz a instância da classe GEDI através de uma Thread. * Será sempre chamado na construção da classe. * Não alterar... * */ public void startGediTSG800() { new Thread(new ThreadStart(() => { this.iGedi = new Gedi(this.mainActivity); this.iGedi = GEDI.GetInstance(this.mainActivity); this.iPrintr = iGedi.PRNTR; Thread.Sleep(250); })).Start(); }
// TSG 800 // public GertecPrinter(Activity act) // { // this.mainActivity = act; // startGediTSG800(); // } public void startGediGPOS700() { new Thread(new ThreadStart(() => { GEDI.Init(this.mainContext); this.iGedi = GEDI.GetInstance(this.mainContext); icl = iGedi.CL; this.iPrintr = iGedi.PRNTR; Thread.Sleep(100); })).Start(); }