| | |
| | | private int item_id;//扣分分数总和 |
| | | private ExamStatusViewModel examStatusViewModel; |
| | | private static final int ADD_DATA = 1; |
| | | private TextView tv_speed,tv_total_score,tv_sat_num,tv_name,tv_id,tv_work_platform,tv_network_time; |
| | | private TextView tv_speed,tv_total_score,tv_sat_num,tv_name,tv_id,tv_work_platform,tv_network_time, |
| | | tv_qf; |
| | | private double speed=0.0; |
| | | private ImageView iv_rtk_status,iv_head; |
| | | |
| | |
| | | private static final int SPEED_DATA = 2; |
| | | private FailedProjViewModel failedProjViewModel; |
| | | String icson;//返回的ic卡信息 json |
| | | private Random random = new Random(); |
| | | private List<SimulateNightBean.QuestionBean> tempQs= new ArrayList<>(); |
| | | |
| | | public static SupportFragment newInstance() { |
| | |
| | | av_zhijiao.setColor(aaa(safeluck.drive.evaluation.DB.Constant.EXAM_MAP_TYPE_ANGLE)); |
| | | } |
| | | if (msg.what == SPEED_DATA){ |
| | | tv_speed.setText(getActivity().getApplicationContext().getResources().getString(R.string.speed,speed)); |
| | | tv_speed.setText(_mActivity.getApplicationContext().getResources().getString(R.string.speed,speed)); |
| | | } |
| | | if (msg.what == Constant.IC_ID){ |
| | | try { |
| | |
| | | Log.i(TAG, "onChanged: "+appStatus.toString()); |
| | | iv_rtk_status.getDrawable().setLevel(appStatus.getRtk_connect_status()); |
| | | tv_work_platform.setText(getString(R.string.platform_status,ExamPlatformData.getInstance().getExamplatformStatusStr(appStatus.getWork_platform()))); |
| | | tv_sat_num.setText(String.valueOf(appStatus.getDefault_observe1()).length()==1?"0"+appStatus.getDefault_observe1():String.valueOf(appStatus.getDefault_observe1())); |
| | | tv_sat_num.setText(String.valueOf(appStatus.getSat_num()).length()==1?"0"+appStatus.getSat_num():String.valueOf(appStatus.getSat_num())); |
| | | tv_qf.setText(getResources().getStringArray(R.array.qf_status)[appStatus.getQf()]); |
| | | } |
| | | } |
| | | }); |
| | |
| | | |
| | | iv_rtk_status = view.findViewById(R.id.iv_rtk_connect); |
| | | iv_head = view.findViewById(R.id.iv_head); |
| | | tv_sat_num = view.findViewById(R.id.tv_sat_num); |
| | | tv_sat_num = view.findViewById(R.id.tv_sat_num_instatus); |
| | | tv_qf = view.findViewById(R.id.tv_qf); |
| | | tv_speed = view.findViewById(R.id.tv_speed); |
| | | tv_total_score = view.findViewById(R.id.tv_total_score); |
| | | tv_network_time = view.findViewById(R.id.network_time); |