|  |  | 
 |  |  | 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 RegisteredCard extends BaseCard implements Serializable { | 
 |  |  |     public String cardType = MyCommon.REGISTERED_CARD_TYPE;//卡类型 | 
 |  |  |     public String cardType = CardCommon.REGISTERED_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(); | 
 |  |  |     } |