| | |
| | | |
| | | import safeluck.drive.evaluation.customview.QRCodeDialog; |
| | | import safeluck.drive.evaluation.customview.SelectDialog; |
| | | import safeluck.drive.evaluation.customview.SelectDialogThree; |
| | | import safeluck.drive.evaluation.im.MessageProcessor; |
| | | import safeluck.drive.evaluation.platformMessage.JKMessage0201; |
| | | import safeluck.drive.evaluation.platformMessage.JKMessage0202; |
| | |
| | | // //TODO 发送JKMessage0202 给平台,开始考试 |
| | | if (btn_start_exam.getText().toString().equalsIgnoreCase("开始训练")){ |
| | | |
| | | SelectDialog selectDialog = SelectDialog.newInstance("进行场地训练","进行道路训练"); |
| | | SelectDialogThree selectDialog = SelectDialogThree.newInstance("场地训练","道路训练","道路训练(不含灯光)"); |
| | | selectDialog.setSelectedListener((int res)->{ |
| | | if (res != SelectDialog.SELECT_NONE){ |
| | | if (res== SelectDialog.FIRST){ |
| | | if (res== SelectDialogThree.FIRST){ |
| | | sendJK0202(2); |
| | | }else{ |
| | | }else if (res== SelectDialogThree.SECOND){ |
| | | sendJK0202(3); |
| | | }else { |
| | | sendJK0202(4); |
| | | } |
| | | } |
| | | }); |