public void OnTimeTick(int count) { CardReader.CardStatus cs = CardReader.CardStatus.CARD_POS_GATE; CardReader.Status s = CardReader.GetStatus(ref cs); if (cs == CardReader.CardStatus.CARD_POS_OUT) { mUserTakeCard = true; } }
public void OnTimeTick(int count) { CardReader.CardStatus cs = CardReader.CardStatus.CARD_POS_GATE; CardReader.Status s = CardReader.GetStatus(ref cs); if (cs == CardReader.CardStatus.CARD_POS_OUT) { //mUserTakeCard = true; StartActivity("主界面"); } Log.Info("CardReader.Status s : " + s); Log.Info("CardReader.Status cs : " + cs); }
public void OnTimeTick(int count) { CardReader.CardStatus cs = CardReader.CardStatus.CARD_POS_GATE; CardReader.Status s = CardReader.GetStatus(ref cs); if (cs == CardReader.CardStatus.CARD_POS_OUT) { //mUserTakeCard = true; setComponnents("ComComponnents", true, true, false); } //Log.Info("CardReader.Status s : " + s); //Log.Info("CardReader.Status cs : " + cs); //Log.Info("mUserTakeCard : " + mUserTakeCard); }