| | |
| | | |
| | | import com.dayu.baselibrary.utils.TipUtil; |
| | | import com.dayu.baselibrary.view.ChooseView; |
| | | import com.dayu.henanlibrary.databinding.ActivityIdentyfyingBinding; |
| | | import com.dayu.henanlibrary.databinding.ActivityIdentyfyingHnBinding; |
| | | import com.dayu.henanlibrary.dbBean.CardData; |
| | | import com.dayu.henanlibrary.utils.CardCommon; |
| | | |
| | |
| | | */ |
| | | public class IdentifyingActivity extends HNBaseActivity { |
| | | |
| | | ActivityIdentyfyingBinding binding; |
| | | ActivityIdentyfyingHnBinding binding; |
| | | |
| | | |
| | | String[] nianfen = {"管理卡", "清零卡", "重新注册设备卡", "删除全部用户卡", "测试卡", "设备信息卡", "水泵功率卡"}; |
| | |
| | | @Override |
| | | protected void onCreate(Bundle savedInstanceState) { |
| | | super.onCreate(savedInstanceState); |
| | | binding = ActivityIdentyfyingBinding.inflate(LayoutInflater.from(this)); |
| | | binding = ActivityIdentyfyingHnBinding.inflate(LayoutInflater.from(this)); |
| | | setContentView(binding.getRoot()); |
| | | binding.chooseCardType.setOnClickListener(v -> |
| | | ChooseView.getIntence(IdentifyingActivity.this, Arrays.asList(nianfen.clone()), options1 -> { |