| | |
| | | import com.dayu.qihealonelibrary.card.ManageCard; |
| | | import com.dayu.qihealonelibrary.card.RegisteredCard; |
| | | import com.dayu.qihealonelibrary.card.TestCard; |
| | | import com.dayu.qihealonelibrary.databinding.ActivityIdentyfyingBinding; |
| | | import com.dayu.qihealonelibrary.databinding.ActivityIdentyfyingQhaBinding; |
| | | import com.dayu.qihealonelibrary.dbBean.CardData; |
| | | import com.dayu.qihealonelibrary.dbBean.IdentityBean; |
| | | |
| | | import com.dayu.qihealonelibrary.utils.CardCommon; |
| | | |
| | | import java.util.Arrays; |
| | |
| | | * Time: 10:21 |
| | | * 备注:卡标识设置 |
| | | */ |
| | | public class IdentifyingActivity extends QHAloneBaseActivity { |
| | | public class IdentifyingActivity extends BaseActivity { |
| | | |
| | | ActivityIdentyfyingBinding binding; |
| | | ActivityIdentyfyingQhaBinding binding; |
| | | |
| | | |
| | | String[] nianfen = {"管理卡", "清零卡", "重新注册设备卡", "删除全部用户卡", "测试卡", "设备信息卡", "水泵功率卡"}; |
| | |
| | | @Override |
| | | protected void onCreate(Bundle savedInstanceState) { |
| | | super.onCreate(savedInstanceState); |
| | | binding = ActivityIdentyfyingBinding.inflate(LayoutInflater.from(this)); |
| | | binding = ActivityIdentyfyingQhaBinding.inflate(LayoutInflater.from(this)); |
| | | setContentView(binding.getRoot()); |
| | | binding.chooseCardType.setOnClickListener(new View.OnClickListener() { |
| | | @Override |