public void Pause() { //if (processBetThread != null) //{ // processBetThread.Abort(); //} //SboEngine.UpdateLiveDataChange -= SboEngineOnUpdateLiveDataChange; //ServerCallback.OnTransaction -= ServerCallback_OnTransaction; ServerCallback.OnTransactionStatic -= ServerCallback_OnTransaction; _driver.OnSboScanUpdate -= OnSboUpdateScan; //IbetSboDriver.OnSboScanUpdate -= OnSboUpdateScan; //ServerCallback.OnIbetScanUpdate -= OnIbetUpdateScan; //ServerCallback.OnSboScanUpdate -= OnSboUpdateScan; if (IbetEngine.Status == eServiceStatus.Started) { IbetEngine.PauseScan(); } if (SboEngine.Status == eServiceStatus.Started) { SboEngine.PauseScan(); } if (objUpdateCreditTimer != null) { objUpdateCreditTimer.Dispose(); } Status = eServiceStatus.Paused; }
public void Pause() { ServerCallback.OnSboScanUpdate -= OnSboUpdateScan; if (IbetEngine.Status == eServiceStatus.Started) { IbetEngine.PauseScan(); } if (SboEngine.Status == eServiceStatus.Started) { SboEngine.PauseScan(); } if (objUpdateCreditTimer != null) { objUpdateCreditTimer.Dispose(); } Status = eServiceStatus.Paused; }
public void Pause() { //_driver.OnSboScanUpdate -= OnSboUpdateScan; SboEngine.UpdateLiveDataChange -= OnSboUpdateScan; PiSboDriver.OnSboScanUpdate -= PiSboDriver_OnSboScanUpdate; PiEngine.PauseScan(); if (SboEngine.Status == eServiceStatus.Started) { SboEngine.PauseScan(); } if (objUpdateCreditTimer != null) { objUpdateCreditTimer.Dispose(); } Status = eServiceStatus.Paused; }
public void Pause() { //SboEngine.UpdateLiveDataChange -= sbobetUpdateChange_Event; //SboEngine.UpdateNonLiveDataChange -= sbobetUpdateChange_Event; if (IbetEngine.Status == eServiceStatus.Started) { IbetEngine.PauseScan(); } if (SboEngine.Status == eServiceStatus.Started) { SboEngine.PauseScan(); } if (objUpdateCreditTimer != null) { objUpdateCreditTimer.Dispose(); } Status = eServiceStatus.Paused; }