| | |
| | | package com.dayu.qihealonelibrary.card; |
| | | |
| | | import com.dayu.baselibrary.tools.HexUtil; |
| | | import com.dayu.qihealonelibrary.dao.AppDatabase; |
| | | import com.dayu.qihealonelibrary.utils.MyCommon; |
| | | import com.dayu.qihealonelibrary.dao.QHAloneAppDatabase; |
| | | import com.dayu.qihealonelibrary.utils.CardCommon; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | |
| | | * Description:清零卡 |
| | | */ |
| | | public class CleanCard extends BaseCard implements Serializable { |
| | | public String cardType = MyCommon.CLEAN_CARD_TYPE;//卡类型 |
| | | public String cardType = CardCommon.CLEAN_CARD_TYPE;//卡类型 |
| | | |
| | | public String getCardData() { |
| | | return cardData; |
| | | } |
| | | |
| | | |
| | | public byte[] toByte(AppDatabase appDatabase) { |
| | | setCardData(appDatabase, cardType); |
| | | public byte[] toByte(QHAloneAppDatabase QHAloneAppDatabase) { |
| | | setCardData(QHAloneAppDatabase, cardType); |
| | | Zero zero = new Zero(); |
| | | return zero.toByte(); |
| | | } |