From fff165b3215de255000cb133d51ceb03b5202bd6 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期五, 10 一月 2020 16:07:39 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/endian11/DriveJudge

---
 app/src/main/java/safeluck/drive/evaluation/fragment/NetWorkTrainFragment.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/app/src/main/java/safeluck/drive/evaluation/fragment/NetWorkTrainFragment.java b/app/src/main/java/safeluck/drive/evaluation/fragment/NetWorkTrainFragment.java
index 9c1603d..f239c8a 100644
--- a/app/src/main/java/safeluck/drive/evaluation/fragment/NetWorkTrainFragment.java
+++ b/app/src/main/java/safeluck/drive/evaluation/fragment/NetWorkTrainFragment.java
@@ -17,6 +17,7 @@
 import androidx.lifecycle.ViewModelProviders;
 
 import com.anyun.exam.lib.AYSdk;
+import com.anyun.exam.lib.MyLog;
 import com.google.gson.Gson;
 import com.google.gson.JsonElement;
 import com.google.gson.JsonObject;
@@ -35,6 +36,7 @@
 import safeluck.drive.evaluation.R;
 import safeluck.drive.evaluation.adapter.ScoreAdapter;
 import safeluck.drive.evaluation.bean.ScoreBean;
+import safeluck.drive.evaluation.cEventCenter.CEventCenter;
 
 /**
  * 鑱旂綉璁粌UI
@@ -85,6 +87,7 @@
     }
 
     private void initView(View view) {
+        sendRTKConfig2RemoteService();
         mListView = view.findViewById(R.id.lv);
         mListView.setFocusable(false);
         view.findViewById(R.id.view_map).setOnClickListener(this);
@@ -96,7 +99,10 @@
         mListView.addHeaderView(LayoutInflater.from(_mActivity).inflate(R.layout.layout_score_item,null));
 
     }
-
+    private void sendRTKConfig2RemoteService() {
+        MyLog.d(TAG,"涓诲姩鎺ㄩ�丷TKConfig");
+        CEventCenter.dispatchEvent(Constant.BIND_RTKCONFIG_TOPIC,Constant.FETCH_RTK_PLATFORM_INFO,0,"");
+    }
     @Override
     public void onClick(View v) {
         switch (v.getId()){

--
Gitblit v1.8.0