|  |  | 
 |  |  | 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 com.tencent.bugly.crashreport.CrashReport; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  | public class ConfigurationPowerCard extends BaseCard implements Serializable { | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     public String cardType = MyCommon.CONFIGURATION_POWER_CARD_TYPE;//卡类型 | 
 |  |  |     public String cardType = CardCommon.CONFIGURATION_POWER_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(); | 
 |  |  |     } |