//根据cardInfo获取一张卡的实例 public CardEntry GetCardEntryBCardInfo(CardInfo cardInfo) { CardEntry cardEntry = new CardEntry(); cardEntry.InitializeByCardInfo(cardInfo); AddTimeTriggerForCardEntry(cardEntry); return(cardEntry); }
//根据code获取一张卡的实例 public CardEntry GetCardEntryByCode(string cardCode) { CardEntry cardEntry = new CardEntry(); cardEntry.InitializeByCardInfo(this.GetCardInfoByCode(cardCode)); AddTimeTriggerForCardEntry(cardEntry); return(cardEntry); }