| | |
| | | import safeluck.drive.evaluation.util.SPUtils; |
| | | import safeluck.drive.evaluation.util.SystemUtil; |
| | | import safeluck.drive.evaluation.util.Utils; |
| | | import safeluck.drive.evaluation.viewmodels.TimeViewModel; |
| | | import safeluck.drive.evaluation.worker.MCUUpgradeWorker; |
| | | import safeluck.drive.evaluation.worker.TTSWorker; |
| | | |
| | |
| | | } |
| | | |
| | | jkMessage0206.attachInfo = attachInfo; |
| | | if (ExamPlatformData.getInstance().getTrainingMode()==ExamPlatformData.MODE_NONE){ |
| | | Log.i(TAG,"非训练和考试"); |
| | | //判断10s时间是否到 |
| | | if (ExamPlatformData.getInstance().isTimeArrive_10s()){ |
| | | Log.i(TAG,"非训练和考试10s到"); |
| | | //到了 就走下面发送0206消息 |
| | | MessageProcessor.getInstance().sendMessage(jkMessage0206); |
| | | //重置标记 |
| | | ExamPlatformData.getInstance().setTimeArrive_10s(false); |
| | | }else{ |
| | | //没到,就不走下面 不发送0206,直接return |
| | | return; |
| | | } |
| | | |
| | | |
| | | }else{ |
| | | MessageProcessor.getInstance().sendMessage(jkMessage0206); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } catch (JSONException e) { |
| | | e.printStackTrace(); |