public void OnTimeTick(int count) { if (count % timeout == 0) { if (!InitializeDeal.Initialized) { StartActivity("初始化"); } else { HardwareManager.CheckAll(); if (GPRS.ExistError()) { return; } if (!CardReader.ExistError() && !Esam.ExistError()) { GotoMain(); } } } }