Example #1
0
        //根据cardInfo获取一张卡的实例
        public CardEntry GetCardEntryBCardInfo(CardInfo cardInfo)
        {
            CardEntry cardEntry = new CardEntry();

            cardEntry.InitializeByCardInfo(cardInfo);
            AddTimeTriggerForCardEntry(cardEntry);
            return(cardEntry);
        }
Example #2
0
        //根据code获取一张卡的实例
        public CardEntry GetCardEntryByCode(string cardCode)
        {
            CardEntry cardEntry = new CardEntry();

            cardEntry.InitializeByCardInfo(this.GetCardInfoByCode(cardCode));
            AddTimeTriggerForCardEntry(cardEntry);
            return(cardEntry);
        }