| | |
| | | |
| | | import androidx.annotation.NonNull; |
| | | import androidx.annotation.Nullable; |
| | | import androidx.fragment.app.DialogFragment; |
| | | import androidx.lifecycle.Observer; |
| | | import androidx.lifecycle.ViewModelProviders; |
| | | import androidx.work.OneTimeWorkRequest; |
| | |
| | | import safeluck.drive.evaluation.cEventCenter.ICEventListener; |
| | | import safeluck.drive.evaluation.customview.ArrowView; |
| | | import safeluck.drive.evaluation.customview.HouseView; |
| | | import safeluck.drive.evaluation.customview.LoadProgressDialog; |
| | | import safeluck.drive.evaluation.customview.MyDialogFragment; |
| | | import safeluck.drive.evaluation.im.MessageProcessor; |
| | | import safeluck.drive.evaluation.platformMessage.JKMessage0201; |
| | |
| | | private static final int SPEED_DATA = 2; |
| | | private FailedProjViewModel failedProjViewModel; |
| | | String icson;//返回的ic卡信息 json |
| | | private List<SimulateNightBean.QuestionBean> tempQs= new ArrayList<>(); |
| | | private TableRow tableRow1,tableRow2,tableRow3; |
| | | private String content;//用以生成二维码的内容 |
| | | |
| | | private LoadProgressDialog loadProgressDialog; |
| | | |
| | | private List<Integer> btn_ids = new ArrayList<Integer>(); |
| | | |
| | |
| | | tv_total_score = view.findViewById(R.id.tv_total_score); |
| | | tv_network_time = view.findViewById(R.id.network_time); |
| | | |
| | | tableRow1 = view.findViewById(R.id.first); |
| | | tableRow2 = view.findViewById(R.id.second); |
| | | tableRow3 = view.findViewById(R.id.third); |
| | | |
| | | |
| | | tv_network_time.setText(Utils.getHHmm()); |
| | | |
| | |
| | | break; |
| | | case R.id.iv_head: |
| | | MyLog.i(TAG,"签到,获取身份证物理卡号"); |
| | | AYSdk.getInstance().sendCmd(Constant.READ_PHYSICAL_ID,""); |
| | | //TODO 获得物理卡号 发送JKMessage0201给平台,获取姓名、身份证、head_url |
| | | |
| | | loadProgressDialog = LoadProgressDialog.newInstance("请稍后..."); |
| | | loadProgressDialog.setStyle(DialogFragment.STYLE_NORMAL,R.style.Dialog_FullScreen); |
| | | loadProgressDialog.showNow(getFragmentManager(),"loadingdiaolog"); |
| | | break; |
| | | } |
| | | } |